Views: 317,861,816
Time: 2014-10-22 10:43:41 PM
8 users online: 2dareduck, ElmotheHacker, GeminiRage, o imamelia, o Ladida, ninja boy, UmlautBanana, Zandro - Guests: 34 - Bots: 28Users: 25,742 (1,102 active)
Latest: Fanatic 64
Tip: Read the F.A.Q. before/after registering.
Posts by zkip
zkip's Profile - Posts by zkip
Pages: « 1 2 3 4 5 6 ... 47 48 »
I was looking on my computer today and found an old hack that i made with some good sprites and blocks , and i was wondering is there a offset that is predetermined for the ASM insertion? I was thinking of making a tool, but cant figure out where the inserted ASM is. Thanks

Yes i know about using freespace, ill look using Transhex.
Thanks, al lot
Ive recently been studing on HEX and programming and was wondering where do you and how do you locate offsets for graphics, ROM, RAM, ect. I am looking into creating tools for hacking all sorts of games, but cant locate the offsets for the respective things. But my question is how do locate the offsets for these things. I posted here cause im thinking it has to do with your type of emulator?
Thats what i mean how do u find it yourself?
yes i understand using YY-CHR and TLP..but the rest..?
Last edited on 2009-10-09 05:41:08 PM by zkip.
I do know that snes9x is possibly an option?.. mayby?
I just got all my SMW hacking documents and files all downloaded back
from a malious virus destroying everything, but missing one tutorial
I dont know where or who made it but it was about using snes9x debugger and setting breakpoints, used for asm hacking. Anyone know whre this is?
Thanks a lot! Your greatly appriciated :)
Originally posted by Alcaro
Why am I thinking you want this?

No i already have that.
Tool creating in VB6

Im writting this tutorial to show that the language that Experts cannot stand, but newcommers understand and like, can be used for more than you think! In writting this I enphasise that you must first understand that Visual Basic is at the bottom of the chart when it comes to compatibility. This is for you to create from to provide a sense of accomplishment rather than to be used as a basis of releasing Tools. Never the less lets move on!


Load up Visual Basic and Create a Standard EXE. Create 2 CommandButtons and 1 TextBox. Give the buttons Captions of 'Open' and 'Save'. Make the Textbox have no text and lock it.(These options are in the right Under The Project Properties). Next you need to create a CommonDialog. This isnt in the default toobox you must add it yourself. To do this move your mouse over to the toolbox, right click, and go to 'Components..'. You can also use the shortcut (CTRL+T). Scroll the list to find 'Microsoft Common Dialog Control' Click apply.
When that is done there should be a new button in your toolbox. Click on it and put it in your application. You have just created the basic 4 items needed for a rom hacking tool!


The Common Dialog Box has a few commands that we will need:


Show the Open file dialog.


Show the save file dialog.(Wont need it as were editing a file.)


The Full Path of the file loaded.(Must use ShowOpen first!)


The title of the file.(excluding the path)

So that is the basics of opening and using the CommonDialog.

To use this in a application you would first need to Show the 'Open file' dialog, next show the path in a text box. Use this in the 'Open' button Click:
CommonDialog1.ShowOpen 'Show the Open File Dialog

Text1.Text = CommonDialog1.FileName 'Set the textbox to the full path of file

Run that and you will see that clicking the 'Open' button will let you choose a file and display it's path in the textbox.

Visual Basic has 2 commands that will read and get info from a file. But before using these we must open the file for editing and declare a byte value:

Open CommonDialog1.FileName For Binary As #1

Dim byte1 As Byte

That will open the file loaded for editing as "#1" and set the variable byte1 for use.


So know that we have the file opened for editing lets learn the code to edit it:
byte1 = 1

Put #1, &HFF44, byte1

The put command requires 3 things: The file that was oppened(#1), the offset to put data to, before continuing you must know that when dealing with HEX in VB use must use "&H" before the offset and for some reason you have to add 1 to the oringinal offset(FF43 would be FF44 in VB) and last the byte to put into the offset. So the code above would Put the byte '1' into the offset FF43 of a rom.


So we have learned that the Put command writes to a file, so how would you get a byte from the rom? This requires the Get command:
Dim gotbyte As String

Get #1,&HFF44, gotbyte

This will get the byte of the offset FF43 and store it as the string gotbyte. If you wanted to write the byte in a textbox just use the code above and:
Text1.Text = gotbyte

When fishised with a file its nice to close it to not get errors when opening another file.
Close #1

Closes the file oppened as #1.

So you have know learned the basics of opening, and editing a rom! Please remember that the offset you use is +1 in VB, and to always Dim variables before using them. And to close a file after using PUT or GET to avoid any errors. As stated first many people do not like Visual Basic because of its compatibility issues, but use this to create your own tools for any rom that you would like to hack. And if you do release to public dont forget to state that it was made in Visual Basic 6 and requires runtime files.

Happy Tool Making,
Last edited on 2009-12-20 05:15:41 PM by zkip.
Im thinking this might help?
Seems to be another spin-jump fireball timer. It increments every frame. If any of the first four bits are set, Mario won't shoot a fireball. If bit 4 ($10) is set, it shoots a fireball.

oh and also its 1 byte

Mod edit: DEC stretch
Last edited on 2009-10-11 03:02:41 AM by Alcaro.
I think you may need to LDA 10 to free space and use DEC with a loop. im not sure
Last edited on 2009-10-10 07:13:23 PM by zkip.
Im making a new sprite similar to a koopa that when mario is hit with it his coins go down i know how to code this, but i want coins to start at marios x pos and scatter and disapppear, like in sonic. Can anyone help?
Just scannned over, and doesnt seem to create coins at mario and make them scatter?
Thanks Iceyoshi! thats what i needed and note that im will be using this to learn from and not just patch it
I recently became so interested in ROM hacking that its all I do, but im having trouble in the area of even finding the text tables and making ROM and RAM maps, so my question is to the creators of the ram and rom map here: where did you find this data?
Ok so using a debugger(no$gba or no$gmb) on a gbc game what do i look for?
Last edited on 2009-10-11 02:09:55 PM by zkip.
Ok i think i understand know... thanks! :)
Pages: « 1 2 3 4 5 6 ... 47 48 »
zkip's Profile - Posts by zkip

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2014 - SMW Central
Legal Information - Privacy Policy - Link To Us

Total queries: 27



  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • MFGG