5 Commits

Author SHA1 Message Date
Luca D'Amico
aa2ed50ade
v1.1 (#16) 2024-08-04 20:09:19 +02:00
NyuBlara
ec81e2bfbe
Feat/fat decoding (#14)
* First step in implementing FAT file decoding : brute-force extraction without FNT lookup.

The FAT alone contains enough information to extract every file in a
folder chosen by the user. However, reference to the file name table
(FNT) is needed to restore the files' names and the directory structure
(and avoid dumping useless data that may be left over in the data
section).

This commit only implements the dumping of all data by incrementing
through the FAT and writing every section marked by a FAT range into a
separate file, giving them incremental names.

The next commit will use the FNT to name them properly.

* Proper FAT decoding : FNT lookup and directory structure

Code comments explain the algorithm (which was understood thanks to the 
wonderfully simple "FNT-Tool" script at : 
https://github.com/RoadrunnerWMC/FNT-Tool) ; the implementation is more 
or less a C++ port of the Python code.

Everything may still be a little dirty, but it works !

* Updated README!

* Updated README!

* MINOR compliance modifications 

- Removed extra entry in .gitignore
- Removed superfluous debug inclusions 
- Replaced magic values by preprocessor macros

Co-authored-by: rblard <rblard@enseirb-matmeca.fr>
2022-11-16 18:46:13 +01:00
Luca D'Amico
30425b6bb8 Bugfix: check if file exists before overwrite 2021-04-12 00:34:58 +02:00
Luca D'Amico
319d0e232e
UI redesign: now use QTableView (#12)
* Switched to QTableView in Unpacker Tab

* Switched to QTableView in Packer Tab
2021-04-07 22:44:07 +02:00
Luca D'Amico
93a037e6c1 Display revision and build informations in about dialog 2021-03-02 18:20:48 +01:00