Trusfrated wrote: Thu Jun 24, 2021 6:26 am
I have to say, it's really been nice to be able to view EOS teases in GuideMe. Thank you!
Thanks! And yeah, it has been awesome!

So many good new teases with EOS.
Trusfrated wrote: Thu Jun 24, 2021 6:26 am
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?)
On the EOS tab, in the "Messages For Specific Conditions" section, set the option for "Potential dead end not marked as end" to Ignore.
On the XML tab, set the option for Empty Page handling to "Drop"
These two are what's causing the parse error with the string "--" is not permitted within comments, and probably the gallery issue too.
For some reason a number of authors like using page names like "--page27". If that page generates an error or warning the resulting comment in the xml contains that invalid string. Unfortunately that's an XML thing I can't control, but I'll see about sanitizing the logged errors/warnings in the next release.
The error about array_randomizer is because the tease defines a function in an eval on a page, followed by code that calls that function. The downloader doesn't handle this very well. It ended up moving the entire thing to the global javascript as function
page040_PunishmentRoom_Lockers_array_randomizer() and mangling the code.
Find that function in the XML file and replace it with these two functions:
Code: Select all
function array_randomizer(a, b) {
return .5 - Math.random()
}
function page040_PunishmentRoom_Lockers_array_randomizer(a, b) {
if ((teaseStorage.getItem('opened_punishmentroom_lockers') === undefined) || (teaseStorage.getItem('opened_punishmentroom_lockers') == -1)){
teaseStorage.setItem('opened_punishmentroom_lockers', 0)
teaseStorage.setItem('punishmentroom_lockers_content', ["nothing", "speculum", "ruby"].sort(array_randomizer))
}
}
Let me know how that goes. This is only the second time I've seen something like that so I don't know if I'll try fixing that in the downloader, or just treat it like a one-off. Or two-off I guess

.
By the way If you get it working and are willing to upload it somewhere to share, I want to use the second post of this thread as a repository for converted teases. If you upload it somewhere send me a link and I'll post it. I keep meaning to get around to doing that with several teases I've converted in the past but too many other things keep coming up.
Trusfrated wrote: Thu Jun 24, 2021 6:26 am
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.
I've seen that before (might even have been in that tease) and it means the audio files did not download properly. The only solution I had was to replace them with similar audio files that worked, or convert them to metronomes (see below). The last time I encountered the issue I couldn't figure out why the download failed. I will add this to the list of things to investigate in the future but at this point I've only encountered it twice, and like I said the last time may even have been with the same tease.
Convert them to Metronome
You can temporarily (or permanently) add entries for these files to "audio_to_metronome.txt" and turn on the option to convert audio to metronome. Most of the audio files in this tease look like metronome beats anyway. I don't know what the l1/l2/l3/etc.mp3 files are but maybe you can figure something out for those.
Hope that all helps.
PG