Skip to content

Commit

Permalink
Merge pull request #52 from SeekyCt/dev
Browse files Browse the repository at this point in the history
v9
  • Loading branch information
SeekyCt authored Dec 27, 2022
2 parents f524a33 + fa88e61 commit 35f03c9
Show file tree
Hide file tree
Showing 353 changed files with 15,018 additions and 4,248 deletions.
13 changes: 8 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
*.elf
*.rel
# Build system outputs
build
out
build.ninja

# Tool / user files
.vscode
build.*
*.bat
porting
*.bin
*.bat
compile_commands.json
219 changes: 0 additions & 219 deletions Makefile

This file was deleted.

15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,22 @@ The dev branch contains in-development features and usually isn't ported to or t
## Building
To compile this yourself, you'll need the following:
* devkitPPC
* ninja
* Python 3
- 3.8 is known to work, earlier versions may too
* The python modules from `requirements.txt` (`pip install -r requirements.txt`)
* The fork of PistonMiner's elf2rel from the [SPM Rel Loader repo](https://github.com/SeekyCt/spm-rel-loader/releases/tag/elf2rel-24-6-2021)
* For v8 and above, the 21-12-2021 build is required. v5-7 require the 24-6-2021 build. Older versions are compatible with any build.
* The TTYDTOOLS environment variable set to the folder outside of the `bin` folder with your compiled `elf2rel` in (so `$(TTYDTOOLS)/bin/elf2rel` will point to it)
* For v8 and above, the 21-12-2021 build is required. v5-7 require the 24-6-2021 build. Older versions are compatible with any build
* The ELF2REL environment variable set to the path to your compiled `elf2rel` executable

Once that's set up you can use `make rgX` to build region `rg` ('eu', 'us', 'jp' or 'kr') revision `X` (0-1 for eu & jp, 0-2 for us, 0 for kr) or just `make` to build for all regions and revisions.
Once that's set up:
* Run `configure.py`
* Versions can be listed as arguments to enable them, by default all will be enabled
* Run `ninja`
* Versions can be listed as arguments to build them (must be enabled in `configure.py`), by default all will be built

## Credits
* This mod was made using the [SPM Rel Loader](https://github.com/SeekyCt/spm-rel-loader), which is based on the TTYD rel loader by PistonMiner and Zephiles.
* JohnP55 for help and suggestions creating the map change teleport effect.
* TheLordScruffy for the Dolphin & Riivolution detection methods.
* stebler for `tools/incbin.S`.
10 changes: 10 additions & 0 deletions assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# == Format ==
# assetPathHere:
# symbol: symbolHere (<symbol>_end will also be created)
# align: alignmentHere (default 4)
# section: sectionHere (default .rodata)

assets/inputs.tpl:
symbol: inpTpl
align: 0x20
section: .data
Binary file modified assets/inputs.tpl
Binary file not shown.
Loading

0 comments on commit 35f03c9

Please sign in to comment.