| new Sprite Tool |
|
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - new Sprite Tool |
|
Pages: 1 2  |
Thread Closed |
|
|
| Posted on 2008-07-23 06:35:49 AM |
Link |
|
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
|
| Last edited on 2008-11-28 10:06:22 AM by Romi. |
|
| Posted on 2008-07-23 06:44:03 AM |
Link |
|
I tried this tool out. You can describe this tool with 1 word:
<blink>Excellent</blink>
|
| Last edited on 2008-07-23 06:45:44 AM by Ersanio. |
|
| Posted on 2008-07-24 08:51:34 AM |
Link |
|
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.
|
|
| Posted on 2008-07-25 05:00:11 AM |
Link |
|
Yea, it's alot better, since I prefer Xkas as well. Nice job.
|
|
| Posted on 2008-07-26 08:09:52 PM |
Link |
|
Thanks all!
Well, I was trying making a new .cfg editor for this update.
EDIT: link removed. Download from the first post.
|
| Last edited on 2008-07-28 09:31:53 PM by Romi. |
|
| Posted on 2008-07-26 09:37:57 PM |
Link |
|
[fainted]
You're a great hacker, Romi!
|
|
| Posted on 2008-07-27 12:25:18 AM |
Link |
|
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?
|
|
| Posted on 2008-07-28 09:40:11 PM |
Link |
|
@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.
|
|
| Posted on 2008-08-02 08:21:29 AM |
Link |
|
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?
|
| Last edited on 2008-08-02 08:29:31 AM by Buu. |
|
| Posted on 2008-08-02 08:45:25 AM |
Link |
|
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
Xkas does not know what dcb is, so we do it like this:
Other than that, it should work.
|
|
| Posted on 2008-08-02 08:58:56 AM |
Link |
|
Trasm2Xkas 101
More notes:
instead of .B, .W and .L
Use .b, .w, .l
Do not make them uppercase!
WRONG Example:
CORRECT Example:
LABELS ARE CASE-SENSITIVE
|
| Last edited on 2008-08-02 02:18:47 PM by Ersanio. |
|
| Posted on 2008-08-02 02:15:18 PM |
Link |
|
Finally I got the sprite inserted sucessfully now. 
Thank you guys for your help!
|
|
| Posted on 2008-08-03 10:41:57 PM |
Link |
|
|
I have Vista, and the sprite tool closes automatically as soon as I open it. Is there any way I can fix this?
|
|
| Posted on 2008-08-04 01:11:30 AM |
Link |
|
Originally posted by TheBestGamerI 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
|
|
| Posted on 2008-08-04 12:01:15 PM |
Link |
|
Originally posted by AiyoOriginally posted by TheBestGamerI 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.
|
|
| Posted on 2008-08-04 03:56:28 PM |
Link |
|
|
You didn't try to actually open the exe did you? Because you don't. <_<
|
|
| Posted on 2008-08-04 08:34:09 PM |
Link |
|
Originally posted by BoingboingsplatYou 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.
|
|
| Posted on 2008-08-05 05:28:55 AM |
Link |
|
@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.
|
| Last edited on 2008-08-05 06:20:17 PM by Romi. |
|
| Posted on 2008-08-05 11:22:07 AM |
Link |
|
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.
|
|
| Posted on 2008-08-05 03:11:57 PM |
Link |
|
|
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 - General SMW Hacking Help - ASM & Related Topics - new Sprite Tool |