Skip to content

A port of Tile World to handheld consoles - modified for Anbernic while wrapped with https://github.com/libsdl-org/sdl12-compat

License

Notifications You must be signed in to change notification settings

Slayer366/tileworld-for-handhelds

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TileWorld-for-Handhelds

A port of Tile World to handheld consoles such as the Anbernic RG351P, RG351MP, RG503, RG353P, and others.

This version has also been modified to use the higher resolution spritesheets for improved graphical detail.

For a real treat you can also compile this and sdl12-compat on a normal (x86_64) PC running Linux which means you could run Tile World fullscreen with a larger display!

This modified version for the Anbernic handhelds will require sdl12-compat which can be found at:

https://github.com/libsdl-org/sdl12-compat

To compile for Linux Ubuntu/Debian derivitives make sure you have the necessary dependencies installed:

sudo apt install libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libpng-dev libpng16-16 libjpeg-dev libtiff-dev libtiff5-dev libmikmod-dev libfluidsynth-dev flac libmad-ocaml-dev libasound2-dev liblzma-dev zlib1g-dev libjbig-dev libsdl2-dev libopenal-dev libglib2.0-dev libjack-dev libsndfile1-dev libreadline-dev libogg-dev libvorbis-dev libvorbisfile3 libvorbisenc2 libvorbisidec-dev libslang2-dev libtinfo-dev libsndio-dev libxinerama-dev libxrandr-dev libxss-dev libwrap0-dev libxrender-dev liblz4-dev libffi-dev libgpg-error-dev

If you are on Ubuntu 22.04 or later and would rather embed the wrapper into the game executable, remove libsdl1.2-dev and install & use libsdl1.2-compat-dev instead (be sure to install matching SDL2 development packages as well such as libsdl2-dev, libsdl2-mixer-dev, etc.):

sudo apt remove libsdl1.2-dev
&&
sudo apt install libsdl1.2-compat-dev

Then build with:

cd src
make -j#  (replace # with the number of CPU cores/threads in your system for faster compiling!)

If you have issues building because your distro only provides a newer version of libpng, simply install that version, edit the Makefile (check perms), change the png version from 16 to your version, save changes to the Makefile and build again.

To run fullscreen after building both tileworld-for-handhelds and sdl12-compat:

LD_LIBRARY_PATH=/path/to/sdl12-compat ./tworld -F

OR to run fullscreen after building tileworld-for-handhelds using sdl12-compat-dev:

./tworld -F

About

A port of Tile World to handheld consoles - modified for Anbernic while wrapped with https://github.com/libsdl-org/sdl12-compat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.3%
  • HTML 5.6%
  • Roff 4.9%
  • Makefile 0.2%