cizia64 / CrossMix-OS

Enhanced OS for the TrimUI Smart Pro
GNU General Public License v3.0
190 stars 27 forks source link

Meteor core (GBA) isn't selectable by usual means #129

Open Horu97 opened 1 month ago

Horu97 commented 1 month ago

I noticed that in "Game", inside the GBA selection screen, after pressing 'X', the only cores selectable are mGBA, gpSP, VBA-M, and VBA Next. The game I'm trying only works with Meteor, which is another GBA core. I can still run the game by going into RetroArch and booting it up with that specific core, but the system doesn't keep it in memory. So when I boot the game up using the normal method, it always boots with the wrong core.

Horu97 commented 1 month ago

I managed to add Meteor to the selection list, but i still have to select it everytime, the system doesn't keep in memory the core preference.

dxdatabase commented 1 month ago

In /mnt/SDCARD/Emus/GBC replace the config.json by this one :

{
  "label": "                                   ",
  "icon": "/mnt/SDCARD/Icons/Burst!/Emus/GBA.png",
  "background": "/mnt/SDCARD/Backgrounds/Epic Noir/GBA.png",
  "themecolor": "FF00FF",
  "launch": "mgba.sh",
  "rompath": "../../Roms/GBA",
  "imgpath": "../../Imgs/GBA",
  "useswap": 0,
  "shortname": 0,
  "hidebios": 1,
  "extlist": "bin|gba|agb|gbz|zip|7z",
  "launchlist": [
    {
      "name": "mGBA",
      "launch": "mgba.sh"
    },
    {
      "name": "gpSP",
      "launch": "gpsp.sh"
    },
    {
      "name": "VBA-M",
      "launch": "vbam.sh"
    },
    {
      "name": "VBA Next",
      "launch": "vbanext.sh"
    },
    {
      "name": "Meteor",
      "launch": "meteor.sh"
    }
  ]
}

Create a meteor.sh file in the same folder containing :

#!/bin/sh
echo $0 $*
source /mnt/SDCARD/System/usr/trimui/scripts/common_launcher.sh
RA_DIR=/mnt/SDCARD/RetroArch
EMU_DIR=/mnt/SDCARD/Emus/GBA

$EMU_DIR/cpufreq.sh

cd $RA_DIR/

#disable netplay
NET_PARAM=

HOME=$RA_DIR/ $RA_DIR/ra64.trimui -v $NET_PARAM -L $RA_DIR/.retroarch/cores/meteor_libretro.so "$@"

And now you can launch Meteor core with X button. Or change in config.json line 6 with your favorite emulator : "launch": "meteor.sh",

Horu97 commented 1 month ago

Thank you for the answer. Yes, I did all that except for changing the favorite core. I was hoping there was a way to set up a core preference for each game, while keeping one core as the standard, like mGBA in this case.

dxdatabase commented 1 month ago

Could be a reality in 1.3 ? https://github.com/cizia64/CrossMix-OS/pull/130#issue-2427639580

cizia64 commented 1 month ago

Yes, probably in the 1.3.0 ;)