Hacking RawkSD

Szalkow

RawkSD Cheerleader
Member
Joined
Jul 9, 2009
Messages
673
Trophies
0
Age
35
Location
Uni
Website
Visit site
XP
100
Country
United States
Also - to revise a previous statement, DOP-IOS might not be able to apply all of the patches necessary for RawkSD. Might as well try though.
 

jas20

Active Member
Newcomer
Joined
Aug 7, 2006
Messages
28
Trophies
0
Website
Visit site
XP
113
Country
Got my PS drum set working for all RB games using a dodgy modification (my guitar controllers are both Wii ones so I didn't care about supporting PS guitars). I'm a little embarrassed about wasting hours and failing to find the Wii drum's USB PID when all I had to do was change a 0 to a 4.

I'm afraid to leave things like the Wii Speak microphone plugged in now, but at least I won't have to nag you (tueidj) to bring support to the PAL RB games other than RB2!
 

SFenton

ಠ_ಠ
Member
Joined
Oct 14, 2008
Messages
1,077
Trophies
0
Location
Derp
Website
Visit site
XP
160
Country
United States
jas20 said:
Got my PS drum set working for all RB games using a dodgy modification (my guitar controllers are both Wii ones so I didn't care about supporting PS guitars). I'm a little embarrassed about wasting hours and failing to find the Wii drum's USB PID when all I had to do was change a 0 to a 4.

I'm afraid to leave things like the Wii Speak microphone plugged in now, but at least I won't have to nag you (tueidj) to bring support to the PAL RB games other than RB2!

How did you do this?
 

jas20

Active Member
Newcomer
Joined
Aug 7, 2006
Messages
28
Trophies
0
Website
Visit site
XP
113
Country
SFenton said:
How did you do this?

I've edited this... It will have to do until Rawk3 comes and the ability to use Riivolution without continuous IOS patching.

How to modify Rock Band games to allow one kind of PlayStation controller to work with all Wii controllers.
  • Extract the main.dol Disassemble it.
  • Find 0x1BAD, look below it for where there are lots of "li %r3, x" (x: 4/3/2/1/0), find the one where x=0 and note the file offset.
  • Open the dol in a hex editor, go to the offset (which looks something like 38 60 00 00) and change the last value to 03 (for RB1 drums). Save it. Used Multi cIOS installer to place hybrid 37/28 at IOS slot 248, and compiled Neogamma to use IOS 248. Place the alt-dol on a USB drive (required for SD access to work for RB2/TBRB). Put the game disc in the Wii's drive. Run Neogamma, change the settings to use alt-dol and USB for storage, and then play from DVD.
  • Or create a WIP or Riivolution patch which is much smaller and easier to modify.
------------

Notes for the PAL versions:

RB1: 01=guitar, 02=drums.

RB2 and after: 01=RB1 guitar, 02=RB2 guitar, 03=RB1 drums, and 04=RB2 drums.
RB3: 05=Mustang Pro Guitar, 06=Fender Squire Pro Guitar, 07=keyboard, 09=keyboard (MIDI pro?).

You can navigate the menu with a regular RB controller for these.

Tested with a RB1 PS drum controller.

--------

Using Riivolution and some XML files, you won't need to install any extra IOS.
Hopefully you can work out how to turn these into proper XML files:

RB1 - RKXP -
RB2 - SZAP -
TBRB - R9JP -
LRB - R6LP -
GDRB - R36P -
RB3 - SZBP -

So these make a bit more sense I've shortened them:

RB1 - RKXP -
RB2 - SZAP -
TBRB - R9JP -
LRB - R6LP -
GDRB - R36P -
RB3 - SZBP -

To get the offset using Dolphin's debugger mode (dolphin.exe -d) when you have the DOL/WIP offset:
Load the game, open the Memory sidebar and dump the RAM.
Open both the Dolphin/User/Dump/Ram.raw and the game's DOL in a hex editor.
In the DOL: Jump to the offset address of the 'fail' slot we modify (see WIP area below), block copy a bunch of hex after the offset that is sure to be unique.
In the RAM: Search for the hex you just copied. Backtrack a little until you find 38600000, note down the address and change it so it starts with 80.
If you go back to Dolphin and enter this new address into the Memory panel, it should place you at a 38600000 again.

--------

WIP file alternative:
For use with RawkSD2 + Disc + modified Neogamma, or a USB loader if you're worried about your disc drive and you own a legit copy.
Create the specified file where your loader will find it and inside that copy and modify the text: [Offset] [Original] [Changed]
You can use this information to hex edit a DOL, but I don't recommend it because of potential SD clashes.

RB1 - RKXP.wip - 0025AF2F 00 03
RB2 - SZAP.wip - 004A2EFF 00 03
TBRB - R9JP.wip - 005C7A1B 00 03
LRB - R6LP.wip - 004372BF 00 03
GDRB - R36P.wip - 004BB7A3 00 03
RB3 - SZBP.wip - 006B69E3 00 03

--------

Lame Mega Resource Area (broken)

Hopefully I can add the VID and PID sections as well for late instructions on alternative sets of controllers (e.g. PS Guitar, PS Drums, Wii Guitar).

First append the controller code offset you want to replace to the Offset Start, and if you're using Riivolution then add it with a hex calculator. In this location, you can then specify the new controller code you want.

So if you're want to change the 'fail' controller for LEGO Rock Band to Wii/PS RB1 generation drums using Riivolution, you'd do this : 004372BF + 80004060 = 8043B31F which you would then set to 03. The same for a WIP patch would just be "004372BF 00 03"

If you're poking memory with Gecko dotNET, you can use the Riivolution addresses.

RB3 / SZBP:
  • Riivolution Addition: 8000B140 | Offset Start: 006B69
  • 04 Drums: A3 | 03 Drums: AB
  • 02 Guitar: B3 | 01 Guitar: BB
  • 05 Mustang: D3 | 06 Squire: DB
  • 09 MIDI Pro Keyboard: C3 | 07 Keyboard: CB
  • 00 Fail: E3
RB2 / SZAP:
  • Riivolution Addition: 80009CA0 | Offset Start: 004A2E
  • 04 Drums: B7 | 03 Drums: BF
  • 02 Guitar: EF | 01 Guitar: F7
  • 00 Fail: FF
LRB / R6LP:
  • Riivolution Addition: 80004060 | Offset Start: 004372
  • 04 Drums: 9F | 03 Drums: A7
  • 02 Guitar: AF | 01 Guitar: B7
  • 00 Fail: BF
TBRB / R9JP:
  • Riivolution Addition: 8000AC40 | Offset Start: 005C7
  • 04 Drums: 9FB | 03 Drums: A03
  • 02 Guitar: A0B | 01 Guitar: A13
  • 00 Fail: A1B
GDRB / R36P:
  • Riivolution Addition: 8000AB00 | Offset Start: 004BB7
  • 04 Drums: 83 | 03 Drums: 8B
  • 02 Guitar: 93 | 01 Guitar: 9B
  • 00 Fail: A3
RB1 / RKXP:
  • Riivolution Addition: 800044C0 | Offset Start: 0025AF
  • 02 Drums: 03 | 01 Guitar: 27
  • 00 Fail: 2F
------------

Misc Patches for RB3:

Skip the Harmonix and Backbone splash videos (replace with short green screen, use at own risk):
0088AB70 73706C61 61616161
8088EA70 for Riivolution
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
It will only work for USB HID compatible devices rather than any device, and it only seems to work with devices that provide a report descriptor that matches what the game expects.
 

jas20

Active Member
Newcomer
Joined
Aug 7, 2006
Messages
28
Trophies
0
Website
Visit site
XP
113
Country
tueidj said:
It will only work for USB HID compatible devices rather than any device, and it only seems to work with devices that provide a report descriptor that matches what the game expects.
Thanks for clearing that up, if I ever manage to buy a powered USB hub I'll probably leave Wii Speak plugged in.
Does your modification allow both PS guitars and PS drums to be used together for different roles?
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
It replaces the function completely to check for both wii and ps VIDs (0x1BAD and 0x12BA), and PIDs for HMX guitars (0x200), RO guitar (0x100, to be confirmed), HMX drums (0x0210) and RO drums (0x0120).
I'm still not sure why the original wii code checks for two different guitar and drum versions.
 

jas20

Active Member
Newcomer
Joined
Aug 7, 2006
Messages
28
Trophies
0
Website
Visit site
XP
113
Country
tueidj said:
I'm still not sure why the original wii code checks for two different guitar and drum versions.

Automatic calibration and velocity-sensitive drum pads?
Different mapping for HMX and RO peripherals?

Edit: Oh wait, RB1 I think also has the 5 possibilities for %r3.
How did you get a PID of 0x200 for the Wii/HMX guitar? Mine says 0x0004 (PS3/HMX drums also being 0x0210).
 

SFenton

ಠ_ಠ
Member
Joined
Oct 14, 2008
Messages
1,077
Trophies
0
Location
Derp
Website
Visit site
XP
160
Country
United States
tueidj said:
It replaces the function completely to check for both wii and ps VIDs (0x1BAD and 0x12BA), and PIDs for HMX guitars (0x200), RO guitar (0x100, to be confirmed), HMX drums (0x0210) and RO drums (0x0120).
I'm still not sure why the original wii code checks for two different guitar and drum versions.

This is way out of left field but I'm guessing that this means it would be very difficult to/impossible to add GHWT instrument support to RB1/variants?
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
jas20 said:
tueidj said:
I'm still not sure why the original wii code checks for two different guitar and drum versions.

Automatic calibration and velocity-sensitive drum pads?
Different mapping for HMX and RO peripherals?

Edit: Oh wait, RB1 I think also has the 5 possibilities for %r3.
The original wii RB code doesn't look for RO instruments since they use the wiimote.

It checks if the PID is between 0x3100 and 0x31FF or equal to 5; if so it treats it as a drum kit.
If the PID is between 0x3000 and 0x30FF or equal to 4, it treats it as a guitar.
 

SSJ4-Cassis

Active Member
Newcomer
Joined
Jul 21, 2009
Messages
43
Trophies
0
XP
45
Country
United States
@Szalkow

Thanks for your help man. Actually, since my post about the Wii Internet connection I managed to get my Wii to a friend's home with Wireless Internet (was cumbersome, but hey, the guy digs RB2 as much as I do) and I finally got RawkSD installed.

I will keep that DOP-IOS info in sight just in case RawkSD 3.0 requires another IOS patching.

Thanks again buddy.
 

SSJ4-Cassis

Active Member
Newcomer
Joined
Jul 21, 2009
Messages
43
Trophies
0
XP
45
Country
United States
Dr Awesomo said:
@Anyone else reading this who might be able to assist:
I couldn't help but to notice that, while importing my GH3 songs, that there was a "Custom Disk" check box. Cool, I thought, and figured I'd try it out.
Unfortunately, I didn't come to much avail. (Ever hear of the Custom GH3 ISO, "DLC" version? That's the one I tried...figured it might be relevant...)

Perhaps I've mistaken the purpose for such a check box, but if my assumptions are correct, then my concern is simply this: What custom disks actually work with this function?


Whether there is help to be had or not, hats off to everyone responsible for this program
yay.gif

Hey Dr, I believe you are talking about the Guitar Hero 3 - DLC edition from CosmoKrammer. I have this release and some others from him too. Did you manage to get the songs imported? Any special tricks required?
 

SSJ4-Cassis

Active Member
Newcomer
Joined
Jul 21, 2009
Messages
43
Trophies
0
XP
45
Country
United States
@ Sfenton/Jas20/tueidj:

Not sure if this could help your research/work on PS2 drums support but I've got a RB drums kit from a rental store and it works for PS2, PS3 and Wii, without any kind of button or switch to set wich console you want to plug it in.

You just plug the drums on USB port (it is wired) and it recognizes what console you have.

If you need some info about it, I can try to find on its box or manufacturer web site.
 

RoniPunk

Well-Known Member
Newcomer
Joined
Sep 5, 2009
Messages
59
Trophies
0
XP
142
Country
United States
I just bought Rock Band 2 from where I work. I work at a arcade and I got it for 2800 tickets.

Now I just have to wait till 3.0 is out.

Rock Band 3 will be out before this is.
 

hooovahh

Member
Newcomer
Joined
Mar 27, 2009
Messages
21
Trophies
0
XP
49
Country
United States
SSJ4-Cassis said:
@ Sfenton/Jas20/tueidj:

Not sure if this could help your research/work on PS2 drums support but I've got a RB drums kit from a rental store and it works for PS2, PS3 and Wii, without any kind of button or switch to set wich console you want to plug it in.

You just plug the drums on USB port (it is wired) and it recognizes what console you have.

If you need some info about it, I can try to find on its box or manufacturer web site.
I'll right I'm curious. What other games do you have that you could test it out on. If it works on RB2 I assume it works with RB1, and all of the RB track packs. Can you test it with GH World Tour? Metallica? Beatles RB? GH5? Did I miss any?

I already have RB2 drums, but it would have been nice to know the cheaper (usually used) PS2 drums would have worked.
 

Stalkid64

Well-Known Member
Member
Joined
Apr 20, 2008
Messages
119
Trophies
0
XP
185
Country
United States
Just curious, but along the same lines what are the chances of the "Mad Catz Portable Rock Band Drum Kit" being made to work with the Wii? It's a USB set for the 360 I happen to have because it got better reviews than the official sets did.
 

tueidj

I R Expert
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
Stalkid64 said:
Just curious, but along the same lines what are the chances of the "Mad Catz Portable Rock Band Drum Kit" being made to work with the Wii? It's a USB set for the 360 I happen to have because it got better reviews than the official sets did.
Maybe xbox360 controllers will be added after 3.0. Maybe.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho @ Veho:
    The fuuuuu---
  • Veho @ Veho:
    I thought it was an actual xBox at that price.
  • Sicklyboy @ Sicklyboy:
    I wanna grab a 360 Slim and a 360 E one of these days. Missed the boat of getting them at their lowest though, once they were discontinued. Could've got them for cheap back when I was a broke 20 something working at Target, but then again, I was a broke 20 something working at Target
  • Veho @ Veho:
    Being broke is no fun.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, $150 isn't that bad for a jtag slim on ebay
  • Veho @ Veho:
    I only wish it was actually playable.
  • Veho @ Veho:
    There's a guy on the Tube of You that makes playable mechanical arcade games out of Lego. This could work on the same principle.
  • Veho @ Veho:
    Just a couple of guys taking their manatee out for some fresh air, why you have to molest them?
  • Veho @ Veho:
    Stupid Chinese shop switched their shipping company and this one is slooooooow.
  • LeoTCK @ LeoTCK:
    STOP BUYING CHINESE CRAP THEN
  • LeoTCK @ LeoTCK:
    SUPPORT LOCAL PRODUCTS, MAKE REVOLUTION
  • LeoTCK @ LeoTCK:
    THEY KEEP REMOVING LOCAL SHIt AND REPLACING WItH INFERIOR CHINESE CRAP
  • LeoTCK @ LeoTCK:
    THATS WHY MY PARTNER CANT GET A GOOTWEAR HIS SIZE ANYMORE
  • LeoTCK @ LeoTCK:
    HE HAS BIG FOOT AND BIG DUCK
  • LeoTCK @ LeoTCK:
    d*ck i mean*
  • LeoTCK @ LeoTCK:
    lol
  • Veho @ Veho:
    Mkay.
  • Veho @ Veho:
    I just ordered another package from China just to spite you.
  • SylverReZ @ SylverReZ:
    Communism lol
  • SylverReZ @ SylverReZ:
    OUR products
  • The Real Jdbye @ The Real Jdbye:
    @LeoTCK actually good quality products are dying out because they can't compete with dropshipped chinese crap
    +1
    The Real Jdbye @ The Real Jdbye: @LeoTCK actually good quality products are dying out because they can't compete with dropshipped... +1