Hacking Calling all forwarder makers: We want meta.xml support

Dr. Clipper

Well-Known Member
OP
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
We need some new forwarders for Cfg (and the other USB Loaders could likely benefit too). HBC now supports command line options by including them within meta.xml in the same directory as boot.dol. Using that, we could get the same functionality that was previously only possible via having two Cfg types (the plain and -222 releases).

We'd like to kill off the need for the -222 releases and go back to a single version, but that needs new forwarders that read meta.xml and feed Cfg the correct argument string. The format is easy to parse, so it shouldn't be too hard to code, and it gives us a lot of benefits. The arguments appear in meta.xml like this:


ios=222-mload


The forwarder would then just need to launch Cfg with "sd:/apps/USBLoader/boot.dol ios=222-mload" as if were the command line. If further arguments appeared within the block, they just get listed in the argv arguments the same way. In this manner, both HBC and the forwarder will launch Cfg the same way, so it doesn't matter how the user set things up.

If we can get some forwarders that support this feature, even if it's just one forwarder, that'd be great. It'll makes things so much simpler to still be able to have the benefit of the -222 launching without the double releases of each Cfg version.

Please indicate if you plan to work on this in the thread, and if more information is needed, we're happy to help.
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
BUMP

c'mon people surely someone is good with this ?

You can get the Narolez forwarder source here:
http://code.google.com/p/crapwii/source/br...olez-NForwarder
and edit it to read the xml (no clue of where to find short simple read xml code)

It shouldn't be too hard, I would try but I'm only just starting to learn about passing arguments myself and have no experience with parsing xml.

So be brave and give it a try or at least bump this topic to keep it a little alive for the time being.
 

Dr. Clipper

Well-Known Member
OP
Member
Joined
Aug 28, 2007
Messages
2,485
Trophies
0
XP
92
Country
You don't even have to fully parse the XML. Just search for lines with followed by and the strings between each pair of tags are your arguments.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @Xdqwerty, People who create revival services for the Wii end up in disaster, same goes for Pretendo lol.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast wiimmfii went fine although people only use it for Mario kart Wii
  • SylverReZ @ SylverReZ:
    At least if they ban you for cheating, get another Wii. They're cheap as chips.
    +1
  • SylverReZ @ SylverReZ:
    Remember when RiiShop was a thing?
  • BakerMan @ BakerMan:
    not really
  • SylverReZ @ SylverReZ:
    It got shutdown because somebody "accidentally" leaked the database for the amount of people using the beta.
  • SylverReZ @ SylverReZ:
    RiiShop is the laziest way of downloading Wii games. Did somebody not think of this through?
  • BakerMan @ BakerMan:
    although i ended up accidentally changing my nand with no way of going back bc i didn't know you needed a gamecube controller to restore it (i have a wii minus/1.1, which doesn't have gamecube controller support)
  • SylverReZ @ SylverReZ:
    @BakerMan, I think you're talking about the recovery mode that the SaveMii used, and also was to restore softbricked systems.
  • SylverReZ @ SylverReZ:
    If your NAND was hardbricked, then just buy another Wii. Or go with the dirty NAND flasher method.
  • BakerMan @ BakerMan:
    and if i find the sd card i have my NAND backed up on, i can not only restore the NAND if i solder the right part in, but i can also put my NAND on dolphin, then i can play dolphin online, like PMEX Remix or MKWii Riibalanced
  • Xdqwerty @ Xdqwerty:
    Brb
  • SylverReZ @ SylverReZ:
    @BakerMan, Oh yeah, that was a thing too. Dolphin does support Wiimmfi.
  • BakerMan @ BakerMan:
    yeah you just need to put your NAND backup with wiimmfi on it
  • BakerMan @ BakerMan:
    ngl i feel like if a bunch of my friends have wiis and know how to get wiimmfi and back up their NAND, then we could do a PMEX Remix tournament
  • BakerMan @ BakerMan:
    maybe even add UMVC3/DBFZ and make it a biathlon/triathlon
  • Psionic Roshambo @ Psionic Roshambo:
    Too bad Excite Truck wasn't multi player :(
  • Psionic Roshambo @ Psionic Roshambo:
    Loved that game lol
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, sorry for the stupid suggestion I had in that thread
  • SylverReZ @ SylverReZ:
    Its fine
  • BakerMan @ BakerMan:
    what thread?
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/watch?v=lxR2jow50Bs