mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-15 11:48:50 +01:00
Page:
Compile the widescreen version of Cave Story from the source code
Pages
7110 dev board note
Compile Devterm CM4 kernel
Compile and run devterm printer
Compile andriod kernel for cm4
Compile keyboard bootloader and firmware
Compile lineage os 19.1 kernel for rpi4(cm4)
Compile the widescreen version of Cave Story from the source code
Create DevTerm A04 OS image from scratch
Create DevTerm A06 OS image from scratch
Create DevTerm CM3 OS image from scratch
Create DevTerm CM4 OS image from scratch
Create DevTerm R01 OS image from scratch
DevTerm A06 Install ibus input method
Devterm CM3 rpi os image
Devterm CM3 ubuntu server image
Devterm CM4 GPIO map
Guide To Setup thermal printer from source code
Home
How to Compile cool retro term for DevTerm
How to compile DevTerm CM3 Kernel
Keyboard with FPC 60pin 0.5mm
nmcli with gsm
Clone
3
Compile the widescreen version of Cave Story from the source code
GNU edited this page 2022-11-09 18:04:47 +08:00
Table of Contents
- Compile the widescreen version of Cave Story from the source code
- Install the necessary packages:
- Compile the engine (it takes about 1 hour):
- Modified to the widescreen version:
- Edit the 225 line and save and exit the following line
- Confirm that the original version can run normally:
- Run the modified version:
- After running, press the Esc key, enter Options->Graphics, select the resolution as 1280x480, and open the full screen.
- Reinstall after confirming that there is no problem:
Compile the widescreen version of Cave Story from the source code
Install the necessary packages:
sudo apt update
sudo apt install build-essential libpng-dev libjpeg-dev make cmake cmake-data git libsdl2-dev libsdl2-doc libsdl2-gfx-dev libsdl2-gfx-doc libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev cmake -y -qq
Compile the engine (it takes about 1 hour):
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
cmake -DCMAKE_BUILD_TYPE=Release ..
make
cd ~/nxengine-evo
wget https://www.cavestory.org/downloads/cavestoryen.zip
unzip cavestoryen.zip
cp -r CaveStory/data/* data/
cp CaveStory/Doukutsu.exe .
./build/nxextract
cd build
sudo make install
Confirm that the original version can run normally:
./nxengine-evo
Run the modified version:
./nxengine-evo
After running, press the Esc key, enter Options->Graphics, select the resolution as 1280x480, and open the full screen.
Reinstall after confirming that there is no problem:
cd ~/nxengine-evo/build
sudo make install
You can use the command **nxengine-evo **to run the game in any directory