Hacking PRELOADER v.25 Released

SoraK05

Well-Known Member
Member
Joined
Aug 24, 2007
Messages
155
Trophies
0
XP
296
Country
Kenya
For those who tried the 'Disc Area Check' code - posted earlier:
The code for 'Disc Area Check' which I posted for PAL was working for me on my Wii with my chip set to 'PAL Patching', which used to conflict with the 'GameCube Region Free with Video Mode Patching' until I disabled the chip from doing its own 'RegionFrii' type patching..
It looks like the 2 offsets and values are taken from the USA version, so it looks like it is forcing the thing to look like it is NTSC, making those alternate region NTSC GameCube games (like the Metroid Prime I was testing) work properly - I did have to try uninstall/reinstall a couple times and save a couple times for it to 'kick in', and was a bit twitchy for some reason when trying to debug with it on/off - perhaps a bug in PreLoader.. no idea!

Anyways, the codes I gave for the USA version are basically the reverse - it's the PAL values (in the correct offsets proportionately for the USA System Menu) - that's the best I can do with what I have, since there's no codes for the USA System Menu in the AnyRegion Changer v1.1b mod05 source code, and appears to only have the 'Disc Area Check' for PAL only..

Try experiment with disabling all GC Region Free with Video Mode Hacks and the Disc Area Check, saving those settings, rebooting to the System Menu, switching off, then putting all 4 codes back on, saving, going to System Menu, rebooting, and seeing if it makes a difference then - I know it eventually made my Metroid Prime USA work properly on my Wii, with my chip set to patching for PAL, which never worked in the past..

I'll let you know what I did to get the codes when I get back home..
 

BL4Z3D247

GBAtemp Stoner
Member
Joined
Oct 22, 2008
Messages
1,942
Trophies
0
Age
39
Location
I'm so high, I don't even know!
XP
1,229
Country
United States
hey SoraK05 preloadeer .26 was just released
smile.gif
just FYI
 

kavid

Well-Known Member
Member
Joined
Sep 28, 2008
Messages
566
Trophies
1
XP
623
Country
Switzerland
http://crediar.no-ip.com/preloaderv0.26-cred.rar

V0.26

0.26:

added elf-loading (able to load white-linux!)
added an option to load preloader or the systemmenu when the return-to state is used.
made the systemmenu-hacklist scrollable allowing an unlimited amount of hacks
rewrote the installer
some interface improvements
fixed the online update
fixed return to systemmenu, which loaded preloader instead
fixed shutting down from systemmenu, which loaded preloader instead
fixed a bug in the "Install/Load File" menu that allowed to move out of the list
fixed systemmenu loading for all systemmenu versions
fixed the stuck-systemmenuhack-option bug
fixed the bug that when a nunchuck was connected the systemmenu wouldn't load
fixed a bug which caused the wii to freeze when power was pressed
fixed a bug where only the first wiimote was powered down when the wii got turned off
 

SoraK05

Well-Known Member
Member
Joined
Aug 24, 2007
Messages
155
Trophies
0
XP
296
Country
Kenya
Here's how I got those codes for the 'Disc Area Check' from the AnyRegion Changer v1.1b mod05 source code:

Here's the string it searches for in the source code:
const u8 disc_area_check1[] = {0x48, 0x00, 0x12, 0x8C, 0x48, 0x00, 0x1C, 0x69, 0x2C, 0x03, 0x00, 0x00, 0x40, 0x82, 0x00, 0x1C};

The Disc Area Check 2 is for Chinese/Korean Wiis.

That above translates into:
4800128C48001C692C0300004082001C

I took my PAL 3.2E System Menu DOL and searched for that string, and found it started at offset 0x000480A0.

This is the point in the source code mentioning what to do to patch the bytes:

if (!found_disc_ac && !memcmp(buf+i, disc_area_check1, sizeof disc_area_check1)){
*((u16 *)&buf[i+12]) = 0x4800;
*((u32 *)&buf[i+48]) = 0x60000000;
printf("\b ");
found_disc_ac ++;
}

It says that from the starting offset (0x000480A0) count +12 (so on the 13th hex) patch the bytes at that point to 0x4800, and count +48 (so on the 49th hex) patch the bytes to 0x60000000.
That would mean start patching at offset 0x000480AC for the first one, and 0x000480D0 for the second one.

I figure that PreLoader has all its offsets starting at 0x8132FAE0, so any codes found in a hex editor in the System Menu are just added to that offset to be the starting offset in the PreLoader hacks.ini
That means, simply add that to 480AC and 480D0 to get the offsets for the codes for use in PreLoader, and the bytes to patch as well.

For the USA System Menu DOL, the string to search for is slightly different, with the ending 8 bytes being different - basically, this PAL patch takes the USA values and puts them in their place, so I assume that the same would work for USA -> PAL..
 

lavamasta

Well-Known Member
Member
Joined
Feb 21, 2009
Messages
197
Trophies
0
Website
swagbucks.com
XP
51
Country
United States
ip ban this mother f***er! hes friggin putting porn and more spam on old topics. get an effin life!
edit: wiisel wtf is wrong with u?! no he cannot stay! hes just spamming, and there are little kids probly on this site! if wanna ruin your life with porn go take it somewhere else, alone for your life!
 

Wiisel

Well-Known Member
Member
Joined
Dec 4, 2008
Messages
1,309
Trophies
0
Website
Visit site
XP
333
Country
lavamasta said:
ip ban this mother f***er! hes friggin putting porn and more spam on old topics. get an effin life!
edit: wiisel wtf is wrong with u?! no he cannot stay! hes just spamming, and there are little kids probly on this site! if wanna ruin your life with porn go take it somewhere else, alone for your life!
sensitive to a little sarcasm are we?
 

lavamasta

Well-Known Member
Member
Joined
Feb 21, 2009
Messages
197
Trophies
0
Website
swagbucks.com
XP
51
Country
United States
dude, nobody can tell on the internet if someones sarcastic from just the words "he can stay
smile.gif
" seriously... if ur gonna be sarcastic on the internet with out using voice u gotta make it more obvious... take my advice... frick
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Black_Manta_8bit @ Black_Manta_8bit: Oh @RedColoredStars yeah thats sad :sad: i feel it.