Commit Graph

12 Commits

Author SHA1 Message Date
Lily Tsuru 094f9a66f2 WIP attempt at extracting Namco Museum GCN bolt library file.. seems to only kind of work 2023-11-21 21:13:07 -05:00
Lily Tsuru 0bce5917f3 bolt: Table lookup only done with Simpsons Skateboarding 2023-11-21 20:33:26 -05:00
Lily Tsuru c92a61d633 bolt: misc code cleanup 2023-11-21 20:30:37 -05:00
Lily Tsuru 3bcc4d242f Refactor Bolt I/O code into re-usable "bolt" library
We now also wrap the result of the decompression code in a
ErrorOr<> and have also added a additional error code for
decompression failure (since it *is* something that can fail,
after all.). This shouldn't really bother performance, if it does,
I can just have it take a vector by ref and then make it ErrorOr<void>.
2023-11-19 21:28:11 -05:00
Lily Tsuru a8b4aef168 move make_error_code overload into std 2023-11-19 20:57:04 -05:00
Lily Tsuru 5bd23aa6ed Implement library magic checking & error handling 2023-11-19 20:54:58 -05:00
Lily Tsuru fbe24aa0f8 Make codebase tabs 2023-11-19 20:24:40 -05:00
Lily Tsuru eeb69fe0df License project as open-source under the MIT license
This commit also adds a README with build and usage instructions.
2023-11-19 20:21:56 -05:00
Lily Tsuru 35cabf05da working decompression and extraction 2023-11-19 20:14:08 -05:00
Lily Tsuru 582b2a1933 pull in decompiled decompressor
I need to figure out how decompressed sizes are done before fully making this work.
2023-11-19 07:29:42 -05:00
Lily Tsuru f1f081c114 correct error with bolt structures, now reading file data (need compression though) 2023-11-19 06:53:11 -05:00
Lily Tsuru d7a48f39b4 Initial prototype - reads the TOC from the ELF and maps the BOLT file 2023-11-19 06:19:15 -05:00