ROM Hack Adding Stereoscopic 3d to games that dont have it

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,660
Country
Argentina
2 new codes:
[Parallax Barrier without Depth (No 3D)]


D3000000 36000000


00465BBC 00000000


D2000000 00000000




[Parallax Barrier with Depth (Normal 3D)]


D3000000 36000000


00465BBC 41200000


D2000000 00000000





[Parallax Barrier with Depth + (Deeper 3D)]


D3000000 36000000


00465BBC 41900000


D2000000 00000000




[Parallax Barrier with Depth ++ (Deeper 3D)]


D3000000 36000000


00465BBC 42000000


D2000000 00000000



Parallax Barrier with Depth +++ (Deeper 3D)]


D3000000 36000000


00465BBC 42200000


D2000000 00000000




[/SPOILER

[Parallax Barrier without Depth (No 3D)]


D3000000 08000000


0006F1C0 00000000


D2000000 00000000




[Parallax Barrier with Depth (Normal 3D)]


D3000000 08000000


0006F1C0 41200000


D2000000 00000000





[Parallax Barrier with Depth + (Deeper 3D)]


D3000000 08000000


0006F1C0 41900000


D2000000 00000000




[Parallax Barrier with Depth ++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42000000


D2000000 00000000



Parallax Barrier with Depth +++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42100000


D2000000 00000000



Parallax Barrier with Depth ++++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42200000


D2000000 00000000





[/SPOILER
 
Last edited by NanashiFinal13,

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
2 new codes:
[Parallax Barrier without Depth (No 3D)]


D3000000 36000000


00465BBC 00000000


D2000000 00000000




[Parallax Barrier with Depth (Normal 3D)]


D3000000 36000000


00465BBC 41200000


D2000000 00000000





[Parallax Barrier with Depth + (Deeper 3D)]


D3000000 36000000


00465BBC 41900000


D2000000 00000000




[Parallax Barrier with Depth ++ (Deeper 3D)]


D3000000 36000000


00465BBC 42000000


D2000000 00000000



Parallax Barrier with Depth +++ (Deeper 3D)]


D3000000 36000000


00465BBC 42200000


D2000000 00000000




[/SPOILER

[Parallax Barrier without Depth (No 3D)]


D3000000 08000000


0006F1C0 00000000


D2000000 00000000




[Parallax Barrier with Depth (Normal 3D)]


D3000000 08000000


0006F1C0 41200000


D2000000 00000000





[Parallax Barrier with Depth + (Deeper 3D)]


D3000000 08000000


0006F1C0 41900000


D2000000 00000000




[Parallax Barrier with Depth ++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42000000


D2000000 00000000



Parallax Barrier with Depth +++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42100000


D2000000 00000000



Parallax Barrier with Depth ++++ (Deeper 3D)]


D3000000 08000000


0006F1C0 42200000


D2000000 00000000





[/SPOILER
I was poking around with Majora's Mask since that game got the 3D depth caped if we compare it to Ocarina of Time 3D, and I only got to increase the game's FOV distance lol.
Which debugging enviroment do you use to find your memory values? I want to "restore" the 3D effect on Majora's Mask and maybe some Streetpass Plaza DLC games

1674610123118.png


1674610135652.png

EDIT: Just tried some of the codes, and there are three cases where I can't make them work, but one specifically has weird results:

Animal Crossing New Leaf: Welcome Amiibo
Zelda: A Link Between Worlds
New Super Mario Bros. 2 Gold Edition: Only the HUD objects have the depth affected, everything else looks the same.

I'm still investigating this as I would like to start building a database for more games and some documentation about how the 3D depth addresses can be found!
 
Last edited by DSoryu,
  • Like
Reactions: BigOnYa

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,660
Country
Argentina
I was poking around with Majora's Mask since that game got the 3D depth caped if we compare it to Ocarina of Time 3D, and I only got to increase the game's FOV distance lol.
Which debugging enviroment do you use to find your memory values? I want to "restore" the 3D effect on Majora's Mask and maybe some Streetpass Plaza DLC games

View attachment 349239

View attachment 349240
EDIT: Just tried some of the codes, and there are three cases where I can't make them work, but one specifically has weird results:

Animal Crossing New Leaf: Welcome Amiibo
Zelda: A Link Between Worlds
New Super Mario Bros. 2 Gold Edition: Only the HUD objects have the depth affected, everything else looks the same.

I'm still investigating this as I would like to start building a database for more games and some documentation about how the 3D depth addresses can be found!
How you manage to find the FOV distance? As i explained on a previous post, i just use CTRPF plugin to find the memory values, no pc or other programs. (On pc, i just use Tempar and Gatewayramtools to make pointer codes, if necesary)
On the 3 games you mentioned: The adress of Zelda: A Link Between Worlds was wrong, i edited the post, its not D3000000 15000000, its D3000000 16000000. Try it again with the fixed adress.
New Super Mario Bros. 2 Gold Edition: The code works as intended, i only manage to find the HUD objects depth. In fact, i manage to find the HUD depth for Majora's Mask, but i didn't post it because its useless.
Animal Crossing New Leaf: Welcome Amiibo: I re tested the code, it works without problem, and i checked the post to see if i wrote it wright. I don't know why won't work for you. I tested on my girlfriend 3DS, with her own cartridge and worked fine. If you'r using the codes with the luma cheats option, try with CTRPF plugin. Some cheats i made only work with CTRPF.

I was also thinking on creating a database with all the codes I posted here.
 
Last edited by NanashiFinal13,

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
How you manage to find the FOV distance? As i explained on a previous post, i just use CTRPF plugin to find the memory values, no pc or other programs. (On pc, i just use Tempar and Gatewayramtools to make pointer codes, if necesary)
On the 3 games you mentioned: The adress of Zelda: A Link Between Worlds was wrong, i edited the post, its not D3000000 15000000, its D3000000 16000000. Try it again with the fixed adress.
New Super Mario Bros. 2 Gold Edition: The code works as intended, i only manage to find the HUD objects depth. In fact, i manage to find the HUD depth for Majora's Mask, but i didn't post it because its useless.
Animal Crossing New Leaf: Welcome Amiibo: I re tested the code, it works without problem, and i checked the post to see if i wrote it wright. I don't know why won't work for you. I tested on my girlfriend 3DS, with her own cartridge and worked fine. If you'r using the codes with the luma cheats option, try with CTRPF plugin. Some cheats i made only work with CTRPF.

I was also thinking on creating a database with all the codes I posted here.

I was just messing with the gsp module values randomly, so this is not doable (as is) with action replay codes.

I started to use CTRPF and I found the value for Majora's Mask 3D, it's located at

00181D74

But here's the catch:

Default value is 424
If you increase it to, for example, 430, the 3D effect will get higher, but is a bit different than the other games, as everything will pop "outside" the screen instead of the "inside", and if you want a "slider on/3D off" effect, you need to set it above 450 instead of 000

I found this by searching "34000000" value instead of the commonly seen "41200000" as I assumed that MM used OoT 3D engine and that instruction was set before the 3D depth value.

I'm still researching if we can also modify if the screen pops outside or inside, similar to how camera calibration works, so I'll start debugging the camera app to look up those values.

EDIT: The codes I made for Majora's Mask, note that this is the "pop out" version of this cheat, maybe paired with @NanashiFinal13 HUD code it'll work better.

[Parallax Barrier without Depth (No 3D)]
D3000000 00000000
00181D74 70000000
D2000000 00000000

[Parallax Barrier with Depth (Normal 3D)]
D3000000 00000000
00181D74 42400000
D2000000 00000000

[Parallax Barrier with Depth + (Deeper 3D)]
D3000000 00000000
00181D74 43000000
D2000000 00000000

[Parallax Barrier with Depth ++ (Deeper 3D)]
D3000000 00000000
00181D74 43200000
D2000000 00000000

[Parallax Barrier with Depth +++ (Eyesore 3D)]
D3000000 00000000
00181D74 43500000
D2000000 00000000
 
Last edited by DSoryu,
  • Like
Reactions: I pwned U!

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
I also found that address 002D93C8 can somehow change the 3D effect in Ocarina Of Time 3D, but only for "dynamic" 3D when the camera has to focus specifically on the player. The default value for this address is 42400000, the same as the value used by Majora's Mask 3D main 3D effect.

This means that there's more than a single address that can change the 3D behavior, even the moments when the camera "dynamically" can change the 3D depth, frequently seen on Nintendo first party games by the way.
Post automatically merged:

Ok, I found Majora's Mask true 3D Depth address:

00106BC8 41200000

It does increase the 3D effect nicely but still feels kinda off, so it must be paired with the previous address which can make everything closer to the screen, so what must be changed are both:

00106BC8 41200000 -> 42000000
00181D74 42400000 -> 4XX00000

(Replace "XX" by any values of your liking, WARNING: It breaks first person weapon angles, mask transformations and ocarina songs)

For example, for me these values work great:

00106BC8 41900000
00181D74 42D00000

Now I'm looking for the HUD values, which @NanashiFinal13 mentioned earlier as found.
 
Last edited by DSoryu,

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
Monster Hunter 4 Ultimate

[Perfect 3D Effect (use slider to adjust the depth to your liking)]

081C6734 43A00000
081C6730 41900000

0x081C6734 stores the value for "outwards the screen" 3D, so the 3D elements pop up more towards the screen and thus, look much better. On a curious note, Capcom games have both their "inwards" and "outwards" 3D values stored at the same offset lol, so I'm gonna post the other "outwards" addresses later, these should be easy to find.
 
  • Like
Reactions: I pwned U!

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
Yes. Buuuuuuuuut it's usually not worth it for the stupid amount of work needed for it
For games that don't support 3D natively: Yes

For games that already have 3D but is somewhat shitty, is easy but takes time, and the results are game changing!

At least for me, this made me want to replay many games in order to experience a proper 3D experience, for example, Majora's Mask 3D with a better 3D effect like it was in Ocarina of Time has a huge impact on how the game feels and looks, and Monster Hunter 4 Ultimate looks incredibly beautiful.
 
  • Like
Reactions: I pwned U!

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,660
Country
Argentina
Amazing, i was going nuts trying to find Majora's Mask depth value! Im not in my home right now, but as soon as i can i will try the code. I will also post the HUD code for MM. Also, fantastic work, finding the outwards 3D value will make the games look even better in 3D. Im glad that someone more skilled than me have take interest on improving the 3D!
 
  • Like
Reactions: DSoryu

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
Better 3D values (You need to use both codes at the same time)

Depth:
The more you modify it, the inward it looks towards the screen.
Pop: The more you modify, the outward it looks towards the screen.

Modify XXX00000 in both values to increase/decrease the intensity, WARNING, don't go above 4XXXXXXX or else the game may crash.


RESIDENT EVIL REVELATIONS 3D USA BETTER 3D:
3D DEPTH

0852EFB0 -> 41900000

3D POP
0852EFB4 -> 43000000

Camera Change Bypass (The game will reset the 3D values when changing to FPS mode if this is not set)
0852EFB8 -> 3F90AAAB

For other moders reference:
Default values are:

Depth: 40200000
Pop: 41200000

In Capcom games, the following values are persistent, and this is my guess on what those do:

3F800000 <- Slider Status (ON/OFF)
3F90AAAB <- Camera is near the player
3F83BADE <- ???

The following addresses also have values similar to the 3D Depth values, however, changing them doesn't have any effect apparently:

852F148
852F14C

Now, let's give The Mercenaries 3D justice to his name, because the "3D" in that game was terribly lame

RESIDENT EVIL THE MERCENARIES 3D USA IMPROVED 3D:

3D DEPTH

081DC610 -> 4189999A

3D POP
081DC614 -> 43053333

DEFAULT VALUES (Modify XXX00000 to increase/decrease the intensity)

4019999A
42453333

I'm documenting everything I find in order to make easier to find the 3D depth values for other game/engines.

I wonder though, why did Capcom lerft their RE games on the 3DS with such a lame 3D effect by default when they could have easily implement a better looking solution? Doesn't make any sense for me lol

NOTE: For those using my suggested values, those are intended to be the MAX 3D slider values, so if you want the effect to be less agresive, just adjust it with your actual physical 3DS 3D slider until it feels comfortable to your eyes.

For users who have no experience with AR codes in the 3DS, I'm gonna post pre-baked cheat text files later in a separata thread, where I will gather all the findings we have made so far in a form of a database, @NanashiFinal13 @Hazerou I will post your codes there once you both give me your permission :D
 

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,660
Country
Argentina
Better 3D values (You need to use both codes at the same time)

Depth:
The more you modify it, the inward it looks towards the screen.
Pop: The more you modify, the outward it looks towards the screen.

Modify XXX00000 in both values to increase/decrease the intensity, WARNING, don't go above 4XXXXXXX or else the game may crash.


RESIDENT EVIL REVELATIONS 3D USA BETTER 3D:
3D DEPTH

0852EFB0 -> 41900000

3D POP
0852EFB4 -> 43000000

Camera Change Bypass (The game will reset the 3D values when changing to FPS mode if this is not set)
0852EFB8 -> 3F90AAAB

For other moders reference:
Default values are:

Depth: 40200000
Pop: 41200000

In Capcom games, the following values are persistent, and this is my guess on what those do:

3F800000 <- Slider Status (ON/OFF)
3F90AAAB <- Camera is near the player
3F83BADE <- ???

The following addresses also have values similar to the 3D Depth values, however, changing them doesn't have any effect apparently:

852F148
852F14C

Now, let's give The Mercenaries 3D justice to his name, because the "3D" in that game was terribly lame

RESIDENT EVIL THE MERCENARIES 3D USA IMPROVED 3D:

3D DEPTH

081DC610 -> 4189999A

3D POP
081DC614 -> 43053333

DEFAULT VALUES (Modify XXX00000 to increase/decrease the intensity)

4019999A
42453333

I'm documenting everything I find in order to make easier to find the 3D depth values for other game/engines.

I wonder though, why did Capcom lerft their RE games on the 3DS with such a lame 3D effect by default when they could have easily implement a better looking solution? Doesn't make any sense for me lol

NOTE: For those using my suggested values, those are intended to be the MAX 3D slider values, so if you want the effect to be less agresive, just adjust it with your actual physical 3DS 3D slider until it feels comfortable to your eyes.

For users who have no experience with AR codes in the 3DS, I'm gonna post pre-baked cheat text files later in a separata thread, where I will gather all the findings we have made so far in a form of a database, @NanashiFinal13 @Hazerou I will post your codes there once you both give me your permission :D
Great work! Of course, you can post my codes on another thread or database! Tomorrow, when i get home, i will try all of this and i will try to find "outside" 3D value for the games i already post the "inside value"
Post automatically merged:

I was just messing with the gsp module values randomly, so this is not doable (as is) with action replay codes.

I started to use CTRPF and I found the value for Majora's Mask 3D, it's located at

00181D74

But here's the catch:

Default value is 424
If you increase it to, for example, 430, the 3D effect will get higher, but is a bit different than the other games, as everything will pop "outside" the screen instead of the "inside", and if you want a "slider on/3D off" effect, you need to set it above 450 instead of 000

I found this by searching "34000000" value instead of the commonly seen "41200000" as I assumed that MM used OoT 3D engine and that instruction was set before the 3D depth value.

I'm still researching if we can also modify if the screen pops outside or inside, similar to how camera calibration works, so I'll start debugging the camera app to look up those values.

EDIT: The codes I made for Majora's Mask, note that this is the "pop out" version of this cheat, maybe paired with @NanashiFinal13 HUD code it'll work better.

[Parallax Barrier without Depth (No 3D)]
D3000000 00000000
00181D74 70000000
D2000000 00000000

[Parallax Barrier with Depth (Normal 3D)]
D3000000 00000000
00181D74 42400000
D2000000 00000000

[Parallax Barrier with Depth + (Deeper 3D)]
D3000000 00000000
00181D74 43000000
D2000000 00000000

[Parallax Barrier with Depth ++ (Deeper 3D)]
D3000000 00000000
00181D74 43200000
D2000000 00000000

[Parallax Barrier with Depth +++ (Eyesore 3D)]
D3000000 00000000
00181D74 43500000
D2000000 00000000
LoZ:MM Hud depth adress:
006B3614 XXX00000
(Default value is 41200000)
 
Last edited by NanashiFinal13,
  • Like
Reactions: DSoryu

NanashiFinal13

Well-Known Member
Member
Joined
May 1, 2017
Messages
409
Trophies
0
Age
30
XP
2,660
Country
Argentina
[Parallax Barrier without Depth (No 3D)]


D3000000 14000000


002AC1E8 00000000


D2000000 00000000




[Parallax Barrier with Depth (Normal 3D)]


D3000000 14000000


002AC1E8 41200000


D2000000 00000000





[Parallax Barrier with Depth + (Deeper 3D)]


D3000000 14000000


002AC1E8 41900000


D2000000 00000000




[Parallax Barrier with Depth ++ (Deeper 3D)]


D3000000 14000000


002AC1E8 42000000


D2000000 00000000
 
Last edited by NanashiFinal13,

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
I'm still gathering new codes for a bunch of games to make the new thread but I'm posting this as I stumbled into something interesting:

Mario Kart 7 has every depth values triggers in a single offset!!

0069CAC4 -> 413851EC

Default value is 423851EC

Each byte serves for this:
4= 4 or more, 3D effect off, 4 or less is on, IT MAY CRASH THE GAME SO BE CAREFUL.
23= The less the value, the more the 3D depth effect goes.
85= HUD Depth (crashes the game unfortunately, so this trigger got unused, the actual HUD value is mentioned later)
1EC= 3D "POP OUT" value, currently it crashes, so I should find the pointer for this value first.

Weirdly enough, there's unused code which maps left and right buttons to set the second byte between 1 and 2, so at some point the Depth values where planned to be manually toggleable by the user, similar on how Super Mario 3D Land has the up and down buttons to change the 3D depth values.

Now the addresses that hold the 3D depths for those triggers:

HUD 3D DEPTH
0069CAB8

HUD SIZE
0069CABC

3D DEPTH (Restart the race to see the changes, or change the trigger byte value to see it immediately)
0069CAC8

3D POP OUT
NOT FOUND YET


Maybe at some point it would be nice to restore that unused feature as the unused 3D effect looks stunning!!

Here's the AR code if someone is interested on it:

[RESTORE 3D EFFECT (dpad right to enable, dpad left to disable)]

DD000000 00000010
D3000000 00000000
0069CAC4 412851EC
D2000000 00000000
DD000000 00000020
0069CAC4 420851EC
D2000000 00000000
 
Last edited by DSoryu,

DSoryu

GBA/NDS Maniac
Member
Joined
May 5, 2010
Messages
2,356
Trophies
2
Location
In my house
XP
4,756
Country
Mexico
Ok, I'm nearly finished so I will post the new thread later today!, just passing by to share some interesting findings I did with the following game.

HATSUNE MIKU PROJECT MIRAI DX USA 0004000000148C00

Everything are float values

DV= Default Value

STEREO 3D DEPTH:

004DCB58 - DV: 41200000

STEREO 3D POP ANGLE? (1.0, HIGHER OR NEGATIVE WILL CRASH THE GAME):
004DCB3C

STEREO 3D POP OUT:
004DCB30 - DV 40A00000

STEREO 3D FOV:
0015205C - DV (DO IT SLOWLY OR THE GAME MAY CRASH): 40000000 (FLOAT 2.0)

Camera Size?:
00333A14 (float 1.0)

STEREO 3D Slider on/off:
00333A10 (float 1.0, anything different will turn off stereo 3D)

3D FOV:
00333A08 (float between -1 and 1)

3D INCLINATION (EYESORE):
0034A3A8
 
  • Like
Reactions: NanashiFinal13

Deleted member 42501

Well-Known Member
Member
Joined
Jun 16, 2006
Messages
1,724
Trophies
2
XP
4,259
Could this post processing 3D be implemented into existing emulators?

Meaning is it resource intensive and can it be tuned into a code base of sorts that could be applied to regular titles? I noticed the current Sonic CD port adds 3D rendering and it got me thinking why other devs haven't used it? Does it have to be baked in to the source code or can you just edit registers and render?

Would be cool even if its just a fake depth effect. The PC Engine emulator especially as there are such distinct layers and bold art in the games. Plus it runs perfectly on o3DS so should be plenty of overhead for the effect.
 
Last edited by Deleted member 42501,

Aquamagician

New Member
Newbie
Joined
Jun 24, 2019
Messages
2
Trophies
0
Age
21
XP
69
Country
United States
Is there a way to reintroduce 3d to Strange Journey Redux since other 3ds smt games already have 3d? Plus Ive heard theres 3d only for fusion scenes already in SJR.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: My current case