Scripts Take Rom as Arg (#512)
* initial * suggestions for get_memory_map.sh * CONTRIBUTING.md suggestions * save_build.sh suggestions * rerun * env variable * add to env * print usage and remove redundant qoutes
This commit is contained in:
+7
-1
@@ -138,7 +138,13 @@ In the repo we use custom scripts located in the [`scripts`](https://github.com/
|
||||
- **get_hash.py**: Get git hash from ROM.
|
||||
- **generate_font.py**: Generate a font manually.
|
||||
- **get_memory_map.sh**: Print the memory map of the pre-allocated pools.
|
||||
- **save_build.sh**: Save a timestamped copy of build outputs (.elf, .gba, .map).
|
||||
- **save_build.sh**: Save a timestamped copy of build outputs (`.elf`, `.gba`, `.map`).
|
||||
# Minimal usage
|
||||
./scripts/save_build.sh build/balatro-gba.gba
|
||||
|
||||
# With optional build label
|
||||
./scripts/save_build.sh build/balatro-gba.gba my-feature
|
||||
```
|
||||
|
||||
## Debugging
|
||||
It's recommended to use [mGBA](https://mgba.io/) for ROM testing and debugging. As it provides a [`gdbserver`](https://en.wikipedia.org/wiki/Gdbserver) via the `-g` flag `mgba -g build/balatro-gba.gba`. You can connect via `gdb` or here is a [great guide for vscode](https://felixjones.co.uk/mgba_gdb/vscode.html).
|
||||
|
||||
Reference in New Issue
Block a user