Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Civ2-Test of Time > A sprite editor is born!
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 14-12-2002 21:40 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
A sprite editor is born! Increase Your PM Length

(just in time for Christmas )

http://www.civgaming.net/mercator/mapedit

I don't have much to add beyond that... Or maybe I do.

CivSprite (I'm still looking for a more interesting name) exports all images in a sprite file to bitmaps in a specified folder or imports a folder of bitmaps back into a sprite file.

It is not possible to change animation properties, only possible to change individual frames. E.g. the whale animation starts with the whale spouting some water. In the animation you'll see that the "fountain" goes up and down a bit. That's part of the animation properties, going back and forth between the same frames.
So you can't change this going back and forth yet, although you can turn the whale into some other creature or thing for which such looping would make some sense.
The same goes for the fading out of dying units, the number of frames in an animation and a number of other things.

Just read the readme file and start up CivSprite.

If you have any comments or questions, fire away!

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:24
  Old Post 15-12-2002 00:06 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase Your PM Length

tech Merc

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:24
  Old Post 15-12-2002 00:27 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Browse Apolyton AD-FREE

I've installed it, and did get the missing files error notice you referred to in the readme. I found the missing file, here: http://www.webattack.com/help/missingfiles.html I downloaded it into my CivSprite folder. That can't be right, 'cause I still get the error message. Also, I'm running XP - will that make any difference?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 15-12-2002 00:49 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Remove this text

You need to put it in your windows system directory (windows\system32 for XP, I think)... After you've done that you must "register" it by running:

code:
regsvr32 comdlg32.ocx

(it's comdlg32.ocx you were missing?)

But, erm... Both files (comdlg32.ocx and mscomctl.ocx) should already be included with MapEdit (you have that?)... First check to see if the file is already on your system, if it is, try registering it first (it might have gone wrong earlier). If the file isn't in the windows or system directory, you must specify the full path to it in the command I mentioned above.

Does that help?

techumseh is offline techumseh
King
of the frozen North.
Apr 1999
time: 22:24
  Old Post 15-12-2002 04:29 Visit techumseh's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase Your PM Length

Ok, I've got it now. It was mscomctl.ocx that needed to be installed. I reinstalled MapEdit, but somehow it didn't change anything (MapEdit runs fine) so I added it manually just as you suggested. Now it works.

But that's quite the format, isn't it? 160 separate images plus an equal number of masks per unit animation. I'm wondering if we can break it into specific sequences, eg. moving, fighting, dying and so on. If each sequence could be put in it's own animation file, then it would be a lot easier to edit each sequence. I have AnimationShop, which comes with PSP 7, and I think it could be very useful if we could get the individual images into the right format.

Hats off to you Mercator!

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 15-12-2002 05:18 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Increase Your PM Length

Strange about the ocx thing...

The main reasons I didn't add them to the package are the size of the files (which many may already have) and because the files need to be registered.

That either means I have wrap the program into an installer, like MapEdit, or I have to trust the users' intelligence and explain how to do it in the readme. And hope it works the same way for all Windows versions. But you didn't seem to have any problems with my instructions, so the difference between windows version isn't too dramatic after all then... Well, I'll just have to see what I do about them...

quote:
But that's quite the format, isn't it? [...]


Indeed. Not quite the handiest for you perhaps, but it was easiest for me, which in turn is good for you since I was able to release something useful much earlier.

Exporting animation files would be a lot easier for you, probably, but a lot harder for me to do.

First of all, the bitmap file format is trivial, GIF format is not free (not to mention it's limited to 256 colors) and I don't know anything about the MNG format.

Secondly, while it should be fairly easy to export (disregarding the complexity of the file format), it would be difficult to import efficiently.
Sprite animations are not just a plain and simple chronological sequence of frames, nor can you specify frame display time. I'd have to take all those discrepancies into acount.

Still, you can import the bitmaps into an animation, edit it and export the frames back to bitmaps, if you want "animation editing powers".

Once I know more about the animation information in the sprite files, I might start thinking about more handy exporting methods. If not in animated format, I could at least export each animation to a separate subfolder.

I have been thinking about an "advanced" version, but I'll just have to see how that will come along.

Have you tried it yet?

And, thanks!


Oh, yet another thing... If, say, you're only interested in changing one animation, you can delete all the other images you've exported. Importing will only change images it finds replacements for.

Boco is offline Boco
Prince
who was once King for a week.
Jan 2001
time: 00:24
  Old Post 15-12-2002 10:11 Visit Boco's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Graphics unleashed!

One feature request -- make me draw well.

THANKS!

fairline is offline fairline
Prince
of the wing
Sep 2002
time: 05:24
  Old Post 15-12-2002 15:37 Visit fairline's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Excellent work Mercator

Unfortunately I can't get it to run - I get a message telling me that the file 'OLEAUT32.DLL' is out of date. I downloaded this file from www.dll-files.com, but when I try to put it in the windows/system directory my damned PC tells me the file is in use and can't be replaced . Any ideas how to get round this?

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 15-12-2002 19:13 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Tired of ads?

Download the VB6 runtime files available at my website.

IMPORTANT WARNING!!!!!

I discovered a rather annoying bug (the hard way)... My program does NOT make backups when importing new images. I'll update the download shortly with a fixed version.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 15-12-2002 19:49 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Inflate your Upload Space

By the way, I bumped into that bug when trying out the following:

The bitmap images need not be the prescribed size. That is, if you fancy, you can make your unit images have any size you want (well, there might be some limit, but 128x128 seems to work at least). Different frames of one animation don't even have to match.

There are only two slight problems: As with earlier Civ2 versions, anything below the unit's diamond won't be displayed. Secondly, only the standard 64x64 "box" will be updated properly in the Civ2 display.
The unit "box" is always aligned to the bottom and left of the current tile.

On the other hand, there's at least one advantage: The health-bar will be displayed at the top rows of the sprite image. So, if you have a sleek, low unit, you could make the unit, say, only 32 pixels high (rather than 64). In that case the healthbar will be displayed with its top aligned to the top of the sprite image. I think this will be handy especially for units you don't want to have a healthbar, although it's still a bit limited.

Another thing that might be the case (but I'm not sure)... For moving units having images larger than 64x64 will not be optimal because of the bad graphic rendering beyond the 64x64 box. But for 0-move units it might not be a problem. If it isn't you could for instance recreate the mountains Favoured Flight did in his LOTR scenarios, but with several extra large units, rather than a bunch of normal-sized ones...

geoffrey arnold is offline geoffrey arnold
Prince
australia
Jun 2002
time: 15:24
  Old Post 17-12-2002 07:02 Visit geoffrey arnold's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Sorry Im a bit dum. I downloded this utillity and ity comes up with mscomctl.ocx. Iv got windows meleniam and have no Ideia what it is you said above bout this problem sorry again

fairline is offline fairline
Prince
of the wing
Sep 2002
time: 05:24
  Old Post 18-12-2002 02:11 Visit fairline's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

quote:
Originally posted by Mercator
Download the VB6 runtime files available at my website.

IMPORTANT WARNING!!!!!

I discovered a rather annoying bug (the hard way)... My program does NOT make backups when importing new images. I'll update the download shortly with a fixed version.


Right, thanks Mercator, I've got it working. Guess I should have read your readme file properly . I think I'm going to have a go at some units - when will the debugged version be ready? I assume it's not a good idea to use the current editor to repack the sprites.

judging by the first unit I unpacked (the warrior) there are over 150 frames of animation. I may just try 8 different facings without combat and movement animation initially, and duplicate the rest of the frames. Anyone got any thoughts on making the process of full animation any easier (using civ3 unit conversions, perhaps?)

fairline is offline fairline
Prince
of the wing
Sep 2002
time: 05:24
  Old Post 18-12-2002 02:17 Visit fairline's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Enter the AD-FREE zone

Random idea - anyone know of a decent (and cheap ) 3D drawing package? - I'm guessing that would be the best way to churn out loads of different 2D views of the same unit.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 18-12-2002 18:36 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton buy from Amazon

The debugged version is already done and available.

I don't have Civ3, but its animations are in PCX format, no (or is that just the still images)?

About the 3D drawing... I think BeBro would be the one to ask about that...

I found a free program after a little search on the Internet:
http://www.anim8or.com

Subliminal is offline Subliminal
Settler

Dec 2002
time: 05:24
  Old Post 20-12-2002 16:14
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Avatar Enlargement: We've got the solution

if you need the run times go here;
http://www.microsoft.com/downloads/...DD-CDF2D29A79D5

thats the VB6 SP1 run time support pack and if that means nothing to you but Mercators programs dont work then it's what you need

fairline is offline fairline
Prince
of the wing
Sep 2002
time: 05:24
  Old Post 20-12-2002 21:30 Visit fairline's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Put an end to popups!

quote:
I found a free program after a little search on the Internet:


Thanks for the info, Mercator - I'll give this program a try

fairline is offline fairline
Prince
of the wing
Sep 2002
time: 05:24
  Old Post 21-12-2002 05:43 Visit fairline's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton buy from Amazon

The civ3 units are perfect - export to pcx with flicster and import into ToT bmp exported from CivSprite. Only problem is you have to cut and paste 150 - 200 images

I may have a try at this. Is there any demand for replacing the stock ToT units with Civ3 ones? Bear in mind that because the sprite animations are unique to each slot, it won't be easy to swap and change units into different slots for ToT scenarios.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 21-12-2002 18:57 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Subliminal
thats the VB6 SP1 run time support pack and if that means nothing to you but Mercators programs dont work then it's what you need


That runtime pack is also available at my utility site.

I don't really need any Civ3 units... But then I've never changed my Civ2 graphics, nor do I make ToT scenarios (yet?), so I'm not really the person to judge. If you have nothing better to do, go right ahead!

quote:
Bear in mind that because the sprite animations are unique to each slot, it won't be easy to swap and change units into different slots for ToT scenarios.


It's just a matter of renaming the UnitNN.spr file, and putting different images in the static.spr and units.bmp, isn't it?

Sava is offline Sava
King
GO GO GO!
Mar 2001
time: 23:24
  Old Post 21-02-2003 03:15
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Full PM-box? Change here!

aw shhhhiiiiitttttt! Mercator yer the man! I'm gonna hump your leg for this one!

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:24
  Old Post 22-02-2003 20:41 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

um... no thanks.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:24.
Apolyton Time is 00:24.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0560 seconds (92.31% PHP - 7.69% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net