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

Chat, Off-topic, Research & Development etc
tommy
Posts: 3
Joined: Sun Nov 09, 2014 3:38 pm

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

Post by tommy » Sun Nov 16, 2014 3:51 pm

tueidj wrote:I didn't do anything, he just used information I posted over 2 years ago to figure out what to do (just like nearly every other "feature" of nintendont).
I feel kinda silly that I thought you guys have worked together... I understand that your a bit mad at the nintendont devs. Nonetheless, I want to say thank you, if not for nintendont, then for all the other great stuff you did for the scene.
tueidj wrote:I never said the audio streaming stuff was stolen, simply that FIX seemed to refuse to acknowledge where he got it from even when asked directly by several people. Instead he just kept his mouth shut while people donated for his "hard work".
You shouldn't be too hard on FIX94. I bet he even with your hint he had a hard time implementing audio streaming. And don't blame him for asking for donations. He's a college student, which hasn't got that much cash, while you are probably a software engineer with a huge wage.
türme
Posts: 4
Joined: Sat Sep 20, 2014 4:30 pm
Location: C:/Türme/mind

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

Post by türme » Thu Mar 12, 2015 9:40 pm

r253 release date20150312165615


- Emulation of the Gamecube modem hardware using the Wii's networking hardware (wifi or
wired) for online play
- Emulation of the Gamecube BBA hardware using the Wii's networking hardware (wifi or
wired) for LAN play

http://www.tueidj.net/gc_devo.zip
http://www.tueidj.net/gc_devo_src.zip
Apostrophe
Posts: 2
Joined: Sun May 03, 2015 9:17 pm

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

Post by Apostrophe » Sun May 03, 2015 9:27 pm

I was wondering if anyone has any idea why I am unable to get Mario Kart Double Dash BBA emulation to work when playing the game on my Wii and Wii U at the same time. I turn on both systems, go to LAN mode on both systems, but it just says "Looking for Nintendo Gamecube systems" on both systems until the 180 seconds runs out.

Here are my logs on the Wii and Wii U when I try running them individually.

Wii:
http://pastebin.com/zEz7UaMv

Wii U:
http://pastebin.com/i0C4LBAZ

Any help is much appreciated! :D
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 May 04, 2015 3:19 am

Your router possibly doesn't support multicast over wifi.
Apostrophe
Posts: 2
Joined: Sun May 03, 2015 9:17 pm

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

Post by Apostrophe » Mon May 04, 2015 8:11 am

Huh. I had a feeling it was a router problem. Oh well, it's not a big deal if I can't do a lan connection. Thank you for the response.
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 » Sat May 16, 2015 9:25 am

I do not own nor have access to a copy of the GameCube version of Metroid Prime so I cannot test if this has already been implemented, but I discovered an few AR codes used for eliminating visible culling for the Oculus Rift and wondered if such a thing would be useful as part of a game-specific widescreen hack.

Relevant links:
https://forums.oculus.com/viewtopic.php ... 20#p227356
https://forums.oculus.com/viewtopic.php ... 20#p227363
https://forums.oculus.com/viewtopic.php ... 20#p227364

Video demonstration of said code:
http://a.pomf.se/pkgcqz.webm
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 May 16, 2015 9:40 am

If the game is properly configured to render with a wider FOV there's no need to disable culling. It's only required for the Rift because they want to see everything regardless of the FOV.
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 » Sat May 16, 2015 9:47 am

Well like I said, I didn't know if the widescreen hack worked in the GameCube version of Metroid Prime/2 Echoes or not. I'm guessing it works flawlessly on both?

I will say though, unless the culling got fixed in newer revisions of Devolution (I haven't updated in a while because I want to redo my Wii homebrew setup on a 128GB flash drive anyway), I will say that Rogue Leader could totally use a culling AR code - too bad there isn't one (yet).
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 May 16, 2015 10:19 am

What you are talking about is clipping, not culling.
I don't think the "standard" widescreen patch has any affect on Metroid Prime. It's not really a candidate for widescreen patching due to the 3D HUD using assets that are designed for a 4:3 display/layout. If the HUD gets squeezed it looks silly and breaks immersion. If it gets left at the original size with a wider FOV, special effects (targetting, scanning etc.) don't line up properly.
The standard wide patch also does not change the FOV that the game thinks is being used for the viewport, hence the clipping issues. Disabling clipping is a ridiculous fix for widescreen issues; it forces the entire scene to be sent to the GPU for rendering, regardless of what is within the FOV or even behind the camera.
Any game that has clipping issues with the default widescreen patch must be using its own clipping algorithm (likely for performance reasons) so there is no chance of a generic fix.
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 » Sat May 16, 2015 10:40 am

tueidj wrote:there is no chance of a generic fix.
Oh, I think you misunderstood me - I wasn't thinking about a generic fix but the theoretical idea of a game-specific fix for Rogue Leader, and was wondering if something like that Metroid Prime Oculus code got made for Rogue Leader if it'd be of any use.
Ralf@gc-forever
Posts: 2885
Joined: Sun Mar 16, 2014 9:31 am

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

Post by Ralf@gc-forever » Sun May 17, 2015 2:53 pm

Code: Select all


Metroid Prime (PAL) [GM8P01]

8000C744:  3C60803D	lis	r3,-32707
8000C748:  3C804330	lis	r4,17200
8000C74C:  38C35788	addi	r6,r3,22408
8000C750:  90810020	stw	r4,32(r1)
8000C754:  80A60008	lwz	r5,8(r6)	; r5: x-res = 0x0280 (640)
8000C758:  7FE3FB78	mr	r3,r31
8000C75C:  8006000C	lwz	r0,12(r6)	; r0: y-res = 0x01C0 (448)
8000C760:  6CA58000	xoris	r5,r5,32768
8000C764:  90810028	stw	r4,40(r1)
8000C768:  6C008000	xoris	r0,r0,32768
8000C76C:  C8428098	lfd	f2,-32616(r2)
8000C770:  90A10024	stw	r5,36(r1)
8000C774:  C06D9CBC	lfs	f3,-25412(r13)
8000C778:  9001002C	stw	r0,44(r1)
8000C77C:  C8210020	lfd	f1,32(r1)
8000C780:  C8010028	lfd	f0,40(r1)
8000C784:  EC211028	fsubs	f1,f1,f2
8000C788:  808DA198	lwz	r4,-24168(r13)
8000C78C:  EC001028	fsubs	f0,f0,f2
8000C790:  EC010024	fdivs	f0,f1,f0
8000C794:  EC030032	fmuls	f0,f3,f0	; f0: aspect ratio = 0x3FB6DB6E = 1.42857 (640/448)
8000C798:  D00D8028	stfs	f0,-32728(r13)
8000C79C:  C0040024	lfs	f0,36(r4)
8000C7A0:  D00D8018	stfs	f0,-32744(r13)


Widescreen patch:

8000C754:  38A00356	li	r5,854		; r5: x-res = 0x356 (854)

-> Aspect ratio = 854/448 =  1.90625 (Widescreen)


PAL AR/WiiRD code:

16:9 Aspect Ratio (Widescreen) [Ralf]
0400C754 38A00356


Metroid Prime 2: Echoes (PAL) [G2MP01]

80036E90:  3C80803C	lis	r4,-32708
80036E94:  3C604330	lis	r3,17200
80036E98:  38C4B240	subi	r6,r4,19904
80036E9C:  80FF24DC	lwz	r7,9436(r31)
80036EA0:  80A60008	lwz	r5,8(r6)	; r5: x-res = 0x0280 (640)
80036EA4:  7FE4FB78	mr	r4,r31
80036EA8:  8006000C	lwz	r0,12(r6)	; r0: y-res = 0x01C0 (448)
80036EAC:  54E6103A	rlwinm	r6,r7,2,0,29
80036EB0:  6CA58000	xoris	r5,r5,32768
80036EB4:  90610018	stw	r3,24(r1)
80036EB8:  6C008000	xoris	r0,r0,32768
80036EBC:  7CDF3214	add	r6,r31,r6
80036EC0:  90A1001C	stw	r5,28(r1)
80036EC4:  C8428468	lfd	f2,-31640(r2)
80036EC8:  C8010018	lfd	f0,24(r1)
80036ECC:  90010024	stw	r0,36(r1)
80036ED0:  EC201028	fsubs	f1,f0,f2
80036ED4:  C06D8D8C	lfs	f3,-29300(r13) ; 
80036ED8:  90610020	stw	r3,32(r1)
80036EDC:  8066151C	lwz	r3,5404(r6)
80036EE0:  C8010020	lfd	f0,32(r1)
80036EE4:  EC001028	fsubs	f0,f0,f2
80036EE8:  EC010024	fdivs	f0,f1,f0
80036EEC:  EC230032	fmuls	f1,f3,f0	; f1: aspect ratio = 0x3FB6DB6E = 1.42857 (640/448)
80036EF0:  48176969	bl	0x801ad858
80036EF4:  57C0103A	rlwinm	r0,r30,2,0,29
80036EF8:  7C7F0214	add	r3,r31,r0


PAL AR/WiiRD code:

16:9 Aspect Ratio (Widescreen) [Ralf]
04036EA0 38A00356

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 Jun 04, 2015 1:41 am

Adjusting the Y res to 336 (448*3/4) gives a more accurate result since it requires no rounding.
Chromatin
Posts: 6
Joined: Fri Jun 05, 2015 2:02 pm

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

Post by Chromatin » Sat Jun 06, 2015 1:17 pm

I have a favor to ask you, tueidj. Would you please enable BBA emulation for Homeland(GHEJ91)? I saw the latest version of Devolution supports BBA emulation for LAN play so I would like to check if it works for the game and I tried to, but I found modem emulation is enabled instead of BBA (Homeland doesn't support modem).
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 Jun 06, 2015 6:49 pm

BBA emulation only supports LAN play, Homeland requires an internet connection.
Chromatin
Posts: 6
Joined: Fri Jun 05, 2015 2:02 pm

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

Post by Chromatin » Sat Jun 06, 2015 10:13 pm

That was true in the past because it required matchmaking server for connecting to other servers, but there's a way to connect without it someone found after the official matchmaking server was closed and it became playable in LAN. So I'd love to try it and make sure whether it works or not.
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 » Sun Jun 07, 2015 5:08 am

That doesn't change the fact that it uses a different style of communication that is not supported.
LAN play = multicast/broadcast traffic, no DNS.
Internet play = unicast w/DNS.
It will not work.
Chromatin
Posts: 6
Joined: Fri Jun 05, 2015 2:02 pm

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

Post by Chromatin » Sun Jun 07, 2015 9:36 am

Actually it maybe doesn't require DNS (set server's IP address directly) but unicast seems true. That's disappointing.
However, I have come to think I'd like to check and see with my own eyes that it doesn't work, please enable BBA emulation anyway?
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 » Sun Jun 07, 2015 10:19 am

I'm not going to enable something that will just cause the game to crash, that would be stupid.
Chromatin
Posts: 6
Joined: Fri Jun 05, 2015 2:02 pm

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

Post by Chromatin » Sun Jun 07, 2015 10:36 am

Then, is it possible to disable modem emulation for the game that is not supported? Since only PSO supports modem adapter, there's no need to enable modem emulation for other games.
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 » Sun Jun 07, 2015 12:49 pm

Then the game would think nothing was plugged in, I don't really see what advantage that has.
Chromatin
Posts: 6
Joined: Fri Jun 05, 2015 2:02 pm

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

Post by Chromatin » Sun Jun 07, 2015 2:23 pm

I was just impatient with enabling the function that is not available when I'm playing that game, so never mind, I'll use gamecube or something. Thank you anyway.

Although it is by the way, modem emulation works fully using PSO and BBA emulation works using Kirby Air Ride (it sometimes stops but it's probably caused by wireless connection). I'll try Mario Kart: Double Dash!! later.
deshayzilla
Posts: 10
Joined: Mon Jul 23, 2012 3:45 am

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

Post by deshayzilla » Fri Jul 10, 2015 9:20 pm

So I tried to get LAN working with Double Dash on two Wii Systems I have. I haven't gotten it to work. I checked my network on my computer and both Mario Kart: Double Dash systems were connected to the network. They just appear to not be communicating with each other. Is there something else I'm suppose to be doing to get them to work? Both Wii's are connected to the same network through Wifi. I originally tried it with my Wii and Wii U and that didn't work so I decided to try it with two Wiis and that didn't work. Is there something I have to set up /enable with my router to get it to work?
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 Jul 11, 2015 3:51 am

If they can both be seen by your PC (showing up as Mario Kart Double Dash devices), they should be able to see each other (assuming your PC is also using wifi). Look for anything regarding uPnP or multicast in the router settings. You could also try connecting one wii (or both) to a PC running Dolphin with BBA emulation.
deshayzilla
Posts: 10
Joined: Mon Jul 23, 2012 3:45 am

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

Post by deshayzilla » Sat Jul 11, 2015 3:39 pm

Well connecting one to the PC through dolphin worked. The PC was a wired connection and the Wii was wireless. Still can't get it to work with just two Wiis. Would distance be a factor between the systems and the router?
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 Jul 11, 2015 6:12 pm

I guess it could be if the wifi signal was weak enough to cause it to drop down to only 1 or 2 mbps.
Post Reply