EOS Offline Player [development thread]

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
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: EOS Offline Player [development thread]

Post by Trusfrated »

LoRemen wrote: Sat Dec 21, 2019 8:02 pm at least tell me how you're retrieving text and images with only an EOS Tease link to go at.
You can retrieve the EOS script like this:

Code: Select all

https://milovana.com/webteases/geteosscript.php?id=xxxxx 
where xxxxx is the tease ID.
ImageImage
LoRemen

Re: EOS Offline Player [development thread]

Post by LoRemen »

Trusfrated wrote: Tue Dec 24, 2019 4:39 am
LoRemen wrote: Sat Dec 21, 2019 8:02 pm at least tell me how you're retrieving text and images with only an EOS Tease link to go at.
You can retrieve the EOS script like this:

Code: Select all

https://milovana.com/webteases/geteosscript.php?id=xxxxx 
where xxxxx is the tease ID.
Swee-ee-t!

Now my approach is to translate this JSON into HTML and CSS, to store EOS and normal Teases in a common format (for anyone wondering, maybe you have a better idea).

How do you know about geteosscript.php?
User avatar
Trusfrated
Explorer At Heart
Explorer At Heart
Posts: 465
Joined: Mon Nov 08, 2010 8:41 am
Gender: Male

Re: EOS Offline Player [development thread]

Post by Trusfrated »

LoRemen wrote: Tue Dec 24, 2019 12:43 pm How do you know about geteosscript.php?
I believe GodDragon was the one who pointed it out. You can learn more about what's going on by using the web developer tools in your browser. Do a search here for geteosscript and you'll see there's been some discussions about it. :wave:
ImageImage
AleWanKenobi
Explorer
Explorer
Posts: 14
Joined: Sun Jul 07, 2019 11:49 pm

Re: EOS Offline Player [development thread]

Post by AleWanKenobi »

Any update on the progress?
SubliminalLights
Curious Newbie
Curious Newbie
Posts: 1
Joined: Thu Dec 12, 2019 10:41 am

Re: EOS Offline Player [development thread]

Post by SubliminalLights »

Trusfrated wrote: Tue Dec 24, 2019 4:39 am
LoRemen wrote: Sat Dec 21, 2019 8:02 pm at least tell me how you're retrieving text and images with only an EOS Tease link to go at.
You can retrieve the EOS script like this:

Code: Select all

https://milovana.com/webteases/geteosscript.php?id=xxxxx 
where xxxxx is the tease ID.
So, that gives a .JSON file, but how do you get the images?
Thamrill
Explorer At Heart
Explorer At Heart
Posts: 301
Joined: Thu Jan 03, 2013 4:55 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: EOS Offline Player [development thread]

Post by Thamrill »

if you remove the "tb_xl" part of the url you reach the original file (at least, that's my guess) and you can also do the same to get other file types (such as audio).

And yes, I'm starting to work on my own version of an offline viewer in Java :lol: :lol:
Image

Image

Image
PrezidenteDev
Explorer
Explorer
Posts: 9
Joined: Sat Jul 06, 2019 4:48 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: EOS Offline Player [development thread]

Post by PrezidenteDev »

I am so sorry guys.
I saw your comments and I want to help you out a bit.
I will share my code which was written in Java. (Java11 + JavaFx and Gradle)

I didn't have any time to finish it, I barely touched the code since october.

But I remember, I got stuck somewhere near the 'eval' function.
I think a full JS interpreter have to be written to match the functionality of EOS.
So I wanted to change my original Java based idea.

To something like this:
make an Apache or NginX server (started by a Java process, if possible)
borrow the full eos player and embed it into this webserver
load only one tease at a time by placing files (downloaded scripts and media) somewhere inside the webserver
enjoy the offline tease sessions

Easy right? :whistle:
PrezidenteDev
Explorer
Explorer
Posts: 9
Joined: Sat Jul 06, 2019 4:48 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: EOS Offline Player [development thread]

Post by PrezidenteDev »

Java11 (jdk11) is required to compile (build) the code.

If you are not familiar with gradle I recommend to use IntelliJ or Eclipse which have a decent support for it.

In IntelliJ:
This JVM options are required to start the application: --add-modules=javafx.controls,javafx.fxml
My run configuration has this main class: none.eosplayer.player.Starter
And for classpath I use eos-player.eosplayer.player.main
It is important to create a simple 'Application' run configuration instead of a Gradle one.

Downloaded teases and files will be stored inside the "workspace" directory.

Oh and the program can download all the media from the server.
I mean it will download everything, not just the used pictures/audios.

The download process is fully working for every tease (I think).

This tease is totally playable: https://milovana.com/webteases/showtease.php?id=41578
And this one is ... not: https://milovana.com/webteases/showtease.php?id=40134

With the second one you can check those functions which are completely non-functioning. :-D

And again, sorry for my late response and everything.

Edit:
I forgot to tell: I use lombok plugin for model annotations like getters, setters, constructors etc.
Attachments
eos-player.zip
(82.55 KiB) Downloaded 415 times
Last edited by PrezidenteDev on Wed Apr 29, 2020 3:24 pm, edited 1 time in total.
Spielers
Explorer At Heart
Explorer At Heart
Posts: 309
Joined: Mon Jan 09, 2017 8:26 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: EOS Offline Player [development thread]

Post by Spielers »

Thanks for the program, can you please update the first post with the download in this topic. Thanks
mantrid
Explorer At Heart
Explorer At Heart
Posts: 166
Joined: Sun Dec 30, 2018 6:40 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Re: EOS Offline Player [development thread]

Post by mantrid »

Please take a look at gasm/gserver The same approach should also work for a EOS offline player. Handling the eval code and also the initialization code becomes almost trivial (see below).

In particular it should not be very difficult to convert EOS scripts to human readable gasm scripts that can also be modified. A Custom high level RTL that emulates the EOS look and feel or at least a library that implements EOS specific functions is required.

Only issue is the usage of global variables in EOS scripts.

Quick and dirty solution would be to insert the initialization section in global scope and write a wrapper for 'teaseStorage' that stores variables in/from scriptVars -- the tease storage of gasm. This emulates the EOS behavior and handling eval and initialization code becomes trivial.

But it breaks the gasm concept and thus makes it more complicated to modify the output. A better approach would be to parse the init section and store these variables in the scriptVars object. That makes 'teaseStorage' obsolete and allows re-entering teases. But that also requires that variable names in eval code snippets are replaced.
GAsm -- A guide assembler with EStim support to generate interactive teases that run in a browser.
mangoman
Explorer At Heart
Explorer At Heart
Posts: 355
Joined: Tue Apr 27, 2010 9:12 pm
Gender: Male
Sexual Orientation: Straight
I am a: Slave
Location: Krakosia
Contact:

Re: EOS Offline Player [development thread]

Post by mangoman »

Sadly I can't contribute in any way, you smart people just know that your work is appreciated and I'm looking forward to it. :love:
Post Reply