SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Kart Releases & Mods > Kart Miscellaneous

Reply
 
Thread Tools
Kartmaker - Sprites to WAD in record time Details »»
Kartmaker - Sprites to WAD in record time
Version: 3, by fickleheart (ms reflec beat stan) fickleheart is offline
Developer Last Online: Jul 2020

Category: Version: SRB2 Kart Rating: (10 votes - 5.00 average)
Released: 01-27-2019 Last Update: 01-30-2019 Favourites: 15
Re-Useable Content Additional Software Is in Beta Stage

This is a simple utility that automatically creates a character WAD for SRB2Kart from a working folder. It handles separating a sprite sheet into multiple sprites, applying the appropriate wheel shine for each frame, rendering the vibration effect, converting graphics to the SRB2 palette, and placing the sprites into a WAD with appropriate names. It also handles generating an S_SKIN and importing voice files for the character.

This program can be used either by dragging the working folder onto kartmaker.exe, or running it in the command line with the folder path as an argument. Two example folders, one with a transparent background and one with colors defined as transparent, are included. Copy one of the example folders and edit the files within it for your character. (If you're pasting in sprites from another working sheet, make the shines on the wheels transparent so that the proper shine effect for each frame can be applied!)

If you need a different sheet layout, you can edit the layout information in properties.txt for your working folder. If you need to convert graphics to a different palette, you can replace PLAYPAL.lmp in the kartmaker folder with any palette lump of your choosing.

Source code is included in the download and licensed under the GPL. You should only need gcc to compile it. I've tested this on Windows, but not on other OSes.

The sample sprite sheets were edited from a sheet reference made by VAdaPEGA and contain sample images of his Flicky character.

NOTE: Due to the nature of its purpose, please refrain from using this program for monetary gain.

Download Now

File Type: zip kartmaker.zip (521.2 KB, 5174 views)

Screenshots

Click image for larger version

Name:	kartmakerdemo.gif
Views:	8694
Size:	940.2 KB
ID:	15835  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 08-07-2019   #22
greennick78sh
Default

I just found out that i can't open it
greennick78sh is offline   Reply With Quote
Old 08-09-2019   #23
ThatAzazelFire
The Ghost
 
ThatAzazelFire's Avatar
Default

Quote:
Originally Posted by greennick78sh View Post
I just found out that i can't open it

your not using it right
__________________
Just the funny Plant Person

My Twitter Account
ThatAzazelFire is offline   Reply With Quote
Old 08-10-2019   #24
Aluigi
local wild wing driver
 
Aluigi's Avatar
Default

I noticed a mistake on the template long ago. It's small so it shouldn't be much.
The signpost section is 1px lower than the actual signpost space, so it'd be better if it was 1 pixel taller pointing down. Not really much but it does bother me.
Aluigi is offline   Reply With Quote
Old 11-17-2019   #25
taiyu
 
taiyu's Avatar
Default

Some minor changes to support linux. All in main.c, using diff syntax (- is remove line, + is add line)

This header doesnt exist on my computer so it fails to compile trying to include it, but nothing in the code depends on whatever is in it, so it can be removed safely.
Code:
-#include <direct.h>
main() tries to open the file "playpal.lmp" which fails due to the filesystem being case sensitive, also segfaults due to no error handling.
Code:
-        SET_FILENAME("playpal.lmp");
+        SET_FILENAME("PLAYPAL.lmp");
         printf("%s\n", path);

         wadf = fopen(path, "rb");
+        if (wadf == NULL) {
+                fprintf(stderr, "PLAYPAL.lmp file not found\n");
+                exit(1);
+        }
A simple makefile could be added too
Code:
CFLAGS=-Os
LDLIBS=-lm
src := main.c lump.c lodepng.c cJSON.c
kartmaker: $(src:%.c=src/%.o); $(LINK.o) $^ $(LDLIBS) -o $@
taiyu is offline   Reply With Quote
Old 11-30-2019   #26
KANSEI DORIFTO
 
KANSEI DORIFTO's Avatar
Default

So I got a custom character working nicely in my first try, however im still a bit confused with the colors, how do i set up the sprite color in the file so one can select any color in the character selection menu?
KANSEI DORIFTO is offline   Reply With Quote
Old 11-30-2019   #27
kurobutt
 
kurobutt's Avatar
Default

Quote:
Originally Posted by KANSEI DORIFTO View Post
So I got a custom character working nicely in my first try, however im still a bit confused with the colors, how do i set up the sprite color in the file so one can select any color in the character selection menu?

If you want your character to change colors, you need to use any shade of green from the green palette line in SRB2's color palette


(In this image, it's the large row of greens immediately below the red/pinks)
kurobutt is offline   Reply With Quote
Old 12-06-2019   #28
KANSEI DORIFTO
 
KANSEI DORIFTO's Avatar
Default

Quote:
Originally Posted by kurobutt View Post
If you want your character to change colors, you need to use any shade of green from the green palette line in SRB2's color palette


(In this image, it's the large row of greens immediately below the red/pinks)
Thanks for the help!
__________________
[eurobeat intensifies]
KANSEI DORIFTO is offline   Reply With Quote
Old 12-13-2019   #29
Kiylo
Just a dope on the net :V
 
Kiylo's Avatar
Default

Quote:
Originally Posted by Red The Pyrohog View Post
Suggestion: Make this for Vanilla SRB2, to make wadding much easier.
the difference between kart and Vanilla is that kart reuses sprites and overall has less sprites

Vanilla has a butt ton of sprites and barely any are repeated, even if there was a program for it, you would have to manually rename each sprite in slade, you cant just batch rename them
__________________
Yeetus mah dude
Sushikins#8440
Kiylo is offline   Reply With Quote
Old 01-04-2020   #30
Legdig
Default Sprites totally white in game, have I mucked up some how?

i'm not sure what i've done, but Both my sprites and the example sprites show up totally white when I put them in the game with the .wad file kartmaker produces.

Am I doing something wrong?

Note: I didn't use the transparent versions. I'm guessing i've accidentally use a colour that isn't in the games palette.

---------- Post added at 08:51 AM ---------- Previous post was at 07:53 AM ----------

Quote:
Originally Posted by Legdig View Post
i'm not sure what i've done, but Both my sprites and the example sprites show up totally white when I put them in the game with the .wad file kartmaker produces.

Am I doing something wrong?

Note: I didn't use the transparent versions. I'm guessing i've accidentally use a colour that isn't in the games palette.
I got it figured out in the end, I think I'd just installed it in a rush and it was causing weird errors.
Legdig is offline   Reply With Quote
Old 01-10-2020   #31
Kaleb_Advent
Just another Kart guy
 
Kaleb_Advent's Avatar
Default

I've made sprites, but when I drag the folder into kartmaker, it does nothing. Do I need to get something else for this to work properly?
Kaleb_Advent is offline   Reply With Quote
Old 01-10-2020   #32
fickleheart
ms reflec beat stan
 
fickleheart's Avatar
Default

Did you:
- put your sprites on one of the given templates (or another template by someone else designed for Kartmaker)
- make sure NOT to crop the template to a smaller size (larger is fine, but keep the template in the top-left corner)
- extract the whole folder, especially the PLAYPAL.lmp file, into the same folder


? If so there should be a WAD with the folder's name next to it. There should be no other dependencies.
__________________
Quote:
Originally Posted by Arf View Post
Stop trying to make slopes, guys.
fickleheart is offline   Reply With Quote
Old 01-23-2020   #33
Kaleb_Advent
Just another Kart guy
 
Kaleb_Advent's Avatar
Default

Quote:
Originally Posted by fickleheart View Post
- put your sprites on one of the given templates (or another template by someone else designed for Kartmaker)
- make sure NOT to crop the template to a smaller size (larger is fine, but keep the template in the top-left corner)
I definitely did these, no problem. But this...

Quote:
Originally Posted by fickleheart View Post
- extract the whole folder, especially the PLAYPAL.lmp file, into the same folder
This is what confuses me. By "especially the PLAYPAL.lmp file," do you mean I need to have that file in the folder with the character when I export?
Kaleb_Advent is offline   Reply With Quote
Old 01-24-2020   #34
fickleheart
ms reflec beat stan
 
fickleheart's Avatar
Default

It needs to be in the folder with the EXE
__________________
Quote:
Originally Posted by Arf View Post
Stop trying to make slopes, guys.
fickleheart is offline   Reply With Quote
Old 04-01-2020   #35
Freaking Pyro!
Flaming Passion!
 
Freaking Pyro!'s Avatar
Default help?

So, overall i saw this tool being used well. But when i try to export my folder into the kartmaker.exe, it won't work..
I tried to change some files, but it seemed that my sprites couldn't make kartmaker work.
I even tried reinstalling it, but it didn't work.
Freaking Pyro! is offline   Reply With Quote
Old 04-29-2020   #36
GoldenGamerFox7272
test
 
GoldenGamerFox7272's Avatar
Default

ok, but what about .WAD to sprites? i need it for my OC! (my true OC cannot be created in SRB2K, so i will need tails's sprites for my OC...)
__________________
Hi, if your interested, you can check out my YT channel: https://www.youtube.com/channel/UClC...fJXzIsw/videos

Also, my space bar can glitch an d can add 2 space bars or put spac e bars between a word

Last edited by GoldenGamerFox7272; 04-29-2020 at 07:22 PM. Reason: extra stuff
GoldenGamerFox7272 is offline   Reply With Quote
Old 05-07-2020   #37
LiquidTheGamer
Default

Can this be used as an alternative to lump editors like SLADE3 or is this simply a tool to be used in conjunction for them? (asking because for some reason i cant get the slade setup file working on my computer)

edit: i messed with it for a bit, and i figured out what it's for, le epic. also i still cant get SLADE3 setup but that doesn't matter.

Last edited by LiquidTheGamer; 05-07-2020 at 12:50 AM.
LiquidTheGamer is offline   Reply With Quote
Old 05-07-2020   #38
smashmallow101
 
smashmallow101's Avatar
Default Request

Could you please make a mac version of this? i know it might be a lot to ask, but i would really appreciate if you did!
smashmallow101 is offline   Reply With Quote
Old 06-09-2020   #39
TeriosSonic
 
TeriosSonic's Avatar
Default

Quote:
Originally Posted by GoldenGamerFox7272 View Post
ok, but what about .WAD to sprites? i need it for my OC! (my true OC cannot be created in SRB2K, so i will need tails's sprites for my OC...)
You can use SLADE for that, I use it. If it's too hard for you I can do a Tails sprite sheet and send it through here or through PM, I was going to do one anyways.

Last edited by TeriosSonic; 06-09-2020 at 05:48 PM.
TeriosSonic is offline   Reply With Quote
Old 06-09-2020   #40
Jonster
[Insert meme here]
 
Jonster's Avatar
Default

This mod seems like a very nice and easy way to make character mods. Now my mod can finally become a reality!
__________________
He's faster than Sonic!...He's faster than Sonic!
(SW friend code: 3326-8442-2909)
(Discord: Jonster The 1st#5263(also I have a server https://discord.gg/gGxQR7))

Last edited by Jonster; 06-09-2020 at 11:03 PM.
Jonster is offline   Reply With Quote
Old 06-23-2020   #41
SpicyHamSamson
Pure of Heart! Dumb of Ass!
 
SpicyHamSamson's Avatar
Default

Quote:
Originally Posted by TeriosSonic View Post
You can use SLADE for that, I use it. If it's too hard for you I can do a Tails sprite sheet and send it through here or through PM, I was going to do one anyways.
I'm also on Mac, and I'd want a Mac version for this too, because even though you can use SLADE, I'd really appreciate the template this gives.
SpicyHamSamson is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.