2020-05-07 18:28:34 +02:00
|
|
|
# sm64pc
|
|
|
|
OpenGL adaptation of [n64decomp/sm64](https://github.com/n64decomp/sm64).
|
2019-08-25 06:46:40 +02:00
|
|
|
|
2020-05-07 18:28:34 +02:00
|
|
|
## Building
|
2019-08-25 06:46:40 +02:00
|
|
|
|
2020-05-07 18:28:34 +02:00
|
|
|
### On Linux
|
2019-08-25 06:46:40 +02:00
|
|
|
|
2019-09-01 21:50:50 +02:00
|
|
|
#### 1. Copy baserom(s) for asset extraction
|
|
|
|
|
|
|
|
For each version (jp/us/eu) that you want to build a ROM for, put an existing ROM at
|
2019-08-25 06:46:40 +02:00
|
|
|
`./baserom.<version>.z64` for asset extraction.
|
|
|
|
|
2019-09-01 21:50:50 +02:00
|
|
|
#### 2. Install build dependencies
|
|
|
|
|
|
|
|
The build system has the following package requirements:
|
2020-05-07 18:28:34 +02:00
|
|
|
* python3 >= 3.6
|
|
|
|
* libsdl2-dev
|
|
|
|
* [audiofile](https://audiofile.68k.org/)
|
|
|
|
* libglew-dev
|
|
|
|
* git
|
2019-08-25 06:46:40 +02:00
|
|
|
|
|
|
|
|
2020-05-07 18:28:34 +02:00
|
|
|
__Debian / Ubuntu - targeting 32 bits__
|
2019-08-25 06:46:40 +02:00
|
|
|
```
|
2020-05-07 18:28:34 +02:00
|
|
|
sudo apt install build-essential git python3 libaudiofile-dev libglew-dev:i386 libsdl2-dev:i386
|
2019-08-25 06:46:40 +02:00
|
|
|
```
|
2020-05-07 18:28:34 +02:00
|
|
|
__Debian / Ubuntu - targeting 64 bits__
|
2019-08-25 06:46:40 +02:00
|
|
|
```
|
2020-05-07 18:28:34 +02:00
|
|
|
sudo apt install build-essential git python3 libaudiofile-dev libglew-dev libsdl2-dev
|
2019-08-25 08:41:24 +02:00
|
|
|
```
|
2019-08-25 06:46:40 +02:00
|
|
|
|
2020-05-07 18:28:34 +02:00
|
|
|
## Current issues
|
2019-08-25 06:46:40 +02:00
|
|
|
|
2020-05-07 18:28:34 +02:00
|
|
|
* Support for the EU version is still experimental.
|
|
|
|
* There seems to be savedata-related problems on some 64-bits builds.
|