Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whatisaphone/baller
Modding tools for Backyard Sports
https://github.com/whatisaphone/baller
backyard-baseball decompiler scumm
Last synced: about 2 months ago
JSON representation
Modding tools for Backyard Sports
- Host: GitHub
- URL: https://github.com/whatisaphone/baller
- Owner: whatisaphone
- License: agpl-3.0
- Created: 2022-10-15T15:57:23.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T20:56:25.000Z (3 months ago)
- Last Synced: 2024-10-13T02:51:20.313Z (2 months ago)
- Topics: backyard-baseball, decompiler, scumm
- Language: Zig
- Homepage:
- Size: 1.92 MB
- Stars: 9
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚾ Baller
Modding tools for Backyard Sports, with support for:
- Backyard Baseball 1997/2001
- Backyard Soccer
- Backyard Football
- Backyard BasketballThis project also hosts a [decompilation of Backyard Baseball 2001](https://github.com/whatisaphone/baller/tree/browse).
## Tutorial
Let's extract Backyard Baseball 2001's scripts, modify one of them, and rebuild the game.
Before you start of course, [download the latest release](https://github.com/whatisaphone/baller/releases). Open a terminal and run `baller --help` to make sure it works.
1. Pick some directories to keep your project in. This tutorial uses:
- `~/bb2001src` as the project directory, for the extracted source files.
- `~/bb2001game` as the output directory, for the compiled game you can run.2. Copy your original game files to `~/bb2001game`. Make sure to include all the original data files: `baseball 2001.he0`, `baseball 2001.(a)`, etc.
Before you start, you could try running the game from this directory with ScummVM to make sure your untouched files are working.
3. Extract the assets to your project directory:
```sh
baller extract ~/bb2001game/baseball\ 2001.he0 ~/bb2001src
```This will write project.txt, some supporting files, and one directory per room.
4. Modify a script. The file `baseball/RMDA/LSC2_0013.s` contains the hover text for the main lobby. Change line 105 from "Meet the players" to "Meet the modders".
5. Build the assets. This will **overwrite** `baseball 2001.he0` and other files in the output directory.
```sh
baller build ~/bb2001src/project.txt ~/bb2001game/baseball\ 2001.he0
```Now when you run the game, it will use your changed text:
![Screenshot of game after rebuilding](docs/tutorial-finished.webp)
### Talkies
Modifying talkies is similar. Briefly:
```sh
baller talkie extract ~/bb2001game/baseball\ 2001.he2 ~/bb2001talkies
baller talkie build ~/bb2001talkies/talkies.txt ~/bb2001game/baseball\ 2001.he2
```## Contributing
Install prerequisites:
- [Zig] 0.13.0
[Zig]: https://ziglang.org/
Run the app:
```sh
zig build run
```Run the tests:
```sh
zig build test
```