Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 483

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /www/htdocs/njssjfu/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3830: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3831: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3832: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:483)
Action Replay Central :: View topic - Zelda code porting help

Action Replay Central

Official Forums of ARCentral.net
IRC:cookie.sorcery.net #ARCentral
* FAQ   * Rules   * Search   * Members   * The Staff
* Login
It is currently Sun Nov 19, 2017 2:36 pm

Zelda code porting help


Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Oct 18, 2006 2:40 pm   Post subject: Zelda code porting help
Adventurer (250-300)
User avatar

Joined: Thu Jul 08, 2004 5:46 am
Posts: 264
Location: Belgium
http://www.arcentral.net/otherGames/Ocarina.html

I want to port the codes at the bottom to PAL. The problem is, I have no idea what those must be on codes are and how I should find them for PAL. So can somebody please help me with this? Thanks!
Top Profile E-mail
PostPosted: Sat Oct 21, 2006 12:22 am   Post subject:
Gold Member

Joined: Thu Jul 17, 2003 2:11 pm
Posts: 4218
Y.S. posted a much shorter version of the code at GSC.org before the forums died. :(

As for the codes on the site ...

They are ASM. Have you programmed in ASM for the GameCube before?
Top Profile
PostPosted: Sat Oct 21, 2006 3:52 am   Post subject:
Adventurer (250-300)
User avatar

Joined: Thu Jul 08, 2004 5:46 am
Posts: 264
Location: Belgium
Not really... But maybe I should learn ASM now. Any guides/tutorials I should use?
_________________
<center>Image</center>
Top Profile E-mail
PostPosted: Sat Oct 21, 2006 3:23 pm   Post subject:
Gold Member

Joined: Thu Jul 17, 2003 2:11 pm
Posts: 4218
I like this sheet for most ASM instructions, but Google is also your friend.

I'm pretty sure that this is the code disassembled.

80002F10: 3F2080D0 lis r25,-32560
80002F14: 6339A096 ori r25,r25,41110
80002F18: 7C193840 cmplw r25,r7
80002F1C: 40820014 bne- 0x80002f30
80002F20: 3F208000 lis r25,-32768
80002F24: 63392F04 ori r25,r25,12036
80002F28: A3390000 lhz r25,0(r25)
80002F2C: B3270000 sth r25,0(r7)
80002F30: 8B270000 lbz r25,0(r7)
80002F34: 4866BDE8 b 0x8066ed1c


80002F40: 3EE080D0 lis r23,-32560
80002F44: 62F7A125 ori r23,r23,41253
80002F48: 7C173840 cmplw r23,r7
80002F4C: 40820014 bne- 0x80002f60
80002F50: 3EE08000 lis r23,-32768
80002F54: 62F72F08 ori r23,r23,12040
80002F58: A2F70000 lhz r23,0(r23)
80002F5C: B2E7FFFF sth r23,-1(r7)
80002F60: 8AE7FFFF lbz r23,-1(r7)
80002F64: 4866BCDC b 0x8066ec40


80002F70: 3F6080D0 lis r27,-32560
80002F74: 637BA134 ori r27,r27,41268
80002F78: 7C1B3840 cmplw r27,r7
80002F7C: 40820014 bne- 0x80002f90
80002F80: 3F608000 lis r27,-32768
80002F84: 637B2F0C ori r27,r27,12044
80002F88: A37B0000 lhz r27,0(r27)
80002F8C: B367FFFE sth r27,-2(r7)
80002F90: 8B67FFFE lbz r27,-2(r7)
80002F94: 4866BDEC b 0x8066ed80


Basically, you need the three memory addresses for the model switch and then put a bpr on them. After that, modifying this code is pretty straight-forward.

These are the three addresses for the Zelda Collection disk U.S. See if you can find where they're used and how they're used in the above program. ;)

OoT U (on Zelda Collection disk)
02D0A096 0000xxxx
02D0A124 0000yyyy
02D0A132 0000zzzz
Top Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group