Devolution - Gamecube loader for Wii/Wii U updated to r234

Chat, Off-topic, Research & Development etc
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Thu Oct 08, 2015 1:28 pm

Still playing around with this but had no luck getting the systems to see each other. I tried using wifi, wired via router and a switch but got the same result each time.

I remember you could use a crossover cable back with the GCN BBA adapter. Is that still the case with the Devolution implementation? If it does I'll grab a cable just to know that it isn't a Wii hardware error.
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Fri Oct 09, 2015 12:58 am

Maybe, if you set both systems up with static IPs beforehand.
User avatar
Nintendo Maniac 64
Posts: 166
Joined: Mon Dec 24, 2012 4:02 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by Nintendo Maniac 64 » Mon Dec 28, 2015 4:25 am

I believe I recall something about Devolution being able to save the emulated memory card to locations other than where the games are located. I have my games on a USB drive but would like the emulated memory card to be located on the SD card.

Is such a thing possible?
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Mon Dec 28, 2015 7:07 am

No.
PlaYsiA
Posts: 5
Joined: Thu Jan 14, 2016 1:24 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by PlaYsiA » Thu Jan 14, 2016 1:37 pm

Firstly thanks so much to tueidj for implementing BBA emulation :D

I have it working with a Wii (ethernet) and a GC, but I find that it wont work on an isolated network with a switch. When I connect it to my main network it works fine. I assume this is because it's picking up an address from the DHCP server upstairs.

This is great for a proof of concept, but I would like to bring 16player mariokart to youth group and other events where DHCP is not available. I have 2 Wiis with ethernet dongles and 2 Gamecubes with broadband adapters. Should I set the wii's to a particular subnet? I can't find any documentation as to what subnet the gamecube defaults to when it doesn't pick up one from DHCP.
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by novenary » Thu Jan 14, 2016 2:23 pm

Just set the Wiis up with manual IPs on the same subnet, or use something like a raspberry pi to run dhcpd on it.
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Thu Jan 14, 2016 7:13 pm

I'll see if I can find time over the weekend to poke the game the right way to find out what IP range it uses when DHCP fails.
PlaYsiA
Posts: 5
Joined: Thu Jan 14, 2016 1:24 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by PlaYsiA » Tue Jan 19, 2016 7:14 am

Setting the Wii to 10.0.0.x didn't work in an isolated network. (my home network is 10.0.0.x , is there a trick to set it to something without needing to complete the test?)

My guess is that it will be 192.168.0.x or 192.168.1.x but that's not something I can test and confirm at this moment.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Wed Jan 20, 2016 3:14 pm

Still not having much luck with any combination of static ip with an internetless switch or router. There was one thing I did notice though when looking at videos of folk using Double Dash for LAN on GameCubes that I thought was curious.

In those videos once "LAN Mode" is selected it goes to "establishing LAN link" before "Looking for Nintendo GameCube systems". Only once did I get that message (which led to it saying it failed) every time I select LAN it goes directly to searching for other systems and does not attempt to establish the link. Anyone know why that would be? Perhaps it is a clue to what I'm doing wrong?
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Wed Jan 20, 2016 7:20 pm

Because the wii's LAN link is normally already up before you get to that screen.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Wed Jan 20, 2016 7:52 pm

tueidj wrote:Because the wii's LAN link is normally already up before you get to that screen.
What exactly is happening at the LAN link stage? Are the systems just making a (valid) connection to the router/switch? By not getting that link error (aside from that one instance) am I at least getting a proper connection to the network device?
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Wed Jan 20, 2016 9:09 pm

Configuring the physical link (basically turning on the BBA and negotiating the port speed), trying to get a DHCP lease from a DHCP server and then sending ARP requests to make sure the chosen IP address (either from DHCP or self-assigned) has no conflicts.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Wed Jan 20, 2016 10:03 pm

Good to know. Thanks!

Looking at the log the offline router (Wii U, Wii and PC are the only hardware on the network) was able to assign the ip addresses (at least to the Wii U whose log I've attached below. Anyone know a way to capture both system logs using netcat?). Talk about stumped - at a loss at what I could even try next to go for a different result. Is there anything that stands out in the log?

Code: Select all

Removed
Log begins at start-up and ends after the search times out.

*Actually, has just 1 Wii U and Wii been tested successfully before? I see that tueidj tested 2 wiis, 2 wiis + 1 wiiu, 2 wiis + wiiu + 2 PCs and chorgox/PlaYsiA had success with a combination of Wii and GameCube. I don't see why my combination would have an issue if the others did not but if I'm grasping at straws I might as well look into throwing another Wii into the mix. Maybe I should also try starting them up separately like chorgox mentioned.
Last edited by dancrane212 on Tue Feb 09, 2016 12:27 pm, edited 1 time in total.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Sat Jan 23, 2016 5:42 pm

Tired another Wii but still no luck. Looking at my router's homepage I see both systems connected via full-duplex but still nothing will be found while searching for another system.

Both systems are cIOS 58 if that helps. Router firewall is set to the following...

Firewall: NAT Only
Blocking/Filtering: Enabled
UPnP Setting: Enabled
novenary
Posts: 1754
Joined: Mon Dec 30, 2013 7:50 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by novenary » Sat Jan 23, 2016 6:38 pm

The firewall usually only matters for connections to the outer world, doesn't matter here.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Sat Jan 23, 2016 6:47 pm

Figured as much. Guess I'll try fixing the OpenVPN issue I've been having on Windows 10 and see if I have any luck throwing dolphin into the mix.

This was the router I ended up doing the majority of my tests against. TP-LINK TL-R860 with DHCP on and other attempts with it off but everything configured to match the static IPs the consoles were set to use.
gc4eva
Posts: 23
Joined: Sat Jan 23, 2016 11:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by gc4eva » Sat Jan 23, 2016 11:21 pm

Hello,

I am also trying to connect the wii with devolution and static ip on wifi that also can been seen on the pc. I try to connect with a pc installed dolphin where I use openvpn that is bridge with my ethernet cable. Also the BBA mode is selected on dolphin. The problem is the wii and the pc doesn't see each other??? when you select lan mode. Strange part is that two pc's can find each-other. What is the problem ???? I hope to hear soon. I have R266.
OneUp
Posts: 5
Joined: Tue Apr 06, 2010 2:52 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by OneUp » Sat Jan 30, 2016 6:23 am

I think I may have run into some type of bug with the verification process. I load Devolution with the disc (Mario Kart) in the drive and there's an initial sound of reading but then nothing - no verification, no failed verification. I have to hard power down after this. I'm able to verify the game on a different Wii and then load it on this Wii with the wiimote stuff, but it would be better if it worked without the wiimote. Also of note is that the game plays normally from disc channel, so there's nothing wrong with the disc or Wii. The rip is from cleanrip and has been MD5 verified.

Here's the log:

Code: Select all

Wifi is ready
Devolution Engine r266 "Cyphre" 2015/08/16 23:51:24 Copyright (C) tueidj
AI clock configured (17372d9c)
Exception vectors placed.
MMU initialized.
IOS was reloaded (003a1820)
stm_eh_fd: 0
stm_imm_fd: 1
GPIO Flags: 00ffc3a0
IOS communication initialized.
Global Wiimote Rumble is ON
Starting to bring up network
HID FD: 2
VEN FD: 3
OH1 FD: 4
hci_complete: stage 0, ogf 00, ocf 00, result 0
USB: 1 devices now attached
hci_complete: stage 0, ogf 03, ocf 03, result 0
hci_complete: stage 0, ogf 04, ocf 05, result 0
hci_complete: stage 0, ogf 03, ocf 24, result 0
hci_complete: stage 0, ogf 03, ocf 13, result 0
hci_complete: stage 0, ogf 03, ocf 1a, result 0
hci_complete: stage 0, ogf 03, ocf 0a, result 0
hci_complete: stage 0, ogf 03, ocf 33, result 0
hci_complete: stage 0, ogf 04, ocf 01, result 0
HCI Version/Revision: 3/40a7
hci_complete: stage 0, ogf 04, ocf 09, result 0
Found stored link key for 8d:62:c5:a0:25:00
hci_complete: stage 0, ogf 03, ocf 0d, result 0
hci_complete: stage 0, ogf 03, ocf 45, result 0
hci_complete: stage 0, ogf 03, ocf 47, result 0
hci_complete: stage 0, ogf 03, ocf 43, result 0
hci_complete: stage 0, ogf 3f, ocf 4f, result 0
hci_complete: stage 0, ogf 3f, ocf 4c, result 0
hci_complete: stage 1, ogf 3f, ocf 4c, result 0
hci_complete: stage 1, ogf 3f, ocf 4f, result 0
hci_complete: stage 1, ogf 03, ocf 03, result 0
hci_complete: stage 1, ogf 04, ocf 05, result 0
hci_complete: stage 1, ogf 03, ocf 24, result 0
hci_complete: stage 1, ogf 03, ocf 13, result 0
hci_complete: stage 1, ogf 03, ocf 1a, result 0
hci_complete: stage 1, ogf 03, ocf 0a, result 0
hci_complete: stage 1, ogf 03, ocf 33, result 0
hci_complete: stage 1, ogf 03, ocf 45, result 0
hci_complete: stage 1, ogf 03, ocf 47, result 0
hci_complete: stage 1, ogf 03, ocf 43, result 0
hci_complete: stage 2, ogf 03, ocf 24, result 0
hci_complete: stage 2, ogf 03, ocf 18, result 0
hci_complete: stage 2, ogf 03, ocf 13, result 0
HCI Init finished.
GETLINKSTATUS returned 1 (in progress)
GETLINKSTATUS returned 4 (wireless down)
IOCTL_NWC24_STARTUP returned 0 (0)
IOCTL_SO_STARTUP returned 0
Got negative IPC reply for 93238960 (-1062731666)
Using Network Profile 0 (Wifi), Link Timeout = 0, flags a6
HTTP Proxy is disabled
SSL Proxy is disabled
IP DHCP enabled
DNS DHCP enabled
Wifi Rate: Automatic
Wifi Connection Method: Manual
IP Address: 192.168.000.110
Netmask:    255.255.255.000
Broadcast:  192.168.000.255
DNS1:       192.168.000.001
Gateway( 5):192.168.000.001
net init result: 1 (5)
Network initialization succeeded
Socket number for log: 0
Result from FCNTL: 0
bind returned 0
sendto returned 14
Found 1 USB devices while searching for Mass Storage
Device 0: id e71f0021 VID 4971 PID CE15
Got negative IPC reply for 932389E0 (-4)
Device class 00, subclass 00, protocol 00
Number of configurations: 1
Configuration 1 has 1 interfaces
Interface 0 has 2 endpoints
Interface Class 08, Subclass 06, Protocol 50
Endpoint 01 Attributes 02 MaxPacket 0200
Endpoint 82 Attributes 02 MaxPacket 0200
Current device configuration: 1
Using config 1, interface 0, alt 0, ep_in 82, ep_out 01
USB Manufacturer: SimpleDrive PS
USB Product ID: SimpleTech
USB Device Serial Number: 008080800002
USB device reset returned 8
Device MAX_LUN returned 9: 1
Cleared USB storage error status for LUN 0
Supported inquiry length: 40
Vendor ID "Hitachi" Product ID "HTS545050B9A300" Revision "PB4O" Type 00
LUN 0 is a Direct Access device
USB_MS sector size for LUN 0: 512, max LBA: 976773167
Using storage device: "USB Hitachi HTS545050B9A300 Rev PB4O", serial 80800002
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: 32 (16K)
FAT1 first sector: 101
FAT2 first sector: 238454
Root cluster / sector: 2 / 476807
First Data sector: 476807
End sector boundary: 976768065
Total number of clusters: 30509101
Specified cluster for memcard file: 006150BF
Cluster for MEMCARD file: 6377663 (204561959)
Checking file fat chain...
Total allocated size of file: 16777216 bytes in 32768 sectors
MEMCARD has 1 fragments
Memory card emulation activated (80)
Specified cluster for iso file: 008B7611
ISO file found: GM4E Disc 1 Version 0
Disc Name: Mario Kart Double Dash!
Checking file fat chain...
Total allocated size of file: 1459978240 bytes in 2851520 sectors
Result: 1 fragments
HID device change callback was registered
HID device change: 0 devices present
HID device change callback was registered
New WiFi channel: 6 (AFH_LO 21 AFH_HI 50)
HCI cmd complete: 03 3f 00
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Sat Jan 30, 2016 12:13 pm

That's either normally caused by a modchip interfering with the disc functions, or trying to perform the verification process with a non-GC compatible wii.
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Sat Jan 30, 2016 2:17 pm

So I've started looking more into multicast properties of my router and I think, that by using powerline adapters and a cheaper router/switch, that perhaps I was cutting out multicast from my main router. Figured that if I brought that router into the room with the Wii systems and plugged everything together with no in-between devices I might get a different result but there was no change (DHCP enabled and connection verified).

Neither system shows up under "Multicast Statistics" like my printer does so I'm unsure if they are being properly routed. Is there a setting I should be looking for on my router to enable a version of multicasting (if there is more than one) that the consoles would see? Reading mixed things on IGMP Proxy but I'll be trying that this evening.


*EDIT* Just got my Win7 machine going and all of a sudden things are working beautifully. Introducing a second Wii will have the PC see it and the second system will stop counting but not show the connected message. Doesn't freeze but no system can launch the LAN.

Finally some progress!
Last edited by dancrane212 on Sun Jan 31, 2016 12:12 am, edited 3 times in total.
OneUp
Posts: 5
Joined: Tue Apr 06, 2010 2:52 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by OneUp » Sat Jan 30, 2016 4:03 pm

tueidj wrote:That's either normally caused by a modchip interfering with the disc functions, or trying to perform the verification process with a non-GC compatible wii.
This Wii is definitely backwards compatible. As far as I know, there's no modchip installed - I got it second hand although previous owner said it was never modified. I tested a backup Wii game and it can't read it. I may open it up to verify for sure. If I swap disc drives to verify the disc then swap back, will that break verification?

This console is a black Wii that was probably made around 2010. Serial: LU832923799
dancrane212
Posts: 12
Joined: Sun Sep 27, 2015 12:14 pm

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by dancrane212 » Mon Feb 08, 2016 9:16 pm

Looks like I'm having the same issue regarless of using Dolpin or a Gamecube with a broadband adapter. Everything works great when the first Wii connects but the second one will cause the Gamecube to up the total system count to 3 while the second Wii will hang on a stop countdown timer. I can back out fine so it's no as-if things have crashed but it is curious. Any input on this tueidj? I know chorgox had the same issue at one point. When I tried to introduce a PC running dolphin into the mix where a Wii and Gamecube had a successful connection going I ran into the same issue. When I changed the order and went Gamecube -> PC and then Wii things worked perfectly fine.

The following was a LAN connection in the order as follows. Gamecube, Wii and then Wii. My host machine that was running netcat was disconnected for the PC tests but I can get that log if it would help.

Code: Select all

x
User avatar
Nintendo Maniac 64
Posts: 166
Joined: Mon Dec 24, 2012 4:02 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by Nintendo Maniac 64 » Thu Mar 10, 2016 8:23 pm

Quick question.

I noticed that using "Direct Buttons" on an Xbox 360 controller doesn't actually seem to give you "direct buttons" but rather changes the button arrangement from that of the GameCube to that of the SNES, neither of which actually matches the Sega/Xbox button layout arrangement.

Heck, not using "direct buttons" actually gives you a more similar button layout (the only difference being that X and B are swapped).


Is this as intended?
tueidj
Posts: 564
Joined: Fri May 03, 2013 6:57 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by tueidj » Thu Mar 10, 2016 8:38 pm

"Direct" means A=A, B=B etc., the XBOX controller has its buttons labelled ass-backwards compared to most ABXY pads so that would be why.
User avatar
Nintendo Maniac 64
Posts: 166
Joined: Mon Dec 24, 2012 4:02 am

Re: Devolution - Gamecube loader for Wii/Wii U updated to r234

Post by Nintendo Maniac 64 » Thu Mar 10, 2016 8:53 pm

tueidj wrote:the XBOX controller has its buttons labelled ass-backwards compared to most ABXY pads so that would be why.
Alright then, let me ask a different question:

Is Sega ass-backwards?


Putting B to the right of A matches what Sega has been doing since the Master System, and putting Y to the right of X matches what Sega's done since the 6-button Mega Drive/Genesis controller (hence why the DreamCast used the button arrangement that it did).
Post Reply