Skip to content

Commit

Permalink
RSO: make command (#67)
Browse files Browse the repository at this point in the history
Allow to create rso file from relocatable elf

No sel file support yet
  • Loading branch information
InusualZ authored Aug 7, 2024
1 parent cfeacd2 commit da6a514
Show file tree
Hide file tree
Showing 3 changed files with 551 additions and 19 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down
Loading

0 comments on commit da6a514

Please sign in to comment.