[GuideMe] Tease Downloader with EOS Support

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

Tommyy
Explorer
Explorer
Posts: 47
Joined: Tue Sep 25, 2012 9:11 am

Re: [GuideMe] Tease Downloader with EOS Support

Post by Tommyy »

Latest version 9.2 still giving problems with defender. Are You still working on it?
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: [GuideMe] Tease Downloader with EOS Support

Post by Trusfrated »

PlayfulGuy wrote: Mon May 31, 2021 4:52 pm Support for TTS mode has been added in version 0.92 (links in first post have been updated).
When you download the tease go to the XML tab and enable the option Configure GuideMe EOS Lib for use with Text To Speech (TTS).
The option is flagged as Experimental because I don't use TTS and did not test it other than to see that it changed the text to something more suitable. With that option enabled it no longer adds all the excess stuff, and each "say" action replaces the previous ones instead of adding to them. That should cover 90+% of the cases, but I'm sure there will be some tweaking required.

Let me know how it goes and I will address any other issues I can.

FYI: All the TTS option does is set a boolean variable in the javascript (use_tts) to true, and then I've updated the code to alter the text handling based on that flag. This way you can have some teases configured for TTS and others not, or have one of each if you want.
Amazing fix! Thank you SO much! :w00t:

In my limited testing, it worked just the way I hoped it would. The only thing I noticed is that the greater than and less than signs (> <) are still being spoken. But I'm sure that is an easy fix.
Trusfrated wrote: Sat May 29, 2021 7:40 pm --->The other odd thing has to do with the GuideMe Library.
PlayfulGuy wrote: Mon May 31, 2021 4:52 pm I had a look at this and discovered that Guideme looks in the teases media folder and basically uses the first image it finds as the tease thumbnail. For the two teases in question, the media folder only contains the mp3 files used for metronomes, and all the images are in subfolders (galleries in EOS terms). So Guideme doesn't find an image it can use and drops the tease.

All you have to do is copy a suitable image into the top level of the media folder and presto!, the guide appears in the library. So it's not actually a downloader issue, just a difference that Guideme doesn't handle. I'll try and remember to report that to eroticdevelopment as an enhancement request.
I see. That was a simple fix; thank you. I do find it odd that the DolphStarBeam teases Parts 3-5 don't seem to have images in the top level folder, but do show up in the Library. It almost seems like they are using a random thumbnail from one of the many gallery folders in that tease. Strange, but not really a big deal. As an alternative to modifying GuideMe, perhaps if there isn't an image in the top level folder the downloader could copy the first referenced image from the tease to that location and just call it thumbnail.jpg or something? :innocent:
PlayfulGuy wrote: Mon May 31, 2021 4:52 pm By the way: While investigating this I noticed that some of the text in part 1 was being duplicated, which was another subtle bug in the downloader, so make sure you run the download again on these with the new version.
I actually noticed that too but didn't report it because I figured either it was a bug in the original tease or such an obvious bug in the downloader that you would fix it quickly. :lol:

(I also have received warnings from Defender, but I chose to Allow based on your rep here and other comments.)

Thanks again! :wave:
ImageImage
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

Tommyy wrote: Tue Jun 01, 2021 5:32 am Latest version 9.2 still giving problems with defender. Are You still working on it?
User Roundhound is the only one who reported an issue and later reported that it appeared to be a false alarm due to out of date updates. See his post here. It contains a link to a Spiceworks article regarding the issue. Sounds like you may just need to update Windows Defender or something.

PG
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

Trusfrated wrote: Tue Jun 01, 2021 6:50 am
PlayfulGuy wrote: Mon May 31, 2021 4:52 pm Support for TTS mode has been added in version 0.92 (links in first post have been updated).
Spoiler: show
When you download the tease go to the XML tab and enable the option Configure GuideMe EOS Lib for use with Text To Speech (TTS).
The option is flagged as Experimental because I don't use TTS and did not test it other than to see that it changed the text to something more suitable. With that option enabled it no longer adds all the excess stuff, and each "say" action replaces the previous ones instead of adding to them. That should cover 90+% of the cases, but I'm sure there will be some tweaking required.

Let me know how it goes and I will address any other issues I can.

FYI: All the TTS option does is set a boolean variable in the javascript (use_tts) to true, and then I've updated the code to alter the text handling based on that flag. This way you can have some teases configured for TTS and others not, or have one of each if you want.
Amazing fix! Thank you SO much! :w00t:

In my limited testing, it worked just the way I hoped it would. The only thing I noticed is that the greater than and less than signs (> <) are still being spoken. But I'm sure that is an easy fix.
I'll look into that, and you're right, it should be an easy fix.
Whenever you can, please point me to the specific tease, and page or dialog where issues happen. Honestly at the moment I don't even remember what tease you were trying, but I can go back and find that. The more info I have the easier (and less time consuming) it is to find the issue, fix it and test it.

I don't use TTS, and don't really want to spend time figuring out how right now (do you have any pointers?), but it might be cool. I should try it one of these days, if I ever catch up on the hundreds of other things I want to get done :lol:
Trusfrated wrote: Tue Jun 01, 2021 6:50 am
Trusfrated wrote: Sat May 29, 2021 7:40 pm --->The other odd thing has to do with the GuideMe Library.
PlayfulGuy wrote: Mon May 31, 2021 4:52 pm I had a look at this and discovered that Guideme looks in the teases media folder and basically uses the first image it finds as the tease thumbnail. For the two teases in question, the media folder only contains the mp3 files used for metronomes, and all the images are in subfolders (galleries in EOS terms). So Guideme doesn't find an image it can use and drops the tease.

All you have to do is copy a suitable image into the top level of the media folder and presto!, the guide appears in the library. So it's not actually a downloader issue, just a difference that Guideme doesn't handle. I'll try and remember to report that to eroticdevelopment as an enhancement request.
I see. That was a simple fix; thank you. I do find it odd that the DolphStarBeam teases Parts 3-5 don't seem to have images in the top level folder, but do show up in the Library. It almost seems like they are using a random thumbnail from one of the many gallery folders in that tease. Strange, but not really a big deal. As an alternative to modifying GuideMe, perhaps if there isn't an image in the top level folder the downloader could copy the first referenced image from the tease to that location and just call it thumbnail.jpg or something? :innocent:
Huh! I never even noticed that! I tried the library and then looked in the GuideMe log for messages on teases that didn't show in the library. There seemed to be two main causes. No image found, or failure to load the XML file because of invalid XML structure. As soon as I put images in those two showed up so I never even looked at the other three.

And thanks for pointing out that series (I think). These are massive teases (part 5 had over 5000 files!). I might be in for a few weeks of play there :-D. May not get much coding done whlie I'm busy with the girls! :lol:

PG
figroll
Explorer At Heart
Explorer At Heart
Posts: 142
Joined: Mon Jun 23, 2014 7:03 am

Re: [GuideMe] Tease Downloader with EOS Support

Post by figroll »

I also have Windows Defender problems and it deletes the ZIP shortly after I download it. All my computers and virus definitions are up to date.
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

Tommyy wrote: Tue Jun 01, 2021 5:32 am Latest version 9.2 still giving problems with defender. Are You still working on it?
figroll wrote: Tue Jun 01, 2021 3:54 pm I also have Windows Defender problems and it deletes the ZIP shortly after I download it. All my computers and virus definitions are up to date.
Here's what I've got:
On my development machine:
Windows 10 Home
Version 2004
OS Build 19041.985

Windows Defender says last updated June 2/2021
I download the 0.92 zip file from the link in the first post with no problem. I manually scanned it using Windows Defender which reported no threats found.

On my "media" computer
Windows 10 Pro
Version 2004
OS Build 19041.985
Using 360 Total Security

I download the 0.92 zip file from the link in the first post with no problem. I manually scanned it using 360 total security which also reported no threats found.

Uploaded file to Virustotal.com

This showed it as a threat on several vendors including Microsoft Defender which listed it Win32/Wacatac.B!ml.

On experimenting, I was able to reproduce this issue with the version 0.91 download, but not the 0.92 download, except when uploaded to VirusTotal.

It is apparently a known issue (see here) and the only option seems to be downgrading the PyInstaller pacakge, which I tried, but then building the distribution failed.

I know the program is safe, and I'm busy with work for the next few days and will not have time to devote to this issue, but there are plenty of reports of this being a false positive, and again I am unable to reproduce it with the version 0.92 download.

I will try other options, but it will be a several days before I can release anything new.

PG
lynchy
Explorer
Explorer
Posts: 78
Joined: Mon Jun 27, 2011 10:51 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive
Location: Germany

Re: [GuideMe] Tease Downloader with EOS Support

Post by lynchy »

The downloader / tease converter is amazing, thanks for putting that much work into it.
I am looking for something like this for a long time, since my internet connection isn't dependable enough to play online teases over a longer period of time.

However, I ran into issues with some Estim/Audio based teases.

For example in "Estim Bondage" by alexfayer:
First the tease wasn't starting at all, but I could fix that by modifying the functions "isEndReached" and "shouldBoxPlay".
There was a problem in the if-else-clauses with multiple lines in the if and else-part without brackets {}.

After fixing this the tease seems to work, but there is no audio (for example on page "calibrate-1") and I couldn't figure out why.

In "Estim Challenge" by lolol2 I had a similar issue, no sound was playing.
And in the GuideMe Debugger I get the message "Cannot find function 'destroy' in object" when I'm on the calibration page.

And in the recent "Estim Maffia Property" by JBK I also get no audio.

Could the "missing" audio have something to do with the volume settings in the xml?

Thanks for all your work, I really appreciate it.
Princess Penny's Subject Number 11
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

lynchy wrote: Tue Jun 08, 2021 10:31 am The downloader / tease converter is amazing, thanks for putting that much work into it.
I am looking for something like this for a long time, since my internet connection isn't dependable enough to play online teases over a longer period of time.
Thanks, and I'm glad it's serving it's purpose. It was a lot of work, but it's already paid off big time for me. So many great new teases to play with :-D
lynchy wrote: Tue Jun 08, 2021 10:31 am However, I ran into issues with some Estim/Audio based teases.

For example in "Estim Bondage" by alexfayer:
First the tease wasn't starting at all, but I could fix that by modifying the functions "isEndReached" and "shouldBoxPlay".
There was a problem in the if-else-clauses with multiple lines in the if and else-part without brackets {}.

After fixing this the tease seems to work, but there is no audio (for example on page "calibrate-1") and I couldn't figure out why.

In "Estim Challenge" by lolol2 I had a similar issue, no sound was playing.
And in the GuideMe Debugger I get the message "Cannot find function 'destroy' in object" when I'm on the calibration page.

And in the recent "Estim Maffia Property" by JBK I also get no audio.

Could the "missing" audio have something to do with the volume settings in the xml?

Thanks for all your work, I really appreciate it.
I had a look at this and for "Estim Mafia Property" you are quite right, it's a volume issue. Also, an issue of differences in how GuideMe and EOS work. I suspect the same is true of "Estim Bondage".

The "audio" commands in the XML have a volume setting of 0 (which equals off), then there's an eval that runs a function to adjust the volume of the audio. Unfortunately this doesn't work in GuideMe the way it works in EOS, so the eval that sets the volume actually ends up doing nothing.

I will look at a workaround for this in a future release of the downloader, but for now you can manually change the volume on those audio commands to something suitable. The value should be from 0 to 100. EOS uses 0 to 1, but GuideMe uses 0 to 100. You should be able to just do a global search and replace replacing all occurrences of volume: '0' with volume: '50' or whatever. When I tested with 100 it was pretty loud.

I have not looked at "Estim Challenge" but the no sound issue could well be the same thing.
I don't use the GuideMe Debugger and don't know what to make of that "Cannot find function 'destroy' in object" message.

I will have a look at that one a bit later.

PG
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Update on false virus warnings

Post by PlayfulGuy »

To all who have gotten Windows Defender warnings

Sorry it took so long, but I've been busy with a coding project for a client and have had limited brainpower left over after working for the day.

Anyway, according to many posts I found on the internet the ultimate cause of these false positives is the way I was packaging the executable to make it a single exe file (because that's what I like) and the solution seems to be to just not do that.

Edit: See the first post of this thread. New links for version 0.92 have been added that resolve these issues. See this post

On other matters, I have been making some bug fixes and updates to the downloader as time permits and will post a newer version when I can, and after I get some feedback from these test files.

PG
Last edited by PlayfulGuy on Sat Jun 26, 2021 6:55 pm, edited 1 time in total.
lynchy
Explorer
Explorer
Posts: 78
Joined: Mon Jun 27, 2011 10:51 am
Gender: Male
Sexual Orientation: Straight
I am a: Submissive
Location: Germany

Re: [GuideMe] Tease Downloader with EOS Support

Post by lynchy »

Thanks for your quick reply, that helped me a lot.
The "audio" commands in the XML have a volume setting of 0 (which equals off), then there's an eval that runs a function to adjust the volume of the audio. Unfortunately this doesn't work in GuideMe the way it works in EOS, so the eval that sets the volume actually ends up doing nothing.

I will look at a workaround for this in a future release of the downloader, but for now you can manually change the volume on those audio commands to something suitable. The value should be from 0 to 100. EOS uses 0 to 1, but GuideMe uses 0 to 100. You should be able to just do a global search and replace replacing all occurrences of volume: '0' with volume: '50' or whatever. When I tested with 100 it was pretty loud.
I got "Estim Mafia Property" to work quite well with this solution, however I got into an issue in "Estim Bondage".
There the volume is set dynamically via the variable "vol".
Is it possible to replicate this behaviour in GuideMe?

For example:

Code: Select all

{ action: 'audio', file: 'tease*.mp3', loops: '0', background: 'False', volume: "vol', id: 'tease' }
Here the variable "vol" contains a value between 0 and 100. But I couldn't get it to work, I tried lots of different notations or functions (e.g. getVariable()). Is there any way to set the volume via variable?
Princess Penny's Subject Number 11
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

lynchy wrote: Thu Jun 10, 2021 12:36 pm Thanks for your quick reply, that helped me a lot.
Spoiler: show
The "audio" commands in the XML have a volume setting of 0 (which equals off), then there's an eval that runs a function to adjust the volume of the audio. Unfortunately this doesn't work in GuideMe the way it works in EOS, so the eval that sets the volume actually ends up doing nothing.

I will look at a workaround for this in a future release of the downloader, but for now you can manually change the volume on those audio commands to something suitable. The value should be from 0 to 100. EOS uses 0 to 1, but GuideMe uses 0 to 100. You should be able to just do a global search and replace replacing all occurrences of volume: '0' with volume: '50' or whatever. When I tested with 100 it was pretty loud.
I got "Estim Mafia Property" to work quite well with this solution, however I got into an issue in "Estim Bondage".
There the volume is set dynamically via the variable "vol".
Is it possible to replicate this behaviour in GuideMe?

For example:

Code: Select all

{ action: 'audio', file: 'tease*.mp3', loops: '0', background: 'False', volume: 'vol', id: 'tease' }
Here the variable "vol" contains a value between 0 and 100. But I couldn't get it to work, I tried lots of different notations or functions (e.g. getVariable()). Is there any way to set the volume via variable?
Absolutely!

I didn't allow for the use of variables in every field of every possible action, only the ones I ran across while testing.
I will add this for audio volume in the next release, but in the meantime...

In the global javascript, in the handleActions() function you will find the following chunk of code:

Code: Select all

  else if ( action_type == "audio" ) {
      // An audio command implies a Sound.load() and Sound.play() (unless background is true)
      // but an audio command differs from sound.play() in that it only plays while on this page.
      // Sound files started with Sound.play() will continue playing until explicitly stopped.
      temp = 100; // Default volume
      if ( this_action.hasOwnProperty("volume") ) temp = this_action.volume
      page.loops = 0;  // Is this an appropriate default?
      if ( this_action.hasOwnProperty("loops") ) page.loops = this_action.loops;
      Sound.load(this_action.file, this_action.id, temp); // ToDo: Why did I do this?
      if ( this_action.background == "False" ) {
        page.audio = this_action.file;
        page.soundVolume = temp;  // Because sound.play() is implied
      }
  }
Change line 6 from

Code: Select all

      if ( this_action.hasOwnProperty("volume") ) temp = this_action.volume
to

Code: Select all

     if ( this_action.hasOwnProperty("volume") ) temp = getElement(this_action.volume)
then in your audio actions use '$vol' (that's a dollar sign) to indicate that vol is a variable reference.
The getElement() function handles the rest.

So your audio action should look like

Code: Select all

{ action: 'audio', file: 'tease*.mp3', loops: '0', background: 'False', volume: '$vol', id: 'tease' }
BTW: In the code sample you supplied it looks like you have "vol' with a double quote at the beginning but a single quote at the end.

You will also need to check the order of the actions in the action list. Any action that affects the value of "vol" (through an eval etc) must be processed before the 'audio' action is processed. I noticed in a number of pages that the audio action often comes before the action to set the volume. Again, I will add a fix for this in a future update, but for now you'll have to adjust that manually.

Have fun!

PG
User avatar
ark235
Explorer
Explorer
Posts: 48
Joined: Tue Jul 19, 2011 8:27 am
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Location: Somewhere!

Re: [GuideMe] Tease Downloader with EOS Support

Post by ark235 »

This is great! Was just wondering if someone hade made a downloader supporting EOS, and looks like I picked the right time to look :-)

I've tried downloading a few and most are working well. Just found one that appears to be broken:
"Stop! Hentai Headplay"
https://milovana.com/webteases/showtease.php?id=48582

It seems to rely heavily on randomisation, and when downloaded just stops at the first image after the intro/instructions.
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

ark235 wrote: Sun Jun 13, 2021 2:43 pm This is great! Was just wondering if someone hade made a downloader supporting EOS, and looks like I picked the right time to look :-)

I've tried downloading a few and most are working well. Just found one that appears to be broken:
"Stop! Hentai Headplay"
https://milovana.com/webteases/showtease.php?id=48582

It seems to rely heavily on randomisation, and when downloaded just stops at the first image after the intro/instructions.
Sorry about the delay getting back to you. It's been a busy week.

I've looked into this and that tease has uncovered a little issue in my javascript library, but also, the way the random targets were done in this tease is rather odd, so they do not get converted properly.

I will put together an updated distribution and post it with instructions on working around the other issue.

While I'm at it, which of the downloader distributions did you use, and did you get any virus warnings?

Windows 10 seems to be getting stupider and stupider on my machine. At first I didn't get any virus warnings at all from the downloader code, now I get lots of them. No one else has responded since I posted those test distributions on June 9th, and I have not been working on, or with the downloader since then.

Be back soon,

PG
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: [GuideMe] Tease Downloader with EOS Support

Post by PlayfulGuy »

To anyone who cares...

I've been working on resolving the antivirus warning issue and have finally got a method of packaging the downloader that doesn't trigger a zillion warnings. My latest test gave 0 (zero) warnings on VirusTotal.

I am now working on the issues other people have posted and will post a new version of the downloader soon.

PG
VirusTotal.jpg
VirusTotal.jpg (156.4 KiB) Viewed 3448 times
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: [GuideMe] Tease Downloader with EOS Support

Post by Trusfrated »

I have to say, it's really been nice to be able to view EOS teases in GuideMe. Thank you!

Here's a couple I've had a trouble with:

Investigation at Lust House just shows a black screen after the first few pages.

Code: Select all

ERROR Jscript -  FileRunScript ReferenceError: "array_randomizer" is not defined. (globalScript#1519)
Also Parseerror saying Message: The string "--" is not permitted within comments.

(This tease is will not show up in the GuideMe Library even after I put an image in its root folder, so I assume there is something it doesn't like about the XML?)

In Miss Evans, any time a sound is to be played, I get a little popup window for VLC that has the "file not found" pink question mark in it. (The files seem to be where they're supposed to be, but they don't play.) I have sounds playing fine in other EOS teases, and don't normally see a popup when sounds are played.
ImageImage
Post Reply