This is a forum dedicated to Zelda hacking (specifically A Link To The Past).
 
HomeGalleryROM MapLatest imagesRAM MapRegisterLog in

 

 Inserting Xkas Patches

Go down 
AuthorMessage
wiiqwertyuiop
Need anything? PM me and i'll try my best to help!
wiiqwertyuiop


Posts : 114
Join date : 2011-12-28

Inserting Xkas Patches Empty
PostSubject: Inserting Xkas Patches   Inserting Xkas Patches EmptyTue Feb 28, 2012 8:33 pm

Things you will need:

Xkas
Slogger or some other freespace finder.
Lunar Expand
Command Prompt (CMD.exe)
A clean ROM (or whatever), preferably header-less.
A patch.


Ok first open your patch. Unless the patch says otherwise, you will need to change the freespace in it. Now in the patch you should see something that says "freeespace" or "change this!!" or something. Lets say it looks like this:

Quote :
!Freespace = $xxxxxx ; Change this!!!

First open LE (Lunar Expand) and expand you ROM to 32Mbit (4mb) and apply it to your ROM. Next drag and drop your ROM over slogger. You should get a text file named the same name as your ROM. Open it and you should see something like this:

Code:

PC offset      LoROM offset      Size

0x0A7FFF      0x14FFFF      0x0001
0x0BFFFF      0x17FFFF      0x0001
0x100000      0x208000      0x8000
0x108000      0x218000      0x8000
0x110000      0x228000      0x8000
...

It may be different, but yeah.

PC offset: This is the SNES address converted to a PC address, ignore it, usually you wont need it (for patching anyway).

LoROM offset: This is our freespace.

Size: This is how big our freespace is. The first two are useless and not recommended to use.

Now copy the address you want to use (e.g. 218000), and paste it over the one in the ASM file. So now we should have this:

Quote :
!Freespace = $218000 ; Freespace (this should be changed)

Ok, now save and close the file. Now open CMD and type this in it:

Quote :
xkas.exe The_name_of_the_patch.asm The_name_of_your_ROM.sfc

Then hit enter.

Thats it! If it worked you successfully patched your ROM! If you need any help or it's not working post below.
Back to top Go down
https://hh-zelda-hacking.forumotion.com
wiiqwertyuiop
Need anything? PM me and i'll try my best to help!
wiiqwertyuiop


Posts : 114
Join date : 2011-12-28

Inserting Xkas Patches Empty
PostSubject: Re: Inserting Xkas Patches   Inserting Xkas Patches EmptyTue Jun 05, 2012 10:01 am

Fixed some grammar. Neutral
Back to top Go down
https://hh-zelda-hacking.forumotion.com
 
Inserting Xkas Patches
Back to top 
Page 1 of 1
 Similar topics
-
» Submitt your patches here
» Accepted patches.

Permissions in this forum:You cannot reply to topics in this forum
Hyrule Hacking :: Resources :: Tutorials-
Jump to: