FunkyFr3sh Posted August 18, 2014 Share Posted August 18, 2014 I tried it with irfan view/paint.net but the game wont load it :/ which tool are you guys using? Could someone assist me to center these menu graphics below? :D http://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP2_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/SCOREMP_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/SCOREUI_800x600.TGA Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted August 18, 2014 Share Posted August 18, 2014 (edited) I tried it with irfan view/paint.net but the game wont load it :/ which tool are you guys using? Could someone assist me to center these menu graphics below? :D http://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP2_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/DUNEMAP_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/SCOREMP_800x600.TGAhttp://funkyfr3sh.cncnet.org/files/d2k/SCOREUI_800x600.TGAThe tga files use some sort of custom bit format (15bit). If I remember correctly. Mvi has some info on converting to normal format (perhaps useful one day): http://mvinetwork.co.uk/2013/05/27/colour-code-snippets/ It's 16bit: http://d2kplus.com/wiki/index.php?title=Image_files I once edited tga files correctly with paint shop pro something...: http://forum.dune2k.com/topic/21583-r8-and-r16-graphics/?p=386228 I also made a quick python program for you that adds black space to dune 2000 tga files. I call it background generator mark II. Very creative naming. :P Perhaps this is enough for you (see 'back' folder for generated resolutions) or else you are free to convert the code to c/c++ or whatever as long as you mention my name (and this forum). :) Edited August 18, 2014 by D2k Sardaukar 1 Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted August 18, 2014 Author Share Posted August 18, 2014 nice thanks! i like the name :D Quote Link to comment Share on other sites More sharing options...
Luminar Posted August 18, 2014 Share Posted August 18, 2014 I used Zoner Photo Studio for TGA files, and it is working. Quote Link to comment Share on other sites More sharing options...
Gruntlord6 Posted August 18, 2014 Share Posted August 18, 2014 I used Zoner Photo Studio for TGA files, and it is working.It's Iffy though like paintshop pro, would rather have a plugin for paint.net or a dedicated application. Quote Link to comment Share on other sites More sharing options...
mvi Posted August 18, 2014 Share Posted August 18, 2014 The tga files use some sort of custom bit format (15bit). If I remember correctly. Mvi has some info on converting to normal format (perhaps useful one day): http://mvinetwork.co.uk/2013/05/27/colour-code-snippets/ It's 16bit: http://d2kplus.com/wiki/index.php?title=Image_files I once edited tga files correctly with paint shop pro something...: http://forum.dune2k.com/topic/21583-r8-and-r16-graphics/?p=386228 I also made a quick python program for you that adds black space to dune 2000 tga files. I call it background generator mark II. Very creative naming. :P Perhaps this is enough for you (see 'back' folder for generated resolutions) or else you are free to convert the code to c/c++ or whatever as long as you mention my name (and this forum). :) background generator mark II.7zIt's 15 bit, the 16th bit is just padding. The code I posted should work fine if you have raw pixel buffers. Photoshop supports editing these files without any issues. Alternatively a PNG<->15 bit TGA convertor should be trivial to code. Quote Link to comment Share on other sites More sharing options...
Gruntlord6 Posted August 18, 2014 Share Posted August 18, 2014 It's 15 bit, the 16th bit is just padding. The code I posted should work fine if you have raw pixel buffers. Photoshop supports editing these files without any issues. Alternatively a PNG<->15 bit TGA convertor should be trivial to code.Feels like someone is volunteering ;) Quote Link to comment Share on other sites More sharing options...
mvi Posted August 18, 2014 Share Posted August 18, 2014 If people want one I can put together one quickly enough Quote Link to comment Share on other sites More sharing options...
Gruntlord6 Posted August 19, 2014 Share Posted August 19, 2014 If people want one I can put together one quickly enoughLike I said, it would be very usefull. Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted August 19, 2014 Author Share Posted August 19, 2014 a converter would be awesome, yea :D Quote Link to comment Share on other sites More sharing options...
mvi Posted August 20, 2014 Share Posted August 20, 2014 Have a PNG <-> TGA Converter Images are saved in the same folder as the original with the same name but different extension. If anyone wants to do anything fancier with it, i.e. drag and drop or CLI then the source code is at https://gist.github.com/mvi/284fa3b6fa9422da8297 Full source code zip is at https://www.dropbox.com/s/3us76ubmd8uhg0e/TGAConverter.7z 3 Quote Link to comment Share on other sites More sharing options...
FunkyFr3sh Posted August 21, 2014 Author Share Posted August 21, 2014 very nice, good job :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.