mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-18 21:28:50 +01:00
Updated Compile the widescreen version of Cave Story from the source code (markdown)
parent
fa540d7269
commit
e1fc48df31
@ -13,6 +13,18 @@ sudo apt install build-essential libpng-dev libjpeg-dev make cmake cmake-data gi
|
|||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
git clone https://github.com/nxengine/nxengine-evo
|
git clone https://github.com/nxengine/nxengine-evo
|
||||||
|
```
|
||||||
|
### Modified to the widescreen version:
|
||||||
|
|
||||||
|
`vim ~/nxengine-evo/src/graphics/Renderer.cpp`
|
||||||
|
|
||||||
|
|
||||||
|
### Edit the 225 line and save and exit the following line
|
||||||
|
```
|
||||||
|
{(char *)"1280x480", 1280, 480, 640, 240, 2, true, true},
|
||||||
|
```
|
||||||
|
|
||||||
|
```
|
||||||
cd nxengine-evo
|
cd nxengine-evo
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -37,21 +49,7 @@ sudo make install
|
|||||||
`./nxengine-evo`
|
`./nxengine-evo`
|
||||||
|
|
||||||
|
|
||||||
### Modified to the widescreen version:
|
|
||||||
|
|
||||||
`vim ~/nxengine-evo/src/graphics/Renderer.cpp`
|
|
||||||
|
|
||||||
|
|
||||||
### Edit the 225 line and save and exit the following line
|
|
||||||
```
|
|
||||||
{(char *)"1280x480", 1280, 480, 640, 240, 2, true, true},
|
|
||||||
```
|
|
||||||
|
|
||||||
### Recompile the engine (it takes about 1 minute)
|
|
||||||
```
|
|
||||||
cd ~/nxengine-evo/build
|
|
||||||
make
|
|
||||||
```
|
|
||||||
|
|
||||||
### Run the modified version:
|
### Run the modified version:
|
||||||
`./nxengine-evo`
|
`./nxengine-evo`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user