GuideMe (TeaseMe v2.0) - Current Build 0.4.4
Moderator: 1885
- bobhill
- Explorer At Heart
- Posts: 164
- Joined: Tue Mar 15, 2016 8:49 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
Thank you!! I thought the <pages> from the original file would carry over as these pages were referenced. This fixed the issue!
On the <mediadirectory> command, the wiki states that the directory is relative to the location of the xml. Does that mean the original xml, or does the reference location change when accessing pages from an inserted xml in another directory?
On the <mediadirectory> command, the wiki states that the directory is relative to the location of the xml. Does that mean the original xml, or does the reference location change when accessing pages from an inserted xml in another directory?
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
I think if you moved the include node inside the pages node it would also work.bobhill wrote: ↑Wed Aug 08, 2018 12:33 pm Thank you!! I thought the <pages> from the original file would carry over as these pages were referenced. This fixed the issue!
On the <mediadirectory> command, the wiki states that the directory is relative to the location of the xml. Does that mean the original xml, or does the reference location change when accessing pages from an inserted xml in another directory?
The include tries to insert the xml into the file at that point, so currently your pages would be outside of the pages node, which is why you needed two pages nodes.
Media directory is relative to the main file. GuideMe will treat it as one big file, it treats the include files as if the contents were in the main file where the file is included.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
- bobhill
- Explorer At Heart
- Posts: 164
- Joined: Tue Mar 15, 2016 8:49 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
philo - thanks for the clarification, that makes sense. I appreciate you explaining how the include command functions, that answers several questions I had. BH
- Trusfrated
- Explorer At Heart
- Posts: 450
- Joined: Mon Nov 08, 2010 8:41 am
- Gender: Male
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
With 0.3.7, I'm noticing what may be a minor bug and wondering if anyone else can confirm.
When in the Library, if I search for a tease by Content, it seems to search by Author/Title. If I choose Author/Title it searches by Content. In other words, unless it is just me, it is backwards. I think it was okay in 0.3.6.
Thanks!
When in the Library, if I search for a tease by Content, it seems to search by Author/Title. If I choose Author/Title it searches by Content. In other words, unless it is just me, it is backwards. I think it was okay in 0.3.6.
Thanks!
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
I think that got broken when I did the multi language stuff.Trusfrated wrote: ↑Sun Aug 12, 2018 10:24 pm With 0.3.7, I'm noticing what may be a minor bug and wondering if anyone else can confirm.
When in the Library, if I search for a tease by Content, it seems to search by Author/Title. If I choose Author/Title it searches by Content. In other words, unless it is just me, it is backwards. I think it was okay in 0.3.6.
Thanks!
It is fixed, I just haven't released it yet.
Other things
Flags fix for page set
Added global script variables that persist between teases and don't get reset when the script is reset.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
-
- Explorer
- Posts: 43
- Joined: Mon Sep 18, 2017 11:58 am
- Gender: Male
- Sexual Orientation: Straight
- I am a: Submissive
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
Hey guys, I'm in trouble here.
Let me explain. I recently changed my OS to Ubuntu 18.04, of course i made a backup of all my teases and all the GuideMe versions that I had on windows but now I realise that it's obviously not working anymore as .bat files are for Windows. I have of course the same problem with TeaseMe.
So first of all, is GuideMe and TeaseMe linux friendly ? And if they are, can anyone provide a new script for running GuideMe ?
Thanks all
Let me explain. I recently changed my OS to Ubuntu 18.04, of course i made a backup of all my teases and all the GuideMe versions that I had on windows but now I realise that it's obviously not working anymore as .bat files are for Windows. I have of course the same problem with TeaseMe.
So first of all, is GuideMe and TeaseMe linux friendly ? And if they are, can anyone provide a new script for running GuideMe ?
Thanks all
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
TeaseMe is specifically written for windows, so will not run on linux, you may be able to get it to run under a windows emulator or vm.GoudDeal wrote: ↑Wed Aug 15, 2018 2:39 am Hey guys, I'm in trouble here.
Let me explain. I recently changed my OS to Ubuntu 18.04, of course i made a backup of all my teases and all the GuideMe versions that I had on windows but now I realise that it's obviously not working anymore as .bat files are for Windows. I have of course the same problem with TeaseMe.
So first of all, is GuideMe and TeaseMe linux friendly ? And if they are, can anyone provide a new script for running GuideMe ?
Thanks all
Guideme is written to be cross platfrom, so it is possible to get it running on windows, mac or linux.
It is developed on windows and the current build is only tested on windows.
It should be possible to get it working on mac and linux, but it may need some minor fixes.
It isn't a trivial process though and needs a machine to do the testing on.
I have not managed to get IOS working as a vm yet, and don't currently have a working Ubuntu vm.
I will have a look at getting it working at some point.
Depending on your level of skill you could download eclipse and the guideme source code and get it working yourself.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
@philo:
I have tried to run GuideMe on Eclipse on MAC. Environment: macOS 10.13.6 (17G65); Java version "10.0.2" 2018-07-17; Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13); Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
I do not have much programming/compiling knowledge, mainly scripting. But really would like to see GuideMe portable to Linux/Mac.
On Eclipse I have installed empty GIT repository. Then cloned it from your GIT repository. Found App.java and tried to run it as JAVA application. Have got the following errors (see below).
My previous experience with JAVA on Windows vs MAC/Linux is that on Windows some people hardcode "\\" as a path separator and that creates mess on MAC. Suggestion how to solve this was "should use java.io.File.seperator for your slashes inside you path strings to adjust them to the proper path seperator". As I see from log below - problem might be connected to path/separator. Can you check what kind of path separator you use or suggestion something from this log how shall I run it.
21:29:33.437 [main] TRACE org.guideme.guideme.App - Enter main
21:29:33.448 [main] ERROR org.guideme.guideme.App - GuideMe Version - 0.3.7
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userDir: /Users/home/git/GuideMe
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userHome: /Users/home
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userName: home
21:29:33.451 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings fileSeparator: /
21:29:33.451 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings settingsLocation: data/settings.properties
21:29:33.451 [main] ERROR org.guideme.guideme.settings.AppSettings - data/settings.properties (No such file or directory)
java.io.FileNotFoundException: data/settings.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method) ~[?:?]
at java.io.FileInputStream.open(FileInputStream.java:220) ~[?:?]
at java.io.FileInputStream.<init>(FileInputStream.java:158) ~[?:?]
at java.io.FileInputStream.<init>(FileInputStream.java:113) ~[?:?]
at org.guideme.guideme.settings.AppSettings.<init>(AppSettings.java:96) [classes/:?]
at org.guideme.guideme.settings.AppSettings.getAppSettings(AppSettings.java:70) [classes/:?]
at org.guideme.guideme.App.main(App.java:44) [classes/:?]
21:29:33.456 [main] ERROR org.guideme.guideme.settings.AppSettings - data/settings.properties (No such file or directory)
java.io.FileNotFoundException: data/settings.properties (No such file or directory)
at java.io.FileOutputStream.open0(Native Method) ~[?:?]
at java.io.FileOutputStream.open(FileOutputStream.java:299) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:238) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:127) ~[?:?]
at org.guideme.guideme.settings.AppSettings.saveSettings(AppSettings.java:282) [classes/:?]
at org.guideme.guideme.settings.AppSettings.<init>(AppSettings.java:140) [classes/:?]
at org.guideme.guideme.settings.AppSettings.getAppSettings(AppSettings.java:70) [classes/:?]
at org.guideme.guideme.App.main(App.java:44) [classes/:?]
21:29:33.457 [main] ERROR org.guideme.guideme.App - Main error null
java.lang.NullPointerException: null
at org.guideme.guideme.App.main(App.java:57) [classes/:?]
21:29:33.457 [main] TRACE org.guideme.guideme.App - Exit main
I have tried to run GuideMe on Eclipse on MAC. Environment: macOS 10.13.6 (17G65); Java version "10.0.2" 2018-07-17; Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13); Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
I do not have much programming/compiling knowledge, mainly scripting. But really would like to see GuideMe portable to Linux/Mac.
On Eclipse I have installed empty GIT repository. Then cloned it from your GIT repository. Found App.java and tried to run it as JAVA application. Have got the following errors (see below).
My previous experience with JAVA on Windows vs MAC/Linux is that on Windows some people hardcode "\\" as a path separator and that creates mess on MAC. Suggestion how to solve this was "should use java.io.File.seperator for your slashes inside you path strings to adjust them to the proper path seperator". As I see from log below - problem might be connected to path/separator. Can you check what kind of path separator you use or suggestion something from this log how shall I run it.
21:29:33.437 [main] TRACE org.guideme.guideme.App - Enter main
21:29:33.448 [main] ERROR org.guideme.guideme.App - GuideMe Version - 0.3.7
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userDir: /Users/home/git/GuideMe
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userHome: /Users/home
21:29:33.450 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings userName: home
21:29:33.451 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings fileSeparator: /
21:29:33.451 [main] DEBUG org.guideme.guideme.settings.AppSettings - AppSettings settingsLocation: data/settings.properties
21:29:33.451 [main] ERROR org.guideme.guideme.settings.AppSettings - data/settings.properties (No such file or directory)
java.io.FileNotFoundException: data/settings.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method) ~[?:?]
at java.io.FileInputStream.open(FileInputStream.java:220) ~[?:?]
at java.io.FileInputStream.<init>(FileInputStream.java:158) ~[?:?]
at java.io.FileInputStream.<init>(FileInputStream.java:113) ~[?:?]
at org.guideme.guideme.settings.AppSettings.<init>(AppSettings.java:96) [classes/:?]
at org.guideme.guideme.settings.AppSettings.getAppSettings(AppSettings.java:70) [classes/:?]
at org.guideme.guideme.App.main(App.java:44) [classes/:?]
21:29:33.456 [main] ERROR org.guideme.guideme.settings.AppSettings - data/settings.properties (No such file or directory)
java.io.FileNotFoundException: data/settings.properties (No such file or directory)
at java.io.FileOutputStream.open0(Native Method) ~[?:?]
at java.io.FileOutputStream.open(FileOutputStream.java:299) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:238) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:127) ~[?:?]
at org.guideme.guideme.settings.AppSettings.saveSettings(AppSettings.java:282) [classes/:?]
at org.guideme.guideme.settings.AppSettings.<init>(AppSettings.java:140) [classes/:?]
at org.guideme.guideme.settings.AppSettings.getAppSettings(AppSettings.java:70) [classes/:?]
at org.guideme.guideme.App.main(App.java:44) [classes/:?]
21:29:33.457 [main] ERROR org.guideme.guideme.App - Main error null
java.lang.NullPointerException: null
at org.guideme.guideme.App.main(App.java:57) [classes/:?]
21:29:33.457 [main] TRACE org.guideme.guideme.App - Exit main
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
I am in the process of trying to get it running on an Ubuntu vm.lot5000 wrote: ↑Thu Aug 16, 2018 6:37 pm @philo:
I have tried to run GuideMe on Eclipse on MAC. Environment: macOS 10.13.6 (17G65); Java version "10.0.2" 2018-07-17; Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13); Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
I do not have much programming/compiling knowledge, mainly scripting. But really would like to see GuideMe portable to Linux/Mac.
There shouldn't be any issues with paths as that has been coded for (there might be within actual teases)
I have resolved a few issues so far.
I had to create the data folder and add a settings.properties file.
Contents in spolier
- Spoiler: show
so in the pom.xml file something like this should work
(most should be commented out, just the mac one should not be)
Code: Select all
</dependency>
<!--
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86</artifactId>
<version>4.6.1</version>
<classifier>debug</classifier>
</dependency>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.win32.win32.x86_64</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86</artifactId>
<version>4.6.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
<version>4.6.1</version>
</dependency>
-->
<dependency>
<groupId>org.eclipse.swt</groupId>
<artifactId>org.eclipse.swt.cocoa.macosx.x86_64</artifactId>
<version>4.6.1</version>
</dependency>
all of the following must be either 64bit or 32bit, if you mix them it will not work
Java
SWT
VLC
I can currently run Guideme from eclipse in linux, but not deploy it to a jar file
(I think it is to do with some other files like the settings one not automatically comming down from git)
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
-
- Explorer At Heart
- Posts: 156
- Joined: Tue May 30, 2017 1:18 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
What does it take to make a video play (mp4) in GuideMe? If this is possible can VLC play a video and an audio file at the same time or does the audio need to be embedded into the video? THX!
EDIT: I guess I should state I would like to call it from an XML even if that includes inserting a javascript section like for the audio volume (which works great)
EDIT AGAIN: Never mind. I have the wiki downloaded. If I would have looked at that first I would have found out how easy it is.
EDIT: I guess I should state I would like to call it from an XML even if that includes inserting a javascript section like for the audio volume (which works great)
EDIT AGAIN: Never mind. I have the wiki downloaded. If I would have looked at that first I would have found out how easy it is.
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
You can't play a video and audio at the same time, it isn't really possible to sync and independant audio with the video so you couldn't guarantee the audio and video would start at the same time, so adding it probably wouldn't help.lawman5297 wrote: ↑Thu Aug 30, 2018 1:51 pm What does it take to make a video play (mp4) in GuideMe? If this is possible can VLC play a video and an audio file at the same time or does the audio need to be embedded into the video? THX!
EDIT: I guess I should state I would like to call it from an XML even if that includes inserting a javascript section like for the audio volume (which works great)
EDIT AGAIN: Never mind. I have the wiki downloaded. If I would have looked at that first I would have found out how easy it is.
So yes you really need to embed the audio into the video.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
- bobhill
- Explorer At Heart
- Posts: 164
- Joined: Tue Mar 15, 2016 8:49 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
I have a basic question on the GM scripts - is there a functional difference in using the GM commands vs. the more detailed JS commands, or is it just a style preference?
For example, these two pages do the same thing, but is there a benefit to one method vs. the other?
For example, these two pages do the same thing, but is there a benefit to one method vs. the other?
Code: Select all
<Page id="Dorm110">
<Text>
<span>vG1HeaderText</span>
<p>20 fast strokes!</p>
<p>Then choose a direction.</p>
<span>DebugInfo</span>
</Text>
<Image id="_error" />
<javascript>
<![CDATA[
function pageLoad() {
overRide.image = "media/dorm/singles/245.jpg";
overRide.addButton("Dorm118", "North", "", "", "", "");
overRide.addButton("Dorm109", "West", "", "", "", "");
fChangeXP(20);
fG1UpdateHeaderText();
fUpdateDebugInfo();
}
]]>
</javascript>
</Page>
Code: Select all
<Page id="Dorm110">
<Text>
<span>vG1HeaderText</span>
<p>20 fast strokes!</p>
<p>Then choose a direction.</p>
<span>DebugInfo</span>
</Text>
<Image id="media/dorm/singles/245.jpg" />
<Button target="Dorm118">North</Button>
<Button target="Dorm109">West</Button>
<javascript>
<![CDATA[
function pageLoad() {
fChangeXP(20);
fG1UpdateHeaderText();
}
]]>
</javascript>
</Page>
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
The XML nodes are the original way of doing buttons / images.bobhill wrote: ↑Wed Sep 05, 2018 2:06 pm I have a basic question on the GM scripts - is there a functional difference in using the GM commands vs. the more detailed JS commands, or is it just a style preference?
For example, these two pages do the same thing, but is there a benefit to one method vs. the other?
Code: Select all
<Page id="Dorm110"> <Text> <span>vG1HeaderText</span> <p>20 fast strokes!</p> <p>Then choose a direction.</p> <span>DebugInfo</span> </Text> <Image id="_error" /> <javascript> <![CDATA[ function pageLoad() { overRide.image = "media/dorm/singles/245.jpg"; overRide.addButton("Dorm118", "North", "", "", "", ""); overRide.addButton("Dorm109", "West", "", "", "", ""); fChangeXP(20); fG1UpdateHeaderText(); fUpdateDebugInfo(); } ]]> </javascript> </Page>
Code: Select all
<Page id="Dorm110"> <Text> <span>vG1HeaderText</span> <p>20 fast strokes!</p> <p>Then choose a direction.</p> <span>DebugInfo</span> </Text> <Image id="media/dorm/singles/245.jpg" /> <Button target="Dorm118">North</Button> <Button target="Dorm109">West</Button> <javascript> <![CDATA[ function pageLoad() { fChangeXP(20); fG1UpdateHeaderText(); } ]]> </javascript> </Page>
The js override object was added to allow you to dynamically over ride the image, buttons etc.
So for instance you could add an extra button or display a different image depending on actions on previous pages.
For static images / buttons there is probably a small performance hit doing them in js, particularly if you were not doing anything other than static content on page load.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
- bobhill
- Explorer At Heart
- Posts: 164
- Joined: Tue Mar 15, 2016 8:49 pm
- Gender: Male
- Sexual Orientation: Straight
- I am a: None of the above
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
Thanks, philo!
A couple of additional questions:
1) is there an issue with getCurrPage()? I'm getting a javascript error when trying to use it. I did a work-around using a variable and hardcoding page name as text, but was still curious.
2) Can I change pages and have the image not change? Or do I have to save path/image in a scriptvar?
A couple of additional questions:
1) is there an issue with getCurrPage()? I'm getting a javascript error when trying to use it. I did a work-around using a variable and hardcoding page name as text, but was still curious.
2) Can I change pages and have the image not change? Or do I have to save path/image in a scriptvar?
-
- Explorer At Heart
- Posts: 831
- Joined: Sun Jan 08, 2012 3:10 pm
- Gender: Male
- Sexual Orientation: Straight
- Location: UK
Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4
Just tried the code below and it worked fine so yes it should workbobhill wrote: ↑Mon Sep 10, 2018 11:08 pm Thanks, philo!
A couple of additional questions:
1) is there an issue with getCurrPage()? I'm getting a javascript error when trying to use it. I did a work-around using a variable and hardcoding page name as text, but was still curious.
2) Can I change pages and have the image not change? Or do I have to save path/image in a scriptvar?
Code: Select all
var pagename = guide.getCurrPage();
It may be easier to not change the page but use java script to change other elements of the page if you want to use the same image.
GuideMe
viewtopic.php?f=26&t=12944
viewtopic.php?f=26&t=12944
Who is online
Users browsing this forum: Daragorn, TanyaHumble and 44 guests