Hacking uLoader 3.2 BCA universal support

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
<div align="center"><img src="http://img130.imageshack.us/img130/2475/titleulo.png" border="0" class="linked-image" />

Hermes has released a NEW version of uLoader that supports BCA code.


Current version 5.1E
<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->Well, the <b>final</b> relase should be 5.0 so this is a Good Bye version.

Thanks a lot.



Hermes.<!--QuoteEnd--></div><!--QuoteEEnd--></div>


NOTE to other usbloader developers:


The new cios 5.1 adds dev/mload shadow engine that sholud run with this code:

<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->ÂÂÂÂif (0 == strcmp(message->open.device, DEVICE))
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ if(shadow_mload) result=-6;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ else result = message->open.resultfd;ÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ }
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂelse
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (0 == strcmp(message->open.device, DEVICE"/OFF"))
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ shadow_mload=1;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ result=-6;
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ }
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂelse
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ result = -6;<!--c2--></div><!--ec2-->





What's new (5.0C to 5.1E):

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->- Added port1 support again (5.1E)

- Improved cheats support allowing files with 4 chars ID for WiiWare and other things

- WDM file support (put it in folder sd:/ codes or usb:/ codes). You can use 3, 4 or 6 chars for the ID (SAM & MAX support)

- Added self-selection using 4 chars on the covers id for Wiiware and removed WiiWare title display when adding a PNG file as icon

- Added dev/mload shadow engine to avoid PoP device detection (no patches or new cIOS needed <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> )

- Added .wip file support (put it in folder sd:/ codes or usb:/ codes). You can use 3, 4 or 6 chars for the ID (now working 100%)

- Removed port 1 USB support (because it doesn´t work properly, sorry)



- A lot of CODE DUMPS fixed (from 5.0 to 5.1D)<!--QuoteEnd--></div><!--QuoteEEnd-->




From 4.9B:
- Resolution of the bugs found until now.

- Internet Support for Wiiware's and song download from the Guitar Hero World Tour and Guitar Hero 5 Stores (it could work with Rock Band 2)

- Added option to detect the Homebrew channel correctly

- New Button "Use Diary" to avoid (or not) the registry of the games in the Wii diary

- POWER button control desactived and derived to the stm/eventhook function to avoid the problem of Wiimote On when you press POWER button (some games don't use stm/eventhook, so remember you to use RESET button or exit to Home Menu to unmount the FAT device and preserve the disc integrity without losing datas)

- Improvements in FAT support, FFS emulator, blah, blah XD <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />

From 4.8:
- Improved savegame and FAT support

- Wiiware/VC games emulation

- Wiiware/VC/DLC content installer (Copy wads to sd:/nand/install or usb:/nand/install)

- Support for copying game related DLC to the specified path.

- Classic Controller suport added.

- New uLoader hacks to set cIOS 224 as default cIOS and new "back in black" option to change the background look by having the posibility to add a PNG (640x480 true color) as wallpaper from sd:/background.png, sd:/apps/uloader/background.png or usb:/background.png, usb:/apps/uloader/background.png)

New in 4.5
- Nand emulator than lets you to savegame in SD/USB.
- New cIOS (not merged with IOS38) added (cIOS60, cIOS37 and cIOS57)
- Support for the Wii diary

- isotociso don't ask "press any key" when you launch it from command line
- wbfs_win now repair bad blocks in WBFS partitions using the "Integrity check function".
-

New in 4.0
Updated to 4.0!!!!

-FAT support (SD/USB-HD)
-ciso in DVD/CD (external USB in UDF)
-now uLoader hacks uloader!!!! You can config the EHCI module from uLoader
-NeoGamma ocarina hook types
-more news!!!!!!!!

-an utility to convert iso to ciso has been added

Please, read the txt for more info.



You can update from uLoader or form here:

<a href="http://www.mediafire.com/?jwom4zndvdc" target="_blank">http://www.mediafire.com/?jwom4zndvdc</a>

New in 3.6A
- cIOS249 disbled (not necessary)
- 16:9 support
- screensaver mode
- you can choose BCA data from iso o from file (sd:/bca_database.txt) and write it to image (offset 0x100)
- Rumble disable/enable with D-PAD down
- change cursor with D-PAD UP (only in original version)
- updates from internet
- minor bugs fixed

DVD-USB mode (new in 3.5)
- Support for DVD USB Devices: It can run only DVD backups from .iso (original don't work because DVD drivers don´t support the Wii format). Remember you must insert a DVD to work at start the program.

Mode DVD USB
------------

At Start:

- Run uLoader with a DVD device connected in the USB port and put a disc.

1- while the device is waiting to be mounted it display the next message "ERROR: Can't Mount Device".

2- if it use expensive time to get the DVD, maybe the DVD device can´t read the disc (unknown format or other problem). Try reconnect the DVD device or change the disc by other.

3- if it display "ERROR: DVD Device Sector Size must be 2048 bytes" you are using a bad format disc (for example CD audio XD)


In the DVD screen loader:

- It work exactly as DVD Wii device: You can eject and change the disc as you want from the new device

NOTE: in this mode you can´t load disc from the DVD Wii device how it is obvious

New in 3.3
UPDATED to 3.3, now BCA are saved in a txt file (sd:/bca_database.txt)

Minor bugs fixed.

Litle gui changes.

And now Alternative uLoader is officially supported by Hermes.

About BCA option menu (new in 3.2):
<!--QuoteBegin-Hermes+--><div class='quotetop'>QUOTE(Hermes)</div><div class='quotemain'><!--QuoteEBegin--><a href="http://www.eurasia.nu/modules.php?name=News&file=article&sid=2488" target="_blank">http://www.eurasia.nu/modules.php?name=New...le&sid=2488</a>

You can see here:

<a href="http://www.eurasia.nu/images/submitted/modified_wii_game_iso_boots_fine.png" target="_blank">http://www.eurasia.nu/images/submitted/mod..._boots_fine.png</a>

The offset 0x100 has a text pattern. Well, 64 bytes BCA will be there.

If a game uses specific BCA, the process will be:

1) Install game to HDD.

2) Enter in "DVD" option and press "Show BCA Datas".

3) Copy that hexadecimal string:

An example can be:

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->
0000000000000000 0000000000000000 0000000000000000 0000000000000000
0000000000000000 0000000000000000 00000001ab89e754 3047b3f157d44132<!--QuoteEnd--></div><!--QuoteEEnd-->

4) Take that ISO to the PC and hexedit, you have to copy that bytes (not insert) from offset 0x100

5) Delete old game and reinstall the ISO (or burn to a DVD)

An automatic patch can be released soon, but for now, that's the procedure.

This the string by default (NSMB):

<!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec-->0000000000000000 0000000000000000 0000000000000000 0000000000000000
0000000000000000 0000000000000000 0000000100000000 0000000000000000<!--QuoteEnd--></div><!--QuoteEEnd-->

<!--QuoteEnd--></div><!--QuoteEEnd-->




<div align="center"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><u><b>uLoader 5.1E & cIOS_Installer_v5.1</b></u><!--sizec--></span><!--/sizec-->

<a href="http://mods.elotrolado.net/~hermes/wii/uloader_v5.1E.rar" target="_blank"><img src="http://img684.imageshack.us/img684/5734/ulodownload.png" border="0" class="linked-image" /></a>
<!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->ORIGINAL from Hermes(5.1E)<!--colorc--></span><!--/colorc-->





</div>




<div align="center"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><u><b>WADS</b></u><!--sizec--></span><!--/sizec-->

<a href="http://www.mediafire.com/?tljjmnomlwm" target="_blank"><img src="http://img684.imageshack.us/img684/5734/ulodownload.png" border="0" class="linked-image" /></a><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
FORWARDER (SD-SDHC) (SD:\apps\uloader\boot.dol)
<a href="http://www.youtube.com/watch?v=FvH-DdiZoxA" target="_blank">VIDEO</a><!--colorc--></span><!--/colorc-->




<a href="http://www.mediafire.com/?jzqmmhknmyk" target="_blank"><img src="http://img684.imageshack.us/img684/5734/ulodownload.png" border="0" class="linked-image" /></a><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
FORWARDER (Spanish) (SD:\apps\uloader\boot.dol)
<a href="http://www.youtube.com/watch?v=gwtyxVA-X70" target="_blank">VIDEO</a><!--colorc--></span><!--/colorc-->









<a href="http://www.megaupload.com/?d=5XJQ9777" target="_blank"><img src="http://img684.imageshack.us/img684/5734/ulodownload.png" border="0" class="linked-image" /></a><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
Full Channel 5.1E
Because of the new program options (update/config_hacks), you should use the forwarder channel instead of the full channel.<!--colorc--></span><!--/colorc--></div>



<div align="center"><!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><u><b>APPS</b></u><!--sizec--></span><!--/sizec-->

<a href="http://www.box.net/shared/ogn3ahuobd" target="_blank"><img src="http://img684.imageshack.us/img684/5734/ulodownload.png" border="0" class="linked-image" /></a><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
BCA EDITOR (by riauriau)<!--colorc--></span><!--/colorc--></div>






Original topic: <a href="http://www.elotrolado.net/hilo_utilidad-uloader-v3-3-ocarina-y-forzado-de-video-idioma_1217626" target="_blank">www.elotrolado.net</a>
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
nope... ioctl 0xda has been added to dip_plugin, but remember that uLoader has dip_plugin inside (mload)
wink.gif
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
I hope the solution Hermes chose does not provide a new "attack vector" for nintendo. Now we emulate the BCA read correctly, and the next gen of games will read from 0x100 on the disc... I really had hope for a solution that is nice and clean like the 001 handling that is used nowadays. On usb that should have been easy to be done, as you can put the additional data "outside of the disc". And for burned discs, if you have to load the dip module manually anyways, it could be loaded from sd.
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
WiiPower said:
I hope the solution Hermes chose does not provide a new "attack vector" for nintendo. Now we emulate the BCA read correctly, and the next gen of games will read from 0x100 on the disc...

Maybe, but... when?

And i'm not sure that they can/want to read discs from 0x100





FlatMii software adds a new sector at the end of the iso in order to emulate the BCA...


This could be a solution for burned (overburned) DVD if the read starts at 0x100
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
Main post updated.


What's new?

Special version that works with USB port1

BCA EDitor (.NET framework 2.0 needed)
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
Another idea is to store the BCA in the last 64 byte in the copy of the ISO header inside the WBFS inode. usb loader can access this area (they do this to get the id and name) and the programs inside the ISO does not see it.
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
Wiimm said:
Another idea is to store the BCA in the last 64 byte in the copy of the ISO header inside the WBFS inode. usb loader can access this area (they do this to get the id and name) and the programs inside the ISO does not see it.
Another idea is to supply this bca data as a separate file.
I have done this in cfg49a
It will read the file from: sd:/usb-loader/GAMEID.bca
So no need to patch isos or modifying wbfs images or whatever.
(As WiiPower also suggested)
The only question i have is how to get to that data?
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
How about just using the BCA read ioctl with an IOS on a retail disc? I would put the code into SoftChip to rip the BCA data to sd card.
 

oggzee

Well-Known Member
Member
Joined
Apr 11, 2009
Messages
2,333
Trophies
0
XP
188
Country
Slovenia
WiiPower said:
How about just using the BCA read ioctl with an IOS on a retail disc? I would put the code into SoftChip to rip the BCA data to sd card.
Hmm, of course, yes the code is already there i might as well add that too someday.
 

Wiimm

Developer
Member
Joined
Aug 11, 2009
Messages
2,292
Trophies
1
Location
Germany
Website
wiimmfi.de
XP
1,519
Country
Germany
oggzee said:
Wiimm said:
Another idea is to store the BCA in the last 64 byte in the copy of the ISO header inside the WBFS inode. usb loader can access this area (they do this to get the id and name) and the programs inside the ISO does not see it.
Another idea is to supply this bca data as a separate file.
Only a good idea, if a FAT partition is available. But we can combine the 2 ideas:
The usb loader looks for a file and it not found take the the bytes with offset 0xc0..0xff from the wbfs inode.
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
Wiimm said:
Another idea is to store the BCA in the last 64 byte in the copy of the ISO header inside the WBFS inode. usb loader can access this area (they do this to get the id and name) and the programs inside the ISO does not see it.

Hm... if the BCA data is stored in offset 0x100 you can burn that iso and you have a non-trucha disc...

Adding data at the end may bind you to overburn the disc...
 

bula

Well-Known Member
Member
Joined
Feb 4, 2009
Messages
812
Trophies
0
XP
42
Country
United States
Josete2K,

Do I need an original DVD to get the BCA? The reason I am asking is that with a burned copy (full and unpatched) I can not see any option under DVD\config that let me dump the BCA in v3.2
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
199
Country
Swaziland
josete2k said:
Wiimm said:
Another idea is to store the BCA in the last 64 byte in the copy of the ISO header inside the WBFS inode. usb loader can access this area (they do this to get the id and name) and the programs inside the ISO does not see it.

Hm... if the BCA data is stored in offset 0x100 you can burn that iso and you have a non-trucha disc...

Adding data at the end may bind you to overburn the disc...
Wiimm was (as far as I got it) talking about USBLoaders...he never said anything about Disc-Loaders...

I personally would be patching my games, and not store the Files...a Combination of WTT and WiiTDB for the Files would be nice...
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
bula said:
Josete2K,

Do I need an original DVD to get the BCA? The reason I am asking is that with a burned copy (full and unpatched) I can not see any option under DVD\config that let me dump the BCA in v3.2

Only original discs have BCA!!!

That's the reason to adding the patch feature inside the loader
 

josete2k

Well-Known Member
OP
Member
Joined
Apr 24, 2009
Messages
654
Trophies
1
Age
43
Location
Spain
XP
1,543
Country
Spain
updated alternative version.




You can place your own ogg file to sd:/apps/uloader/music.ogg

A rWii Menu button in DVD mode (only dvd, not USB) has been added.


With the Hermes support
wink.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended