Hacking CMD GameChannels Creator

LinkFan16

I link them all
OP
Member
Joined
Mar 15, 2009
Messages
424
Trophies
1
XP
1,506
Country
Germany
So, yesterday in the sharpii thread I sparked some interest for a project I wrote and used myself quiet a while.

I'm speaking of a batch file I wrote, which with the help of wiimms amazing iso tools, sharpii, GSAR (generell search and replace tool) and a base of a game channel previously build with WiiGSC, can build these awesome game channels for usb loaders directly from the command-line.

This is technically not so very different from WiiGSC itself, and while WiiGSC works pretty well, I prefer batch files over a GUI because well, they are portable and pressing all that buttons just costs me valuable time I could use to hack my wii in every way possible :P

At the moment the batch script is in a very basic state and lacks a function to customize the options for the loader used in the channel and choosing the loader itself, but I'm in the process of improving the script, adding various checks and of course the possibillity to choose and configure the usb loader the user prefers.

Another feature that will be included (being totally optional) is to send the created game channel wads via sharpii or the new WADLOAD, a wad installer similar to wiiload, over the network directly to the wii for installing, all from the command-line.
To use this feature, one will need to have a cIOS installed on the wii (people that use usb loaders should have this anyway), and of course should have some brick protection in form of BootMii and optionally Priiloader.

While testing the basic script I have on my own wii, none of the channels bricked the console and everything worked well. However, I of course take no responsibillity for any damage you do to your wii by installing wad files created by my batch script.

At the moment I have nothing to show at all, because the basic script needs some overhaul like already stated. But as mentioned before, this is in the works and as soon as I'm done and did some testing, there will be a beta out for everyone of you to test and enjoy.

If you have any ideas or want to make a suggestion for a feature that could be added, don't hesitate to step in and voice your opinion and I will see what can be done.

Last but not least I want to thank XFlak for showing interest in my project and also JoostinOnline, who provided great help to me. So a big shoutout to you both.

This post will be updated as soon as I have something to show, so stay tuned. :yay:

----

EDIT:

Things are going quite well. The script is still not ready to be used and I didn't test it yet since I'm still bringing everything together to ensure that there aren't that many things that can go wrong, but I thought I would add a little progress report:

- The script will be fully commented so everyone will be able to see how everything is done and why it works that way
- The checks if the batch script was used in the right way (aka dragging the files to work with onto the .bat file) are done.
- The checks if there are supported files (at the moment I will only support .iso and .wbfs files) are done
- Added a check to ensure that files which are not of the type .iso or .wbfs are ignored
- Added the function to look for .iso and .wbfs files in folders and their subfolders which were dragged onto the .bat file along with other files
- Added a function that lists files of the wrong file type and gives a warning that these files are skipped
- Added a function to list the files that will be processed
- The function to process .iso files (extract opening.bnr and so on) is being worked on at the moment
- Got WADLOAD finally working, now my tool can send multiple wads over the network without the user having to wait for an eternity. Special thanks to dragbe and XFlak for leading me on the right track for solving the problem.
- Possibly found another banner that causes a brick. It's the one from Mario Party 9. So I will add it to the list of blocked games.
- No beta this weekend, will try to whip up something for next weekend.
- It's the checks for everything that make this sometimes a rather difficult task. The main functions are more or less done.
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,876
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,911
Country
Cyprus
sounds great man! Keep it up :D

I just wanted to mention that WiiGSC can be used portably (ie. saved\run from a flash drive)

Also, I think when you officially release your script, you should make sure to block making channels for a boy and his blob (causes banner bricks).
 

LinkFan16

I link them all
OP
Member
Joined
Mar 15, 2009
Messages
424
Trophies
1
XP
1,506
Country
Germany
Also, I think when you officially release your script, you should make sure to block making channels for a boy and his blob (causes banner bricks).

yeah, I will. WiiGSC has a complete list with gamechannels that brick or might brick the wii, so I will implement a check to make sure my tool refuses to build these channels and gives a warning.
 

LinkFan16

I link them all
OP
Member
Joined
Mar 15, 2009
Messages
424
Trophies
1
XP
1,506
Country
Germany
... you should make sure to block making channels for a boy and his blob (causes banner bricks).
But if anyone is desparate for ABAHB then I fixed the wad to prevent bricking:
http://gbatemp.net/t...ost__p__3487728

Hm I don't know if anyone is really interested in this fix, but if there are enough people who want it and with your permission of course, would you mind if my tool would build the channel for a boy and his blob with your modified .dol file inside? (of course you would get all the credit you deserve)

EDIT: And I just found out that the banner of Mario Party 9 (PAL) causes a banner brick as well, at least for me. Probably should add this to the list of games to avoid building a channel for.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
  • K3Nv2 @ K3Nv2:
    All I gotta do is not spend $10 in the next 5 days and I'll break even this month lol
  • K3Nv2 @ K3Nv2:
    @BigOnYa, tell your wife not to forget her wallet
    +1
    K3Nv2 @ K3Nv2: https://youtu.be/YMAa6obDNZs?si=rymChLKeTdyS8nqk