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
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
  • K3Nv2 @ K3Nv2:
    Ea play raised priced to $6 a month lol
  • BigOnYa @ BigOnYa:
    Same with uremum, she's now $2 a month
    +1
  • K3Nv2 @ K3Nv2:
    Also seizures come and and go they don't have an off switch like that it all depends
  • BakerMan @ BakerMan:
    alright guys, who would win, sonic or goku?
  • BigOnYa @ BigOnYa:
    Knuckles
  • BakerMan @ BakerMan:
    knuckles vs broly could also be a good one tbh
    +1
  • BigOnYa @ BigOnYa:
    Bakerman vs. Wario
  • BigOnYa @ BigOnYa:
    Announcer - "Ok folks we have a good fight today, Bakerman takes on Wario. This should be a good fight. Wait...why is bakerman undressing?"
  • BakerMan @ BakerMan:
    Oh sorry, this is Wario? I thought it was your wife
    +1
  • E @ eenterx:
    hello guys how do i type on forums?
  • E @ eenterx:
    i am the new user
  • BigOnYa @ BigOnYa:
    I am the Eggman... I am the Walrus...
  • E @ eenterx:
    oh ok
    E @ eenterx: oh ok