Create and Fuck your AI Slut -70% OFF
x

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
I like this game very much.
I wanted to translate the game into Chinese and found I had to modify the compiled.js. However, the content in compiled.js is very messy, and the content in the Source is easier to translate, but the game does not change after modification. How do I compile it? Also, I don't know JavaScript and only know some simple text editing software.
Sorry English is not my first language.
To edit
- change the files in the Javascripts/Source folder
- create the new compiled.js by running
Development/compile.bat
or
Development/compile.sh
Please note the bat currently assumes you have the Java development kit installed in the folder
C:\jdk20\bin\
If it is elsewhere then please edit the bat file to change the references, or install to said folder
 
  • Heart
Reactions: zhengyus

zhengyus

Member
Feb 17, 2020
113
587
250
To edit
- change the files in the Javascripts/Source folder
- create the new compiled.js by running
Development/compile.bat
or
Development/compile.sh
Please note the bat currently assumes you have the Java development kit installed in the folder
C:\jdk20\bin\
If it is elsewhere then please edit the bat file to change the references, or install to said folder
Snipaste_2024-01-11_19-59-43.jpg An error occurred while running compile.bat, the Javascripts folder was missing a few files, and the game would not run. Can you help me find out why?
 

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
View attachment 3251738 An error occurred while running compile.bat, the Javascripts folder was missing a few files, and the game would not run. Can you help me find out why?
I include all source files in the releases, but what you show there is an error in a line of Javascript in the bit
shouldn't
that bit should escape the '
shouldn\'t

To find the line of code run check.bat, it compiles each file separately and it will report the line of code that the compile error is in.

I note that the base source code should not have the issue you show there it is a standard sort of issue and as you show the compile picks it up and is easily corrected

If wanted I can post the source folder from the last release 14.14c but it should be in the last version I posted.
 

zhengyus

Member
Feb 17, 2020
113
587
250
I put the backup Javascripts in, and after running compile.bat, I can enter the game and play. However, Javascripts will lack the merged.js file than before, will this affect the game?
The previous mistake may have been caused by my wrong translation.
 

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
I put the backup Javascripts in, and after running compile.bat, I can enter the game and play. However, Javascripts will lack the merged.js file than before, will this affect the game?
The previous mistake may have been caused by my wrong translation.
merged.js is a temporary file made during the process (it is all the .js files concatenated together) and should be deleted at the end of a successful compile. It is not used to play the game as it should not exist, only compiled.js is needed
 
Last edited:

zhengyus

Member
Feb 17, 2020
113
587
250
Ok, thank you very much. I am ready to translate the game, but it seems very difficult, because I don't know how to troubleshoot if I encounter translation errors.
Thanks again.
merged.js is a temporary file made during the process (it is all the .js files concatenated together) and should be deleted at the end of a successful compile. It is not used to play the game as it should not exist, only compiled.js is needed
 

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
Ok, thank you very much. I am ready to translate the game, but it seems very difficult, because I don't know how to troubleshoot if I encounter translation errors.
Thanks again.
It would be difficult to translate, the game has not been developed with translation in mind and in quite a few cases you would need some knowledge of javascript as there is some coding that would need minor changes, particularly for characters that can change gender like Davy or Mayor Thomas

Generally for errors the compile process and the check.bat is a major way I use to find many errors and the rest is in testing by playing the scenes in the game

I could make the game easier to translate but it would be a lot of work to say extract text into a central object or something like that.
 

zhengyus

Member
Feb 17, 2020
113
587
250
It would be difficult to translate, the game has not been developed with translation in mind and in quite a few cases you would need some knowledge of javascript as there is some coding that would need minor changes, particularly for characters that can change gender like Davy or Mayor Thomas

Generally for errors the compile process and the check.bat is a major way I use to find many errors and the rest is in testing by playing the scenes in the game

I could make the game easier to translate but it would be a lot of work to say extract text into a central object or something like that.
If the game is relatively easy to translate, I believe that more people in more countries will like it, but I am more worried about the follow-up translation after each update, which needs to compare the modified parts of each text, which will be very troublesome.
 

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
was there a anime/video game version like this and if there was is it still around
No, you must have this confused with another game. There are limited other versions of this or mods released by fans to date. None were anime/video game related
 

SpecialKat

Member
May 5, 2020
100
35
150
No, you must have this confused with another game. There are limited other versions of this or mods released by fans to date. None were anime/video game related
The Company has two picture modes, real or anime cartoony images. I think maybe that's the one poster might have been referring to
 
  • Like
Reactions: Hydroclock

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
Hi! cmacleod42!, I've been looking at the gym all day continuously for one whole week. But I can't find Brandi, I've also tried calling Kylie on afternoon, but she keeps not answering. Please help!
You can only meet Aunt Brandi after having met Kylie a few times when you call her. Kylie will only answer in the mornings not afternoons as she is doing her volleyball practice in the afternoon
 
  • Like
Reactions: rockworld

cmacleod42

Engaged Member
Game Developer
Aug 29, 2017
3,420
2,191
470
the file sizes are getting large enough that i cant even download them anymore :(
In what sort of device or case here. I have made sure to keep the Android apk within the allowed limits (under 4gb) and the versions are not hugely growing recently. If you use the MEGA link please always use their MEGAsync app as it allows downloads of arbitrary sizes, sure for free it is about 5Gb per day but the last release of the game is at about 4Gb
 

enguy

New Member
Jan 28, 2024
1
0
11
Glad to see this forum is still active. I'm getting stuck... playing the online version (V 14.14B), and can't get the hair from the safe in the museum (museum has been closed, used Pass to enter, go the safe, Pass "bounces off" safe). Can't charm anyone at the Kelly house, or anyone at the hotel. Can't go to the secret room for the seance. Can't get to Davy's room, even using Pass. Lots of characters I'm reading should be charmed, I can't charm. I don't know if this is just a buggy version I'm playing, or I missed a crucial step somewhere that's locking all this stuff. Thoughts?
 

e6mill

Forum Fanatic
Aug 4, 2022
4,543
9,131
628
Glad to see this forum is still active. I'm getting stuck... playing the online version (V 14.14B), and can't get the hair from the safe in the museum (museum has been closed, used Pass to enter, go the safe, Pass "bounces off" safe). Can't charm anyone at the Kelly house, or anyone at the hotel. Can't go to the secret room for the seance. Can't get to Davy's room, even using Pass. Lots of characters I'm reading should be charmed, I can't charm. I don't know if this is just a buggy version I'm playing, or I missed a crucial step somewhere that's locking all this stuff. Thoughts?
Davy's house you have to get refused by his mom trying to enter his room from withing the house before pass will work from without. See if you can get Gina (the guard's) address from the museum and then pass into her house - probs want to open the museum again so she won't be there first.
 
4.30 star(s) 63 Votes