Homebrew Emulator Help inserting arguments in meta.xml for make an autoboot ROM mGBA emulator for Wii?

SaulFabre

I like Yoshis and the Wii/Wii U scene.
OP
Member
Joined
Feb 6, 2019
Messages
3,182
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,821
Country
Ecuador
Hello!!! :)

I just started creating some single ROM loaders (making emulators autoboot ROMs) to the Wii homebrew emulators FCE Ultra GX, Snes9x GX, Snes9x RX, Not64 Second Edition, VBA GX and Genesis Plus GX.

Now that i'm trying to make a single ROM loader for mGBA Wii emulator (because i know mGBA runs GBA games flawlessly rather than VBA GX).
I'm using mGBA 0.9.1, I want the emulator to do these things automatically:
  • load a specific ROM automatically
  • show the BIOS on startup (of GB, GBC, GBA, and SGB/Super Game Boy) by setting "Use BIOS" to "On" and taking BIOS from a specific folder
  • save and load the game save data files (.sav) in a specific folder
  • save and load the save states automatically when it boots the emulator by setting "Autosave State" and "Autoload State" to "On"
  • fulfill the screen automatically by adjusting automatically the "Screen mode" to "Stretched"
I tried this code on the meta.xml file but it didn't work:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1">
   <name>mGBA</name>
   <coder>Jeffrey Pfau (endrift)</coder>
   <version>0.9.1</version>
   <short_description>mGBA Game Boy Advance emulator</short_description>
   <arguments>
     <arg>-rom</arg>
     <arg>sd:/apps/gbarom/singlerom.gba</arg>
     <arg>-r</arg>
     <arg>4</arg>
     <arg>-reduceScale</arg>
     <arg>90</arg>
     <arg>-biosPath</arg>
     <arg>sd:/apps/gbarom/bios/gba_bios.bin</arg>
     <arg>-savePath</arg>
     <arg>sd:/apps/gbarom/saves</arg>
     <arg>save.sav</arg>
   </arguments>
</app>

So I seeked and tried these arguments where it just loaded automatically the ROM but it doesn't use the other settings (the settings i put were ignored):

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<app version="1">
    <name>mGBA Single ROM Loader</name>
    <coder>Jeffrey Pfau (endrift)</coder>
    <version>0.9.1</version>
    <short_description>GBA emulator</short_description>
    <short_description>mGBA Game Boy Advance emulator</short_description>
    <arguments>
    <arg>sd:/apps/gbarom/rom/game.gba</arg>
    <arg>autoload=1</arg>
    <arg>screenMode=1</arg>
    <arg>stretchHeight=1</arg>
    <arg>stretchWidth=1</arg>
    <arg>autosave=1</arg>
    <arg>sgb.borders=1</arg>
    <arg>sd:/apps/gbarom/saves/sfg_gba_game.sav</arg>
    <arg>useBios=1</arg>
    <arg>sd:/apps/gbarom/bios/gba_bios.bin</arg>
    </arguments>
</app>

Can anyone help me with these arguments in the meta.xml for configure that the mGBA emulator when it boots for the first time do that sort of things? I'm using mGBA 0.9.1. (because I'm making a mGBA Single ROM Loader)
  • load a specific ROM automatically
  • show the BIOS on startup (of GB, GBC, GBA, and SGB/Super Game Boy) by setting "Use BIOS" to "On" and taking BIOS from a specific folder
  • save and load the game save data files (.sav) in a specific folder
  • save and load the save states automatically when it boots the emulator by setting "Autosave State" and "Autoload State" to "On"
  • fulfill the screen automatically by adjusting automatically the "Screen mode" to "Stretched"
Thanks a lot :)
 
Last edited by SaulFabre,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Here lies the man getting probed to death by a gay fish