SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
01-21-23, 06:05 PM | #1 |
CTD - it's not just a job
|
Do your files match in bit depth and extension name, as the originals?
|
01-22-23, 08:45 AM | #2 | |
Asso dei Siluratori
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
|
Quote:
And how do I change it if needed?
__________________
"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro." -Carlo Fecia di Cossato Last edited by SwissSubCommander; 01-22-23 at 09:09 AM. |
|
01-22-23, 03:51 PM | #3 |
Gunner
|
What graphics/imaging program are you using? To check the data for the file, you would have to open it and then check the properties from there. If you need to change it, then it's part of the saving procedure. I believe that all the "dds" and "tga" files are 32-bit in format/depth, so you shouldn't have any issues there.
I'm not sure if it's a Win-7 thing, but when I right-click on a "tga" or "dds" file, the properties option only gives me generic info and nothing from the file. This is because they are 32-bit. If I do the same with a "png" or a "jpg" or another 24-bit file, I can see the size and bit depth info for them. When modifying with GIMP (the program I use) I just make sure to NOT click on compression when it's offered for the dds files. I also agree (YES) to the option for creating mip-maps from a drop-down option. I haven't had any issues yet with this method of doing this. I'm sure there's a similar method for other imaging programs. Just the procedure for getting there may be somewhat different. I haven't used the "tga" files yet, but I believe you DON'T want the compression option there either. I believe if you compress the files they are then NOT 32-bit, and therefore can't be read by the sim. That was the case with flightsim files for FS9/FSX which I have considerable experience with. I don't see why this sim would be any different regarding the images/textures. By the way, how did you get the image you posted to copy to an imaging program? I've tried Ctrl+F11 and PrintScreen, but none of them work for me. All I get is either a black box or a screen-shot of the imaging program I would be in. Hope this helps. ElCid97 |
01-22-23, 04:31 PM | #4 |
Asso dei Siluratori
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
|
GIMP seems like a handy program.
I will try it out WHat do you mean? How I took the screenshot or how i uploaded it?
__________________
"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro." -Carlo Fecia di Cossato |
01-22-23, 05:28 PM | #5 |
Gunner
|
GIMP is basically an open source imaging program that allows you to work with layers and such, much like the payware ones. I figure since I'm only using it for a hobby that the price was worth it. (open source = free).
I'm on version 2.10.22, but it may be newer by now. With regards to the images, I meant how to take them. Eventually I figured it out a little while ago when I started seeing several "bmp" files in the main SH4 directory that weren't there before. I never would've thought that was the location that Ctrl+F11 would place them. I thought it was going to the save folder with the other stuff you save in-game. Live and learn. I'll post something once I clean them up. Regards, ElCid97 |
01-24-23, 11:37 AM | #6 |
Asso dei Siluratori
Join Date: Jan 2016
Location: Roma, Italia
Posts: 82
Downloads: 330
Uploads: 2
|
So, progress has been made, but Im not quite there yet...
I edited the "Awardsitems 3&4" files. I pasted every italian medal over the respective german one it should replace. I tested this, after giving myself every medal by editing the savegame, but in the Awards-screen, the american medal wich is in "awardsitems 2" on the right hand side would show up So I switched around the numbers of the files inside the menu_1024_768 file, basically making every "awarditems 1" into a 3, every 2 into a 4 and vice versa... When I did this, the "croce di guerra" showed up, the replacement for the german "knights cross" that sits in "awardsitems 4" on the right hand side. Why this works is beyond me, since its basically loading a texture out of a foreign file... Yay, an italian medal! Trouble is, it showed up for every single medal Here is the awards-section of my menu_1024_768 file Mat 0=data/menu/data/awardsitems_4.dds Crop 0=0.5,0.0742188,0.5,0.851563 Mat 1=data/menu/data/awardsitems_3.dds Crop 1=0.5,0.0742188,0.25,0.851563 Mat 2=data/menu/data/awardsitems_3.dds Crop 2=0.75,0.0742188,0.25,0.851563 Mat 3=data/menu/data/awardsitems_4.dds Crop 3=0,0.0742188,0.5,0.851563 Mat 4=data/menu/data/awardsitems_3.dds Crop 4=0.25,0.0742188,0.25,0.851563 Mat 5=data/menu/data/awardsitems_3.dds Crop 5=0,0.0742188,0.25,0.851563 Mat 6=data/menu/data/awardsitems_1.dds Crop 6=0.25,0.0742188,0.25,0.851563 Mat 7=data/menu/data/awardsitems_1.dds Crop 7=0.5,0.0742188,0.25,0.851563 Mat 8=data/menu/data/awardsitems_1.dds Crop 8=0,0.0742188,0.25,0.851563 Mat 9=data/menu/data/awardsitems_1.dds Crop 9=0.75,0.0742188,0.25,0.851563 Mat 10=data/menu/data/awardsitems_2.dds Crop 10=0,0.0742188,0.5,0.851563 Mat 11=data/menu/data/awardsitems_2.dds Crop 11=0.5,0.0742188,0.5,0.851563 And here are are the Awarditems 3 and 4 files respectively: Any assistance would be highly appreciated
__________________
"Da mesi e mesi non faccio che pensare ai miei marinai che sono onorevolmente in fondo al mare. Penso che il mio posto è con loro." -Carlo Fecia di Cossato Last edited by SwissSubCommander; 01-24-23 at 11:48 AM. |
01-24-23, 02:35 PM | #7 |
Gunner
|
This is what I'm seeing on the KSD2 install. Figured I'd use that one since it's meant for the "other" side from the beginning. My guess is that the mods for Dark Waters should be the same.
[G12 I5] Name=Medals;CAPTAINS_LARGE_MEDALS Type=1031;Stat bmp array ItemID=0x12000003 ParentID=0x12000000 Pos=200,-166,256,436 Zone= 200 602 256 436 6 1 0x12000001 0.32 -0.5 0x12000003 -0.5 0.5 0 0 Materials=12 Display=2;Linear Mat 0=data/menu/data/CaptainAwards_2.tga;PURPLE_HEART Crop 0=0.5,0.0742188,0.5,0.851563 Mat 1=data/menu/data/CaptainAwards_1.tga;NAVY_CROSS Crop 1=0.5,0.0742188,0.25,0.851563 Mat 2=data/menu/data/CaptainAwards_2.tga;BRONZE_STAR Crop 2=0,0.0742188,0.5,0.851563 Mat 3=data/menu/data/CaptainAwards_1.tga;SILVER_STAR Crop 3=0.75,0.0742188,0.25,0.851563 Mat 4=data/menu/data/CaptainAwards_1.tga;NAVY_COMMENDATION Crop 4=0.25,0.0742188,0.25,0.851563 Mat 5=data/menu/data/CaptainAwards_1.tga;ASIATIC_PACIFIC_CAMPAIGN Crop 5=0,0.0742188,0.25,0.851563 Mat 6=data/menu/data/awardsitems_3.dds Crop 6=0.25,0.0742188,0.25,0.851563 Mat 7=data/menu/data/awardsitems_3.dds Crop 7=0.5,0.0742188,0.25,0.851563 Mat 8=data/menu/data/awardsitems_3.dds Crop 8=0,0.0742188,0.25,0.851563 Mat 9=data/menu/data/awardsitems_3.dds Crop 9=0.75,0.0742188,0.25,0.851563 Mat 10=data/menu/data/awardsitems_4.dds Crop 10=0,0.0742188,0.5,0.851563 Mat 11=data/menu/data/awardsitems_4.dds Crop 11=0.5,0.0742188,0.5,0.851563 MatFlags=0x9 TexFmt=0x0 Drag=false BmpState=1 NeedFocus=true SelOne=false IdGroup=0 StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF See how this compares to yours. Keep in mind that the "CaptainAwards" files are not the default, so it may look different if you're modding off the vanilla sim. If you have these in your setup, then just change the name of the new images you did from "awardsitems_x.dds" to "CaptainAwards_x.dds" instead. The sim will load dds files before it loads tga files, so there shouldn't be any conflict. If all else fails, just resize the Italian medals to fit over the German ones EXACTLY. I say this because I still haven't figured out the numbers for the cropping or the positioning of the images, so can't help there. Send me a PM if you like and I'll see what I can look at sometime this week when I get the chance. Still putting finishing touches on my mod, so it wouldn't be too much to look at this in case I need to look at it later for a further "tweak" there. On lunch. Will check later after work. ElCid97 |
|
|