You wouldn't happen to have figured out a way to stop SOTS2 or GIMP from reversing Red and Blue? That drives me nuts and is the main reason I won't do custom icons yet.Glabrezu wrote: ↑Tue Nov 12, 2019 6:17 pmAha! That must be the step I am missing!Rossinna-Sama wrote: ↑Tue Nov 12, 2019 11:41 amHave to make an entry for any new textures in the Skin1.xml hiding in the UI\Skin1 folder. The following should work.
<sprite id="bal_sniper_ii" texture="weapons/Icons/bal_sniper_ii.bmp" x="0" y="0" w="32" h="32"></sprite>
Fairly sure it is also case sensitive, so be careful with that.
It was indeed the missing step.
Thank you kindly!
Beta: SOTS2 Texture File Extractor
Moderator: Makail
- Rossinna-Sama
- Posts: 1816
- Joined: Sun Nov 11, 2012 5:38 am
Re: Beta: SOTS2 Texture File Extractor
Sword of the Stars 2 : Project Hiver Modder
Creator of the Work-In-Progress Seimei Visual Novel series.
My dream game: Combination of Sword of the Stars 2, Angels Fall First, Conquest: Frontier Wars and Warzone 2100.
Creator of the Work-In-Progress Seimei Visual Novel series.
My dream game: Combination of Sword of the Stars 2, Angels Fall First, Conquest: Frontier Wars and Warzone 2100.
Re: Beta: SOTS2 Texture File Extractor
I don't really do graphics, I am only using GIMP because paint.net wasn't doing the job. I can only tell you what I did.Rossinna-Sama wrote: ↑Thu Nov 14, 2019 9:30 pmYou wouldn't happen to have figured out a way to stop SOTS2 or GIMP from reversing Red and Blue? That drives me nuts and is the main reason I won't do custom icons yet.
As previously said I used the pre-existing sniper icon, used GIMP the "colour saturation" option, chose "red" as the master colour, moved the first slider until it (the red target reticule part of the icon) went a pretty shade of green.
I also made a purple version of the sniper icon.
I did the same with the variable laser and the cutting laser (turned them purple in this case).
I only changed icons, I didn't mess around with projectiles.
The "new" icons look the same in game as they did when edited with GIMP (no colour changes, other than the ones I had wanted).
That pretty much it (and all I did). I doubt that's helpful to you.
Aye, I'm using the latest version of GIMP, 64bit.
Ah yeh, I also used the phalanx icon, turned it green too, yeh i like green, had to use Color Balance option for it. Middle slider till the right green.
Like I said I doubt any of this info is helpful to you.
- Rossinna-Sama
- Posts: 1816
- Joined: Sun Nov 11, 2012 5:38 am
Re: Beta: SOTS2 Texture File Extractor
So far the easiest way I've found to preserve colors is to make everything the way you want color wise, then once finished, go to Color - Components - Channel Mixer and make a new template which Blue in Red channel is 1, Red in Red channel is 0, Red in Blue channel is 1 and Blue in Blue channel is 0.
I've tried it mostly with weapon icons so far, and the colors look like they should once they are ingame. It appears to just be how .DDS files are read by the game or something like that.
I've tried it mostly with weapon icons so far, and the colors look like they should once they are ingame. It appears to just be how .DDS files are read by the game or something like that.
Sword of the Stars 2 : Project Hiver Modder
Creator of the Work-In-Progress Seimei Visual Novel series.
My dream game: Combination of Sword of the Stars 2, Angels Fall First, Conquest: Frontier Wars and Warzone 2100.
Creator of the Work-In-Progress Seimei Visual Novel series.
My dream game: Combination of Sword of the Stars 2, Angels Fall First, Conquest: Frontier Wars and Warzone 2100.
Re: Beta: SOTS2 Texture File Extractor
What I do seems way less technical than what you do, but then I'm just making little changes for myself (so it doesn't need to be that good), I am fiarly sure what you do is a bit more in depth and is for the modding you are doing for yourself than others, you also put in a lot of effort into what you do 

-
- Posts: 13
- Joined: Thu Aug 16, 2018 9:11 am
Re: Beta: SOTS2 Texture File Extractor
Afternoon,
I am hoping some out there are able to assist with this as my PM's don't seem to leave the outbox despite complying with all the message rules. I can't remember very well.
I am trying to get back into modding this beautiful game again. I am having trouble with this texture conversion program however.
Now, I know that you can drag and drop an SOTS II image onto the .exe and it will convert to .dds which is simple and great. Problem is it doesn't seem to work in reverse. Thus I am trying to get the command prompt line correct so as to convert a new image back into SOTS II (.tga~ or .bmp~).
I understand it should be as simple as: Extract -S XYZ.dds -O XYZ.tga~
Problem is that the Command Prompt doesn't recognise 'Extract' as a command (despite the help command saying otherwise).
If anyone can remember how to write the line correctly, please could they reply.
my Command line is as follows:
C:\User\Extract>Extract -S XYZ.tga~ -O XYZ.dds & C:\User\Extract>Extract -S XYZ.dds -O XYZ.tga~
Any corrections will be greatly appreciated.
Scottish KIltz
I am hoping some out there are able to assist with this as my PM's don't seem to leave the outbox despite complying with all the message rules. I can't remember very well.
I am trying to get back into modding this beautiful game again. I am having trouble with this texture conversion program however.
Now, I know that you can drag and drop an SOTS II image onto the .exe and it will convert to .dds which is simple and great. Problem is it doesn't seem to work in reverse. Thus I am trying to get the command prompt line correct so as to convert a new image back into SOTS II (.tga~ or .bmp~).
I understand it should be as simple as: Extract -S XYZ.dds -O XYZ.tga~
Problem is that the Command Prompt doesn't recognise 'Extract' as a command (despite the help command saying otherwise).
If anyone can remember how to write the line correctly, please could they reply.
my Command line is as follows:
C:\User\Extract>Extract -S XYZ.tga~ -O XYZ.dds & C:\User\Extract>Extract -S XYZ.dds -O XYZ.tga~
Any corrections will be greatly appreciated.
Scottish KIltz
-
- Posts: 19
- Joined: Tue Aug 23, 2011 7:43 pm
Re: Beta: SOTS2 Texture File Extractor
Kind of a late reply, but in case you are still looking for an answer:
It sounds like command prompt isn't finding the Extract.exe you are trying to run. Are you running the command from the same folder that the Extract.exe is located in? and if so, are you using the same file name as the exe? It looks like in the new github download it's Extract64.exe or Extract32.exe not just Extract.
If those aren't the issue, then it might be you need to use .\Extract or .\Extract.exe to tell it to look in the current directory for the exe. From a quick test, it seems to be working for me.
command I used:
.\Extract64.exe -S XYZ.dds -O "XYZ.tga~"
It sounds like command prompt isn't finding the Extract.exe you are trying to run. Are you running the command from the same folder that the Extract.exe is located in? and if so, are you using the same file name as the exe? It looks like in the new github download it's Extract64.exe or Extract32.exe not just Extract.
If those aren't the issue, then it might be you need to use .\Extract or .\Extract.exe to tell it to look in the current directory for the exe. From a quick test, it seems to be working for me.
command I used:
.\Extract64.exe -S XYZ.dds -O "XYZ.tga~"
-
- Posts: 13
- Joined: Thu Aug 16, 2018 9:11 am
Re: Beta: SOTS2 Texture File Extractor
Pal, you have just made yourself a star!
I was missing the .\ bit before the Extract64.exe after changing to the correct directory and that seems to work. I don't understand what it does as part of the command line but it works.
I did notice it didn't like me telling it to convert an original image into .dds. kept saying no DDS Header found.
Anyway, I can now extract in both directions which is what I needed.
Many thanks
SK
I was missing the .\ bit before the Extract64.exe after changing to the correct directory and that seems to work. I don't understand what it does as part of the command line but it works.
I did notice it didn't like me telling it to convert an original image into .dds. kept saying no DDS Header found.
Anyway, I can now extract in both directions which is what I needed.
Many thanks
SK
Who is online
Users browsing this forum: No registered users and 3 guests