• We've upgraded our forums. Please post any issues/requests in this thread.

Programmers Only!! Need help in editing a Program

Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#1
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: View attachment ASU.zip

This is a example of Sprite Sheet: gokupo.jpg

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

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#2
Attachments are invalid.
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#3
They are working fine for me
Any way i will upload them again
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#4
:confused: 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?
 
Joined
Aug 10, 2007
Messages
4,058
Likes
1,122
Location
Geneva, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
#6
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.
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#7
If I had the original sprite file I could maybe reverse engineer it (wouldn't be the first).
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
17,021
Likes
17,869
Processor Core i7-4790K
Memory 16 GB
Video Card(s) GTX 1080
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 7
#8
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
 

temp02

New Member
Joined
Mar 18, 2009
Messages
493
Likes
165
#9
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.
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#10
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).

 
Last edited by a moderator:

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#11
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?
 
Joined
Aug 10, 2007
Messages
4,058
Likes
1,122
Location
Geneva, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
#12
Latest version: www.alferdspritesheetunpacker.forkandbeard.co.uk/

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:

View attachment 48194

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.
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#13
All you need to do is make it to save every extraction in 256 color .png format.

thats all
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#14
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. :p
 
Joined
Aug 10, 2007
Messages
4,058
Likes
1,122
Location
Geneva, FL, USA
Processor Intel i5-6600
Motherboard ASRock H170M-ITX
Cooling Cooler Master Geminii S524
Memory G.Skill DDR4-2133 16GB (8GB x 2)
Video Card(s) Gigabyte R9-380X 4GB
Storage Samsung 950 EVO 250GB (mSATA)
Display(s) LG 29UM69G-B 2560x1080 IPS
Case Lian Li PC-Q25
Audio Device(s) Realtek ALC892
Power Supply Seasonic SS-460FL2
Mouse Logitech G700s
Keyboard Logitech G110
Software Windows 10 Pro
#15
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.
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#16
Joined
Dec 2, 2009
Messages
3,257
Likes
315
System Name Mercury KM-81
Processor Phenom II x4 B50
Motherboard ASUS M4A89GTD PRO
Cooling Cooler Master Hyper TX3
Memory 6GB Ram (4GBx1 Corsair 2GBx1 Nanya)
Video Card(s) PowerColor AX6770 V2.0
Storage 2TB WD Black, 1TB Hitachi, 500 GB WD Blue
Display(s) Philips 247E-LPH 24" 1920x1080
Case Mercury
Audio Device(s) Integrated Realtek
Power Supply Corsair 750TX
Software Windows 7 64-bit
Benchmark Scores Maybe it is time to benchmark :D
#17
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.
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#18
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]btw, i have created a new char if any MUGEN lover is here on TPU can check that(PM me i will send you the link).[/offtopic]
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#19
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.
 
Last edited:
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#20
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
 

FordGT90Concept

"I go fast!1!11!1!"
Joined
Oct 13, 2008
Messages
20,902
Likes
9,994
Location
IA, USA
System Name BY-2015
Processor Intel Core i7-6700K (4 x 4.00 GHz) w/ HT and Turbo on
Motherboard MSI Z170A GAMING M7
Cooling Scythe Kotetsu
Memory 2 x Kingston HyperX DDR4-2133 8 GiB
Video Card(s) PowerColor PCS+ 390 8 GiB DVI + HDMI
Storage Crucial MX300 275 GB, Seagate 6 TB 7200 RPM
Display(s) Samsung SyncMaster T240 24" LCD (1920x1200 HDMI) + Samsung SyncMaster 906BW 19" LCD (1440x900 DVI)
Case Coolermaster HAF 932 w/ USB 3.0 5.25" bay
Audio Device(s) Realtek Onboard, Micca OriGen+
Power Supply Enermax Platimax 850w
Mouse SteelSeries Sensei RAW
Keyboard Tesoro Excalibur
Software Windows 10 Pro 64-bit
Benchmark Scores Faster than the tortoise; slower than the hare.
#21
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!
 

Attachments

Last edited:
Joined
Dec 2, 2009
Messages
3,257
Likes
315
System Name Mercury KM-81
Processor Phenom II x4 B50
Motherboard ASUS M4A89GTD PRO
Cooling Cooler Master Hyper TX3
Memory 6GB Ram (4GBx1 Corsair 2GBx1 Nanya)
Video Card(s) PowerColor AX6770 V2.0
Storage 2TB WD Black, 1TB Hitachi, 500 GB WD Blue
Display(s) Philips 247E-LPH 24" 1920x1080
Case Mercury
Audio Device(s) Integrated Realtek
Power Supply Corsair 750TX
Software Windows 7 64-bit
Benchmark Scores Maybe it is time to benchmark :D
#23
@gopal
You mean, you know how to draw the characters and animate them?
 
Joined
Jun 25, 2012
Messages
1,027
Likes
121
Location
Patna, Bihar, India, Asia, Earth, Terron System, M
System Name Oldtimer(Always Crunching)
Processor Intel P4 631 @ 3.2 GHz [Stock 3.0 GHz]
Motherboard Intel D945GCPE
Memory 512 MB x2 DDR2 (533MHZ and 366 MHZ)
Storage 160GB Sata1 7200rpm
Display(s) ViewSonic VA703m
Power Supply Normal 450W PSU
Software Windows 7 Ultimate 32bit
#24