[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

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 »

Augustulus wrote: Mon Aug 02, 2021 5:32 pm
PlayfulGuy wrote: Mon Aug 02, 2021 5:05 pm I haven't had the time and energy to look into the audio issue yet. Do you recall what tease it was you had trouble with?
The audio issue is going to be low priority for now as it, so far, has only affected a few teases that I'm aware of. If that's not the case I will put a higher priority on it.

I haven't been able to work on the downloader much at all the last few weeks. Too focused on doing teases and all that leads to :-D and other life stuff. And honestly the ongoing virus nonsense is really killing my motivation.

But, I am getting back to working on the downloader as time and energy permits. I've got one of my main tasks finished, and now I'm starting on improving the handling of the init module javascript.

PG
It was definitely the current version of Miss Evans. I had also some other teases, but I downloaded the audio files manually via developer tools from the eos teases meanwhile. Sadly Miss Evans is not loading all the audio files at start, so I have only part of them.

I also discovered a really weird behavior in Karissas Maze were the metronome file will only be played once and then stops, but starts playing again endlessly as soon as the next page loads. This leads to really bad behavior of metronome playing when not intended and not playing when there should be a metronome.
Sadly due to the randomness of the maze, I couldn't check if this might also happen in the eos version here.
In case you want to check it out, you can skip the intro and enter the maze directly, because this behavior is only inside the maze.

Augustulus
What are these "developer tools" you refer to that let you download the audio files? Maybe they can give me a clue on what to do differently?

PG
User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 659
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [GuideMe] Tease Downloader with EOS Support

Post by Augustulus »

PlayfulGuy wrote: Mon Aug 02, 2021 5:36 pm What are these "developer tools" you refer to that let you download the audio files? Maybe they can give me a clue on what to do differently?

PG
I meant that I loaded the tease with open "web developer tools" on firefox watching the network monitor to get the downloaded media :-) and then using that url to download the file in a new tab. Drawback: you have to map the temporary file name to the real one by manually listening to the file.
So, I don't think that this will work for you.

Augustulus
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 »

Serousep wrote: Fri Jul 30, 2021 10:53 am Hi. :wave: I'm having a problem with the Forgotten Part 1 teaser. (https://milovana.com/webteases/showtease.php?id=44709) The thing is that the game always shows pages with "-Alt" (see code), which denote the second meeting with the girl, although the first meeting should show a page without "-Alt". How can this be fixed?

Code: Select all

<Page id="0-housebedS">
        <javascript>
        <![CDATA[
          function pageLoad() {
              actionList = [
                { action: 'image', file: 'Indoor Landscape/979615.jpg' },
                { action: 'if', condition: '(pages.isEnabled(&#x27;BedroomEvaJust1&#x27;))' },
                  { action: 'goto', target: 'BedroomEvaJust1' },
                { action: 'else' },
                  { action: 'goto', target: 'BedroomEvaJust1-Alt' },
                { action: 'endif' },
                { action: 'goto', target: '0-housebed' }
              ];
              handleActions(actionList);
          }
        ]]>
        </javascript>
      </Page>
That tease is using something in the EOS pages module I hadn't encountered yet and so hadn't coded for it.
I had already discovered this and fixed it for the next release, so...

If you unzip the attached file and replace the "GuideMe EOS Lib.js" file in the downloader program folder, then download the tease again and replace the existing XML file it should work properly. I tested it here and it was fine.

If you have made changes to the XML that you want to save you could manually replace the EOS Lib code in the xml file in a text editor.
GuideMe EOS Lib.zip
(17.13 KiB) Downloaded 124 times
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 »

Augustulus wrote: Mon Aug 02, 2021 5:45 pm
PlayfulGuy wrote: Mon Aug 02, 2021 5:36 pm What are these "developer tools" you refer to that let you download the audio files? Maybe they can give me a clue on what to do differently?

PG
I meant that I loaded the tease with open "web developer tools" on firefox watching the network monitor to get the downloaded media :-) and then using that url to download the file in a new tab. Drawback: you have to map the temporary file name to the real one by manually listening to the file.
So, I don't think that this will work for you.

Augustulus
Ah! Thanks. I tried it on another tease and see what you did. I'll experiment when I can and see what I discover.
Now I gotta go do real life stuff though.

Later...

PG
SethK
Explorer
Explorer
Posts: 37
Joined: Thu Jan 21, 2016 6:11 pm
Gender: Male
Sexual Orientation: Straight

Re: [GuideMe] Tease Downloader with EOS Support

Post by SethK »

PlayfulGuy wrote: Mon Aug 02, 2021 4:57 pm I just uploaded the release file to VirusTotal and reanalyzed it and some vendors are now flagging it as infected, which it is not.
PG
Thanks for the info!
PlayfulGuy wrote: Mon Aug 02, 2021 4:57 pm There is little else I can do at this point other than post instructions on how to run it from the python source code.
That involves installing python, and then installing a bunch of python libraries that I use in the code.
It's fairly easy to do, and If you are willing to go through that I will put together some instructions and post them.

PG
Also thanks, but no, that's not needed, I won't have any problems building from source I assume. But maybe other's are interested...don't know
User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 659
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [GuideMe] Tease Downloader with EOS Support

Post by Augustulus »

PlayfulGuy wrote: Mon Aug 02, 2021 7:04 pm Ah! Thanks. I tried it on another tease and see what you did. I'll experiment when I can and see what I discover.
Now I gotta go do real life stuff though.

Later...

PG
Yeah, great. Maybe you find something.
I came up with another bug today, trying to download the tease "stamina test" from DSH (https://milovana.com/webteases/showtease.php?id=50487).
It's another time something with the encoding of some characters:

Code: Select all

Something went wrong:  <class 'UnicodeEncodeError'>
Details:  'charmap' codec can't encode characters in position 65-68: character maps to <undefined>
  File "F:\CORELD~1\MILODO~1.92\Downloader.py", line 22, in download_tease
  File "F:\CORELD~1\MILODO~1.92\Downloader.py", line 74, in download
  File "F:\CORELD~1\MILODO~1.92\EOSTease.py", line 135, in download
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 136, in write
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 537, in writePage
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 670, in write_list
  File "encodings\cp1252.py", line 19, in encode
Download failed.
Hope that you can fix this one too. The tease is both in English and German so this might be something related to the special characters used in German.

Augustulus
Serousep
Explorer
Explorer
Posts: 7
Joined: Sat Jun 13, 2020 6:27 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: [GuideMe] Tease Downloader with EOS Support

Post by Serousep »

PlayfulGuy wrote: Mon Aug 02, 2021 6:49 pm
Serousep wrote: Fri Jul 30, 2021 10:53 am Hi. :wave: I'm having a problem with the Forgotten Part 1 teaser. (https://milovana.com/webteases/showtease.php?id=44709) The thing is that the game always shows pages with "-Alt" (see code), which denote the second meeting with the girl, although the first meeting should show a page without "-Alt". How can this be fixed?

Code: Select all

<Page id="0-housebedS">
        <javascript>
        <![CDATA[
          function pageLoad() {
              actionList = [
                { action: 'image', file: 'Indoor Landscape/979615.jpg' },
                { action: 'if', condition: '(pages.isEnabled(&#x27;BedroomEvaJust1&#x27;))' },
                  { action: 'goto', target: 'BedroomEvaJust1' },
                { action: 'else' },
                  { action: 'goto', target: 'BedroomEvaJust1-Alt' },
                { action: 'endif' },
                { action: 'goto', target: '0-housebed' }
              ];
              handleActions(actionList);
          }
        ]]>
        </javascript>
      </Page>
That tease is using something in the EOS pages module I hadn't encountered yet and so hadn't coded for it.
I had already discovered this and fixed it for the next release, so...

If you unzip the attached file and replace the "GuideMe EOS Lib.js" file in the downloader program folder, then download the tease again and replace the existing XML file it should work properly. I tested it here and it was fine.

If you have made changes to the XML that you want to save you could manually replace the EOS Lib code in the xml file in a text editor.

GuideMe EOS Lib.zip

PG
Thank you very much! Now everything works as it should and the pages appear as they should. :rolleyes:
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 »

Augustulus wrote: Tue Aug 03, 2021 5:59 pm
PlayfulGuy wrote: Mon Aug 02, 2021 7:04 pm Ah! Thanks. I tried it on another tease and see what you did. I'll experiment when I can and see what I discover.
Now I gotta go do real life stuff though.

Later...

PG
Yeah, great. Maybe you find something.
I came up with another bug today, trying to download the tease "stamina test" from DSH (https://milovana.com/webteases/showtease.php?id=50487).
It's another time something with the encoding of some characters:

Code: Select all

Something went wrong:  <class 'UnicodeEncodeError'>
Details:  'charmap' codec can't encode characters in position 65-68: character maps to <undefined>
  File "F:\CORELD~1\MILODO~1.92\Downloader.py", line 22, in download_tease
  File "F:\CORELD~1\MILODO~1.92\Downloader.py", line 74, in download
  File "F:\CORELD~1\MILODO~1.92\EOSTease.py", line 135, in download
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 136, in write
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 537, in writePage
  File "F:\CORELD~1\MILODO~1.92\GuideMe.py", line 670, in write_list
  File "encodings\cp1252.py", line 19, in encode
Download failed.
Hope that you can fix this one too. The tease is both in English and German so this might be something related to the special characters used in German.

Augustulus
I have this one and the audio file issue fixed, but am still trying to crack a couple other issues before I can release a hopefully stable update.

The unicode character issue in stamina test was because they were being used in a place I hadn't coded to handle that so it was easy enough.

And your tip on the audio file issue helped me figure out the problem was in the url I was using to download the media. Got that fixed and it all seems to work now. I hope to get another release out this week but life is not being very cooperative these days and I've got too many things on the go, so stay tuned.

PG
User avatar
Augustulus
Explorer At Heart
Explorer At Heart
Posts: 659
Joined: Fri Dec 25, 2015 4:27 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: [GuideMe] Tease Downloader with EOS Support

Post by Augustulus »

PlayfulGuy wrote: Sun Aug 08, 2021 5:41 pm I have this one and the audio file issue fixed, but am still trying to crack a couple other issues before I can release a hopefully stable update.

The unicode character issue in stamina test was because they were being used in a place I hadn't coded to handle that so it was easy enough.

And your tip on the audio file issue helped me figure out the problem was in the url I was using to download the media. Got that fixed and it all seems to work now. I hope to get another release out this week but life is not being very cooperative these days and I've got too many things on the go, so stay tuned.

PG
Great, thanks! No problem, it is not urgent for me to get the fixes. :-)
beercan
Curious Newbie
Curious Newbie
Posts: 3
Joined: Sat Mar 31, 2012 4:55 am

Re: [GuideMe] Tease Downloader with EOS Support

Post by beercan »

Downloaded 0.92a today and I'm getting malware complaints from Avast.

I see from older posts that this was an issue and it was resolved, so maybe it's back?

Or is Avast just overly paranoid?
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 »

beercan wrote: Mon Aug 09, 2021 7:06 pm Downloaded 0.92a today and I'm getting malware complaints from Avast.

I see from older posts that this was an issue and it was resolved, so maybe it's back?

Or is Avast just overly paranoid?
The downloader is written in Python, and apparently in recent years it was discovered that many antivirus packages ignored or didn't understand python code, so many malware authors started using python to write viruses and trojans.

Now the antivirus vendors have gone to the other extreme and just about every python program is flagged as malware or potential malware. When I first checked the 0.92a file no vendors flagged it, when I last checked it was only 2 vendors flagging it, and one of those was based on heuristics, meaning it's potential malware, not that it definitely was.

I compile the python code (using a package called Nuitka) and distribute it that way to make it easier for end users to run. You just run the exe like any other program. As mentioned in a previous post, there's little else I can do other than supply instructions for running the program from the source code, which is freely available for download and inspection by others.

If anyone has suggestions that do not involve re-writing the downloader in some other language please chime in. I don't know what else to do at the moment.

PG
beercan
Curious Newbie
Curious Newbie
Posts: 3
Joined: Sat Mar 31, 2012 4:55 am

Re: [GuideMe] Tease Downloader with EOS Support

Post by beercan »

Thanks for your response. I understand the difficulty.

If you could post (or maybe include a file in the source code .zip) instructions for how to run it from the source, I would give that a try. Presumably once I know how, I'll be able to update to future versions without much effort.

I appreciate all the work you've done on this.
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 »

Finally had some time playing around with the newest version of the downloader.

After some time I went into a (probably quite rare) issue specific to estim-teases and how audio is handled in GuideMe.
This issue occurrs in various Estim-Teases where the image / text is changed (staying in the same page) while the (Estim-)audio is supposed to keep playing.

For example in the tease "Estim Laboratory":

Code: Select all

<Page id="Act1-8-Experiment1-Images">
        <javascript>
        <![CDATA[
          function pageLoad() {
              actionList = [
                { action: 'image', file: 'Experiment1/1048453.jpg' },
                { action: 'say', text: '<p>I know they use pictures with your electric stimulation but I want you to look at me while the electricity plays with you.</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048454.jpg' },
                { action: 'audio', file: '20s-cexp1-1db.mp3', loops: '0', background: 'False', id: 'cexp', volume: '0' },
                { action: 'eval', statement: 'Act1_8_Experiment1_Images_func4()' },
                { action: 'say', text: '<p>Let me try to start slow.</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048455.jpg' },
                { action: 'say', text: '<p>Does it feel good while you look at me?</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048456.jpg' },
                { action: 'say', text: '<p>My smooth legs&#8230;</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048457.jpg' },
                { action: 'audio', file: '20s-milk1-1db.mp3', loops: '0', background: 'False', id: 'milk', volume: '0' },
                { action: 'eval', statement: 'setVolume("milk")' },
                { action: 'say', text: '<p>My nipples that you can just make out&#8230;</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048458.jpg' },
                { action: 'say', text: '<p>Should I just let you see them?</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048459.jpg' },
On this page there is an estim-audio playing and new text / images are being displayed.
At a certain point the audio then changes to a new file which also keeps playing throughout the page.

With your help from some time ago I could change the code so the volume is set correctly.

However, when I play it in GuideMe the audio keeps reloading (starting from the beginning) at every change of text / image instead of continuing.
I tried to play around with it, but I couldn't figure out how to get the intended behaviour.
Is there any way to keep the audio file playing?

I saw the various methods (play / load / setVolume) you implemented for sound-elements, but couldn't get it to work.
Would it be possible to play an mp3 with these methods?

Thank you very much for your help and for all the time you are investing in this project!
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: Fri Aug 20, 2021 9:44 am Finally had some time playing around with the newest version of the downloader.

After some time I went into a (probably quite rare) issue specific to estim-teases and how audio is handled in GuideMe.
This issue occurrs in various Estim-Teases where the image / text is changed (staying in the same page) while the (Estim-)audio is supposed to keep playing.

For example in the tease "Estim Laboratory":
Spoiler: show

Code: Select all

<Page id="Act1-8-Experiment1-Images">
        <javascript>
        <![CDATA[
          function pageLoad() {
              actionList = [
                { action: 'image', file: 'Experiment1/1048453.jpg' },
                { action: 'say', text: '<p>I know they use pictures with your electric stimulation but I want you to look at me while the electricity plays with you.</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048454.jpg' },
                { action: 'audio', file: '20s-cexp1-1db.mp3', loops: '0', background: 'False', id: 'cexp', volume: '0' },
                { action: 'eval', statement: 'Act1_8_Experiment1_Images_func4()' },
                { action: 'say', text: '<p>Let me try to start slow.</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048455.jpg' },
                { action: 'say', text: '<p>Does it feel good while you look at me?</p>', mode: 'timed', style: 'hidden', duration: '7' },
                { action: 'image', file: 'Experiment1/1048456.jpg' },
                { action: 'say', text: '<p>My smooth legs&#8230;</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048457.jpg' },
                { action: 'audio', file: '20s-milk1-1db.mp3', loops: '0', background: 'False', id: 'milk', volume: '0' },
                { action: 'eval', statement: 'setVolume("milk")' },
                { action: 'say', text: '<p>My nipples that you can just make out&#8230;</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048458.jpg' },
                { action: 'say', text: '<p>Should I just let you see them?</p>', mode: 'timed', style: 'hidden', duration: '6' },
                { action: 'image', file: 'Experiment1/1048459.jpg' },
On this page there is an estim-audio playing and new text / images are being displayed.
At a certain point the audio then changes to a new file which also keeps playing throughout the page.

With your help from some time ago I could change the code so the volume is set correctly.

However, when I play it in GuideMe the audio keeps reloading (starting from the beginning) at every change of text / image instead of continuing.
I tried to play around with it, but I couldn't figure out how to get the intended behaviour.
Is there any way to keep the audio file playing?

I saw the various methods (play / load / setVolume) you implemented for sound-elements, but couldn't get it to work.
Would it be possible to play an mp3 with these methods?

Thank you very much for your help and for all the time you are investing in this project!
The short answer is "not in the current version". There are actually two issues here, one with the downloader and the way it implements things in GuideMe and the other in GuideMe itself.

GuideMe always stops the current audio when switching pages or reloading pages.
The way the downloader is currently implemented, the image/text changes trigger a page reload, which causes GuideMe to reset the audio.

There is already a request in to get GuideMe modified to allow sounds to keep playing, which would help in many cases, but a full solution will require changes to the way the downloader does things. Until Guideme gets updated I'm not sure yet exactly how the downloader needs to be modified. I have a couple thoughts based on some communication with EroticDevelopment and my own experimentation, but it's going to take some time for this to unfold.

Meanwhile, I'm back to work regularly after having been off for most of the past year due to Covid, so time and energy for coding is somewhat limited, so I honestly can't say when the next updates will happen. But, I've added this to the list of things to address, so we'll see what happens.

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 »

beercan wrote: Wed Aug 18, 2021 11:03 pm Thanks for your response. I understand the difficulty.

If you could post (or maybe include a file in the source code .zip) instructions for how to run it from the source, I would give that a try. Presumably once I know how, I'll be able to update to future versions without much effort.

I appreciate all the work you've done on this.
I will put together some instructions and post them here. It's fairly straight-forward and basically a one-time thing to get python installed, and install the required packages. I'll document and test the process on another computer and be back soon.

PG
Post Reply