nunuhara / alice-tools

Tools for extracting/editing files from AliceSoft games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Flat file extracting issues

pakoneko opened this issue · comments

HI, there.
I used alice-tools recently for extracting some resources.
Then found some issue not set properly and can be enhanced.

When I follow the instructions, extract the Rance10CG files , It works fine.
But the when the Rance10Flat file been extracted ,the issue coming.
First , when use "list" command. The resource will show the list in the console correctly .
but "extract" command can not execute completely,
it always throw the "no such file or directory" ,
First I thought it was the encoding issue, because I used Chinese version.
But after several times tried.
I found that the point is : it can't write to the disk correctly.
When resource under subfolder in the afa package , the tool can not create the subfolder in extract destination path. "no such file or directory" not means "can not find files in the flat package", it means "no correct path to place the extracted files".
After that I follow the list , create the subfolder manually.
That works.
But still have problem: when the batch extract command executing , when the flat file has no ajp file , it will still throw exception, then quit all the process.
I have to extract raw flat, then write a script to convert the flat in batches.
If the extract function can recognize subfolder then create the correct path, and just skip the no-ajp file , not quit the whole process. That may be better.
That's just a little advice.
Still, my work has done, many thanks to the author of this tool.