Commit Graph

9 Commits

Author SHA1 Message Date
Lily Tsuru 2c0237933c Initial support for Ver3/.PMDL archives
................. fuck

This really needs to be cleaned up before I'm willing to call it "good" but ultimately the API changes here needed to be done anyhow
2023-08-01 18:18:40 -04:00
Lily Tsuru f79c92c742 chore(*): .h -> .hpp
Preferences change a bit.
2022-09-21 02:59:16 -05:00
Lily Tsuru 6228bf77e8 chore(*): fix spdx headers for right license
Oops!
2022-09-21 02:49:57 -05:00
Lily Tsuru cab58d0d34 Mishmash commit
While working with scrc I made the pak files output sorted by size. This doesn't
seem to have helped with performance but I guess it might be nice to maybe
do the conversion in hand.. or just make the writer take a vector of pair to use.
2022-09-21 02:31:33 -05:00
Lily Tsuru 4452b87780 Fix io::PakWriter, add pakcreate
Also improves paktest.

Pakcreate is a new utility for creating completely new archives from a directory.

Usage:
pakcreate [input path] [output .PAK/pmdl filename] [--jedi]

Options:
--jedi : Make Jedi Starfighter archive
2022-09-15 04:11:53 -05:00
Lily Tsuru fae513fdfe Try to optimize things a bit
PakReader won't read everything in ReadData(), it now only reads the header and TOC.

Files now need to be read in separately.

Adds progress bar to europa_pack_extractor.

Moved code around.
2022-09-07 04:07:40 -05:00
Lily Tsuru 5d03f49e21 Add possibly not WIP package writer
Don't have a tool for building "fresh" packages yet, but the "paktest" tests regurgitating a pak into a new pak file.

Usage is:

./paktest [pak file]

it will write to "new.pak" always, which meh. It's just a test utility.
2022-09-05 19:59:46 -05:00
Lily Tsuru 1782fef0dc Add WIP YATF exporter
Doesn't work for *everything* but works for a good chunk of stuff
2022-09-05 03:24:50 -05:00
Lily Tsuru 62862d832f Initial commit 2022-09-04 16:11:14 -05:00