[PSA] The lastest mGBA nightly runs pretty fast.

Discussion in '3DS - Homebrew Development and Emulators' started by Pickle_Rick, Sep 25, 2017.

  1. Maxmeas

    Maxmeas Member

    Newcomer
    1
    Jan 12, 2018
    Switzerland
    Is it possible to prevent mGBA from creating the mGBA folder on the root of the sd and use sd:/3ds/mgba as default folder?
     
  2. TurdPooCharger

    TurdPooCharger Eat your vegetables.

    Member
    4
    Jan 1, 2018
    United States
    No, mGBA needs the mGBA folder found on the root of the SD card. The two files that have to be there are config.ini and log.

    You can move your bios , saves , savestates , screenshots , and roms folders in /3ds/mgba/ directory.

    Open up config.ini with Programmer's Notepad. Under [ports.3ds], add or modify the following lines:

    Code:
    savestatePath=/3ds/mgba/savestates/
    screenshotPath=/3ds/mgba/screenshots/
    savegamePath=/3ds/mgba/saves/
    lastDirectory=/3ds/mgba/roms/
    This will direct the latest mGBA v0.7.0 nightly build to associate your savestates, screenshots, saves, and roms folders to those found in /3ds/mgba/. Name and place these folders however you choose to match the code written in config.ini . Remember to move your actual folders containing the roms, saves, savestates, screenshots, etc. to that location. You can also put in bios files if you choose.

    Code:
    gba.bios=/3ds/mgba/gba_bios/[your gba bios name].bin
    gb.bios=/3ds/mgba/gb_bios/[your gb bios name].bin
    gbc.bios=/3ds/mgba/gbc_bios/[your gbc bios name].bin
    sgb.bios=/3ds/mgba/sgb_bios/[your sgb bios name].bin
    

    You cannot delete the mGBA folder but can elect to make it hidden on Windows.
     
    Last edited by TurdPooCharger, Feb 8, 2018
  3. Leafgreen26

    Leafgreen26 GBAtemp Regular

    Member
    2
    Jul 17, 2017
    United States
    So it is possible to use more than one bios file at a time in mGBA, then? Also, we have established that the gba _bios might make you games run a little slower and that the gbc_bios makes games compatible have color, but do the gb_bios and sgb_bios make any differences at all?
     
    Last edited by Leafgreen26, Feb 13, 2018
  4. TurdPooCharger

    TurdPooCharger Eat your vegetables.

    Member
    4
    Jan 1, 2018
    United States
    If you were asking if mGBA could use two BIOS in tandem at the same time (external and internal) while playing a game, I'm going to go with a no on this one.

    This was answered earlier at post #141 about why someone may want to use an external bios.

    My experience is limited to tinkering with GBA BIOS. I haven't used external GB, GBC, and SGB BIOS to verify this, but I assume mGBA will default to using a single BIOS depending on the file extension of the rom.

    For example
    • Use BIOS if found = On
    • Select GBA BIOS path = /mGBA/bios/gba_bios.bin (after you navigate and select a gba bios during use of mGBA)
    This is the same as manually specifying in config.ini
    Code:
     gba.bios=/mGBA/bios/gba_bios.bin
    • Open a game to play (ie: "Golden Sun") that has a file extension ending with .gba
    • mGBA will use gba_bios.bin as bios instead of its internal built-in bios
    Similarly,
    • If an external GB BIOS is specified, mGBA will use that for roms ending in .gb
    • If an external GBC BIOS is specified, mGBA will use that for roms ending in .gbc
    • I'm not sure how mGBA decides when it uses an SGB BIOS.
    Also, there's nothing stopping you from using the same BIOS file for all four paths.
    Code:
    gba.bios=/mGBA/bios/gba_bios.bin
    gb.bios=/mGBA/bios/gba_bios.bin
    gbc.bios=/mGBA/bios/gba_bios.bin
    sgb.bios=/mGBA/bios/gba_bios.bin
    
    Again, I'm not sure what will happen as I haven't touched gb, gbc, etc.
     
  5. hutzero

    hutzero Member

    Newcomer
    3
    May 2, 2007
    Thailand
  6. Pickle_Rick
    OP

    Pickle_Rick I'M PICKLE RICK!

    Member
    3
    Aug 28, 2017
    United States
    Somewhere
    hutzero likes this.
  7. hutzero

    hutzero Member

    Newcomer
    3
    May 2, 2007
    Thailand
    Thank you,
    But I cannot reformat it right now. However, I still can use mGBA in older 0.6 versions without any stuck screen (but slow speed). This means after 0.6 mGBA has modified the new reading pattern of the microSD.
     
  8. brunocar

    brunocar GBAtemp Advanced Fan

    Member
    3
    Aug 14, 2017
    Argentina
    what i found is that it isnt file type dependant, i change a GBC enchanced game's file type to .GB and it still booted to GBC mode with the GBC bios bootlogo, i think its dependant on compatibility priority, regardless of whether you have a BIOS set for that system or not, i think the idea is that it goes something like this, from top priority to bottom priority: GBA-GBC-SGB-GB, how do i know this? pokemon gold and azure dreams have both GBC and SGB modes, but they both boot on GBC mode regardless of what i set the BIOS to, while an SGB enchanced only game like kirby's dreamland 2 or donkey kong only booted on SGB mode even when i had the GBC and GBA BIOS on
     
    TurdPooCharger likes this.
  9. Leafgreen26

    Leafgreen26 GBAtemp Regular

    Member
    2
    Jul 17, 2017
    United States
    Nice to know. Thanks for the tip.
     
  10. Dodain47

    Dodain47 GBAtemp Maniac

    Member
    7
    Jan 1, 2017
    Austria
    In her latest Post over at mgba.io, Endrift said that she will release mgba 0.6.2 shortly.
    This may be the last official release for a while.
    She has less time on her hands because of her new job and her work for mgba will continue at a slower pace.
     
  11. ajfoucault

    ajfoucault Advanced Member

    Newcomer
    3
    Apr 23, 2008
    United States
    What would be the best GBA emulator available for a New 3DS? Not considering Virtual Console.
     
  12. Dodain47

    Dodain47 GBAtemp Maniac

    Member
    7
    Jan 1, 2017
    Austria
    There is not much to choose from. We got Retroarch and MGBA as GBA Emulator.
     
  13. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    16
    Jan 17, 2013
    Mexico
    gpSP from RetroArch and mGBA are the only two options for GBA emus on the 3DS right now other than relying on VC injects.
     
  14. nl255

    nl255 GBAtemp Addict

    Member
    6
    Apr 9, 2004
    Hopefully bubble2k16 will work his magic on mgba. Especially if it is possible to access the gba video/sound hardware while in 3ds mode but even if not I am sure mgba can be accelerated by using the 3ds's video/sound hardware rather than doing everything in pure software. After all, Mario RPG and Yoshi's Island run very well on a n3ds with his snes9x port (you will lose mosaic effects and mid-frame palette updates though).
     
  15. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    16
    Jan 17, 2013
    Mexico
    mGBA can run full-speed even on the greatly demanding Golden Sun 2 if it had a dynamic recompiler for ARM.
    Right now from the GBA games I have, the only ones which kind of struggle to run are Golden Sun 2 and Mother 3, though with M3 is not as prominent since it happens occasionally on effect-heavy battles.
     
  16. nl255

    nl255 GBAtemp Addict

    Member
    6
    Apr 9, 2004
    Well I know ff6 has problems running full speed. Not to mention writing a dynamic recompiler is much harder than modifying the graphics/sound code to use the 3ds hardware rather than pure software.
     
  17. Dodain47

    Dodain47 GBAtemp Maniac

    Member
    7
    Jan 1, 2017
    Austria
    The latest stable, mGBA 0.6.2 has been released! Get it over at mgba.io.
     
    Flame likes this.
  18. Searinox

    Searinox <3

    Member
    5
    Dec 16, 2007
    Romania
    What happened? The nightlies til now were all fine but the release has Crystal's graphics mucked up. It does weird things when opening menus and the Pokedex is unreadable. Super Mario Land 2 in-level graphics also look off.
     
    Last edited by Searinox, Apr 7, 2018
  19. TurdPooCharger

    TurdPooCharger Eat your vegetables.

    Member
    4
    Jan 1, 2018
    United States
    I've notice Pokemon Red and Blue DX hack also doesn't work correctly. Regression is a real itch, with a big B.
     
  20. Searinox

    Searinox <3

    Member
    5
    Dec 16, 2007
    Romania
    The latest nightly is just fine, adding to my confusion.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice