From e1fc48df31c3a93e9c53a2d65a71f27474afae8d Mon Sep 17 00:00:00 2001 From: GNU Date: Wed, 9 Nov 2022 18:03:48 +0800 Subject: [PATCH] Updated Compile the widescreen version of Cave Story from the source code (markdown) --- ...sion-of-Cave-Story-from-the-source-code.md | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) 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`