Dolphin, the GameCube and Wii emulator - Forums

Full Version: AR Coding With Admentus
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
Two more ported codes for today:

Code:
$No Bottled Fairies (AR Code) (NARE01)
0910C7D2 00000016
0110C7D2 00000012
0910C7D3 00000016
0110C7D3 00000012
0910C7D4 00000016
0110C7D4 00000012
0910C7D5 00000016
0110C7D5 00000012
0910C7D6 00000016
0110C7D6 00000012
0910C7D7 00000016
0110C7D7 00000012
0910C79D 00000016
0110C79D 00000012
0910C79E 00000016
0110C79E 00000012
0910C79F 00000016
0110C79F 00000012

$Keep Potions, Milk and Fairies After Song of Time (AR Code) (NARE01)
8D303CA4 804DCD90
8910C76B 00000001
0910C802 00000013
0110C7D2 00000013
0910C802 00000014
0110C7D2 00000014
0910C802 00000015
0110C7D2 00000015
0910C802 00000016
0110C7D2 00000016
0910C802 00000018
0110C7D2 00000018
0910C802 00000019
0110C7D2 00000019
0910C802 00000025
0110C7D2 00000025
0910C803 00000013
0110C7D3 00000013
0910C803 00000014
0110C7D3 00000014
0910C803 00000015
0110C7D3 00000015
0910C803 00000016
0110C7D3 00000016
0910C803 00000018
0110C7D3 00000018
0910C803 00000019
0110C7D3 00000019
0910C803 00000025
0110C7D3 00000025
0910C804 00000013
0110C7D4 00000013
0910C804 00000014
0110C7D4 00000014
0910C804 00000015
0110C7D4 00000015
0910C804 00000016
0110C7D4 00000016
0910C804 00000018
0110C7D4 00000018
0910C804 00000019
0110C7D4 00000019
0910C804 00000025
0110C7D4 00000025
0910C805 00000013
0110C7D5 00000013
0910C805 00000014
0110C7D5 00000014
0910C805 00000015
0110C7D5 00000015
0910C805 00000016
0110C7D5 00000016
0910C805 00000018
0110C7D5 00000018
0910C805 00000019
0110C7D5 00000019
0910C805 00000025
0110C7D5 00000025
0910C806 00000013
0110C7D6 00000013
0910C806 00000014
0110C7D6 00000014
0910C806 00000015
0110C7D6 00000015
0910C806 00000016
0110C7D6 00000016
0910C806 00000018
0110C7D6 00000018
0910C806 00000019
0110C7D6 00000019
0910C806 00000025
0110C7D6 00000025
0910C807 00000013
0110C7D7 00000013
0910C807 00000014
0110C7D7 00000014
0910C807 00000015
0110C7D7 00000015
0910C807 00000016
0110C7D7 00000016
0910C807 00000018
0110C7D7 00000018
0910C807 00000019
0110C7D7 00000019
0910C807 00000025
0110C7D7 00000025
0110C802 00000000
0110C803 00000000
0110C804 00000000
0110C805 00000000
0110C806 00000000
0110C807 00000000
4910C79D 00000012
0110C79D 000000FF
0110C7AD 000000FF
4910C79E 00000012
0110C79E 000000FF
0110C7AE 000000FF
4910C79F 00000012
0110C79F 000000FF
0110C7AF 000000FF
00000000 40000000
D331CF46 0000FF08
D5303CA4 804DCD90
0910C7D2 00000012
0110C802 00000000
0910C7D2 00000013
0110C802 00000013
0910C7D2 00000014
0110C802 00000014
0910C7D2 00000015
0110C802 00000015
0910C7D2 00000016
0110C802 00000016
0910C7D2 00000018
0110C802 00000018
0910C7D2 00000019
0110C802 00000019
0910C7D2 00000025
0110C802 00000025
0910C7D3 00000012
0110C803 00000000
0910C7D3 00000013
0110C803 00000013
0910C7D3 00000014
0110C803 00000014
0910C7D3 00000015
0110C803 00000015
0910C7D3 00000016
0110C803 00000016
0910C7D3 00000018
0110C803 00000018
0910C7D3 00000019
0110C803 00000019
0910C7D3 00000025
0110C803 00000025
0910C7D4 00000012
0110C804 00000000
0910C7D4 00000013
0110C804 00000013
0910C7D4 00000014
0110C804 00000014
0910C7D4 00000015
0110C804 00000015
0910C7D4 00000016
0110C804 00000016
0910C7D4 00000018
0110C804 00000018
0910C7D4 00000019
0110C804 00000019
0910C7D4 00000025
0110C804 00000025
0910C7D5 00000012
0110C805 00000000
0910C7D5 00000013
0110C805 00000013
0910C7D5 00000014
0110C805 00000014
0910C7D5 00000015
0110C805 00000015
0910C7D5 00000016
0110C805 00000016
0910C7D5 00000018
0110C805 00000018
0910C7D5 00000019
0110C805 00000019
0910C7D5 00000025
0110C805 00000025
0910C7D6 00000012
0110C806 00000000
0910C7D6 00000013
0110C806 00000013
0910C7D6 00000014
0110C806 00000014
0910C7D6 00000015
0110C806 00000015
0910C7D6 00000016
0110C806 00000016
0910C7D6 00000018
0110C806 00000018
0910C7D6 00000019
0110C806 00000019
0910C7D6 00000025
0110C806 00000025
0910C7D7 00000012
0110C807 00000000
0910C7D7 00000013
0110C807 00000013
0910C7D7 00000014
0110C807 00000014
0910C7D7 00000015
0110C807 00000015
0910C7D7 00000016
0110C807 00000016
0910C7D7 00000018
0110C807 00000018
0910C7D7 00000019
0110C807 00000019
0910C7D7 00000025
0110C807 00000025

Keep Potions, Milk and Fairies After Song of Time had to be adjusted a bit specifically for the VC version. Not much through.
Fix for 30 FPS... Entering Termina Field caused a freeze.

Code:
$30 FPS Switch (Part 2) (AR Code) (NARE01)
D331CF46 00000000
C931AB1D 00000000
08002FC2 00000001
01303CA2 00000003
89303CA2 00000003
0129F6C1 00000003
0929F5E3 00000002
0129F5E3 00000003
1129F5E3 00000000
0129F5E3 00000003
00000000 40000000
C8002FC2 00000000
01303CA2 00000002
0B31D8FC 00000302
01303CA2 00000003
4B31CF46 00003208
0B31CEE0 0000100B
01303CA2 00000003
0B31CF46 0000FF08
01303CA2 00000003
0931CE96 00000001
01303CA2 00000002
0B31D977 00000100
01303CA2 00000002
0931D048 00000001
01303CA2 00000002
090F4C24 00000001
01303CA2 00000002
C9303CA2 00000002
0129F6C1 00000002
0303318E 00000006
030337E2 00000000
3331CF00 00004120
0331CF04 0000BF34
0B31D0E4 000040E0
0331CF04 0000BF34
0B31D0E4 00004110
0331CF04 0000BF34
0B31D0E4 00004120
0331CF04 0000BF34
4B31CF46 00005008
0B31D0E4 00004120
0331CF04 0000BF00
4B31CF46 00003208
0B31D0E4 000040A0
0531D0EC 3F4CCCCD
4B31CF46 00003208
0B31D0E4 00004110
0531D0EC 3F4CCCCD
4B31CF46 00005008
0B31D0E4 000040E0
0531D0EC 3F333333
4B31CF46 00005008
0B31D0E4 00004110
0531D0EC 3F333333
4B31CF46 00005008
0B31D0E4 00004120
0531D0EC 3F333333
4B31CF46 0000C808
0B31D0E4 00004140
0531D0EC 3F800000
4B31CF46 0000C808
0B31D0E4 00004198
0531D0EC 3F800000
0D31D0EC 3FA00000
0531D0EC 3F900000
4B31CF04 0000BFB3
0B31D0E4 00004140
0331CF04 0000BFD0
4B31CF04 0000BFB3
0B31D0E4 00004120
0331CF04 0000BFD0
0B31CF04 0000C0B0
0331CF04 0000C050
0B31D0E4 00004150
0331CF04 0000BF34
0B31D0E4 00004160
0331CF04 0000BF34
0B31D0E4 00004170
0331CF04 0000BF34
0B31D9B8 000000C8
02002FC4 00000000
4B31D9B8 00000034
0A002FC4 00000001
0331D9B8 00000031
0B31D9B8 00000033
02002FC4 00000001
0B31D9B8 00000032
0331D9B8 000000B7
5129F5E3 00000000
0D10C764 00000000
0129F5E3 00000002
5129F5E3 00000000
0D10C764 FFFFFFFE
0129F5E3 00000003

$Damage Taken 2x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
03032A42 00002840
05032A44 00000000

$Damage Taken 4x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
03032A42 00002880
05032A44 00000000

$Damage Taken 8x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
03032A42 000028C0
05032A44 00000000

$Heart Recovery 1/2x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
4B032A42 000028C0
0D032A44 00000000
03032A42 00002900
4B032A42 00002880
0D032A44 00000000
03032A42 000028C0
4B032A42 00002840
0D032A44 00000000
03032A42 00002880
0B032A42 00002C00
03032A42 00002840
05032A44 00052843

$Heart Recovery 1/4x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
4B032A42 000028C0
0D032A44 00000000
03032A42 00002940
4B032A42 00002880
0D032A44 00000000
03032A42 00002900
4B032A42 00002840
0D032A44 00000000
03032A42 000028C0
0B032A42 00002C00
03032A42 00002880
05032A44 00052883

$Heart Recovery 0x (AR Code) (NARE01)
01032A1F 00000009
01032A2F 00000004
4B032A42 000028C0
0D032A44 00000000
03032A42 00002A00
4B032A42 00002880
0D032A44 00000000
03032A42 000029C0
4B032A42 00002840
0D032A44 00000000
03032A42 00002980
0B032A42 00002C00
03032A42 00002940
05032A44 00052943

Even more codes...
I have successfully ported all AR / Gecko Codes from the US GameCube to the US Virtual Console version of Majora's Mask. I just have to check for a few things.

In addition some incorrect and missing textures were fixed for the VC version. That will be part of the next texture pack update as well. More on that later.

Hopefully tomorrow I have the converted AR / Gecko Codes properly formatted in the main texture pack thread and download links. I am not going to post the individual codes for now. There have simply been to many changes. Instead, I will format it into the GameIni file.

There might still be errors once I have uploaded the new codes. So use it on your own risk for now, until it has been properly checked. Bug reports would be useful. I don't expect codes to alter save data where it should not. All save data changing codes should be checked for. But again, use on your own risk.

I would recommend the following for applying codes:
- Enable the codes you want
- Reboot the game, no save state, some AR codes need to be applied directly during booting
- Play around for a save, avoid saving directly
- Once you think nothing weird has happened, feel free to save

In case you think any AR Code caused a save data corruption, let me know. I might be able to revert it for you, otherwise I can provide you with the codes to quickly speed up progress for a replay.

Once the codes are ready, I will inform so in the main texture pack thread.
I have posted Hard Mode codes for Paper Mario: The Thousand-Year Door previously, but I found some new and useful improvements. Keep in mind, I don't take credit for those codes. They are not mine. I purely posted them here because they deserve some more recognization.

A few advantages why to use these specific new Hard Mode codes:
- Global, affects every enemy and boss
- Shouldn't crash anymore on specific enemies (Koopa Troopa's previously crashed the game when attempting to flip them on their back)
- No longer requires a separate enabler code and completely acts on it's own
- Includes DMG boost for enemies as well
- No enemies should be ignored (Goomba's previously ignored increased DEF +1)
- Codes are much shorter
- Codes could easily be adjusted to contain different values
- Codes could easily be adjusted to work on PAL or NTSC-J in addition to NTSC-U

These Hard Mode codes were made by Jdaster64.

I figured I include a free Quick Change Badge as well to compensate for any additional difficulty. Thanks to Nabrix for finding the correct notes and data. If you think any other badges should be free to use as well to compensate for the increase in difficulty I can include that as well.

Paper Mario: The Thousand-Year Door (GameCube) (GM8E01) (NTSC-U)

ALL CODES ARE IN GECKO FORMAT!

Code:
$Quick Change Badge is Free to Equip [Nabrix]
003138E4 00000000
*The BP cost for the Quick Change Badge is reduced from 7 to 0.

$Enemy HP 1.5x [Jdaster64]
C21290CC 00000012
9421FFD0 7C0802A6
90010034 BF410008
83E30000 2C1F00AB
41A1005C 83E30010
57FF07FE 2C1F0001
4182004C A3E30008
3BC00096 2C1E0000
40A1001C 2C1E1388
41810014 7FFFF1D6
3BFF0032 3BC00064
7FFFF3D6 2C1F0001
40A00008 3BE00001
B3E30008 B3E3000A
83E30010 63FF0001
93E30010 BB410008
80010034 7C0803A6
8803000E 38210030
60000000 00000000
*xxxx = multiplier, in percentage (in hex); e.g. 00C8 = 200%
*zzzz = 90CC (NA), 3BE8 (JP), ABB4 (PAL)
*C212zzzz (line 01)
*3BC0xxxx (line 08)

$Enemy HP 2x [Jdaster64]
C21290CC 00000012
9421FFD0 7C0802A6
90010034 BF410008
83E30000 2C1F00AB
41A1005C 83E30010
57FF07FE 2C1F0001
4182004C A3E30008
3BC000C8 2C1E0000
40A1001C 2C1E1388
41810014 7FFFF1D6
3BFF0032 3BC00064
7FFFF3D6 2C1F0001
40A00008 3BE00001
B3E30008 B3E3000A
83E30010 63FF0001
93E30010 BB410008
80010034 7C0803A6
8803000E 38210030
60000000 00000000
*xxxx = multiplier, in percentage (in hex); e.g. 00C8 = 200%
*zzzz = 90CC (NA), 3BE8 (JP), ABB4 (PAL)
*C212zzzz (line 01)
*3BC0xxxx (line 08)

$Enemy DMG 1.5x [Jdaster64]
C20FD890 00000013
9421FFD0 9001002C
7C0802A6 90010034
BF410008 7FBFEB78
83D40004 2C1E00AB
41A10054 A3D7000A
2C1E0000 40820048
2C1F0000 40810040
3BC00096 2C1E0000
40A1001C 2C1E1388
41810014 7FFFF1D6
3BFF0032 3BC00064
7FFFF3D6 2C1F0001
40A00008 3BE00001
2C1F0063 40A10008
3BE00063 7FE0FB78
BB410008 7C1D0378
3C7E0002 80010034
7C0803A6 8001002C
38210030 00000000
*xxxx = ATK Multiplier in % (in hex); e.g. 00C8 = 200%
*zzzz = D890 (NA), 8918 (JP), E6FC (PAL)
*C20Fzzzz (line 01)
*3BC0xxxx (line 09)

$Enemy DMG 2x [Jdaster64]
C20FD890 00000013
9421FFD0 9001002C
7C0802A6 90010034
BF410008 7FBFEB78
83D40004 2C1E00AB
41A10054 A3D7000A
2C1E0000 40820048
2C1F0000 40810040
3BC000C8 2C1E0000
40A1001C 2C1E1388
41810014 7FFFF1D6
3BFF0032 3BC00064
7FFFF3D6 2C1F0001
40A00008 3BE00001
2C1F0063 40A10008
3BE00063 7FE0FB78
BB410008 7C1D0378
3C7E0002 80010034
7C0803A6 8001002C
38210030 00000000
*xxxx = ATK Multiplier in % (in hex); e.g. 00C8 = 200%
*zzzz = D890 (NA), 8918 (JP), E6FC (PAL)
*C20Fzzzz (line 01)
*3BC0xxxx (line 09)

$Enemy DEF +1 [Jdaster64]
4A000000 800FDB28
14000000 7F8400AE
14000004 7F6300AE
1400000C 2C000002
D2000008 0000000D
9421FFD0 9001002C
7C0802A6 90010034
BF410008 7F9F0774
83D50004 2C1E00AB
41A10028 2C1F0063
40800020 3BFF0001
2C1F0000 40A00008
3BE00000 2C1F0063
40A10008 3BE00063
7FE0FB78 BB410008
7C1C0378 80010034
7C0803A6 8001002C
38210030 00000000
4A000000 80000000
*xxxx = number to add/subtract (in hex); works properly with flipped enemies, elemental resistance, etc.
*zzzz = DB28 (NA), 8BB0 (JP), E994 (PAL)
*4A000000 800Fzzzz (line 01)
*40800020 3BFFxxxx (line 11)

The Hard Mode codes can be easily adjusted to contain different values. They should also be able to work on the PAL or NTSC-J versions with some minor changes (read the notes).

EDIT:

Some more useful codes I found.

Code:
$Enemies Always Drop Held Items/Badges [balmz]
C204EC14 0000000F
9421FFD4 BF610018
7C7B1B78 7C9C2378
38830248 38600000
3BA00008 3BE10006
3BDF0002 84040004
2C000000 41A2000C
B41F0002 38630001
37BDFFFF 4082FFE8
2C030000 4182001C
3C808000 60845DA0
7C8803A6 4E800021
1CA30002 7CBE2A2E
7F63DB78 7F84E378
BB610018 3821002C
7FC3F378 00000000

$Get Much More Coins After Battle [Ralf]
04046F74 48000014

$Run Away From Battle: 100% Success Rate [Ralf]
C2136F74 00000003
A81E0026 280000B4
881E002B 40820008
380000FF 00000000

$Journal: All Badges [Ralf]
023DADA0 0005FFFF
48000000 8041EC30
DE000000 80008180
14000E98 00000055
E0000000 80008000

$Journal: All Recipes [Ralf]
023DAD98 0003FFFF
48000000 8041EC30
DE000000 80008180
14000F98 00000039
E0000000 80008000

$Bingo! Battle Event: Never Get Poison Mushrooms [Ralf]
C2204620 00000003
28000004 40820008
38000000 C83F0270
60000000 00000000
C2204D50 00000003
28000004 40820008
38000000 901A0010
60000000 00000000

$Poison Mushroom Bingo!: Disable HP/FP/SP Reduction [Ralf]
04203F78 418200D4

$Poison Mushroom Bingo!: Disable Audience Reduction [Ralf]
042040E4 2C000004

$Disable Bingo! Battle Event [Ralf]
042034BC 480001B8
Tested the 30fps codes for majoras mask VC version, runs smooth, better than collectors edition version, which has some random lag/stuttering from time to time. Do you intend to make a 60fps version of the code? Is it even possible?
(03-18-2020, 10:21 AM)Duke91 Wrote: [ -> ]Tested the 30fps codes for majoras mask VC version, runs smooth, better than collectors edition version, which has some random lag/stuttering from time to time. Do you intend to make a 60fps version of the code? Is it even possible?

Nope. I am not going to make a 60 FPS code. While it's technically possible (in fact, all you gotta do is change all instances of 01303CA2 00000002 to 01303CA2 00000001 and 0129F6C1 00000002 to 0129F6C1 00000001, this will set the FPS to 60 and adjust link's walking animation) I would certainly not recommend doing so.

First of all, the CPU Clock Override you are going to need is going to be insane. While 175% suffices for 30 FPS you might require 300% or even higher. I don't know exactly. 30 FPS is a 50% increase in FPS but 60 FPS is a 200% increase in FPS.

The second issue you will be facing is an amplification from all existing 30 FPS issues. If you thought you deal with 30 FPS before, try so again in 60 FPS. Just about all timings and animations are about 200% faster rather than 50% faster. The 30 FPS code makes a lot of adjustments to adjust those timings and animations to last as long as it should on regular 20 FPS. Some timing adjustment would be nearly impossible to fix on 60 FPS while they could be fixed on 30 FPS (burning Deku Stick for example).
Huh? Ocarina of Time? In 30 FPS? In Widescreen? Ohh wait... There's the N64 button colors. Huh? In German? Wait... That's PAL right?

Uhh... I'm guessing the AR Codes collection will be making it's way to the PAL discs soon?

It's going to be a matter of porting. Errors can occur due to the porting of AR Codes.

In addition NTSC-U versions will receive some fixes and some of the missing codes from the other versions.

SoonTM.
Hmm... Interesting... A working Map Select code...

$Master Quest -> Map Select (AR Code) (D43E01)
04BE17E8 00000000

Should be extremely useful for quickly accessing areas for debugging and retexturing.

Code:
--- Scene ID values ---
Gohma:
0x0000040F

King Dodongo:
0x0000040B

Barinade:
0x00000301

Phantom Ganon:
0x0000000C

Bongo Bongo:
0x00000413

Volvagia:
0x00000305

Morpha:
0x00000417

Twinrova:
0x000005EC

Ganondorf (Cutscene & Battle):
0x00000041F

Ganon (Cutscene & Battle):
0x00000517

Chamber of Sages:
0x0000006B

Temple of Time:
0x00000053

Luckily finding the correct ID's is easy with some proper debugging.

EDIT:

There's one for Majora's Mask as well, but uses different ID values obviously.

$Majora's Mask -> Map Select (AR Code) (PZLE01)
04CBC0B0 00000000

$Majora's Mask -> Map Select (AR Code) (NACE01)
0510C750 00000000

Code:
--- Scene ID values ---
East Clock Town:
0x0000D230

South Clock Town:
0x0000D800

Odolwa:
0x00003800

Goth:
0x00008200

Gyorg:
0x0000B800

Twinmold (Pre-Room):
0x00002A10

Twinmold (Arena):
0x00006600

The Moon:
0x0000C800

Majora's Mask:
0x00000200
Since it has been a while ago, almost a year, but codes are still being updated, but mostly in since over here: https://github.com/Admentus64/Enhancement-Codes

Just recently, the 30 FPS code for OoT (8 MB VC) got updated. New Hover Boots fix by BrianMp16 (original code for PZLE01) got ported.

(yes, I am aware it's necroposting lol, hopefully it's fine since it's my own thread, I still occasionally update AR codes since I started ROM editing)

Code:
$30 FPS (Part 4 - Hover Boots) [BrianMp16]
C912B0C1 00000002
8D768094 00000000
89055719 00000000
B976812C 00000040
0913F3D3 00000013
0113F3D2 00000000
0913F3D3 00000000
0113F3D2 00000000
8913EC8F 00000002
A913F3D2 00000009
8913F3D3 0000000D
8113F3D2 00000001
0113F3D3 0000000E
00000000 40000000
8913F3D2 00000009
B113F3D3 0000000C
0113F3D2 00000000
0113F3D3 0000000C
00000000 40000000

Like all other codes, doesn't work for vanilla OoT US on the Wii VC. Patch it with Patcher64+ first using Downgrade and Expand Memory.

Original code for OoT on PZLE01 by BrianMp16 below. Use 09 instead of XX (twice) for proper 30 FPS timings.

Code:
Hover Boots Last Longer by XX Frames (PZLE01)
8CBE028C 00000000
88C9F0D5 00000000
B8BE0324 00000040
08CA1573 00000013
00CA1572 00000000
08CA1573 00000000
00CA1572 00000000
88CA0E2F 00000002
A8CA1572 000000XX
88CA1573 0000000D
80CA1572 00000001
00CA1573 0000000E
00000000 40000000
88CA1572 000000XX
B0CA1573 0000000C
00CA1572 00000000
00CA1573 0000000C
00000000 40000000
Thank you for you work so far!

Is there any chance you could make a widescreen patch for Budokai Tenkaichi 2 & 3?
Pages: 1 2 3 4 5 6 7 8 9 10