Hacking Devolution - Public Release

sjones900

GBAtemp Advanced Member
Member
Joined
Jan 29, 2008
Messages
811
Trophies
0
Location
TX
XP
565
Country
United States
Oh man, this is really great. I'm sure I'm a little late to get all giddy about this, but whatevs. I really don't have much use for devolution since my wii has a mod chip and I can play GameCube game just fine off an SD. But I would really like to see GameCube functionality expanded through this to feature sonething like classic controller support. Good work! Keep it up. :)
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
I have a technical question, something I'm curious about... does Devolution work by mapping GC syscalls to their Wii equivalents, providing polyfills where necessary? If that is the case, could it be built upon to load Wii games the same way, without requiring cIOS to be installed?
Devolution has all of MEM2 to use for itself since it didn't exist on the gamecube, it would be a lot harder to do the same thing for wii games because they use that memory.
Yeah, that makes sense, it would have been cool though (what with cIOSes being evil and everything).
So no hope for Devolution = Wii360 = WiiS3 then ?
Oh well.
Maybe just for GC games, then (although I'm sure even then it would be a pain to map and patch every single GPU call from one console to another. The only thing they have ROUGHLY in common is the PowerPC proc.)
 

wiismodrome

flubber
Member
Joined
Feb 7, 2012
Messages
553
Trophies
1
XP
142
Country
Sweden
So no hope for Devolution = Wii360 = WiiS3 then ?
Oh well.
Maybe just for GC games, then (although I'm sure even then it would be a pain to map and patch every single GPU call from one console to another. The only thing they have ROUGHLY in common is the PowerPC proc.)
Sounds like a good plan... if you want to see 360/PS3 games running at 2 frames per second. ;) The Wii is pretty much a Gamecube with extra cheese....
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
So no hope for Devolution = Wii360 = WiiS3 then ?
Oh well.
Maybe just for GC games, then (although I'm sure even then it would be a pain to map and patch every single GPU call from one console to another. The only thing they have ROUGHLY in common is the PowerPC proc.)
Sounds like a good plan... if you want to see 360/PS3 games running at 2 frames per second. ;) The Wii is pretty much a Gamecube with extra cheese....
Actually, I what I was mentioning was the other way around, port Devolution to PS3 and to X-Box 360 to be able to play GC (If not Wii) on those consoles. (I don't know how well their disk drives would do, though, with the little GC disks.)
 

tmv_josue

Well-Known Member
Member
Joined
May 18, 2010
Messages
390
Trophies
0
Location
Cancún
XP
216
Country
Mexico
Hi, Does anyone know how to boot GC games with other loaders? (Cgf, wiiflow, gx), with the .isos within games folder.
For example: usb:\games\GALE01.iso
They do not see the games :/
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Hi, Does anyone know how to boot GC games with other loaders? (Cgf, wiiflow, gx), with the .isos within games folder.
For example: usb:\games\GALE01.iso
They do not see the games :/
For the loaders you have to put them in separate folders and name them game.iso (basically the same as for DM(L) loading)
For example: usb:/games/GALE01/game.iso
 

Harsky

Madmin
Member
Joined
Aug 2, 2004
Messages
5,562
Trophies
1
XP
3,851
Country
United Kingdom
Hi, Does anyone know how to boot GC games with other loaders? (Cgf, wiiflow, gx), with the .isos within games folder.
For example: usb:\games\GALE01.iso
They do not see the games :/
You're doing it wrong. It needs a folder with the ID (or something similiar) in the games folder and the game in that should be called game.iso. It should look like this:

usb:\ games \ GALE01\game.iso

Edit: Too slow....
 

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Hope Wiimote support gets added soon, it would be awesome to play Melee with a D pad.
I don't know if [member='tueidj'] is planning to include some sort of button binding configuration for that but I would assume that a wiimote support would also include classic controller and/or nunchuck support. I would guess that at least in the default the wiimote d-pad would be the GC controller d-pad so you would only be able to use the d-pad for games where you're already using the GC d-pad.

Buttons settings WOULD be really cool, though. (I'd assume there at least has to be some sort of config to select which wiimote equals which GC controller ... or at least switch between ALL wiimotes and ALL GameCube controllers) It would also be kinda neat if it could use a Wii64 style gyro-to-analog conversion when just the wiimote is on without anything connected.
 

tmv_josue

Well-Known Member
Member
Joined
May 18, 2010
Messages
390
Trophies
0
Location
Cancún
XP
216
Country
Mexico
Fuck :(, I feared that they couldn't.
I expected them recognize the games that way because I wanted to use the sample loader too.
Anyway thanks [member='Maxternal'] and [member='Harsky']
 

J-Machine

Self proclaimed Pog champion
Member
Joined
Aug 25, 2011
Messages
940
Trophies
1
Location
A concrete Igloo
XP
1,698
Country
Canada
This loader is amazing! Everything seems to be working fine for me on this end. The main problem I'm having is that after loading a game, and then pressing the power button to return to the homebrew channel, Devolution fails to mount the hard drive. In fact, the only way for me to load another game is to either power down the system, or physically unplug the hard drive. From observing the the lights on my hard drive, it seems that after returning to the homebrew channel via power button, the hard drive is still very much active. I'm not sure if this is a hard drive specific issue, or if its just because Devolution is still early in its development.

Very impressive work indeed! Also, I actually like the AP measures taken. It gives me more reason to be proud of my GameCube collection. Keep up the good work. Now, if I could just find a copy of Fire Emblem at a DECENT price........ ;)
My hard drive does not have this problem. maybe yours has trouble being reaccessed.
 

helaciouscrumb

Well-Known Member
Newcomer
Joined
Sep 13, 2009
Messages
73
Trophies
0
XP
159
Country
United States
Thanks again for this loader. I just tried Tiger Woods 2005 again with the new build and here is the log. It still freezes at the loading screen. Its really not that important but wondering if other EA sports game do the same. Great program!

C:\Users\User\Desktop\nc111nt>nc -l -p 64444 -u
Wifi logging is ready
AFound 1 USB devices
Device 0: id e71f0021 VID 1058 PID 0704
Device class 00, subclass 00, protocol 00
Number of configurations: 1
Configuration 1 has 1 interfaces
Interface 0 has 2 endpoints
Endpoint 81 Attributes 02 MaxPacket 0200
Endpoint 02 Attributes 02 MaxPacket 0200
Current device configuration: 1
Using config 1, interface 0, alt 0, ep_in 81, ep_out 02
Device MAX_LUN returned 9: 1
USB device reset returned 8
Cleared USB storage device error status
LUN 0 is a Direct Access device
USB_MS sector size for LUN 0: 512, max LBA: 976773167
Using storage device: "USB Western Digital External HDD ", serial 36333133
MBR partition offset: 0000003f
MBR partition offset: 00000000
MBR partition offset: 00000000
MBR partition offset: 00000000
Found a FAT partition at sector 63 (1)
Number of bytes per FAT entry: 4 (FAT32)
Sectors per cluster: 64 (32K)
FAT1 first sector: 95
FAT2 first sector: 119315
Root cluster / sector: 2 / 238535
First Data sector: 238535
End sector boundary: 976768065
Total number of clusters: 15258273
Specified cluster for memcard file: 003AADFB
Cluster for MEMCARD file: 3845627 (246358535)
Checking file fat chain...
Total allocated size of file: 16777216 bytes in 32768 sectors
MEMCARD has 1 fragments
Memory card emulation activated
Specified cluster for iso file: 00016421
ISO file found: G5TE Disc 0
Checking file fat chain...
Break 1431872, 3823444(003a5754) does not follow 113541(0001bb85)
Total allocated size of file: 1459978240 bytes in 2851520 sectors
Result: 2 fragments
Date of Apploader: 2003/04/17
AppStart: 81200258, rounded total_size 00001960
Apploader start: 81200258
Apploader begin 81200278, load 81200298, finish 812002B8
Apploader Initialized. $Revision: 32 $.
This Apploader built Apr 17 2003 12:46:20
app address: 81201800, app section size 00000020, app offset 00000420
app address: 81201940, app section size 00000020, app offset 00000440
app address: 817FB100, app section size 00002000, app offset 00000440
app address: 81201820, app section size 00000100, app offset 0001F700
app address: 80003100, app section size 000003A0, app offset 0001F800
app address: 800034A0, app section size 001F4140, app offset 0001FBA0
app address: 801F75E0, app section size 00000080, app offset 00213CE0
app address: 801F7660, app section size 0001D700, app offset 00213D60
app address: 80214D60, app section size 00018FC0, app offset 00231460
app address: 802F1FE0, app section size 00001C20, app offset 0024A420
app address: 802F4920, app section size 000013E0, app offset 0024C040
app address: 817FD100, app section size 00002D40, app offset 0024D500
apploader finished, GAME Entry point: 80003100
>
>
Patching SRAM read to 002F0FE0 for slot A memory card emulation
New AR_SIZE: 0043 (801d01bc)
Passing direct ARAM request: 01000000 00000000 00000020 (801d0230)
Passing direct ARAM request: 01000000 00000000 00000020 (801d0278)
Set DBAT0U to 00000000 (001d2100 00081002)
Set DBAT0L to 00000002 (001d2104 00081002)
Set DBAT0U to 800001ff (001d2108 00081002)
Set IBAT0U to 00000000 (001d2110 00081002)
Set IBAT0L to 00000002 (001d2114 00081002)
Set IBAT0U to 800001ff (001d2118 00081002)
Set DBAT2U to 00000000 (001d2120 00081002)
Set DBAT2L to 01000002 (001d2124 00081002)
Set DBAT2U to 810000ff (001d2128 00081002)
Set IBAT2U to 00000000 (001d2130 00081002)
Set IBAT2L to 01000002 (001d2134 00081002)
Set IBAT2U to 810000ff (001d2138 00081002)
Dolphin OS
Kernel built : Apr 17 2003 12:33:06
Console Type : Development HW-1 (10000002)
Memory 24 MB
Arena : 0x80305d20 - 0x817fd100
>
>
Final code page was loaded as data: 801f7000
>
>
Patched rlwinm for tlbie @ C01DBB90
Patched tlbie @ C01DBB98
Patched tlbie @ C01DBF78
Patched tlbie @ C01DBF80
Patched tlbie @ C01DBF88
Patched tlbie @ C01DBF90
Patched tlbie @ C01DBF98
Patched tlbie @ C01DBFA0
Patched tlbie @ C01DBFA8
Patched tlbie @ C01DBFB0
Patched mfspr SDR1 @ C01DBFE0
Patched mtspr SDR1 @ C01DC030
mtspr sr7, r3 @ 801DBFD4 (00000000)
mtspr SDR1,r4 @ 001DC030 (003e0000)
>
Performing AR_Init fix-up 0 @ 801AEDD4
Patching AR_GetSize @ 801AEE24
New AR_SIZE: 0063 (801aef40)
Passing direct ARAM request: 80305b20 01000000 80000020 (801af0a4)
Passing direct ARAM request: 80305be0 01000000 00000020 (801af150)
AR_CheckSize fixup @ 801AF154 - 19
Passing direct ARAM request: 80305b60 01000000 80000020 (801af210)
>
>
>
>
>
Patching memory card write timeout period @ C01B5360
Patching memory card write timeout period @ C01B570C
>
 

crono141

Well-Known Member
Member
Joined
Jan 7, 2012
Messages
249
Trophies
0
XP
205
Country
United States
So, seeing memory cards being fixed, I redownloaded devolution from the OP, yet still can't access my first party card. Whats up?
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
The new build hasn't been uploaded for public consumption yet. All that's available right now is a precompiled sample loader a few pages back.
 
  • Like
Reactions: 1 person

squablo

Well-Known Member
Member
Joined
May 3, 2007
Messages
143
Trophies
0
XP
186
Country
United States
My hard drive does not have this problem. maybe yours has trouble being reaccessed.
Mine either.

.......As I feared. I'm using a seagate drive. It's a newer drive, and is solid on the wii end of things. I guess I'll tinker with it and see if I can resolve this issue. Is there anyone else having similar issues with seagate drives? Like I posted before, it just seems like the drive is still being accessed by devolution after I exit to the homebrew channel via power button. I have also noticed that verification takes much longer with the hard drive as opposed to the USB flash drive I was using, but that could be a solid state vs optical disk issue.

Any input would be helpful. Thanks in advance.
 

tueidj

I R Expert
OP
Member
Joined
Jan 8, 2009
Messages
2,569
Trophies
0
Website
Visit site
XP
999
Country
It happens to me sometimes (using a vantec usb hdd adapter) if you press power while the HDD is in the middle of a read. The weird thing is HBC can read the drive perfectly fine after quitting the gamecube game, but if you start any other homebrew app from there it will hang during USB initialization (before it even tries to mount the HDD). At that point IOS has been reloaded at least twice so everything should be in a clean state.

The reason verification takes longer is most likely due to searching for free space to put the .dvv file, if you have a large drive that is fairly full it can take several seconds.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    a_username_that_isnt_cool @ a_username_that_isnt_cool: @Xdqwerty, about to