Hacking TroyTheZombie's Animated Channel Wads

wilsoff

Well-Known Member
Member
Joined
Dec 29, 2008
Messages
292
Trophies
0
XP
183
Country
United States
TroyTheZombie said:
So as far as the old channels are concerned, all I have to do is redo the loading screen, recompile the latest forwarder source code (thanks usbloadergx guys), and that's it.

If you're recompiling the forwarders, here are a couple of things that may help.

1) If you have channels with the loading screens in the dol you can get the png back out (assuming these are in the wads that you currently have). Open the dol in a hex editor, search for 89 50 4E 47 / ‰PNG. Delete everything before the start of this string and save it as anything.png. Don't worry about finding the end of the file, png doesn't care if there's crap at the end. Re-save the png which should remove the crap. If there's more than one png in the dol file just repeat the steps above.

2) If you're recompiling the forwarders, you may want to apply these updates:

a) Remove black bars from the sides of the splash screen on the TV, courtesy of Tantric. Add these lines to video.cpp at line 128 (before VIDEO_Configure()):
Code:
vmode->viWidth = 678;
vmode->viXOrigin = (VI_MAX_WIDTH_NTSC - 678) / 2;

b) If the forwarder fails to find boot.dol in any of the spots the forwarder looks in you can get it to display the paths on screen. make these changes to makefile (line 41) and main.cpp (line 156):
CODEMakefile:
LIBSÂÂ :=ÂÂ -lwiiuse -lfat -lpngu -lpng -lz -lbte -logc -lm

main.cpp:
ÂÂÂÂÂÂ#include


ÂÂÂÂÂÂ// if nothing found exiting
ÂÂÂÂÂÂif (exeFile==NULL) {
ÂÂÂÂÂÂÂÂ printf("\x1b[2J\n\n");
ÂÂÂÂÂÂÂÂ printf("\n\n\t\tCould not find boot.dol in any of these locations...\n\n");
ÂÂÂÂÂÂÂÂ printf("\t\t SD:/apps/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\tUSB:/apps/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\t SD:/apps_emulators/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\tUSB:/apps_emulators/vbagx/\n");

ÂÂÂÂÂÂÂÂ const char progress[] = "987654321 ";

ÂÂÂÂÂÂÂÂ printf("\n\t\tPress (A) to restart now\n\t\tPress to stop countdown");
ÂÂÂÂÂÂÂÂ printf("\n\n\t\tRestarting in... ");
ÂÂÂÂÂÂÂÂ for (int i = 0; i < 100; i += 10) {
ÂÂÂÂÂÂÂÂÂÂÂÂprintf("%c\b", progress[(i/10)%sizeof(progress)]); /* \b goes one back */
ÂÂÂÂÂÂÂÂÂÂÂÂfflush(stdout);
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂu16 buttonsDown = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_A)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ i = 100;
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_B)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ printf("\r\t\tÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ while(1) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂbuttonsDown = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_A)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ i = 100;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ break;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ }
ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂ }

ÂÂÂÂÂÂÂÂÂÂÂÂ// this stuff is already in the source
ÂÂÂÂÂÂÂÂÂÂÂÂMenu_Render();
ÂÂÂÂÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂÂÂÂÂfclose (exeFile);
ÂÂÂÂÂÂÂÂÂÂÂÂSDCard_deInit();
ÂÂÂÂÂÂÂÂÂÂÂÂUSBDevice_deInit();
ÂÂÂÂÂÂÂÂÂÂÂÂStopGX();
ÂÂÂÂÂÂÂÂ SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
ÂÂÂÂÂÂ}


EDIT: Here's the full source: http://wadder.freeforums.org/download/file.php?id=63
If you get compile errors, try this libogc: http://www.mediafire.com/file/2tlr2nhjomm/..._2009-06-07.rar
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
timebandit said:
Hi Troy!

I would like you to make a forwarder for CFG USB Loader, can't find that you made one yet?
I'm running more or less your forwarders and are very satiedfied with it.

Look at this picture and you understand why I want another forwarder for CFG USB Loader made by you...

wiimenu.jpg
If you have the channel set you can use the channel titled "USB Loader-(BOWSER)-(YUSB)(USBSDFor-usbloader)(11 Blocks).wad" or "USB Loader-(MARIO)-(YUSB)(USBSDFor-usbloader)(11 Blocks).wad". Either one works with Configurable USB Loader.
 

TroyTheZombie

Well-Known Member
OP
Member
Joined
Mar 3, 2009
Messages
1,631
Trophies
0
Age
41
Location
Calgary, Canada
Website
Visit site
XP
247
Country
Canada
wilsoff said:
TroyTheZombie said:
So as far as the old channels are concerned, all I have to do is redo the loading screen, recompile the latest forwarder source code (thanks usbloadergx guys), and that's it.

If you're recompiling the forwarders, here are a couple of things that may help.

1) If you have channels with the loading screens in the dol you can get the png back out (assuming these are in the wads that you currently have). Open the dol in a hex editor, search for 89 50 4E 47 / ‰PNG. Delete everything before the start of this string and save it as anything.png. Don't worry about finding the end of the file, png doesn't care if there's crap at the end. Re-save the png which should remove the crap. If there's more than one png in the dol file just repeat the steps above.

2) If you're recompiling the forwarders, you may want to apply these updates:

a) Remove black bars from the sides of the splash screen on the TV, courtesy of Tantric. Add these lines to video.cpp at line 128 (before VIDEO_Configure()):
Code:
vmode->viWidth = 678;
vmode->viXOrigin = (VI_MAX_WIDTH_NTSC - 678) / 2;

b) If the forwarder fails to find boot.dol in any of the spots the forwarder looks in you can get it to display the paths on screen. make these changes to makefile (line 41) and main.cpp (line 156):
CODEMakefile:
LIBSÂÂ :=ÂÂ -lwiiuse -lfat -lpngu -lpng -lz -lbte -logc -lm

main.cpp:
ÂÂÂÂÂÂ#include


ÂÂÂÂÂÂ// if nothing found exiting
ÂÂÂÂÂÂif (exeFile==NULL) {
ÂÂÂÂÂÂÂÂ printf("\x1b[2J\n\n");
ÂÂÂÂÂÂÂÂ printf("\n\n\t\tCould not find boot.dol in any of these locations...\n\n");
ÂÂÂÂÂÂÂÂ printf("\t\t SD:/apps/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\tUSB:/apps/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\t SD:/apps_emulators/vbagx/\n");
ÂÂÂÂÂÂÂÂ printf("\t\tUSB:/apps_emulators/vbagx/\n");

ÂÂÂÂÂÂÂÂ const char progress[] = "987654321 ";

ÂÂÂÂÂÂÂÂ printf("\n\t\tPress (A) to restart now\n\t\tPress to stop countdown");
ÂÂÂÂÂÂÂÂ printf("\n\n\t\tRestarting in... ");
ÂÂÂÂÂÂÂÂ for (int i = 0; i < 100; i += 10) {
ÂÂÂÂÂÂÂÂÂÂÂÂprintf("%c\b", progress[(i/10)%sizeof(progress)]); /* \b goes one back */
ÂÂÂÂÂÂÂÂÂÂÂÂfflush(stdout);
ÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂu16 buttonsDown = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_A)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ i = 100;
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_B)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ printf("\r\t\tÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ");
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ while(1) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂWPAD_ScanPads();
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂbuttonsDown = WPAD_ButtonsDown(0);
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif ((buttonsDown & WPAD_BUTTON_A)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ i = 100;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ break;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ }
ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂ }

ÂÂÂÂÂÂÂÂÂÂÂÂ// this stuff is already in the source
ÂÂÂÂÂÂÂÂÂÂÂÂMenu_Render();
ÂÂÂÂÂÂÂÂÂÂÂÂsleep(1);
ÂÂÂÂÂÂÂÂÂÂÂÂfclose (exeFile);
ÂÂÂÂÂÂÂÂÂÂÂÂSDCard_deInit();
ÂÂÂÂÂÂÂÂÂÂÂÂUSBDevice_deInit();
ÂÂÂÂÂÂÂÂÂÂÂÂStopGX();
ÂÂÂÂÂÂÂÂ SYS_ResetSystem(SYS_RETURNTOMENU, 0, 0);
ÂÂÂÂÂÂ}



wow, wilsoff, thanks! I see you are still around helping people. I really appreciate it.
 

Luriden

Well-Known Member
Member
Joined
Sep 23, 2008
Messages
427
Trophies
0
Age
36
Location
Topeka, KS
XP
230
Country
United States
I just now noticed this thread even after being here awhile. I love your channels! I'll be using most of your channels in this pack. I have a request though. I know you said you lost your files, but if you ever get back to making channels in the same theme as the ones you've made, think you could make one for Wii64?
 

EeZeEpEe

Well-Known Member
Member
Joined
Oct 2, 2009
Messages
532
Trophies
0
Age
40
Location
New York City
Website
Visit site
XP
87
Country
United States
Luriden said:
I just now noticed this thread even after being here awhile. I love your channels! I'll be using most of your channels in this pack. I have a request though. I know you said you lost your files, but if you ever get back to making channels in the same theme as the ones you've made, think you could make one for Wii64?
There's a decent modified one made by a user on post #529. You can tell it's not by Troy but it'll due.
 

TroyTheZombie

Well-Known Member
OP
Member
Joined
Mar 3, 2009
Messages
1,631
Trophies
0
Age
41
Location
Calgary, Canada
Website
Visit site
XP
247
Country
Canada
lol, yeah, that is my favorite too.

I'll try my best to get all the old ones back up in the next little bit, I'll upload them as I test them.

EDIT: I am so glad someone upped that last pack I did. Makes it a lot easier than re downloading my channels one by one from old links I had.
 

TroyTheZombie

Well-Known Member
OP
Member
Joined
Mar 3, 2009
Messages
1,631
Trophies
0
Age
41
Location
Calgary, Canada
Website
Visit site
XP
247
Country
Canada
wait until I'm all caught up again to make requests ok?

anyway, I'm tweaking a few last things

wilsoff, if you are on, the forwarder works fine, but the whole "press b to stop timer" etc doesn't work, wiimote won't even turn on.

still counts down and everything though. the other edits work just fine as well.

I'm guessing i screwed up somewhere, if you have the time, mine taking a peek at the source I have with the edits you gave me?

I appreciate the help.

http://www.mediafire.com/?orjgzlyywqg
 

TroyTheZombie

Well-Known Member
OP
Member
Joined
Mar 3, 2009
Messages
1,631
Trophies
0
Age
41
Location
Calgary, Canada
Website
Visit site
XP
247
Country
Canada
laugh.gif
yeah, well, you know how it is. Just been busy lately. I have some free time now, so I figured I'd check in, see whats new, and finally update my channels.
wink.gif


anyway, I'll up the ones with the newer forwarder code since that small issue doesn't really matter since when the 9 second timer runs out it boots back to the wii menu anyway. when/if he gets back to me, i'll re-up them, doesn't take much time.

I'll start re-posting links shortly. I kinda got side tracked reading about WODE (Never been much for mod chips, but damn that thing is impressive)
blink.gif


EDIT - (wilsoff helped me out, and now the source code works just fine. Thanks wilsoff
yaywii.gif
)

Ok, here is the shared mediafire folder for the loaders (usb launchers, disc launchers)


http://www.mediafire.com/?sharekey=4580f17...aada8390b259c5f

Emulators
http://www.mediafire.com/?sharekey=4580f17...9a26c4ed87536eb

Utilities
http://www.mediafire.com/?sharekey=4580f17...7e866bfb1230ce0
 

GolfDude

Well-Known Member
Member
Joined
Feb 2, 2009
Messages
887
Trophies
1
XP
1,838
Country
United States
with the latest updates to the emulators (released TODAY) using ios 202, troys newest channels work like a charm again on hard drives
biggrin.gif


yay!
 

Talasim

New Member
Newbie
Joined
Mar 26, 2010
Messages
3
Trophies
0
XP
4
Country
United States
i installed ios 202 with ios 60 v6174 of cIOS d'Hermes then I do not need install ios 202 of snes9xgx ? It is the same?
because the forwarder for snes don't work on usb ??
 

GolfDude

Well-Known Member
Member
Joined
Feb 2, 2009
Messages
887
Trophies
1
XP
1,838
Country
United States
itwouldnt hurt to try to install the version the emu gives you, but htey should be the same.. i mean i always had harddrive issues with troys channels and the emulators, and with hte updates from troy today and the emulator maker himself, i now have everythign running off the hd smoothly with no issue..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    IT'S LIKE THAT ALMOST EVERY FUCKING METEOR SHOWER TOO
  • BigOnYa @ BigOnYa:
    You need to setup a time lapse camera, be neat
  • BigOnYa @ BigOnYa:
    I actually use a pic of it on my pc desktop cause its cool looking
  • Xdqwerty @ Xdqwerty:
    Apparently the pro versión of pizza boy is back aswell
  • Xdqwerty @ Xdqwerty:
    Gonna download the update
  • Xdqwerty @ Xdqwerty:
    Only 2 antiviruses detected the APK as a virus on virustotal so it Must be safe
  • Xdqwerty @ Xdqwerty:
    Cuz false positive
  • Xdqwerty @ Xdqwerty:
    Wait
  • Xdqwerty @ Xdqwerty:
    Eh nvm
  • BakerMan @ BakerMan:
    sadly, the clouds are setting in now

    hey BigOnYa the clouds are coming from the south, maybe check again
  • Xdqwerty @ Xdqwerty:
    Good night it's 11 pm
  • BakerMan @ BakerMan:
    night
  • BigOnYa @ BigOnYa:
    @BakerMan Nuh I'm in for the night playing Fallout 4, ill look tomorrow night
  • BigOnYa @ BigOnYa:
    Ok had let dog out, and yea still can't see it, oh well. Maybe tom night.
  • K3Nv2 @ K3Nv2:
    Ballocks these drives aren't allowing raid
  • BigOnYa @ BigOnYa:
    That sucks, well you will get double the space then atleast.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy needs to come back
  • BigOnYa @ BigOnYa:
    Did you try Raid 10?
  • K3Nv2 @ K3Nv2:
    I did raid69
  • K3Nv2 @ K3Nv2:
    The physical disk keeps disabling in bios
  • BakerMan @ BakerMan:
    hey ken did you see the aurora tonight?
  • BakerMan @ BakerMan:
    also sorry it was too cloudy, that sucks
  • SylverReZ @ SylverReZ:
    @K3Nv2, This chat is sponsored by Raid Shadow Legends.
  • K3Nv2 @ K3Nv2:
    So I guess raid0 doesn't allow mismatched storage oh well
    K3Nv2 @ K3Nv2: So I guess raid0 doesn't allow mismatched storage oh well