retrotool
Warning Under active development, not guaranteed to be useful or even function.
Tools for working with Retro game formats. Currently only supports Metroid Prime Remastered.
Commands
pak extract
Extracts files from a given .pak
.
$ retrotool pak extract [in_pak] [out_dir]
pak package
Re-packages a .pak
, given an extracted directory.
$ retrotool pak package [in_dir] [out_pak]
txtr convert
Converts a .TXTR
file to .dds
(recommended) or .astc
.
Textures are often compressed with BCn or ASTC, which are not commonly supported by image viewers.
tacentview is recommended to view and convert the resulting textures.
$ retrotool txtr convert [in].TXTR
# writes to [in].dds
$ retrotool txtr convert --astc [in].TXTR
# writes to [in].astc
fmv0 extract
Extracts the contained video from a given FMV0
file.
$ retrotool fmv0 extract [in_fmv0] [out_mp4]
fmv0 replace
Replaces the video within the given FMV0
file.
$ retrotool fmv0 replace [inout_fmv0] [in_mp4]
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.