4.60 star(s) 32 Votes

kin-kun

Active Member
Modder
Jul 10, 2020
963
2,295
I've tried shift, but it doesn't seem to work. Shift does work in seemingly older games like Summer memories or the NPC-world games. The interface on Succubus farm looks different- just like that of Tails of Desire (Shift doesn't work there either).

Is it something to do with the games being made on different versions of RPG maker or something?
Animations are very nice but dialogue window distracts me it even covers the thing, is there any way to hide it?
Need to edit OP post becouse it is no longer censored
I'll look at what is blocking the text hiding feature tomorrow.
 
  • Like
Reactions: Pink Man

Evilbeef

New Member
Mar 24, 2018
8
2
Python:
#!/usr/bin/env python3

import codecs
import os
import shutil

for entry in os.listdir('.'):
    if(entry.endswith(".sl")):
        print(entry)
        with codecs.open(entry, 'r', encoding='utf-8') as f:
            text = f.read()

        out = ""
        for c in text:
            out += chr((ord(c) ^ 255))
        with codecs.open(entry[:-3] + ".txt", 'w', encoding='utf-8') as f:
            f.write(out)
        shutil.copystat(entry, entry[:-3]+'.txt')
Python:
#!/usr/bin/env python3

import codecs
import os
import shutil

for entry in os.listdir('.'):
    if(entry.endswith(".txt")):
        with codecs.open(entry, 'r', encoding='utf-8') as f:
            text = f.read()

        out = ""
        for c in text:
            out += chr((ord(c) ^ 255))
        with codecs.open(entry[:-4]+'.sl', 'w', encoding='utf-8') as f:
            f.write(out)
        shutil.copystat(entry, entry[:-4]+'.sl')
Thanks for the help, but unfortunately I don't know anything about Python at all. Are there other solutions that are simpler? If not, you could explain to me step by step how to do it. Thanks in advance for an answer.
 

kin-kun

Active Member
Modder
Jul 10, 2020
963
2,295
Thanks for the help, but unfortunately I don't know anything about Python at all. Are there other solutions that are simpler? If not, you could explain to me step by step how to do it. Thanks in advance for an answer.
Here, I'm going to comment the code to make this easier:
Python:
#!/usr/bin/env python3

import codecs
import os
import shutil

# for every file in the current directory
for entry in os.listdir('.'):
    # if the file ends with .sl
    if(entry.endswith(".sl")):
        # print the filename
        print(entry)
        # open the file in utf-8 mode (normal is ascii mode)
        with codecs.open(entry, 'r', encoding='utf-8') as f:
            # read the file into a variable
            text = f.read()

        # initialize the output to blank
        out = ""
        # for every charcater in the input
        for c in text:
            # Take the input character and run bitwise xor with the value 255
            out += chr((ord(c) ^ 255))

        # open a file with the same name, ending with .txt instead of .sl in UTF-8 mode
        with codecs.open(entry[:-3] + ".txt", 'w', encoding='utf-8') as f:
            # Write the data out
            f.write(out)

        # Copy the modification time/creation time from the source file to the destination
        shutil.copystat(entry, entry[:-3]+'.txt')
Doing this by hand will be very hard and slow. Or you can install python3 and run it using python <scriptname>.

Attaching a zip file with the directory, decoded files, and scripts. You'll need to encode the files again before you see them in game.
 
  • Like
Reactions: Evilbeef

kin-kun

Active Member
Modder
Jul 10, 2020
963
2,295
Is it possible to change the MC's name?

How do I remove message boxes to have a full view of the CG?
Note that I did not ment CG but animation, it's not serious to put so much effort into a pixelart and cover it with a text cloud
This looks to be harder than I thought, it may take a few days to find a good way to add this feature.
 

g659039

Member
Apr 10, 2018
346
499
This looks to be harder than I thought, it may take a few days to find a good way to add this feature.
I appreciate your work, maybe to save yourself the trouble, you would only provide a file that would delete these dialogues entirely for those willing, without modifying the game with additional options.
 

Evilbeef

New Member
Mar 24, 2018
8
2
Here, I'm going to comment the code to make this easier:
Python:
#!/usr/bin/env python3

import codecs
import os
import shutil

# for every file in the current directory
for entry in os.listdir('.'):
    # if the file ends with .sl
    if(entry.endswith(".sl")):
        # print the filename
        print(entry)
        # open the file in utf-8 mode (normal is ascii mode)
        with codecs.open(entry, 'r', encoding='utf-8') as f:
            # read the file into a variable
            text = f.read()

        # initialize the output to blank
        out = ""
        # for every charcater in the input
        for c in text:
            # Take the input character and run bitwise xor with the value 255
            out += chr((ord(c) ^ 255))

        # open a file with the same name, ending with .txt instead of .sl in UTF-8 mode
        with codecs.open(entry[:-3] + ".txt", 'w', encoding='utf-8') as f:
            # Write the data out
            f.write(out)

        # Copy the modification time/creation time from the source file to the destination
        shutil.copystat(entry, entry[:-3]+'.txt')
Doing this by hand will be very hard and slow. Or you can install python3 and run it using python <scriptname>.

Attaching a zip file with the directory, decoded files, and scripts. You'll need to encode the files again before you see them in game.
ok i'll try, thanks for the help.
 

Evilbeef

New Member
Mar 24, 2018
8
2
Here, I'm going to comment the code to make this easier:
Python:
#!/usr/bin/env python3

import codecs
import os
import shutil

# for every file in the current directory
for entry in os.listdir('.'):
    # if the file ends with .sl
    if(entry.endswith(".sl")):
        # print the filename
        print(entry)
        # open the file in utf-8 mode (normal is ascii mode)
        with codecs.open(entry, 'r', encoding='utf-8') as f:
            # read the file into a variable
            text = f.read()

        # initialize the output to blank
        out = ""
        # for every charcater in the input
        for c in text:
            # Take the input character and run bitwise xor with the value 255
            out += chr((ord(c) ^ 255))

        # open a file with the same name, ending with .txt instead of .sl in UTF-8 mode
        with codecs.open(entry[:-3] + ".txt", 'w', encoding='utf-8') as f:
            # Write the data out
            f.write(out)

        # Copy the modification time/creation time from the source file to the destination
        shutil.copystat(entry, entry[:-3]+'.txt')
Doing this by hand will be very hard and slow. Or you can install python3 and run it using python <scriptname>.

Attaching a zip file with the directory, decoded files, and scripts. You'll need to encode the files again before you see them in game.
Or can I just translate everything and then send it to you and then you decode that? Are these all the dialogues in the file scennario?
 

kin-kun

Active Member
Modder
Jul 10, 2020
963
2,295
I appreciate your work, maybe to save yourself the trouble, you would only provide a file that would delete these dialogues entirely for those willing, without modifying the game with additional options.
Unfortunately it is more complicated than that.

From the code it looks like just blanking the text could cause some real problems. This is because it appears dieselmine is:
  • Not using a standard message window for that text (or they are overriding it in such a way that it won't act normally)
  • Depending on the text for timing of the scene
So I think I'll need to go through a set of about 50 inter-dependent javascript plugins and a debugger to figure out how to make things work right. (Along with MTL of the javascript files so I have a hope of understanding the comments.) Given that, I'm going to give this a lower priority for now.

I'm going to put up a list of games I want to add soon on my profile, so people can tell me if there's particular ones that they want asap.
 
  • Like
Reactions: g659039

nightmare054

Member
Jan 1, 2018
180
87
the link in the OP which is , for what? is it for updating the game from 1.0x to v1.01 along with the official translation?
If it come along with the official translation, can I overwrite the official translation with the unofficial one?
 

kin-kun

Active Member
Modder
Jul 10, 2020
963
2,295
the link in the OP which is , for what? is it for updating the game from 1.0x to v1.01 along with the official translation?
If it come along with the official translation, can I overwrite the official translation with the unofficial one?
No that's the patch from Kagura games. That said there are advantages to the unofficial patch. Mainly the automatons aren't messed up. (If I do say so my self, since I actually fixed the issue rather than making it worse.)
 
  • Yay, new update!
Reactions: Succubus Hunter
4.60 star(s) 32 Votes