satan53x / SExtractor

从GalGame脚本提取和导入文本(大部分需要明文)
GNU General Public License v3.0
210 stars 14 forks source link

Failed to extract Artemis's script #3

Closed Cosetto closed 1 year ago

Cosetto commented 1 year ago

The tool stops at 01_共通07.ast script.zip

satan53x commented 3 months ago

I don't have data. Maybe you can debug this:

https://github.com/Cosetto/vn_re/blob/b8b4cd361a8582a1f2799db4bdfb7879d1e70ad7/vn_re/archives/acv1/resources.py#L137C1-L151C85

The file_name may be empty.

Cosetto commented 3 months ago

I got some files here: Edit.zip I don't know if the error relate to the file_name.txt or not?

satan53x commented 3 months ago

https://github.com/Cosetto/vn_re/blob/b8b4cd361a8582a1f2799db4bdfb7879d1e70ad7/vn_re/archives/acv1/resources.py#L138

    file_name = "/".join(input_file_name.split("/")[1:]).encode("cp932")

Change the second "/" to os.sep. Because the filepath input_file_name in Windows use "\\".

Cosetto commented 3 months ago

Thanks bro, works

Cosetto commented 3 months ago

@satan53x EntisGlS.zip Command line noa packer

Cosetto commented 2 weeks ago

@satan53x https://f95zone.to/threads/translation-request-saiminjutsu-2-black-rainbow.90051/post-13646517 Another script tool for Black Rainbow, tested on Saiminjutsu 2 and Ura Saiminjutsu 2

satan53x commented 2 weeks ago

@satan53x https://f95zone.to/threads/translation-request-saiminjutsu-2-black-rainbow.90051/post-13646517 Another script tool for Black Rainbow, tested on Saiminjutsu 2 and Ura Saiminjutsu 2

Yeah, I know this tool: https://github.com/satan53x/SExtractor/issues/72 This tool is equivalent to using extraData=\x01\x00\x00\x00 in SE when extract script. These two games only need to change the decrypt key.