Skip to content

Commit 69a42b3

Browse files
Encoding + help fix.
1 parent 794c3a2 commit 69a42b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

GUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class GUI():
100100
'Assembling succeed!',
101101
'Assembling failed.\nThere is a bug somewhere in the .txt.',
102102
'Common help',
103-
'''Dual languaged (rus+eng) tool for disassembling and assembling scripts .mes from the visual novel's engine Silky Engine (also known as Silky's Engine or SilkyEngine).\nWith it thou can fully edit code, not just strings, as with some earlier tools.\nThou can add line or even message breaks without restrictions!\n\nIt has some useful features.\n- Firstly, during disassembling all opcodes '\x0A' changes to '\x0B', so the engine wouldn't try to decrypt new strings and break latin and half-width kana symbols.\n- Secondly, thou can make comments in txt file with "$" at the beginning of the string.\n- Thirdly, some definations: "#0-" are "free bytes", "#1-" are commands (and "\[...]" are arguments below) and "#2-" are labels.''',
103+
'''Dual languaged (rus+eng) tool for disassembling and assembling scripts .mes from the visual novel's engine Stuff Script Engine.\nWith it thou can fully edit code, not just strings, as with some earlier tools.\nThou can add line or even message breaks without restrictions!\n\nIt has some useful features.\n- Firstly, during disassembling all opcodes '\x0A' changes to '\x0B', so the engine wouldn't try to decrypt new strings and break latin and half-width kana symbols.\n- Secondly, thou can make comments in txt file with "$" at the beginning of the string.\n- Thirdly, some definations: "#0-" are "free bytes", "#1-" are commands (and "\[...]" are arguments below) and "#2-" are labels.''',
104104
'Usage help',
105105
'''1. Enter a title of the .msc file in the top entry (do see, with extension). Thou can also enter relative or absolute path.\n1.1. Just as so and after pushing the "(De)crypt" bytton thou can use (de)cryption panel to decrypt or encrypt script as needed.\n2. Enter a title of the .txt file (do see, with extension). Thou can also enter relative or absolute path.\n2.1. After that thou can optionaly to push the button "Analyze script" to get to know it's version or if it's encrypted.\n3. For dissassemble push the button "Disassemble script".\n4. For assemble push the button "Assemble script".\n5. Status will be displayed on the text area below.''',
106106
'Line/message breaks help',

mscScript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def assemble(self):
451451
self.__args = []
452452
self.__offsets = []
453453

454-
in_file = open(self.__txtFile, 'r', encoding="shift-jis")
454+
in_file = open(self.__txtFile, 'r', encoding="cp932")
455455
current_line = in_file.readline()
456456
mode = int(current_line.split(' ')[1])
457457
self.__mode = mode

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313

1414
cx_Freeze.setup(
1515
name = "Name",
16-
options = {"build_exe":{"packages":["os", "lzss", "struct"]}},
16+
options = {"build_exe":{"packages":["os", "struct"]}},
1717
version="1",
1818
executables=executables)

0 commit comments

Comments
 (0)