Modding Sprites - Going Forward

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Post Reply
User avatar
norb
Reactions:
Posts: 3778
Joined: Mon Nov 26, 2007 9:59 am
Location: Central Florida
Contact:

Modding Sprites - Going Forward

Post by norb »

NSD is going to support this tool in upcoming releases:

www.texturepacker.com

It can fit a lot more sprites on the same sized texture. We will still support the old format, but with this tool the memory image is much smaller. We are dropping our low res versions, because we can now show hi res for the same or less memory as the old low res.

We will keep the old files and csv's around for backwards compatibility, but I wanted to give the modders a heads up. We will be releasing the patch with this improvement around the same time as antietam.

This tool takes all the individual frames and crams them into a single png texture. Then it outputs this png as well as a plist xml format file that defines the locations. We then convert the png to dds and we get great results. All members of the team now see hi res sprites, where before some could only use the low res versions on their machines.

I found this tool while writing the NSD iphone game and was amazed with the results. So I converted our engine to load these in and use the plist files.
Garnier
Reactions:
Posts: 1258
Joined: Thu May 07, 2009 6:43 pm

Re: Modding Sprites - Going Forward

Post by Garnier »

Excellent
Play Scourge of War Multiplayer! www.sowmp.com
Also try the singleplayer carryover campaign
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Modding Sprites - Going Forward

Post by Davinci »

I'm sure that there is a reason, but I'll ask.....Why can't the same thing be used on the terrain files?

davinci
The only true logic is that, there is no true logic!
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: Modding Sprites - Going Forward

Post by Little Powell »

We're working on that too.
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Modding Sprites - Going Forward

Post by Davinci »

We're working on that too.
Excellent News - this should help out a lot!

davinci
The only true logic is that, there is no true logic!
2nd Texas Infantry
Reactions:
Posts: 201
Joined: Thu May 26, 2011 10:09 am

Re: Modding Sprites - Going Forward

Post by 2nd Texas Infantry »

Brilliant! This will cut down on file sizes and I am asuming any frame rate hits. Now we know who all the tech geeks are on this forum, because we just replied to a post about compressing Hi res sprite files.
But seriously, this is fantastic! As we say down South, anything to "trim the fat" is a great application.
Marching Thru Georgia
Reactions:
Posts: 1769
Joined: Mon Mar 29, 2010 9:56 pm

Re: Modding Sprites - Going Forward

Post by Marching Thru Georgia »

Hey maybe I'll now be able to break the 90k man barrier. B)
I can make this march and I will make Georgia howl.
Post Reply