Hacking Devolution - Public Release

tueidj

I R Expert
OP
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
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:

I'm running it off a USB hard drive, if it matters.
Most likely Daco doesn't bother to check if the SD card is mounted successfully before using it. I only fixed a couple of obvious bugs in his code, if I were to fix them all it would take me hours.

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.
2MB for a 251 block card is normal. Here's how to calculate the raw size of a card:
Each block is 8KB.
5 blocks are always reserved for system use, so add 5 to however many blocks the card claims to have.
59 + 5 = 64 * 8KB = 512KB = 0.5MB
251 + 5 = 256 * 8KB = 2048KB = 2MB
1019 + 5 = 1024 * 8KB = 8192KB = 8MB
2043 + 5 = 2048 * 8KB = 16384KB = 16MB.
If you hear a card being referred to as "64mb" or "128mb" it's marketing or advertising rubbish; they're referring to the number of megabits rather than megabytes. Divide by 8 to convert to bytes. There are no cards larger than 16MB, it is the largest size that games have code to handle. If your card is smaller than 16MB you should be able to use Dolphin's save manager to copy the savefiles from the dump to an emulated 16MB card, which can be used in Devolution. If somebody uploads some dumps from smaller cards I can try adapting Devolution's code to handle them.

I could have sworn I saw a post after this one a few minutes ago. Must have been a glitch in the matrix.
 
  • Like
Reactions: 1 person

OriginalHamster

UStealthy
Member
Joined
Nov 2, 2008
Messages
3,380
Trophies
0
Age
44
XP
1,367
Country
Cote d'Ivoire
Tested with Devo r104.
-The raw file is 2mb
-I rename it memcard.bin and put it in the HHD/apps/gc_devo
-Boot gc_devo, mount HDD
-It says resizing memory card
-When I bootup a game, it say the memory card is corrupted
-I check the memcard.bin and it's 16mb now

I'm using a 251 official memory card
 

lulwut

Well-Known Member
Member
Joined
Mar 19, 2010
Messages
331
Trophies
0
XP
34
Country
Most likely Daco doesn't bother to check if the SD card is mounted successfully before using it. I only fixed a couple of obvious bugs in his code, if I were to fix them all it would take me hours.

irc said:
(4:09:42 PM) DacoTaco: can you quote tueidj and tell him that yes, ctr-gcs's code is shit. i made & released it in a quicky cause the wii scene bores me.
(4:09:52 PM) DacoTaco: but im open for fixes if anyone minds telling me the bugs
(4:10:04 PM) DacoTaco: tho a rewrite is really needed....but im so damn lazy


also tueidj, how can you live with all these ppl posting the same thing
over
and over
and over
and over

and not realise what is going on?
 

thevoiceover

Well-Known Member
Member
Joined
Sep 23, 2006
Messages
136
Trophies
0
Age
47
XP
321
Country
United States
also tueidj, how can you live with all these ppl posting the same thing
over
and over
and over
and over

and not realise what is going on?


I guess he does understand... Other than just the typical "new one" (It is annoying reading x amount of times that this new memory card fix only works with 16MB cards (not any other size) and people continue wondering why theirs doesn't work when dumped), most of these people are just trying to annoy and/or say things to hurt b/c they are on either a different belief system, or just jealous. Pretty obvious how these get flooded with some of these messages with users saying the comments they say (many of which are new users just trying to hide their ident)

I have read way more than I care to post here, but I do know in my opinion Devolution is and if not now, will be beneficial for its additions alone. As long as tueidj continues helping the scene (for whatever cause it is up to him, but knowledge is just that and in my opinion if someone is helping me out, I will take it from where it comes) let him help out! He is finding bugs in way more code that has been out for years with no major fixes...

At one point I wasn't a father of 5, didn't have actual priority or direction so I too focused on at times making others look bad out of jealousy. Well, now with time I see overall, if that person was helping out in any way (whether I liked them or not) that the way they helped I used more for that time rather than the hate I may have had towards them (which went nowhere...)


Urrgh, frustrating though. On to Devolution! I am really looking forward to a newer release ASAP and hopefully some BT code (at least power toggle hint hint) or reset hooks.



Sorry, I make a point of not taking advice from crazy people with multiple personalities.

heheh. No wonder you aren't taking any of my advice on features ;)
 
  • Like
Reactions: 1 person

suloku

Well-Known Member
Member
Joined
Apr 28, 2008
Messages
883
Trophies
1
XP
877
Country
Official memory cards working and raw dumps are great news! I actually was working in adding raw dump support to GCMM 2-3 years ago, but for some reason I was never able to write the dump back to the card, my memory is very fuzy about the matter.

Now that this is solved, what about protected savegames (by the way, are there any others aside f-zero and pokemon xd?). Does a raw restore to a different memory card allow using these savegames?
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
Need more working memory cards dumps (any size smaller than 16MB) for testing...
You mean just the results or do you want the actual dumps send to you?
I'm pretty sure he wants the actual dumps, so he can work out the exact structure etc., so that he can add support to Devolution for dumps of different sizes (meaning users wouldn't have to dump a raw image of their card, and then use Dolphin to move all the saves from it to a 16MB memory card image, but would just be able to dump the image of their card and use it straight off)
 

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.

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.

Unfortunately, my Gamecube's disk drive is dead, so it's not much use. About 6 months ago a GC game declared the memory card corrupt and said I had to format it, so I did and lost a lot of saves. I thought it would be ok after that, but corrupt save files keep appearing though nothing has declared the card corrupt since then.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    BakerMan @ BakerMan: @K3Nv2