Hacking Devolution - Public Release

ToddofWar420

CoverFlow Artist
Member
Joined
Mar 20, 2012
Messages
539
Trophies
1
Age
39
XP
1,028
Country
United States
Anybody know if Devolution can play compressed games yet or even know if it will be later? I'm trying to figure a way to compress my games with such tight space I have.
 

tueidj

I R Expert
OP
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
Memory card unlock testing round 2

Since libogc has always relied upon an illegally reproduced proprietary blob of DSP microcode (ripped from either the official SDK or a game) for memory card unlocking, I figured it was about time somebody worked out what it did and removed the need for it. So I reverse engineered the hash function and replaced the dsp blob in Daco's ctr-gcs build. The result is here; please test this with any memory cards (official or otherwise) and report the results. Mainly I'm only interested in the "raw backup" function, since it tests if the card can be read successfully (which is the important thing) and the other functions may have bugs related to how individual save files are handled - no guarantee that it won't corrupt your card if you try anything involving writing.
Raw backups made with this program can be renamed to memcard.bin and placed in /apps/gc_devo/ to be used with Devolution's memory card emulation.
 

kupo3000

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
472
Trophies
1
Age
39
XP
293
Country
I'm getting a 2.00 MB MemoryCardA.raw after dumping an official 251 blocks memory card.

-edit-

Another issue, getting a corrupted memory card message after booting any game with Devolution sample loader.
 

tueidj

I R Expert
OP
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
I'm getting a 2.00 MB MemoryCardA.raw after dumping an official 251 blocks memory card.
That sounds normal.
Another issue, getting a corrupted memory card message after booting any game with Devolution sample loader.
Using an emulated card or a real card? Nintendo brand card or other? Slot A or Slot B? What does the loader say about the card when it starts?
If it's a real nintendo brand card, it should say the card is unusable (not corrupt). A fixed build of Devolution will be released in the future that can properly unlock official cards.
If it's an emulated memory card created from scratch it must be formatted by a game once before it can be used.
I hope you're not trying to use emulation with your 251 block memory card dump, because I specifically said only dumps from 16MB cards will work...
 

kupo3000

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
472
Trophies
1
Age
39
XP
293
Country
Using an emulated card or a real card? Nintendo brand card or other? Slot A or Slot B? What does the loader say about the card when it starts? If it's a real nintendo brand card, it should say the card is unusable (not corrupt). A fixed build of Devolution will be released in the future that can properly unlock official cards. If it's an emulated memory card created from scratch it must be formatted by a game once before it can be used.
I hope you're not trying to use emulation with your 251 block memory card dump, because I specifically said only dumps from 16MB cards will work...

Yep, it was the emulated card dump from my Official 251 blocks Memory card.
Just in case the card data didn't get corrupted after using the modified ctr-gcs build.
 

AppleCrow

Member
Newcomer
Joined
Jul 27, 2012
Messages
8
Trophies
0
XP
50
Country
France
Same issue with an official 251 memory card.
Issue appends on each slot.
Actual fix is to show up memory card content on wii save menu before launching game through devolution.
(as for ctr-cgs dump)
 

tueidj

I R Expert
OP
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
No, don't unlock the cards with the system menu if you're testing the build of ctr-gcs that I posted. That would defeat the purpose of the test.
 

Etheboss

Official LULWUT supporter
Member
Joined
Feb 24, 2009
Messages
2,445
Trophies
0
Location
Around somewhere
XP
851
Country
Netherlands
lol, your build seems to backup and restore fine without unlocking it first with SM tueidj.

I tried it after Daco Taco asked me if i could check it for him too, it seems he was planning to look into it again, what a coincidence..
 

Bryon15

Well-Known Member
Member
Joined
Aug 9, 2010
Messages
1,282
Trophies
0
Age
39
Location
united states
XP
1,896
Country
United States
I also had to go back to USB loader GX r1191 because r1200 doesn't load games from DML without there being a disc in. Don't know why.
In USB Loader GX r1200 there's also an option "No Disc +" or similar. Had you tried that out?

Yes I had tried that. When I started a game it said something like "this version of DML no longer supports no disc mode, to play a game you need a disc in drive" When I tried to start a game anyway I got a DSI inception error. When I went back to r1191 it loaded games just fine without a disc being in.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Memory card unlock testing round 2

Since libogc has always relied upon an illegally reproduced proprietary blob of DSP microcode (ripped from either the official SDK or a game) for memory card unlocking, I figured it was about time somebody worked out what it did and removed the need for it. So I reverse engineered the hash function and replaced the dsp blob in Daco's ctr-gcs build. The result is here; please test this with any memory cards (official or otherwise) and report the results. Mainly I'm only interested in the "raw backup" function, since it tests if the card can be read successfully (which is the important thing) and the other functions may have bugs related to how individual save files are handled - no guarantee that it won't corrupt your card if you try anything involving writing.
If the backup is successful and your card is a 16MB card, you should be able to rename the dumped backup file to memcard.bin and use it with Devolution.

It doesn't seem to run properly for me; I get a code dump when I select dump raw image, then slot A, with my 251 offical card:
Code:
Exception (DSI) occurred!
GPR00 80012CF4 GPR08 746B6C00 GPR16 00000000 GPR24 80050000
GPR01 80100FE0 GPR09 FFFFFFFF GPR17 80101000 GPR25 80056944
GPR02 8005DD94 GPR10 80058888 GPR18 80056820 GPR26 8005696C
GPR03 FFFFFFFC GPR11 7374646E GPR19 80057410 GPR27 80056998
GPR04 800568D8 GPR12 22200024 GPR20 80056824 GPR28 800569C4
GPR05 00000006 GPR13 800616E0 GPR21 80056860 GPR29 800E0A60
GPR06 80808080 GPR14 00000000 GPR22 80056874 GPR30 800568D8
GPR07 80058884 GPR15 00000000 GPR23 8005688C GPR31 000001FF
LR 80012CF4 SRR0 80012d04 SRR1 00009032 MSR 00001000
DAR 00000033 DSISR 04000000

STACK DUMP:
80012d04 --> 80012cf4 --> 80028df4 --> 80028da4

CODE DUMP:
80012d04:  80090034 2F800000 419E0034 7FA3EB78
80012d14:  7FC4F378 7FE5FB78 7C0903A6 4E800421
80012d24:  8001001C 83A1000C 7C0803A6 83C10010

I'm running it off a USB hard drive, if it matters.
 

OneUp

Well-Known Member
Member
Joined
Sep 15, 2008
Messages
236
Trophies
1
Age
31
Website
Visit site
XP
409
Country
United States
It works fine for my official 1019 card even though it is on its way out because the Wii fried it. We can't test any official card dumps with Devolution because the biggest official card is 8MB. However, Dolphin's memory card manager was able to open and see the save files on the dump.
 

Lumstar

Princess
Member
Joined
Mar 6, 2006
Messages
4,106
Trophies
1
Location
Darling
Website
eonhack.blogspot.com
XP
1,870
Country
United States
It works fine for my official 1019 card even though it is on its way out because the Wii fried it. We can't test any official card dumps with Devolution because the biggest official card is 8MB. However, Dolphin's memory card manager was able to open and see the save files on the dump.

Have you tried using that 1019 card exclusively with an actual Gamecube? That should help tell whether there's actual damage rather than mere data loss.

What about testing Devolution with 2043 unofficial cards? (1019 is 64megabyte, not 8MB. Nintendo released just 50% the largest card they designed GC hardware to accept)
 

SuperrSonic

Well-Known Member
Member
Joined
Dec 9, 2011
Messages
807
Trophies
1
XP
2,323
Country
Puerto Rico
I got the same result that Kupo got with a 251, the raw dump didn't write properly; it doesn't work in Devo nor Dolphin's manager, however dumping as separate .gci images does work perfectly.
 

tmv_josue

Well-Known Member
Member
Joined
May 18, 2010
Messages
390
Trophies
0
Location
Cancún
XP
216
Country
Mexico
I did a backup of an official MC of 251 blocks (2,048KB) and the Memcard manager of Dolphin shows the save files correctly so I guess it's okay.
Certainly that card never had problems with Devo.
....(1019 is 64megabyte, not 8MB)
Actually is 8MBytes = 64Mbits
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: :wub: