Banner
Views: 828,564,913
Time:
25 users online: Alex_X8, Ancapello, Argh22, CalHal, ClassicPass, Copyright, ExONightZ, GlitchyTSP, HellFire, Internet_Goblin, Isikoro, lion, Lotica, lukeshroomsen2905, Medic, mikairanutshack, MiniMawile303, morisot,  Ninja Boy, pat94plus, RaymanFan1995, shadowboyultra, Sokobansolver, StackDino, Superwario1999 - Guests: 66 - Bots: 199 Users: 44,381 (2,541 active)
Latest: Argh22
Tip: If you place too many sprites on the same screen, it will slow the game down and cause frustration to the player.Not logged in.
new Sprite Tool
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - new Sprite Tool
Pages: « 1 2 » Thread Closed
Well, the title says "new", but there is no big update.
But there wasn't an appropriate thread, so I just made new one..

Anyway,

this version can use xkas.exe for assembly.
Basically, this update just makes most people feel nothing.
This is for people who prefer xkas for coding something.

Of course, this version can use TRASM as well, so you are still able to insert .asm files from older versions of sprite tool written for TRASM.

Latest version : 1.40
Now the sprites made by mikeyk are also included
download
I tried this tool out. You can describe this tool with 1 word:
<blink>Excellent</blink>

--------------------
My blog. I could post stuff now and then
Very cool. I never liked TRASM so it's nice to be able to sprite for a decent assembler, rather than a fossil from the demoscene.

Great work on this.
Yea, it's alot better, since I prefer Xkas as well. Nice job. :)
Thanks all!

Well, I was trying making a new .cfg editor for this update.

EDIT: link removed. Download from the first post.
[fainted]

You're a great hacker, Romi!

--------------------
Now I leave my IPS patches of my hacks for everyone play and edit as you want to.

Bramble Invasion & Surreliatus


Nice job Romi, being able to use a different assembler is always great.

From what I can tell, all that you did to the cfg editor was make the font bigger and added an option to be assembled with xkas?
@Black Yoshi
Thank you.

@Boingboingsplat
I chaged the font to the one installed in all PC, I guess. The font problem should be solved...
Thank you for pointing out that.
Regarding the addition, at least, I made the .cfg editor myself, but what could I add else...?

And, I fixed another small issue that you can enter 0x40 or higher in "Sprite clipping, table offset"
Download link is in the first post.
I tried to insert the bomb bro from the old spritetool with this one and did following: I opened the CFG file in notepad, added a "01" at the end of the code and saved.

Then I ran cmd.exe with the usage and an error occurs, I should refer to templog. And what does it tell me? Half of the code seems to be full of errors although the sprite works with the old spritetool.

What did I wrong?

Edit: I changed the "INIT" and "MAIN" labels to "print "INIT ",pc and "print "MAIN ",pc and even added colons above the labels and nothing works, still the same errors. All labels seem to be wrong. What now?
Ok, let's see.

Xkas =! Tricks Assembler
Xkas > Tricks Assembler

Xkas uses different codes as TRASM.

Lables in TRASM look like this:

Code
StartCode    LDA #$xx
             STA $xxxx


In Xkas though, you will have to do them like this:

Code
StartCode:
LDA #$xx
STA $xxxx


Also, in TRASM you see this for tilemaps, properites, etc

Code
dcb $00,$02,$04


Xkas does not know what dcb is, so we do it like this:

Code
db $00,$02,$04


Other than that, it should work.
Trasm2Xkas 101
More notes:

instead of .B, .W and .L
Use .b, .w, .l

Do not make them uppercase!

WRONG Example:
Code
LDA.W #$1337


CORRECT Example:
Code
LDA.w #$1337


LABELS ARE CASE-SENSITIVE

--------------------
My blog. I could post stuff now and then
Finally I got the sprite inserted sucessfully now. :D
Thank you guys for your help!
I have Vista, and the sprite tool closes automatically as soon as I open it. Is there any way I can fix this?

Originally posted by TheBestGamer
I have Vista, and the sprite tool closes automatically as soon as I open it. Is there any way I can fix this?

excuse but do you know how to read?

Originally posted by readme inside of sprite tool


!NOTE!

You must always run this tool from command line or a batch file!

Usage:
sprite_tool.exe SMWrom.smc spritelist.txt


--------------------
Kawaii !!


Originally posted by Aiyo
Originally posted by TheBestGamer
I have Vista, and the sprite tool closes automatically as soon as I open it. Is there any way I can fix this?

excuse but do you know how to read?

Originally posted by readme inside of sprite tool


!NOTE!

You must always run this tool from command line or a batch file!

Usage:
sprite_tool.exe SMWrom.smc spritelist.txt

I saw that. Nothing happened. The tool closed without doing anything.
You didn't try to actually open the exe did you? Because you don't. <_<
Originally posted by Boingboingsplat
You didn't try to actually open the exe did you? Because you don't. <_<

No. I made the cmd prompt go to the right directory, then I typed in "sprite_tool.exe romnamehere.smc sprites.txt". If I'm doing something wrong, I'd like to hear it.
@TheBestGamer
You mean you typed exactly the same line? If so, you should secify your file name instead...
*facepalm* You're right... I misread. >_>

@Boingboingsplat
I finally added a really small update for the cfg editor.

After you opend the SMW ROM (File -> Open ROM File), you can push the button, Load Original Sprite Info., which allows you to load an original sprite's parameters. This might be useful for those who would like to refer to original info. but are too lazy to run mikeyk's tweaker.
But meh.
Originally posted by Romi
@TheBestGamer
You mean you typed exactly the same line? If so, you should secify your file name instead...

I did specify my file name. The line I put in my post isn't even the exact same one in the readme, so I don't know why you thought so.
Try copying cmd.exe into the sprite tool directory. Then you won't have to navigate to the correct directory within command prompt.
Pages: « 1 2 » Thread Closed
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - new Sprite Tool

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


Total queries: 14

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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