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,214
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,944
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
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • Xdqwerty @ Xdqwerty:
    updated ship of harkinian, gonna install some hd texture pack
  • Xdqwerty @ Xdqwerty:
    I might download rayman revolution for my ps3
  • BigOnYa @ BigOnYa:
    I may try the new ram site, and download more RAM to my Switch. Not sure if ddr3 is the right ram
    for it tho. Edit- no it uses floppy Ram, just like @AncientBoi
    +1
  • Xdqwerty @ Xdqwerty:
    aeiou
  • BigOnYa @ BigOnYa:
    And sometimes Z
  • SylverReZ @ SylverReZ:
    @K3Nv2, MAGA supporters be wearing tin foil hats lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, whats maga?
  • BigOnYa @ BigOnYa:
    It stands for Maniacs Against General Acceptance
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, people rejecting general consensus about stuff?
    +1
  • BigOnYa @ BigOnYa:
    Yup, nuh its really just Trump followers
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, im not american so i dont care about trump
    +1
  • Xdqwerty @ Xdqwerty:
    or us elections
  • BigOnYa @ BigOnYa:
    Me niether, us north Koreans don't care
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    i don't care either, even if i'm american
  • BakerMan @ BakerMan:
    truth be told, i agree with psi, i dislike both candidates, but i'd probably vote trump simply because the economy was better during his presidency
    +1
  • AngryCinnabon @ AngryCinnabon:
    Just be careful, if trump ends up winning and using project 2025 America might really change...for the worse.
  • AngryCinnabon @ AngryCinnabon:
    I'm not american and even that sends shivers down my spine.
  • AngryCinnabon @ AngryCinnabon:
    anything that offers trump an opportunity to become an actual dictator
    is bad in my book, i could care less if it wasn't for that...
  • K3Nv2 @ K3Nv2:
    Canada: America's Russia
  • NinStar @ NinStar:
    people are so dramatic that I can't even tell if they are being serious
  • Psionic Roshambo @ Psionic Roshambo:
    Why so serious!
  • Psionic Roshambo @ Psionic Roshambo:
    @BakerMan, yeah that's about the only reason I would vote for Trump over Biden.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    In my opinion on all other factors they are pretty much the same.
    +1
    Psionic Roshambo @ Psionic Roshambo: In my opinion on all other factors they are pretty much the same. +1