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
2,627
Trophies
1
Age
24
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
5,982
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,
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    and indeed, stone carving
  • K3N1 @ K3N1:
    Did you just post porn?
  • The Real Jdbye @ The Real Jdbye:
    eh, this is so tame that i'd consider it SFW
  • The Real Jdbye @ The Real Jdbye:
    it's no worse than the statue of david
  • The Real Jdbye @ The Real Jdbye:
    which is widely considered a masterpiece of art
  • K3N1 @ K3N1:
    Yeah but that's art not porn
  • Veho @ Veho:
    It depends on where you live.
  • Veho @ Veho:
    In Murrica it's considered hardcore porn.
  • K3N1 @ K3N1:
    Isn't it now what site you're on these days and you'll instantly be slayed if it's Twitter?
  • The Real Jdbye @ The Real Jdbye:
    i've seen lots of porn on twitter
  • K3N1 @ K3N1:
    Yes but it mostly involves trying to get someone cancelled
  • Veho @ Veho:
    Twitter doesn't give a fuck any more, the only thing that will get you banned there is criticizing Musk.
  • Skelletonike @ Skelletonike:
    Tbf, there's too much censorship nowadays.
  • K3N1 @ K3N1:
    Hate censorship hurt feelings
  • K3N1 @ K3N1:
    Life might be like a box of chocolates but it sure doesn't taste like it
  • Veho @ Veho:
    Censorship hurts my feefees.
  • Veho @ Veho:
    I can't even say we need to exterminate the lesser races without some pearl clutching woke librul getting mad at me.
  • K3N1 @ K3N1:
    I can't even say chocolate without being called a racist
  • Skelletonike @ Skelletonike:
    Friday is so far away.
  • Veho @ Veho:
    Friday is a state of mind.
  • Veho @ Veho:
    What does Friday have that other days don't?
  • Skelletonike @ Skelletonike:
    The weekend
  • Skelletonike @ Skelletonike:
    I need another weekend.
    Skelletonike @ Skelletonike: I need another weekend.