techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > Programming & Webmastering

Reply
 
Thread Tools
Old Aug 20, 2012, 03:23 PM   #1
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Programmers Only!! Need help in editing a Program

There is a Program Called Sprite Extractor which extracts MUGEN Char's Sprites Sheet but it is useless to char makers because it saves images to RGB/8bit color but we need images in 256 color so i am giving you guys a task can you make it to save Sprites in 256 colors.

Sprite Extractor:ASU.zip

This is a example of Sprite Sheet:Click image for larger version

Name:	gokupo.jpg
Views:	84
Size:	214.5 KB
ID:	48189

If need any more info then post below i will give more info.

Last edited by gopal; Aug 20, 2012 at 03:38 PM.
gopal is offline  
Reply With Quote
The Following User Says Thank You to gopal For This Useful Post:
Old Aug 20, 2012, 03:28 PM   #2
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

Attachments are invalid.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Aug 20, 2012, 03:30 PM   #3
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

They are working fine for me
Any way i will upload them again
gopal is offline  
Reply With Quote
Old Aug 20, 2012, 06:37 PM   #4
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

Both your attachments are rather useless.


"RGB/8bit" = 24-bit?

Are the files JPEG and you want them converted to 8-bit (256 color) bitmap?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Aug 20, 2012, 06:49 PM   #5
temp02
200 Posts
 
Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts

But you can only have 256 colors in 8-bit mode (eg: R:3 G:3 B:2).
Maybe the problem is in the image editor and not the extractor.
temp02 is offline  
Reply With Quote
The Following User Says Thank You to temp02 For This Useful Post:
Old Aug 20, 2012, 07:17 PM   #6
Jizzler
2000 Posts
 
Jizzler's Avatar
 
Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.41/day)
Thanks: 567
Thanked 606 Times in 487 Posts

System Specs

Unless Alfred Spritesheet Unpacker is open source, or there is some command line switch to change output, there's not much we could do.

However, http://www.imagemagick.org/ makes batch conversion quite easy.
Jizzler is offline  
Reply With Quote
The Following User Says Thank You to Jizzler For This Useful Post:
Old Aug 20, 2012, 07:24 PM   #7
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

If I had the original sprite file I could maybe reverse engineer it (wouldn't be the first).
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Aug 20, 2012, 07:41 PM   #8
W1zzard
Benevolent Dictator
 
W1zzard's Avatar
 
Join Date: May 2004
Location: Stuttgart, Germany
Posts: 13,872 (4.17/day)
Thanks: 184
Thanked 10,454 Times in 3,219 Posts
Send a message via ICQ to W1zzard Send a message via AIM to W1zzard Send a message via MSN to W1zzard Send a message via Skype™ to W1zzard

System Specs

Better to just convert 24-bit to 8-bit files using some kind of batch program

+1 for imagemagick, we use it extensively at tpu
W1zzard is online now  
Reply With Quote
Old Aug 20, 2012, 08:13 PM   #9
temp02
200 Posts
 
Join Date: Mar 2009
Posts: 490 (0.32/day)
Thanks: 0
Thanked 171 Times in 158 Posts

24 to 8-bit conversions would probably require some kind of "manual edit" afterwards to adjust the color palette or some sprites will look "weird", unless ImageWiz... I mean ImageMagick can automatically adjust the color palette for the closest/best result.
temp02 is offline  
Reply With Quote
Old Aug 21, 2012, 10:13 AM   #10
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Guys you are not understanding what i mean, I have to extract the who sheet each animation seperate file there are 200+ of them so that is why i wanted that program to be edited it could turn our work of hrs into mins.

Well nevermind We will use the same old manual way.

Anyway if you want to see what we do with that program see this vid(skip the vid to 6:30).

gopal is offline  
Reply With Quote
Old Aug 21, 2012, 01:54 PM   #11
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

a) Does Alfred not work? Once you got separate images, you can use programs to batch convert from RGBA 32-bit to 256 color.

b) What is the source for these sprite sheets? If it was a game, there is likely SPZ or some companion file that details where every sprite is and what it does.

c) What is the end goal here? 256 color, yes, but what file format? GIF, bitmap, PNG?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Aug 21, 2012, 01:56 PM   #12
Jizzler
2000 Posts
 
Jizzler's Avatar
 
Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.41/day)
Thanks: 567
Thanked 606 Times in 487 Posts

System Specs

Latest version: http://www.alferdspritesheetunpacker...ndbeard.co.uk/

Quote:
Added integration with NConvert command line image file conversion utility to allow ASU to support 400+ file formats, both imported sprite sheets and exported frames.
Can specify Nconvert command-line options for the output:



If this is not what you're after, you'll have to explain it in more detail. Otherwise, you can go back to the "manual" life. If each sheet takes you hours, then spending an hour to learn how to automated and simplify the process will save you greatly in the long run.
Jizzler is offline  
Reply With Quote
The Following User Says Thank You to Jizzler For This Useful Post:
Old Aug 21, 2012, 02:53 PM   #13
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

All you need to do is make it to save every extraction in 256 color .png format.

thats all
gopal is offline  
Reply With Quote
Old Aug 21, 2012, 03:01 PM   #14
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

I can write a command line application that can convert PNG to 8 bits per pixel index PNG. Is that all you need?

You only answered c of my questions.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old Aug 21, 2012, 03:22 PM   #15
Jizzler
2000 Posts
 
Jizzler's Avatar
 
Join Date: Aug 2007
Location: Geneva, FL, USA
Posts: 3,010 (1.41/day)
Thanks: 567
Thanked 606 Times in 487 Posts

System Specs

Quote:
Originally Posted by gopal View Post
All you need to do is make it to save every extraction in 256 color .png format.

thats all
Excellent. You'll just need to use the latest version of ASU I linked to earlier, and the command line options in my screenshot. If there are any palette issues, let us know.
Jizzler is offline  
Reply With Quote
Old Aug 23, 2012, 03:33 PM   #16
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
I can write a command line application that can convert PNG to 8 bits per pixel index PNG. Is that all you need?
Yes that is what i need.
gopal is offline  
Reply With Quote
Old Aug 23, 2012, 04:00 PM   #17
Aleksander
2000 Posts
 
Aleksander's Avatar
 
Join Date: Dec 2009
Posts: 3,038 (2.35/day)
Thanks: 653
Thanked 283 Times in 229 Posts

System Specs

First of all, why would you want to extract MUGEN Char's Sprites Sheet?
Also, that has nothing to do with programmer's. It is more for animators and character designers task.
Aleksander is offline  
Reply With Quote
Old Aug 23, 2012, 04:18 PM   #18
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Quote:
Originally Posted by Aleksander Dishnica View Post
First of all, why would you want to extract MUGEN Char's Sprites Sheet?
Also, that has nothing to do with programmer's. It is more for animators and character designers task.
I am a MUGEN Character and stages maker lol, so that is why i wanted that.

I wrote Programmers only because changing something in a program only a program can do, not the CHAR makers.

offtopic
gopal is offline  
Reply With Quote
Old Aug 23, 2012, 04:19 PM   #19
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

Quote:
Originally Posted by gopal View Post
Yes that is what i need.
Drag and drop the PNG files you want converted on to it and it will REPLACE the file with 8bpp version.

I highly recommend backing up the images before trying this.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Aug 23, 2012 at 04:36 PM.
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Aug 23, 2012, 04:24 PM   #20
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
Drag and drop the PNG files you want converted on to it and it will REPLACE the file with 8bpp version.

I highly recommend backing up the images before trying this.
okay this is what i got.

btw, it will be nice if you add the support of BMP too
gopal is offline  
Reply With Quote
Old Aug 23, 2012, 04:28 PM   #21
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,651 (6.23/day)
Thanks: 1,787
Thanked 2,632 Times in 1,986 Posts

System Specs

It supports BMP (BMP has no transparency mind you). Make sure you have .NET Framework 3.5 or newer installed.


If all else fails, attach the image that failed so I can try it in the debugger.


Edit: I added console text to tell you what it is doing in the attached version.


Edit: Again, this program overwrites the images so backup first!
Attached Files
File Type: exe convert.exe (7.5 KB, 11 views)
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Aug 23, 2012 at 05:43 PM.
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to FordGT90Concept For This Useful Post:
Old Aug 23, 2012, 04:44 PM   #22
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

okay it is working now thanks
gopal is offline  
Reply With Quote
Old Aug 23, 2012, 05:23 PM   #23
Aleksander
2000 Posts
 
Aleksander's Avatar
 
Join Date: Dec 2009
Posts: 3,038 (2.35/day)
Thanks: 653
Thanked 283 Times in 229 Posts

System Specs

@gopal
You mean, you know how to draw the characters and animate them?
Aleksander is offline  
Reply With Quote
Old Aug 23, 2012, 05:47 PM   #24
gopal
500 Posts
 
gopal's Avatar
 
Join Date: Jun 2012
Location: Patna, Bihar, India, Asia, Earth, Terron System, Milky way Galaxy, And Beyond
Posts: 990 (2.76/day)
Thanks: 240
Thanked 121 Times in 94 Posts
Send a message via MSN to gopal Send a message via Skype™ to gopal

System Specs

Quote:
Originally Posted by Aleksander Dishnica View Post
@gopal
You mean, you know how to draw the characters and animate them?
No, i don't draw them i download the Sprite Sheets and animate them it is very easy but it takes month to complete on char

it is mine: http://www.mediafire.com/?pkv1152x4vd5dqb
well not fully completed yet still in the basic moves
gopal is offline  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some bios editing help trt740 Overclocking & Cooling 5 Sep 25, 2011 10:31 PM
Programmers help with BIOS-Tool needed. Spirou AMD / ATI 6 Aug 15, 2009 09:02 AM
I need a great video editing program and system to run it. trt740 General Software 107 Jul 2, 2008 03:31 AM
A decent video editing program???? DrunkenMafia General Software 2 Nov 4, 2007 12:14 AM


All times are GMT. The time now is 07:14 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts