A few days ago,I found a very hentai tickling game from dlsite named
D:\tools>lmcompiler.py x output input
Opening output\00000001.lsb...
Disassembling 11784 bytes of data...
Traceback (most recent call last):
File "D:\tools\lmcompiler.py", line 133, in <module>
main()
File "D:\tools\lmcompiler.py", line 24, in main
disassemble(args.input_folder, args.output_folder)
File "D:\tools\lmcompiler.py", line 55, in disassemble
dis.disassemble()
File "D:\tools\lib\lmdis.py", line 515, in disassemble
body = self.parse_body()
File "D:\tools\lib\lmdis.py", line 1109, in parse_body
opcode_table[opcode](command)
File "D:\tools\lib\lmdis.py", line 925, in TComTextIns
command.args.append(ParseEventBlock(command))
File "D:\tools\lib\lmdis.py", line 887, in ParseEventBlock
data.append(EventArgument(ArgumentType.string, self.read_string()))
File "D:\tools\lib\lmdis.py", line 1142, in read_string
length = self.read_int()
File "D:\tools\lib\lmdis.py", line 1134, in read_int
val = struct.unpack('<I', self.read(4))[0]
struct.error: unpack requires a string argument of length 4
Does anyone know the reason for this mistake? Thanks.
You must be registered to see the links
(RJ216133).I bought it and wanted to unpack it for translating.The unpacking process went very smoothly.But unfortunately,when I tried to disassemble the .lsb files to .xml format,someting goes wrong. The cmd file shows thatD:\tools>lmcompiler.py x output input
Opening output\00000001.lsb...
Disassembling 11784 bytes of data...
Traceback (most recent call last):
File "D:\tools\lmcompiler.py", line 133, in <module>
main()
File "D:\tools\lmcompiler.py", line 24, in main
disassemble(args.input_folder, args.output_folder)
File "D:\tools\lmcompiler.py", line 55, in disassemble
dis.disassemble()
File "D:\tools\lib\lmdis.py", line 515, in disassemble
body = self.parse_body()
File "D:\tools\lib\lmdis.py", line 1109, in parse_body
opcode_table[opcode](command)
File "D:\tools\lib\lmdis.py", line 925, in TComTextIns
command.args.append(ParseEventBlock(command))
File "D:\tools\lib\lmdis.py", line 887, in ParseEventBlock
data.append(EventArgument(ArgumentType.string, self.read_string()))
File "D:\tools\lib\lmdis.py", line 1142, in read_string
length = self.read_int()
File "D:\tools\lib\lmdis.py", line 1134, in read_int
val = struct.unpack('<I', self.read(4))[0]
struct.error: unpack requires a string argument of length 4
Does anyone know the reason for this mistake? Thanks.