RK3128-CFW / m17-cfw

Firmware resources for the M17 Handheld
3 stars 0 forks source link

Making standalone cores such as sdlpop and devilutionx #6

Open wll1rah opened 9 months ago

wll1rah commented 9 months ago

This was something I fixed but as one of them is something that needs files that aren't freeware I don't think I should put in a pull request and simply using the Batocera wouldn't lead you to the direct solution either at least not how the current release is working. I was going to add it to the Q & A under discussions that then I'd be asking and answering the question myself.

I'll start with SDLPoP it was just missing the sh file from the /userdata/roms/ports or \SHARE\ports\ directory/ folder. to fix I used adb mkdir userdata/roms/ports touch /userdata/roms/ports/SDLPoP echo /usr/bin/SDLPoP > /userdata/roms/ports/SDLPoP.sh chmod 775 /userdata/roms/ports/SDLPoP.sh

DevilutionX is fixed in much the same way but with it's own variables needed based on if you want to play Hellfire or Diablo and if you will be using the diablo.ini config file to manage the enhancements and testing options for the core. Using the diablo.ini file is something that we don't have access to in the other releases of Batocera, so in my option this should be left this way. I'll be using adb again made it easier to test the changes as wasn't having to remove the sd card in and out.

mkdir userdata/roms/devilutionx mkdir userdata/roms/devilutionx/saves mkdir userdata/roms/devilutionx/saves/hellfire touch userdata/roms/ports/Diablo.sh touch userdata/roms/ports/Hellfire.sh echo > /userdata/roms/ports/Diablo.sh echo /usr/bin/devilutionx --hellfire --data-dri /userdata/roms/deviltuionx --config-data /userdata/roms/deviltuionx --save-dir /userdata/roms/deviltuionx/saves/hellfire > /userdata/roms/ports/Diablo.sh Link to options for the DevilutionX diablo.ini config file https://github.com/diasurgical/devilutionX/wiki/DevilutionX-diablo.ini-configuration-guide

acmeplus commented 9 months ago

Thanks a lot for this. I still need to update the way the build is done for the M17, so it include many of the default batocera features, that includes too the default public domain content as well as the entries for the port.

wll1rah commented 9 months ago

Ah that's what was going on, didn't know but at least wanted something for those that may want it to work. I had been asked how I did it in the discord so figure it might be a good idea.