Skip to content

Commit da6a514

Browse files
authored
RSO: make command (#67)
Allow to create rso file from relocatable elf No sel file support yet
1 parent cfeacd2 commit da6a514

File tree

3 files changed

+551
-19
lines changed

3 files changed

+551
-19
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ project structure and build system that uses decomp-toolkit under the hood.
3939
- [rel info](#rel-info)
4040
- [rel merge](#rel-merge)
4141
- [rso info](#rso-info)
42+
- [rso make](#rso-make)
4243
- [shasum](#shasum)
4344
- [nlzss decompress](#nlzss-decompress)
4445
- [rarc list](#rarc-list)
@@ -370,6 +371,22 @@ Prints information about an RSO file.
370371
$ dtk rso info input.rso
371372
```
372373

374+
### rso make
375+
376+
> [!WARNING]
377+
> This command does not yet support creating SEL files.
378+
379+
Creates an RSO file from a relocatable ELF file.
380+
381+
Options:
382+
- `-o`, `--output <File>`: Output RSO file.
383+
- `-m`, `--module-name <Name>`: Module name (or path). Default: input name
384+
- `-e`, `--export <File>`: File containing exported symbol names. (Newline separated)
385+
386+
```shell
387+
$ dtk rso make input.elf -o input.rso
388+
```
389+
373390
### shasum
374391

375392
Calculate and verify SHA-1 hashes.

0 commit comments

Comments
 (0)