super-mario-bros-optimized/README.md

55 lines
1.3 KiB
Markdown
Raw Normal View History

2024-05-01 20:51:59 +00:00
# Super Mario Bros. Optimized
2024-04-26 20:43:15 +00:00
2024-05-01 20:51:59 +00:00
Super Mario Bros. technically optimized as much as possible.
![Super Mario Bros. Optimized in action](/demo.png)
## Usage
### Requirements
cc65 must be installed on your system; the oldest supported version is `2.18`. No other dependencies are required.
Additionally a file containing the graphics for the original Super Mario Bros. game must be present on your system. This file is not provided.
### Installing
Clone this repository locally:
```shell
$ git clone https://forge.thatspaceandtime.org/ooxie/super-mario-bros-optimized.git super_mario_bros_optimized
$ cd super_mario_bros_optimized
```
Copy the graphics file:
```shell
$ cp <path_to_the_graphics_file> src/chars.bin
```
2024-05-01 21:07:25 +00:00
Create the target directory:
```shell
$ mkdir target
```
2024-05-01 20:51:59 +00:00
### Building
To build the binary, execute:
```shell
$ cl65 -t nes -o target/super_mario_bros_optimized.nes -C src/linker.cfg src/main.asm
```
### Running
To run the game, open the file `target/super_mario_bros_optimized.nes` in your favorite NES emulator. Alternatively you can run it on original hardware.
### Playing
Refer to the original manual for Super Mario Bros.
## License
2024-05-01 21:07:25 +00:00
The source code of this project is not licensed, as the original work it is based on is not (see [LICENSE](/ooxie/super-mario-bros-optimized/src/branch/master/LICENSE)).