RSO: make command (#67)

Allow to create rso file from relocatable elf

No sel file support yet
This commit is contained in:
Wesley Moret
2024-08-06 23:15:03 -04:00
committed by GitHub
parent cfeacd2c3a
commit da6a514fac
3 changed files with 551 additions and 19 deletions

View File

@@ -39,6 +39,7 @@ project structure and build system that uses decomp-toolkit under the hood.
- [rel info](#rel-info)
- [rel merge](#rel-merge)
- [rso info](#rso-info)
- [rso make](#rso-make)
- [shasum](#shasum)
- [nlzss decompress](#nlzss-decompress)
- [rarc list](#rarc-list)
@@ -370,6 +371,22 @@ Prints information about an RSO file.
$ dtk rso info input.rso
```
### rso make
> [!WARNING]
> This command does not yet support creating SEL files.
Creates an RSO file from a relocatable ELF file.
Options:
- `-o`, `--output <File>`: Output RSO file.
- `-m`, `--module-name <Name>`: Module name (or path). Default: input name
- `-e`, `--export <File>`: File containing exported symbol names. (Newline separated)
```shell
$ dtk rso make input.elf -o input.rso
```
### shasum
Calculate and verify SHA-1 hashes.