Skip Princess event

Go down

Skip Princess event Empty Skip Princess event

Post by Oink Wed 30 Apr 2014 - 2:22


How can I skip that event, as in parallel demonstration of sequel, I want to start from the other side, I want to put some text and maybe start looking, for example, (3 pearls).
But the case of the princess and the rain like me away somehow.
Sorry my english.

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Conn Wed 30 Apr 2014 - 6:21

That's easy. Get familiar with the srm start-up modifier

https://www.zeldix.net/t389-start-sram-modifier

You want to start at 7003c5-03
Conn
Conn

Skip Princess event Image212

Since : 2013-06-30

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Oink Wed 30 Apr 2014 - 8:17

Sorry but that is apparently sram Linux newbie? ....
And apply it to the game?

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Puzzledude Wed 30 Apr 2014 - 8:53

What you need to do is apply Conn's Asm on the rom with xkas. This can be a problem for beginners, since xkas is dos based (like zcompress). I've actually never done that with this Asm, since I was already using the other version by Euclid.

Euclid's srm custom start in hex:
-remove header
-go to 65C5A in hex and change the A0 00 00 into 20 B1 FF (hook)

-go to 67FB1 in hex (should be empty FF bytes)
-new main code at 67FB1:
A9 02 33 9F C5 03 70 A9 05 01 9F C7 03 70 A9 01 01 9F 59 03 70 A0 00 00 60

the second byte controls the event. 02 is part1 mode (skips rain= beginning mode). 03 is part2 mode= crystals, Agahnim defeated. 02 is part 01 mode= pendants, Zelda rescued. 02 is default.

events: beginning-----part1(pendants)------part2(crystals)
events (byte values): 01-----02-----03

the 16th byte is sword level and 17th byte shield levels. Sword must be 01 to avoid sword buggs (otherwise new Asm is needed to correctly obtain sword from chest).

--------------

I then use the original code by Nintendo for the startup srm properties: which starts at 274C6. This is the first item= bow. 00 is no bow, 01 is have bow. Followed by boomerang at 274C7 etc. So with the above knowledge I can start with any item in any event. The only mandatory things are: must have sword and shield 1, and must start from church by default. This last thing can also be changed, but with HM, by changing the room and properties of the default-church srm start.
Puzzledude
Puzzledude

Skip Princess event Image213

Since : 2012-06-20

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Oink Wed 30 Apr 2014 - 9:58

Okay now I understand a little fiddling xkas but I'm very noob would go either a guide or something.

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Conn Wed 30 Apr 2014 - 10:45

I won't be able to help much since Linux is unfamiliar with me..

You Need to copy the following code into a newly created file called "sram.asm":

Code:

lorom

org $0cdc5a ; jsr to main code
jsr $ffb1

org $0cffb1 ; main code

LDA #$0203      ; 03=part of the game $3C5 -
STA $7003C5,x ;  02=Progress flags (after princess is brought to cathedral) $3c6

LDA #$0103      ; 03=Map indicator, 3 crystals $3c7 -         
STA $7003C7,x  ; 01=Starting entrance $3C8, cathedral

LDY #$0000              
RTS

you must run this code with xkas. Usually in Windows I have a bat file containing the following:

Code:
xkas sram.asm alttp.sfc
pause
Conn
Conn

Skip Princess event Image212

Since : 2013-06-30

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Oink Wed 30 Apr 2014 - 11:12

Thanks but the problem is not solved, now I have these two files the "sram.asm" "alttp.sfc" and the original rom "Zelda.smc" Now what?

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Puzzledude Wed 30 Apr 2014 - 11:45

You have 2 options:

1.) Hex method (considered easier):

Open your Zelda.smc in a hex editor and remove the header.
Then go to address 65C5A,
and rewrite the A0 00 00 into 20 B1 FF.

Then go to address 67FB1 in hex
and paste (ctrl+B= paste overwrite) this new code into the rom
A9 02 33 9F C5 03 70 A9 05 01 9F C7 03 70 A9 01 01 9F 59 03 70 A0 00 00 60


2.) Asm method (considered advanced):

Run the cmd command line in Linux (this is run/cmd in Windows), should be similar in Linux.

Once you are in dos, type in this
xkas.exe srm.asm Zelda3.smc
+enter, assuming all the above files are in one folder, and that the srm.asm contains the txt based asm written by Conn. I believe the asm is also for non-headered rom. I usually run the cmd from the same folder as well.

PS
You don't need 2 roms (Alttp.sfc is the same as Zelda.smc, just a different name and a non standard sfc rom, instead of standard smc).


PPS
If you still can't do it, I can just make you an IPS.  Wink 
Puzzledude
Puzzledude

Skip Princess event Image213

Since : 2012-06-20

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Oink Wed 30 Apr 2014 - 12:46

Do I get a file of about 416 kb but I don't know what to do with that file, I have to create a ips?
If I could spend the ips created the event you find crystals or just a smc with ips already inserted.
Thank you.

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Puzzledude Wed 30 Apr 2014 - 14:10

You are not a romhacker, are you Oink. How difficut it is to paste these 2 codes into the rom: 20 B1 FF and A9 02 33 9F C5 03 70 A9 05 01 9F C7 03 70 A9 01 01 9F 59 03 70 A0 00 00 60. You basically copy that and paste it in the hex editor, on the specific 2 addresses (I believe I posted this info 3 times). I've done that in 40 seconds.


But ok, I've done this for you and then created the Ips, which applies the Asm/Hex:
http://dl.dropbox.com/s/lkxqoig7sn4uylx/Start-in-part-2-IPS.ips

What you need to do now is apply this IPS patch to the Zelda3 US Non-headered SMC, with Lunar IPS program (I hope you have one that works in Linux).

But SMC files are Not allowed on this forum or any other legal internet site. You must not post a SMC, and no one is allowed to post a shortcut to it.

You must know how to patch the IPS file to SMC on Linux. If you can not perform that, then it makes no sense to be involved with rom modding.
Puzzledude
Puzzledude

Skip Princess event Image213

Since : 2012-06-20

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Conn Wed 30 Apr 2014 - 15:40

Do I get a file of about 416 kb but I don't know what to do with that file, I have to create a ips?
If I could spend the ips created the event you find crystals or just a smc with ips already inserted.
Thank you.
You did not give the correct Rom Name. check whether your Rom is alttp.smc or alttp.sfc (or zelda.smc/zelda.sfc).

then run at the dos prompt the command with your Rom Name like
xkas.exe srm.asm Zelda3.smc
or
xkas.exe srm.asm alttp.sfc
or whatever.

xkas did not find your alttp Rom and thus created a new file of 416 kb to store the code somehow.
Conn
Conn

Skip Princess event Image212

Since : 2013-06-30

Back to top Go down

Skip Princess event Empty Re: Skip Princess event

Post by Oink Thu 1 May 2014 - 5:13

That's it! whole problem was in the version of the rom was not Zelda3 U.S. TT ..
Thanks for your patience! Smile

Oink
Bee
Bee

Since : 2014-04-02

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum