|
|
|
|
|
April 28th, 2007, 08:48 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
PERFECT SPRITE EXTRACTION
Sorry for the caps but this really is a HUGE announcement. Thanks to something Endoperez said in a sort of offhand manner we now appear to have a way of extracting perfect (though not attacking) sprites from Dom3.
This is going to be a MASSIVE help to modders like myself who have previously had to pretty much redraw the sprites by eye and hand in order to modify them,... AND it's going to mean any random fool (if you'll pardon the term) can now make graphical alterations and new units and whatnot that fit in with Vanilla dom3 more or less perfectly. With this method there is literally no excuse for dodgy or very basic graphics any more.
Here's how I did it, following Endo's guidance.
Turn off the filter in graphical preferences.
Switch resolution to 800x600.
Find the unit you want and right click on it to bring up its display screen.
Then printscreen (screengrab), paste it into a graphical app and cut out the graphic you want.
THAT'S IT.
If I'd known this a few months ago,.... wow that woulda saved me a LOT of time. I'd also have made probably twice as many mods.
THANKYOU ENDO! I really can't stress that enough
|
April 28th, 2007, 08:56 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
It might not wprk just right, though. Half the human sprites I get are about 40 pixels high instead of ~32. Singularity's post has some details.
|
April 28th, 2007, 09:06 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
Okay, now I got why it didn't work when I last tried it. I used 800x600 resolution fullscreen and took the screenshots from windowed mode, thinking that what I saw was 800x600. However, it isn't! Even though the command line file, at least, claims that the default windowed resolution is 800x600, using commandline -r 800x600 in the shortcut makes Dom window much smaller. Unit screenshots can be grabbed from windowed mode if you have a shortcut with that property.
Any sprite wishes? I'll do some Caelum ones first.
|
April 28th, 2007, 09:13 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
Wow, it will be EXTEREMLY easy to grab sprites if you just change the GUI into something that is of single, even color everywhere and put GUI opacity into 1. Then just PrtScreen, paste, use color chooser to select all black that's ever-so-slightly hued by the background, change it into color of your choice. Then change the shadow, pure black, into magenta. VERY FAST!
|
April 28th, 2007, 09:29 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
I honestly think this is so easy that we don't even need a sprite library any more - you can just get whatever sprite you need at any given moment.
I have just made two new units using this technique. The old way of doing things this would have been like an hours work or something, to get it this good. It took me literally 5 minutes.
The bmp with the two new units (which will be for ulm reborn) will be attached in a moment.
|
April 28th, 2007, 09:35 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
I'd like to add that, now, if anyone needs any more complex artwork done for their mods (stuff that goes beyond changing the vanilla sprites a bit, making attack sprites etc) I will probably be free to do it, provided I like the mod.
Might be able to do some awesome stuff for padmassa, for instance, using vanilla sprites as a base.
|
April 28th, 2007, 09:40 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
LA Caelum unit sprites attached to this post. This is FAST! Choose unit, take screenshot, paste, select area tool, select unit, new window, paste, select eraser, select background color, erase background, move unit/shadow to nice position, save. I did most of these twice, due to not noticing the black area between their legs. INSANE SPEED!
|
April 28th, 2007, 09:55 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
Gandalf, or anyone else who happens to know the answer:
Would it be possible to do a shortcut for Dominions that first replaces guiborder2.tga with some other tga file, then launches Dom with a --postexec command that somehow replaces the new guiborder2.tga with the original? Or copy of the original, actually, but you know what I mean. It would enable one Dom directory to be used for both normal games AND for ultra-quick screen-grabbing of units, with the only difference being in the shortcut used to launch Dom.
I'm pretty sure it could be done with two .bat files, but I can't write those.
|
April 28th, 2007, 10:00 AM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: PERFECT SPRITE EXTRACTION
I don't even think it's that important to be able to do them super fast - I mean even without changing the borders and whatnot you can still get the sprite out cleanly and make the shadow in under a couple of minutes.
I really think there's no need to go extracting all the sprites, since it's so easy to just get the ones you need from right clicking 'em on the recruit screen and following the method. The rest can be got from the monster file cabinet map. I mean having all the sprites to hand would be nice and all, but it would only save you a few minutes - modifying them to look different instead of trying to extract them is what takes the time now, as it should be.
For sure the biggest thing to happen on this forum. Crazy that we only just got this working.
|
April 28th, 2007, 10:27 AM
|
|
Second Lieutenant
|
|
Join Date: Oct 2006
Location: Canberra, Australia
Posts: 409
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Re: PERFECT SPRITE EXTRACTION
It may not be able to do attack sprites but other that I have to share with Sombres Excitement! now I shouldn't look so stupid with my silly animations!!!
|
Posting 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
|
|
|
|
|