MAIO: Moonshell All-in-One for R4s

Discussion in 'R4 DS' started by Mantis41, Jun 3, 2011.

Jun 3, 2011
  1. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    The following package will boot to and enable you to run commercial ROMs from moonshell on your R4.
    MAIO for R4s (Ver 3.1)

    UPDATE (25 March 2012)

    This package has now been tested and working on:
    • R4iGold (& 3ds) (versions from www.r4ids.cn)
    • R4iGold (3D) (versions from www.r4idsn.com)
    • Orgiginal and 1.1 clones (need testing with new loaders)
    versions:
    • Moonshell (ver 2.1)
    • Wood (ver 1.46)
    • nesDS (ver 1.0 release


    General Instructions.
    • Copy all files in the ..common folder to the SD: root of a freshly formatted SD card.
    • Copy the all files from you card's respective folder to the root of the SD.
    Accessing firmware for cheats or ROM settings
    • Press START > exit to firmware //or
    • Run WODDR4.NDS //or
    • Hold down B button when running any ROM
    • Running moonshl2.nds will take you back to MAIO.


    Change Log.

    Version 3.1
    • Updated to Wood 1.46
    Warning: Spoilers inside!



    Skins

    Moonshell2 - Skins have now been removed to reduce the file size. All skins in the following pack have been tested working - Moonshell v2 Stable Full Skin Pack Extract the contents of this package to the ../MS2 Skins folder on the SD. Just run the required skin file from Moonshell to install.

    Wood - Several Wood / AK skins have been included in the MAIO package and can be change from the Wood system menu (exit to firmware or WOODR4.NDS)



    Missing Icons.

    If icons are missing for your games you can open them up in RomeR and apply changes. A link to RomeR has been placed in the downloads section.

    *NOTE* you will need to change the cheats database to reflect the change in gameid or the cheats will not work after the RomeR changes to the header.

    Warning: Spoilers inside!


    Cheats.

    The cheat database included in this MAIO package were downloaded from the official database (see downloads section). Place the file usrcheat.dat in _rpg/cheats.


    *Note* There are too many cheats in the official download for the original R4 to display so you will need to edit them using R4cce. You can use this program to delete the cheats you do not need making the database smaller. You can also use R4cce to change the gameid if changes have been made using RomeR.



    Encoding Movies.

    There has been some troubles with encoding DPG movies for use with Moonshell. There are many versions of DPGenc around. For best results use the copy of DPGenc included in the downloads section.


    I have recently tried dpg4x (v2.0) and have had very good results. link in the downloads section.[/indent]



    Downloads.
    • MAIO for R4s (Ver 3.1) - MAIO version for R4s. Run commercial ROMs from Moonshell on R4.
    • DPGenc - Encoder for encoding DPG movies for use with Moonshell.
    • dpg4x - GUI encoder for encoding DPG movies for use with Moonsell. Tested encoding with DPG V4
    • RomeR - Changes header details in NDS files.
    • usrcheat.dat - Latest cheats from the official GBATemp database.
    • CMP_usrcheat.dat - Latest cheats from DS_Scene. Find the link towards the bottom of the page
    • R4cce - used to edit cheat database files.
    • Moonshell v2 Stable Full Skin Pack - Moonshell skins tested working with MAIO.


    Thanks
    • Moonlight: For producing Moonshell2
    • YWG: For producing Wood
    • Taiju (formally known as Xenon++): For the numerous program(s) he's contributed towards Moonshell2
    • JurassicPlayer: For supplying some modified Taiju files and re-building the R4iGold setup.
    • CannonFoddr: For original work on MAIO for acekards and use of MAIO logos
    • Avenir: for tips and advise.
    • All the developers who made Homebrew that have been included in MAIO, & to anyone who's contributed in any way & I've forgotten to mention
    • All artists who have produced skins included in this package. If anyone wants their skins removed please let me know.
    • A Gay Little Catboy & Inuuto: for testing
     


  2. Generation 16

    Member Generation 16 GBAtemp Regular

    Joined:
    May 4, 2011
    Messages:
    137
    Location:
    USA
    Country:
    United States
    Couldn't get ti working on my R4i Gold (r4ids.cn)
    Otherwise this is pretty cool. Works fine on my 1:1 clone of the original R4.
     
  3. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Did you re-name the following?

    _DS_MENU(alt - R4i Gold).DAT to _DS_MENU.DAT

    WoodR4 (alt - R4i Gold).nds to WoodR4.nds.
     
  4. Generation 16

    Member Generation 16 GBAtemp Regular

    Joined:
    May 4, 2011
    Messages:
    137
    Location:
    USA
    Country:
    United States
    That is what I did, yes.
     
  5. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Bummer! I have ordered one of these so hopefully I can get it working when it arrives. Thanks.
     
  6. Generation 16

    Member Generation 16 GBAtemp Regular

    Joined:
    May 4, 2011
    Messages:
    137
    Location:
    USA
    Country:
    United States
    Of course, it could be a problem on my end, maybe my micro sd card needs reformatting or something. I'll try again tomorrow and see what I can do.
     
  7. jurassicplayer

    Member jurassicplayer Completionist Themer

    Joined:
    Mar 7, 2009
    Messages:
    4,280
    Location:
    Pantsuland
    Country:
    United States
    :/ If I am looking at this correctly, I think Mantis encrypted the _DS_MENU.dat for the R4i Gold version using r4crypt or another equivalent, which isn't needed for pretty much all other R4 clones (probably)...then again, even using an unencrypted file probably won't work. The R4iGold team wonderfully decided to now let users be able to swap the _ds_menu.dat to any homebrew they feel like (at least, not the ones that I have been attempting to use :/).

    I think I can come up with a really messy sort of fix...but I don't particularly like it. Currently, what I'm attempting to have it do is use a slightly modified _ds_menu.dat (a second woodr4.nds) that uses redirect.ini instead of lastsave.ini to autoboot a custom file that would then redirect to a WoodR4.nds that uses the regular lastsave.ini or MS2, depending on if inilink was used to load something or not. If everything works out right, that would mean at least another ini, nds, and woodr4 have to be used. After that comes a choice of making iniclear either feed WoodR4 BS in order to go back to the Wood UI or having a second globalsettings.ini that the _ds_menu.dat will have to use in order to always stay on autoboot.

    The best idea IMO is to just ask the R4iGold team to NOT do the weird crap they are doing because it's stupid and I don't like it.

    -edit-
    Pie, I'm being a retard. If my busted thinking is right, I don't NEED to go through all this trouble and just have the _ds_menu.dat that leads directly to Moonshell2. Then the rest would work per usual...I think xD (la de da de da...).

    Updated inilink and iniclear (otherwise they default to ysmenu):
    http://www.mediafire.com/?m2aruribnt8zqk5
    Just hex edit a WoodR4 copy to use different .ini files and rename it to _DS_MENU.dat (I used alwaysautoboot.ini and redirect.ini). Aside from that, the rest of the set up is the same as usual.
     
  8. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Thanks @jurassicplayer.

    I have uploaded version 1.1. Hopefully this will work on the R4i gold. It needs testing.
    I have also used @Jurassicplayer's modified iniclear so I am hoping it will fix @The Gay Little Cat Boy's bug with exit to firmware. The new file still works on my R4 but needs testing on others.

    Cheers [​IMG]
     
  9. avenir

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    Again I ask where inilink.ini is.
    I don't understand where the iniclear jumps to.
    And I'm not sure about the difference between new and old iniclear.

    Well WoodR4iDSn is gone?

    I just hope some old files won't do bad thing.
    0.79f is the latest and most stable. This moonshl2alt.nds is obsolete and unsupported at all.

    PS. Morning Timer's latest version is 1.4 included in 2.10c2.
     
  10. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Um.....
    Back when we were messing with MAIO for Acekard (@cannonfoddr's build) we were having trouble getting it to work with akAIO 1.8.1+. I was messing with the inilink files and found if I took nds.inilink.nds and rename the copies to _vh.inilink.nds and _hn.inilink.nds it worked. I started trimming out files that were not being used and nds.inilink.nds and inlink.ini were two that did not seem to be used anymore with the new setup.

    As far as the rest of the files go they are just the original files from @cannonfoddr's MAIO bulid. I had no idea they were out of date. I thought they were all from the latest 2.10 build. We have been using this for almost a year on the acekards and it seems to work fine with no problems

    I'm not sure what @jurassicplayer's version of iniclear is doing, it seems to be jumping to nds.mshl2wrap.nds. I could be wrong. I'm no programmer I just like to tinker.

    Could you please post a list of files in the package you would recommend updating as you probably know more about how moonshell works than any of us.

    What do you mean WoodR4iDSn is gone? I thought it was updated at the latest version. 1.30.
     
  11. jurassicplayer

    Member jurassicplayer Completionist Themer

    Joined:
    Mar 7, 2009
    Messages:
    4,280
    Location:
    Pantsuland
    Country:
    United States
    Right, here are the sources for the iniclear and inilink (older than the latest maybe...I'm not sure xD).
    main.c for iniclear:
    http://www.mediafire.com/?ebexw6y4nin62x1

    main.c for inilink:
    http://www.mediafire.com/?uxccn47hpeo3z8a

    The only thing that is different with these compared to the ones in the svn is that I removed all the helpful stuff (meh, it somewhat helps me learn what does what somehow :/), have the images instead of the text, and I added a "R4i " (that is the dldi that gets recorded when I use the R4iGold, so meh) so that it uses WoodR4.nds instead of ysmenu (if the inilink is set to use woodr4 anyways). Iniclear still uses the inilink.ini or defaults to /WoodR4.nds like the R4TF.

    About the latest MAIO, I meant that a hex edited WoodR4.nds had to replace the _DS_MENU.dat and has to always autoboot to moonshl2.nds and then you have a second unmodified WoodR4.nds to be used as the normal one that boots games and is referenced by the inilink.ini.

    What Taiju is talking about with the "Well WoodR4iDSn is gone?" is that you didn't include the WoodR4.nds for R4iGold, which is needed for R4iGold users (stupid R4iGold team, doing weird stuff :/).

    As for currently used and unused things...you don't need to have the nds.mshl2wrap.nds, mshl2wrap.ini, _hn.HugeNDSLoader.nds, _vh.VeryHugeNDSLoader.nds (and those .old ones), and it might be a good idea to add in an inilink.ini so people can change where they place things.
    inilink.ini that I have:
    http://pastebin.com/VKcwPNu3
     
  12. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    *UPDATE*

    This package has now been updated and tested working on Original R4, 1:1 clones and the R4iGold series of cards.

    Thanks to Jurassicplayer for some major re-construction and Avenir for some helpful advice.



    Notes: At the moment Moonshell boots on the R4iGold via an autorun hack form wood written by Jurassicplayer. This slows things down a tad as the card has to boot to wood before moonshell on start up and soft reset.

    If anyone can get moonshell to boot directly as _DS_MENU.DAT on the R4igold it should speed things up a little.
     
  13. .Chris

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    Nice! I will try this!

    EDIT:
    In-game Cheats?

    EDIT 2: Can you use Moonshell 2 Skins for this?
     
  14. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Yes! there is a skins folder already (MS2 Skins), just open it from moonshell (MAIO) and select a skin. (Thanks to all the Artists who's skins have been included)
     
  15. .Chris

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    If we're using it on an Original R4, could we delete the R4i Gold files?

    Will this work on an R4iDSN?

    EDIT: How do we make this NOT autoboot to Moonshell?
     
  16. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Yes! delete the gold files for original R4.

    I haven't tested it on an R4iDSN. I think that card boots from _DSMENU.DAT instead of _DS_MENU.DAT.

    Try renaming the R4 _DS_MENU.DAT. If that doesn't work try the gold _DS_MENU.DAT re-named to _DSMENU.DAT and try using the gold version of WoodR4.NDS

    Let me know how it goes

    Cheers [​IMG]
     
  17. .Chris

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    Okay, I will try MAIO on my R4iDSN as soon as I get it. [​IMG]
     
  18. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States
    Replace the _DS_MENU.DAT with the one from the official Wood 1.31 downloads.
     
  19. .Chris

    Member .Chris Pffft.

    Joined:
    Feb 20, 2009
    Messages:
    2,182
    Location:
    United States
    Country:
    United States
    Thank you! [​IMG]
     
  20. Mantis41
    OP

    Member Mantis41 GBAtemp Advanced Maniac

    Joined:
    Jun 3, 2009
    Messages:
    1,853
    Location:
    earth
    Country:
    United States

Share This Page