Sprite character utility

Talk about development tools here

Moderator: BigEvilCorporation

Post Reply
powerofrecall
Very interested
Posts: 237
Joined: Fri Apr 17, 2009 7:35 pm
Location: USA

Sprite character utility

Post by powerofrecall » Tue Oct 27, 2015 2:16 pm

Does anyone have/know of a utility that can output VDP characters in the vertically-stripped orientation for sprites? Preferably something like sixpack but for sprites. How do you guys around here do it?

Sik
Very interested
Posts: 939
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Sprite character utility

Post by Sik » Thu Oct 29, 2015 4:40 am

mdtiler does it (when you use the command "layout sprite")
https://github.com/sikthehedgehog/mdtoo ... er/mdtiler

That tool works wildly different from every other tool out there though (it favors giving full control and using makefiles over an UI that does things magically without knowing what you want). If you can cope with text files and having the palette(s) in the PNG file though, it can be pretty awesome, since it can handle many graphics at once and you know it won't give you incompatible palettes among multiple bitmaps.

I really need to sort out the tilemap update though (I made an update where mdtiler automatically generates tilemap mappings for you without repeated tiles and even handling multiple palettes, but I never uploaded it because some settings aren't implemented yet, e.g. making it work with the 1bpp format).
Sik is pronounced as "seek", not as "sick".

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Re: Sprite character utility

Post by KanedaFr » Thu Oct 29, 2015 9:53 pm

rescomp, coming with SGDK (see with Stef for more info)


GenRes using dev branch
https://bitbucket.org/SpritesMind/genre ... 647?at=dev

download available for windows if you want to give it a quick try
https://bitbucket.org/SpritesMind/genres/downloads
Type "genres help SPRITE" or "genres help SPRITESHEET" to see if it suit your needs, and check the options

I moved to GCC some months ago, so I assume it compiles on Linux.
Let me know if you try ;) I'll be more than happy to fix any Linux related issue.

powerofrecall
Very interested
Posts: 237
Joined: Fri Apr 17, 2009 7:35 pm
Location: USA

Re: Sprite character utility

Post by powerofrecall » Sun Nov 01, 2015 3:30 pm

Sik wrote:mdtiler does it (when you use the command "layout sprite")
https://github.com/sikthehedgehog/mdtoo ... er/mdtiler
Sik wrote:it favors giving full control and using makefiles over an UI that does things magically without knowing what you want
This is actually just about perfect, as I wanted to integrate it into my build system. I assume it'll build OK under linux. Fantastic, thank you for your work!
KanedaFr wrote: GenRes using dev branch
https://bitbucket.org/SpritesMind/genre ... 647?at=dev
This looks good too, I like the .rc file approach as well, but does it rely on SGDK at all (its structures etc)?

KanedaFr
Administrateur
Posts: 1139
Joined: Tue Aug 29, 2006 10:56 am
Contact:

Re: Sprite character utility

Post by KanedaFr » Sun Nov 01, 2015 11:57 pm

rescomp is the tool included in SGDK so if you want to follow pure SGDK code, use it
and from what I know, it uses res file (to not mismatch old genres' rc file, which was previously part of SGDK)


GenRes generates resources as defined in the genres.h
it's up to you to make your own resource player but a lot if already written on the sample, compiled using SGDK so....

GenRes and rescomp have some similar syntax
GenRes2 uses another one, to make it more configurable and suits more case
Stef will probably give you more support than I'll be able to give you (I think help and sample could help a lot but....not every situation and possible bugs)
GenRes will ask you more work than rescomp

so see with Stef if a Linux version exists (or source file) and compare the available tools with your needs then go !
I think moving from one to another isn't something easy to do so take the good one now ! ;)

Sik
Very interested
Posts: 939
Joined: Thu Apr 10, 2008 3:03 pm
Contact:

Re: Sprite character utility

Post by Sik » Mon Nov 02, 2015 4:38 am

powerofrecall wrote:I assume it'll build OK under linux.
Sir, this laptop is running Ubuntu =O)

But yeah, pretty much all of the mdtools (that repo) work just fine under Linux, and they should on Windows as well. (heck, I bet you can build them for DOS if you really need to)
Sik is pronounced as "seek", not as "sick".

Post Reply