Good news! I spent some more time with it and figured it out.
Here's a python 3 script to decrypt and unpack the data.bin file
If you have a lot of trouble running the script I could also upload the decrypted files manually, I just don't feel like uploading a 0.5 GB file unless I have to.
Hello, hope you are doing well! Sorry to be posting in an old thread but I don't have enough posts to start a conversation and in case someone else has a similar issue I'll ask here.
I have been attempting to use the extract tool on the dev's other projects (namely Kisaragi's Dangerously Erotic Certification Exam! ~Resistance Is Futile~) and have been running into an index error in the readIndex() function when called with the unpackDecrypted() function after dataPlain.bin is made. Traceback tells me specifically line 77.
At first I figured the data.bin of this different game might be incompatible with your script but I went and tried it for the data.bin of the game it was intended for and get the same issue! Which is really throwing me for a loop since I never had any issue with your script before.
This usually would constitute an "oh well" from me but since I am currently in the process of learning python I really would like to learn what I'm missing here!
Here is my exact process in case I'm just doing something wrong:
move data.bin of the original game script was made for into ExtractTool folder,
Open cmd and type 'python' to install it through Microsoft store,
Open python in cmd to make sure it worked,
exit() to get out of interpreter,
cd to the directory of the script,
Type in: 'python extract.py'
decryptArchive() seems to be working fine and dataPlain.bin is made
Then I get:
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\ExtractTool\extract.py", line 115, in <module>
unpackDecrypted()
File "C:\Users\Admin\Desktop\ExtractTool\extract.py", line 99, in unpackDecrypted
for offset, dataLen, path in readIndex(data):
File "C:\Users\Admin\Desktop\ExtractTool\extract.py", line 77, in readIndex
while data[j] != 0:
IndexError: index out of range
Although a lot of the script is beyond me, I cant see how j could be an invalid index for data given that dataPlain.bin is the argument for the function's parameter...
Sorry for such a long question and VERY SORRY if its just something simple I'm doing wrong here! I am on a new PC now since I was last able to successfully use the extract script but cant imagine how that could be causing an index invalid...