( search forums )
Tool that converts all Soldat BMP screens into PNG
Soldat Forums - Soldat Fans - Fan Apps
ramirez
June 30, 2005, 5:01 am
No idea if this has been done before, but here goes, the title says it all.

http://ramirez.avalanchestudios.net/bmp2png.zip

All you have to do is extract that in the Screens folder (note NOT the Soldat.exe folder, put it where the actual screens are). When you have done that, run it and it does the conversion, and deletes the converted BMPs.

Zero72
June 30, 2005, 5:16 am
...That's a really good idea.

KeFear
June 30, 2005, 9:20 am
Yeah, i remember that thing too.

ramirez
June 30, 2005, 9:33 am
I just coded it today. :x
There are other bmp to png command line tools, but most of them can be used only to convert one file at time, so that's why I made this.

Deleted User
June 30, 2005, 10:49 am
Good job.

b00stA
June 30, 2005, 3:07 pm
Convert all your screenshots to PNG/JPG

Whyyy, it was me who did this before.

ramirez
June 30, 2005, 3:09 pm
Yeah, like I said I had no idea if a tool like this already existed, thus I coded one fast, it's not like it was hard anyway. :P

Deleted User
July 1, 2005, 2:29 pm
b00stA: I think you created your batch file before I made the FAps list so when I made the list, yours didn't get added. Sorry :(

ramirez
July 3, 2005, 4:31 pm
IMPORTANT UPDATE.
It now finds out the last endgameX.png and then starts converting to names after that.
This update makes a good reason why to use this tool over the another. :P

Here's an example output:
quote:Converting endgame1.bmp to endgame817.png... Done!
Converting endgame2.bmp to endgame818.png... Done!
Converting endgame3.bmp to endgame819.png... Done!
Converting endgame4.bmp to endgame820.png... Done!
Converting endgame5.bmp to endgame821.png... Done!
Converting endgame6.bmp to endgame822.png... Done!
Converting endgame7.bmp to endgame823.png... Done!
Converting endgame8.bmp to endgame824.png... Done!
Converting endgame9.bmp to endgame825.png... Done!
Converting endgame10.bmp to endgame826.png... Done!
Converting endgame11.bmp to endgame827.png... Done!
Converting endgame12.bmp to endgame828.png... Done!
Converting endgame13.bmp to endgame829.png... Done!
Converting endgame14.bmp to endgame830.png... Done!
Converting endgame15.bmp to endgame831.png... Done!

HOWEVER, because how I had to do this tool now, you can no longer use it to convert other BMPs in other dirs to PNGs, because it checks for the name now. This is Soldat-only tool now.


And thanks for the comment guys, I appreciate it. :)

SPARTAN_III
July 13, 2005, 11:24 am
is it possible to code it so it transforms all bmps in one folder into pngs regardless of the name?

ownage idea, btw.

Deleted User
July 13, 2005, 11:52 am
its works great!!!! tnx

ramirez
July 15, 2005, 2:30 pm
quote:Originally posted by SPARTAN_IIIis it possible to code it so it transforms all bmps in one folder into pngs regardless of the name?

ownage idea, btw.

That's what the first version did, but the problem with that was that the new BMPs Soldat generates were overwriting the already converted ones.
I'll try to find the original one from somewhere, or recode it for you. It might take a little while though, because I'm leaving for a week today.

0xSilentx0
July 15, 2005, 6:15 pm
Nice job...I still like Giffy though

SPARTAN_III
July 21, 2005, 5:13 am
it doesnt work for screens that you take with F4 :( cause they'e not named endgame#. pls fix this.

ramirez
July 24, 2005, 12:53 pm
Thanks for the notice.
I have fixed it now, and screenshot BMPs are converted to PNGs too.
You can download the new version from the same URL.

And as for SPARTAN_III, I will do the all BMP files to PNG converter later today or tomorrow.

miky258
July 24, 2005, 9:27 pm
How do you make that stuff?

ramirez
July 24, 2005, 10:20 pm
By using Microsoft Visual C++ compiler to compile some C++ code. :D

Naobot
December 25, 2005, 1:53 pm
what is a png file? is it one that can be played with some kind of player?

KeFear
December 25, 2005, 11:19 pm
png is portable network graphics, an image format with nice quality, better than jpg imho