diff --git a/Compile-the-widescreen-version-of-Cave-Story-from-the-source-code.md b/Compile-the-widescreen-version-of-Cave-Story-from-the-source-code.md index 03368a1..3a82a06 100644 --- a/Compile-the-widescreen-version-of-Cave-Story-from-the-source-code.md +++ b/Compile-the-widescreen-version-of-Cave-Story-from-the-source-code.md @@ -13,6 +13,18 @@ sudo apt install build-essential libpng-dev libjpeg-dev make cmake cmake-data gi ``` cd ~ 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 mkdir build cd build @@ -37,21 +49,7 @@ sudo make install `./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: `./nxengine-evo`