Language…
9 users online: 1mslakingoff, Aeon, Boosius, Daniel_mi_bb_fiu_fiu, djEnby, exit1337, GrenudoGames, Hammerer,  Sonikku - Guests: 782 - Bots: 128
Users: 70,474 (2,466 active)
Latest user: kirisamemofo

Official Hex/ASM/Etc. Help Thread

  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 418
  • 419
  • 420
would it be possible to make a summon sprite block? Like when your on top of it, and you press Y or something. I'm trying to recreate the vegetable using the mush block and the regular throw block.
How would one change the Pallete of an object/sprite/whatever?
Edit:In an ASM routine.
Alright, I got this asm file from pukiwiki, and it look like this:

Code
  
LDA #$01
STA $1B95
LDA #$15	
STA $1DFC
RTS


How would one turn this into a .bin file so I could use this as a block? I don't see any info on how to make a block here, so I have no choice but to ask.
Download xkas - it's on Zophar's I believe. After that, drag and drop the ASM file into the program to create a BIN file.

If you can't find xkas, check for another ASM compiler (pretty sure that's the term for them)
xkas is right here! clicky
I'm a rubberducky in the shape of a 2 ain't life grand!
Looking forward to NSMBWii, SMG2, Pokèmon HG/SS, Mario Forever 4.4 and Gran Turismo 5
Currently playing:
Mario Forever Advance, Mario Kart Wii, TSRPR
Damn, that was quick. Thanks, SNN.

EDIT: Thank you also, Caped Mario.

EDIT 2: Well, when I drag and dropped it, it turned into a .SMC (rom) file instead of a .bin file. Whats that supposed to happen?
You also could have use the one in sprite tool.
Use TRASM instead? It's included with sprite tool. ;)
If it doesn't work, just manually type the code in a hex editor and save it as a .bin file.
Yes, the SMC is correct. Now open the SMC in a hex editor and save it. It will be converted to a .BIN file ;)
TRASM worked perfectly. Thanks.

EDIT:Damn, Just as I posted this, you posted that. Figured it out, and my block works perfectly. Thanks guys.
Double post.

I really need mikeyk help on this. I need to know where in the code that he changed to fix the level ender sprite where Yoshi is compatible and ignores sprites that don't turn into a coin when the goal tape is passed. I have a similar sprite, but it doesn't activate when I have a Yoshi.
What are the reloc offsets for and how do I use them?
Your layout has been removed.
I'm currently learning ASM and tried the tutorial on SMWiki. I'm in the last step where I must put all files (rom, asm file xkas) in the same folder and click on the .bat file. But it says test.asm not found.
Pretty easy:
Put your rom and your .asm file in the same folder
Then make a new txt file
Write in the text file:
Xkas yourasmfilenamehere.asm yourromnamehere.smc
save it as a .bat file.
Now if you open the bat file it will patch your rom.
My blog. I could post stuff now and then

My Assembly for the SNES tutorial (it's actually finished now!)
Don't work. It says "[test.asm] not found...
Ok, into more details:
Lets say your rom name is ''smw.smc''
YOur asm file is ''lol.asm''
Now put them both in the Xkas folder.
Now make a new text file. Name it whatever you want. Now Put in the text file:
Xkas lol.asm smw.smc
Save it as a .bat file
If it still doesnt work, then I dont know.
My blog. I could post stuff now and then

My Assembly for the SNES tutorial (it's actually finished now!)
Here ya go:

Photo Sharing and Video Hosting at Photobucket
The text file on the right is the "xkas yourpatchname.asm yourromname.asm It turned into some strange thingys. (don't know it's name on english)

And the error message I get:

Photo Sharing and Video Hosting at Photobucket
I don't see test.asm in that folder, only lol.asm>_<
That is from my example >_<
Anyways. Then do this:
You see as.bat there right?
Now, copy and paste it somewhere else. Now rename it to whatever.
Now right-click it, then choose edit/bearbeiten/whatever >_>
(It is at least the 3rd one in the row)
Then it will open it in notepad. Now put there Xkas lol.asm smw.smc
Now put the .bat file back to the Xkas folder.
Here you go with my nice example. >_<
My blog. I could post stuff now and then

My Assembly for the SNES tutorial (it's actually finished now!)
Originally posted by B.B.Link
I really need mikeyk help on this. I need to know where in the code that he changed to fix the level ender sprite where Yoshi is compatible and ignores sprites that don't turn into a coin when the goal tape is passed. I have a similar sprite, but it doesn't activate when I have a Yoshi.

I'm not a sprite expert, but I suppose this could be done like this
Code
          ldx #$12
loop         lda $9E,x
          cmp #$35
          BEQ nomatch
          lda $14C8,x
          BEQ nomatch
          rts/rtl
nomatch
          dex
          bpl loop
 ;ending level code here
          rts/rtl

In the above code, for each entry in the sprite table, it check if the sprite is active or if the sprite is Yoshi. If it's true, then it decrease X to check another entry, else it just return
  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 418
  • 419
  • 420