GuideMe (TeaseMe v2.0) - Current Build 0.4.4

Webteases are great, but what if you're in the mood for a slightly more immersive experience? Chat about Tease AI and other offline tease software.

Moderator: 1885

User avatar
bobhill
Explorer At Heart
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

Post by bobhill »

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?
philo
Explorer At Heart
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

Post by philo »

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?
I think if you moved the include node inside the pages node it would also work.
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.
User avatar
bobhill
Explorer At Heart
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

Post by bobhill »

philo - thanks for the clarification, that makes sense. I appreciate you explaining how the include command functions, that answers several questions I had. BH
User avatar
Trusfrated
Explorer At Heart
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

Post by Trusfrated »

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!
ImageImage
philo
Explorer At Heart
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

Post by philo »

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!
I think that got broken when I did the multi language stuff.
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.
GoudDeal
Explorer
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

Post by GoudDeal »

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
philo
Explorer At Heart
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

Post by philo »

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
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.

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.
lot5000
Explorer
Explorer
Posts: 38
Joined: Fri Aug 03, 2018 1:13 pm

Re: GuideMe (TeaseMe v2.0) - Current Build 0.3.4

Post by lot5000 »

@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
philo
Explorer At Heart
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

Post by philo »

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.
I am in the process of trying to get it running on an Ubuntu vm.
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="buttonFontSize">20</entry>
<entry key="Video">true</entry>
<entry key="thumbnailSize">200</entry>
<entry key="FontSize">20</entry>
<entry key="jsDebugHeight">600</entry>
<entry key="mainMonitor">2</entry>
<entry key="midiInstrument">76</entry>
<entry key="midiVolume">100</entry>
<entry key="toclipboard">false</entry>
<entry key="jsDebugWidth">800</entry>
<entry key="fullScreen">true</entry>
<entry key="imgOffset">0.99</entry>
<entry key="videoVolume">100</entry>
<entry key="metronome">true</entry>
<entry key="maxImageScale">0</entry>
<entry key="JsDebug">false</entry>
<entry key="multiMonitor">false</entry>
<entry key="country">UK</entry>
<entry key="language">en</entry>
<entry key="DataDirectory">Y:\TM\Teases</entry>
<entry key="pageSound">true</entry>
<entry key="sash2Weights2">150</entry>
<entry key="sash2Weights1">700</entry>
<entry key="sash2Weights0">150</entry>
<entry key="musicVolume">100</entry>
<entry key="Debug">true</entry>
<entry key="timerFontSize">20</entry>
<entry key="sash1Weights1">283</entry>
<entry key="sash1Weights0">716</entry>
<entry key="Webcam">false</entry>
<entry key="HtmlFontSize">20</entry>
<entry key="hideMenu">false</entry>
<entry key="clock">true</entry>
<entry key="stateInDataDir">true</entry>
</properties>
Set the correct SWT jar for the operating system
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>


Install VLC

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)
lawman5297
Explorer At Heart
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

Post by lawman5297 »

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.
philo
Explorer At Heart
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

Post by philo »

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.
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.
So yes you really need to embed the audio into the video.
User avatar
bobhill
Explorer At Heart
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

Post by bobhill »

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>
philo
Explorer At Heart
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

Post by philo »

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 XML nodes are the original way of doing buttons / images.

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.
User avatar
bobhill
Explorer At Heart
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

Post by bobhill »

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?
philo
Explorer At Heart
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

Post by philo »

bobhill 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?
Just tried the code below and it worked fine so yes it should work

Code: Select all

var pagename = guide.getCurrPage();
There isn't a way to keep the same image (I think it displays a blank if no image is specified)
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.
Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests