Dolphin, the GameCube and Wii emulator - Forums

Full Version: [Unofficial] Widescreen Development Topic + Archive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
16:9 Gecko Code Hudson Selection Volume 2 Star Solider:
041275AC 3FE38E39
041ECEF0 C2FD5555
041ECE88 42FD5555
16:9 Gecko Code Hudson Selection Volume 1 Cubic Lode Runner:
0417D238 44555555
04036C84 C0828098
C2067AA4 00000005
3C003B19 6000999A
80830000 7C002000
40820010 3C00BF2A
60002AAB 9003000C
C003000C 00000000
C2020D08 00000004
3FC03F2A 63DEAAAB
93C10010 C0A10010
EC842824 3BC00000
60000000 00000000
04009DE4 380002C0
04009BD4 380002C0
040CCD90 43900000
203DDEEC 43900000
043DDEC4 C2F55555
043DDED0 4408AAAB
043DDED8 440EAAAB
E2000001 80008000
203EFBF4 43B40000
043EFBC4 C2F55555
043EFBD0 4408AAAB
043EFBD8 440EAAAB
E2000001 80008000
203EF8D4 43B40000
043EF8A4 C2F55555
043EF8B0 4408AAAB
043EF8B8 440EAAAB
E2000001 80008000
203EF764 43B40000
043EF734 C2F55555
043EF740 4408AAAB
043EF748 440EAAAB
E2000001 80008000
203F2554 43B40000
043F2524 C2F55555
043F2530 4408AAAB
043F2538 440EAAAB
E2000001 80008000
203EFF74 43B40000
043EFF44 C2F55555
043EFF50 4408AAAB
043EFF58 440EAAAB
E2000001 80008000
203D0800 42C80000
043D07D8 4414AAAB
E2000001 80008000

21:9 Gecko Code Hudson Selection Volume 1 Cubic Lode Runner:
0417D238 448E38E4
04036C84 C0828098
C2067AA4 00000005
3C003AE6 60006666
80830000 7C002000
40820010 3C00BF01
6000999A 9003000C
C003000C 00000000
C2020D08 00000004
3FC03F01 63DE999A
93C10010 C0A10010
EC842824 3BC00000
60000000 00000000
040CCD90 43900000
203DDEEC 43900000
043DDEC4 C38471C7
043DDED0 442C38E4
043DDED8 443238E4
E2000001 80008000
203EFBF4 43B40000
043EFBC4 C38471C7
043EFBD0 442C38E4
043EFBD8 443238E4
E2000001 80008000
203EF8D4 43B40000
043EF8A4 C38471C7
043EF8B0 442C38E4
043EF8B8 443238E4
E2000001 80008000
203EF764 43B40000
043EF734 C38471C7
043EF740 442C38E4
043EF748 443238E4
E2000001 80008000
203F2554 43B40000
043F2524 C38471C7
043F2530 442C38E4
043F2538 443238E4
E2000001 80008000
203EFF74 43B40000
043EFF44 C38471C7
043EFF50 442C38E4
043EFF58 443238E4
E2000001 80008000
203D0800 42C80000
043D07D8 443838E4
E2000001 80008000

48:9 Gecko Code Hudson Selection Volume 1 Cubic Lode Runner:
0417D238 45200000
04036C84 C0828098
C2067AA4 00000005
3C003A4C 6000CCCD
80830000 7C002000
40820010 3C00BE66
60006666 9003000C
C003000C 00000000
C2020D08 00000004
3FC03E66 63DE6666
93C10010 C0A10010
EC842824 3BC00000
60000000 00000000
040CCD90 43F00000
203DDEEC 43900000
043DDEC4 C2F55555
043DDED0 4408AAAB
043DDED8 440EAAAB
E2000001 80008000
203EFBF4 43B40000
043EFBC4 C2F55555
043EFBD0 4408AAAB
043EFBD8 440EAAAB
E2000001 80008000
203EF8D4 43B40000
043EF8A4 C2F55555
043EF8B0 4408AAAB
043EF8B8 440EAAAB
E2000001 80008000
203EF764 43B40000
043EF734 C2F55555
043EF740 4408AAAB
043EF748 440EAAAB
E2000001 80008000
203F2554 43B40000
043F2524 C2F55555
043F2530 4408AAAB
043F2538 440EAAAB
E2000001 80008000
203EFF74 43B40000
043EFF44 C2F55555
043EFF50 4408AAAB
043EFF58 440EAAAB
E2000001 80008000
203D0800 42C80000
043D07D8 4414AAAB
E2000001 80008000
4:3 Open Matte Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03F40 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F40 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03F40 3E203F40
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C2CA 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC03FAA 61CEAAAB
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

16:9 Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03F40 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F80 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03F40 3E203F80
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C2CA 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC03FAA 61CEAAAB
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

16:9 Open Matte Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03F12 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F40 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03F12 3E203F40
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C364 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC03FE0 61CE0000
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

21:9 Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03F12 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F80 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03F12 3E203F80
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C364 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC03FE0 61CE0000
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

48:9 Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03e80 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F80 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03e80 3E203F80
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C464 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC04080 61CE0000
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

48:9 Open Matte Gecko Code Mario Kart Double Dash (NTSC-U):
C20C1FB4 00000004
C0030000 41820018
3DC03e40 3DE08000
91CF3000 C02F3000
EC000072 00000000
C20C1FBC 00000004
C0030014 41820018
3DC03F40 3DE08000
91CF3000 C02F3000
EC000072 00000000
0400A3C8 38600000
0400A3CC 4E800020
C20270DC 0000000C
3DC08048 61CEBDF0
7C0EF800 4082004C
3DC03e40 3E203F40
91C20000 92220004
C2220000 C0030000
EC000472 D0030000
C003000C EC000472
D003000C C2220004
C0030014 EC000472
D0030014 C003001C
EC000472 D003001C
38800001 00000000
C2027C4C 00000004
3DC0C464 61CE0000
91C20000 C0230014
C3C20000 EC3E082A
60000000 00000000
C2027C5C 00000004
3DC04080 61CE0000
91C20000 C3E3001C
C3C20000 EFFE07F2
60000000 00000000
04027C6C 48000050
041466B8 60000000

Extras:

In-game Race FOV:
C20AA180 00000002
C2428BAC C1428BE0
ED4A04B3 00000000
043CD14C 3F800000
21:9 Gecko Code Kirby Return to Dreamland NTSC-U:
0419DCD0 38600438
0419F7C0 38600001
048D0F9C 4017B426
4A000000 91000000
30163518 447A0000
14163510 4020B01F
E0000000 80008000
4A000000 91000000
30B24450 4019999A
14B24458 4017E4B1
14B24850 4017E4B1
E0000000 80008000
4A000000 91000000
307E0E54 3C23D70A
147E0E50 4017B426
147E0D5C 4017B426
E0000000 80008000
4A000000 90000000
30FDDBC0 3C23D70A
14FDDBBC 4017B426
E0000000 80008000
Added some more aspect hacks to extra modes.
Currently, what's the best 16:9 code for Rogue Leader and Rebel Strike?
@gamemasterplc Could you try allowing support with the Y-FOV hack for 4:3 support on the NTSC-U version of Kirby's Return to Dreamland to replace the letterbox? I've found a way to change the Y FOV by using these opcodes with the addresses to inject the op-codes in:

80031454:

lis r17,0x3f40
stw r17,0(rtoc)
lfs f17,0(rtoc)
fdivs f6,f5,f4
fmuls. f6,f6,17

80031484:

fdivs. f6,f6,f17
fdivs f4,f6,f29
could probably find zoom value for open matte. Some maps do an auto zoom-in on wider aspects
(08-08-2017, 09:02 AM)gamemasterplc Wrote: [ -> ]could probably find zoom value for open matte. Some maps do an auto zoom-in on wider aspects

Open matte is done by FOV and orthographic projection, not the focal length or camera distance and that value is found at 808C40D0. The address where it loads the value for the perspective matrix is at 80031444.

Here's the code to the perspective fov.
C2031444 00000004
3E203F40 62310000
92220000 C2220000
C0A285D0 ECA50473
60000000 00000000
C203146C 00000002
ECA58825 ECA51024
60000000 00000000
808C40E0 is the perspective projection tan multiplier. you also should overwrite higher r2 offsets instead of a 0 offset due to the 0 offset being used in the game.
Hi! Smile

First of all, thank you guys for your great contributions. Thank you devs and enthusiasts! Heart


I want to make a new walktrough on Xenoblade Chronicles, with the addition of the amazing features Dolphin provides compared to the original game on Wii. Luckily, I have a monster computer and a monster monitor with 21:9 aspect ratio. So I want to play the game with ultrawide aspect ratio hack (21:9), of course (plus 7x resolution and HD pack)!

My version of the game is PAL. So I first tried with the Dolphin internal ultrawide hack. I first thought it worked great but I was wrong. Cliping issue on the edges... So I used a Gecko code provided by our friend gamemasterplc (0466A210 3CBB9F56). Worked great, no more cliping. I played several hours, absolutely amazed honestly by the look of the game... With UHD textures pack and 21:9 aspect ratio, honestly, I felt I wasn't playing the same game as I played on Wii some years ago. Then, I started to see a weird issue on cutscenes: NPCs and characters was not facing each others like they have to. "Shit! After all, it couldn't be that simple! You can't have something working in no time on PC, you first have to struggle for hours!" Ah ah!... Angry

So I searched for a solution and I tested a lot of ways but nothing helped... I think I am close to the solution tough. This code (provided by Brandondorf9999) give me 21:9 aspect ratio + no cliping on edges + people don't looking each other fix:

C2297740 00000002
806DBDC0 886301C8
60000000 00000000
C244A5DC 00000002
9862FFFF 3803FFFF
60000000 00000000
0444A5E4 38600001
C2350B14 00000004
8A22FFFF 2C110000
4182000C C0A2BEA8
48000008 C0A2BE24
60000000 00000000
C2350BB8 00000006
8A22FFFF 2C110000
40820020 8A220010
2C110001 40820014
C142BE24 3A200000
9A220010 48000008
C142BEA8 00000000
C247FEF0 00000002
3DC04320 91C20000
C3E20000 00000000
C2474A24 00000002
3DC04320 91C20000
C0220000 00000000
C2475FE4 00000002
3DC04320 91C20000
C0220000 00000000
C2485F14 00000002
3DC04320 91C20000
C0220000 00000000
C2485FB0 00000002
3DC04320 91C20000
C0220000 00000000
C2137ACC 00000002
C0C29840 3A200001
9A220010 00000000
C2137AD8 00000009
8A22FFFF 2C110000
40820010 3DC03FAA
61CEAAAB 48000008
3DC03F43 91C20000
C2220000 C0030000
EC110032 D0030000
C003000C EC110032
D003000C 38800001
60000000 00000000
C244E620 00000006
8A22FFFF 2C110000
4082000C 3DC03F40
48000008 3DC03FA8
91C20000 C2220000
EC5E0072 EC5100B2
60000000 00000000


BUT... HUD is broken... HUD (and Monado blade during loading screen for example) is centered like if I was with a 16/9 resolution. The mini map is not on the top-right corner for example but hundreds of pixels away from the right edge... Dodgy


I feel I am close to the solution but after hours of searching, I am unfortunately about to give up. So here I am, hoping one of you would be able to help me with this!


Thank you my enthusiast friends. Rolleyes