(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
06-28-24 10:18 AM
0 users currently in SMW Hacking.
Acmlm's Board - I3 Archive - SMW Hacking - Another ASM question New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
pikaguy900

Sparky


 





Since: 08-10-06

Last post: 6352 days
Last view: 6339 days
Posted on 10-26-06 06:22 PM Link | Quote
I'm asking so many ASM questions because I want to learn how to use it effectively and correctly. Now, as for my question...

When making a custom code, how do I make it? Do I make a file I can open in Notepad, type what I want it to do, and use a Hex Editor (or some other program) to change it to a .bin file, then place it in my hack; or do I just put the bytes in a location I want the code to be and that's it? I ask this because Sprite Tool uses .cfg files that tell what the Sprites do, but it also has .bin files for the same Sprite. It just confuses me.
ibz10g

Spiny


 





Since: 08-10-06
From: Altoona, Iowa

Last post: 6384 days
Last view: 6384 days
Skype
Posted on 10-26-06 07:10 PM Link | Quote
And yet, it's sorted as easily as it can be. There is a list of ROM locations at SMWCentral, if that helps at all. You just need to find the byte location and modify the value. Mess around with it a little, maybe you'll find something new.

Also, you should try to keep all your questions to a single thread.
pikaguy900

Sparky


 





Since: 08-10-06

Last post: 6352 days
Last view: 6339 days
Posted on 10-26-06 07:23 PM Link | Quote
My apologies. I make multiple threads (like now) when the title of my last topic doesn't work with my new question(s). I don't like going off-topic much.
ibz10g

Spiny


 





Since: 08-10-06
From: Altoona, Iowa

Last post: 6384 days
Last view: 6384 days
Skype
Posted on 10-26-06 07:29 PM Link | Quote
Ok. Use one of the stickies or have the thread title something like "My ASM Questions"
pikaguy900

Sparky


 





Since: 08-10-06

Last post: 6352 days
Last view: 6339 days
Posted on 10-26-06 07:44 PM Link | Quote
Alright. And as for your reply to my question... That barely helps me. So, I just place my code in my hack, and not in any other file, right (unless I wanted to have a backup copy, just in case)?
Glyphodon



 





Since: 11-18-05

Last post: 6380 days
Last view: 6361 days
Posted on 10-27-06 06:30 AM Link | Quote
Depends on what code you're writing. Of course you need to put hexadecimal hacks in the hack you want to change-- the emulator won't scan directories looking for code and automatically put it in the rom, that wouldn't make sense.

If you're writing assembly code with mnemonics and labels and such, like in Sprite Tool, you have to assemble it. Sprite Tool comes with an assembler, you should look up tutorials on how to use the assembler to create a .bin file and copy THAT into your rom.

If you're just using Sprite Tool, you don't have to do anything at all but put your sprite file name in sprites.txt(or whatever your file is named) and it'll automatically assemble and place that code in the rom when you run it.


(edited by Glyph Phoenix on 10-27-06 05:57 AM)
pikaguy900

Sparky


 





Since: 08-10-06

Last post: 6352 days
Last view: 6339 days
Posted on 10-27-06 05:00 PM Link | Quote
I want to use those labels, if I can. Thanks for the information! I'll be sure to look that stuff up later.
Sukasa

Birdo
Not quite as active as before.
Xkeeper supporter
Xk > ||bass
I IP Banned myself! Twice!








Since: 11-17-05
From: Somewhere over there

Last post: 6340 days
Last view: 6339 days
Posted on 10-27-06 08:02 PM Link | Quote
For future refernce, try posting in /reading the ASM tutorial thread in this forum. It has a bunch of stuff in the first post there </blatantselfpromotionunderguiseofbeinghelpful>
Add to favorites | Next newer thread | Next older thread
Acmlm's Board - I3 Archive - SMW Hacking - Another ASM question |


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.015 seconds; used 381.54 kB (max 461.67 kB)