I've noticed that sometimes, when extracting game files with QuickBMS, duplicate files exist, either in different folders, or even in the same folder (that's when you're asked if you want to overwrite them). With Star Wars: The Force Unleashed (the game I'm currently working on) there is no overwriting problem, but there are many files repeated over and over in different folders. Reimporting poses no problems, but increases the overall size of the game.
In general, there are two possibilities:
1. A game actually has duplicate files (sloppy devs or sales decision: bigger game makes people think of higher quality)
2. QuickBMS cannot distinguish between links and actual files (which is the case - I believe - with my game, SWTFU)
So: is there a way to make QuickBMS see the difference between a (symbolic) link and an actual file, and make it export links and files?
DUPLICATE FILES ISSUE
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: DUPLICATE FILES ISSUE
No, it's the matter of the script (maybe) to avoid extracting a file which is meant to be a symbolic link.
But there is no problem in reimport mode because all these symbolic links would point to the same offset and size in the archive, obviously all the other files pointing to the same offset should be removed from the folder or they will overwrite the edited content.
It's something extremely rare.
But there is no problem in reimport mode because all these symbolic links would point to the same offset and size in the archive, obviously all the other files pointing to the same offset should be removed from the folder or they will overwrite the edited content.
It's something extremely rare.
-
- Posts: 30
- Joined: Sun Feb 25, 2018 4:27 pm
Re: DUPLICATE FILES ISSUE
Luigi, could you modify the .lp extraction script so that links are exported as such?
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: DUPLICATE FILES ISSUE
I don't see fields in the script related to the type of file/link (and no I'm not going to return on that format).
Anyway quickbms doesn't support links, even in the case it's found a field that tells if a file is a link the only option would be to not extract it.
Anyway quickbms doesn't support links, even in the case it's found a field that tells if a file is a link the only option would be to not extract it.
-
- Posts: 30
- Joined: Sun Feb 25, 2018 4:27 pm
Re: DUPLICATE FILES ISSUE
I understand. Thank you.