this post was submitted on 04 Aug 2023
1 points (100.0% liked)

SBC Gaming

1049 readers
1 users here now

SBC Gaming is for Single Board Computer aimed to play video-games, also called Retro Handhelds


Rules

  1. No bigotry or hate-speech

  2. No harassement or doxing

  3. No promotion of your products without asking moderation

  4. No NSFW

founded 1 year ago
MODERATORS
 

The current build of Jelos updated the libSDL from v2600.5 to 2800.1 and it broke a few ports. In particular the ones I know of are Panzer Paladin and TMNT: Shredder's Revenge. Both are fixed with the instructions below.

I saw in some threads people asking about it so here's the fix:


You'll need a copy of the 7/26 JELOS build or before from the github releases page and copy out the libSDL files from /usr/lib. To do this, you'll need to download the tar archive, then use something like 7zip to extract the SYSTEM file to a folder.

Copy off all the the libSDL2 related files that have a file size (ignore the ones that list as 0kb in size, those are symlinks). All told there are something like six files you need, the 2.0.so.02600.5 file, the ttf file, the image file, gfx file, and mixer.

You need to rename the filesaccording to the SDL2-CD.dll.config set in the game folder at /storage/roms/ports//dlls/

If you prefer, I already have all the correct files and renamed as needed. You can download them in zipped format here.


Once you have the correct files, correctly named, copy them into /storage/roms/ports//libs/

Lastly, edit the game's .sh file in /storage/roms/ports/ to add the following lines:

# # # export path for local libSDL
export LD_PRELOAD=$gamedir/libs/libSDL2.so.0

Add that to the script on its own line. I put it at line 29, after the "Loading... Please Wait." echo output line. Anywhere after the get_controls line should be fine.

If you mess up the file, or run into problems, the full file should look like this one.

From there, save it and run the game. And that should be it.

If you gather the files yourself instead of using the ones from the ZIP I linked and the game loads sideways (in portrait), get the libSDL2-2.0.so.0.2600.5 from the SYSTEM folder in the /usr/lib/SDL2-rotated path instead of /usr/lib, and copy it to your game's lib directory on the handheld, and rename it to libSDL2-2.0.so.0 to fix.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here