Banner
Views: 843,938,788
Time:
20 users online: Abdu, Adam, AntiDuck, Bluremii, codfish1002, Daizo Dee Von, Dark Prince, Final Theory, Katrina,  Koopster, lx5, MiracleWater, Miscalc, Pat, Raymondsze, retrocheats, Romano338,  RussianMan,  Sinc-X, ZAGESAW - Guests: 60 - Bots: 92 Users: 46,385 (2,797 active)
Latest: chilistudios
Tip: Remember to remove the original SMW events, both layer 2 and layer 1, when making a new overworld.Not logged in.
help with asm coding.
Forum Index - SMW Hacking - SMW Hacking Help - help with asm coding.
Pages: « 1 »
hi everyone, i have 3 request here

1- i have a code here

org $00D0D8 ; Disable losing lives
NOP #3

org $008F55 ; Disables the lives counter
NOP #6

so i have live disable but it also disable the live counter.
i put the code on a notepad document saved as .asm but with asar i can not apply the patch to my rom, is there a specific way to place the code in the note pad?

2- i want a live counter that keep track of how many time i have died, refering to the first request can i just modify the coding to

org $008F55 ; Enable the lives counter
NOP #6

to have a live counter?? is that simple?

3- this one request is a bit more complicated i know the coding is already out there but i can not find him.

i want a retry system because i dont have patience and when i am testing my level i like it to go fast.

if anyone can help with this that would really apreciated




edit: i wanted to mention that the original code i posted there was given to me by

MarioFanGamer. thanks to you!!!
thanks i have download the retry system but i have an issue.

in the readme.txt it say to use asar.exe patch name retry.asm your rom .smc

i did that but it does not work.

my hack is there: ( C:\Users\saicho\Desktop\New folder (2)\Roms\rom hack )
and my patch is there: ( C:\Users\saicho\Desktop\New folder (2)\Roms\rom hack\asm )

is it because they are not in the same folder that it does not work? and can i apply 2 different patch to a rom or do i had the previous code i posted in the retry.asm?


edit: ok i changed the folder where my asm file was, i put it in the same folder as my asar but now i have a different error in asar

Asar 1.50, by Alcaro
Enter patch name: retry.asm
Enter ROM name: saicho.smc
retry.asm:22: error: Address out of bounds. [if read1($00FFD5) == $23]
retry.asm:109: error: No freespace found (requested size: 2691) [freecode]
A fatal error was detected while assembling the patch. Assembling aborted. Your ROM has not been modified.
Press any key to continue . . .

what does it mean?
That error usually means the file wasn't found, in which case asar just creates a new empty file which where $00FFD5 would be out of bounds.

Anyway, to make sure you didn't mistype the name of your rom you can drag and drop the file into the window once it asks for the rom. This will automatically insert the entire path to the file.
Originally posted by TheBiob
That error usually means the file wasn't found, in which case asar just creates a new empty file which where $00FFD5 would be out of bounds.

Anyway, to make sure you didn't mistype the name of your rom you can drag and drop the file into the window once it asks for the rom. This will automatically insert the entire path to the file.



thanks a lot, i drag it in asar and the retry system work, but now can i add an other asm file to it and s till work or do they all need to be in the same asm file
They do not have to be in the same file. You can run asar on as many patches as you want separately.

Do note though that sometimes, the patches themselves can not be applied together on the same rom. This is rather rare though.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - help with asm coding.

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy