DC_DarklingJoin Date: 2003-07-10Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
Ok, hope anyone has a idea while I will keep cursing at this and try stuff.
* the file provided by Samus is in the mod & I confirmed its also in the downloaded workshop files.
* I see a recolour.
* Yet its off.
See attachment. Left is old, right is new. Note the slight colour difference is due to lightning. The real problems are the weird green lines and the black lines coming through everywhere, seemingly even distorting the weapon.
DC_DarklingJoin Date: 2003-07-10Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
That complicated method took only like 1 minute more work. 5 if I account to think of it.
If its regarded 'better' by you and uwe then I wont bother changing to back to material file. :P
McGlaspiewww.team156.comJoin Date: 2010-07-26Member: 73044Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester
@DC_Darkling The only downside to what you're doing is increasing the size of your mod without really needing to. Both ways are essentially valid, so it just comes down to how much data a given mod has. For example, no way I can ever do this in MvM, it's already 24MB compressed.
DC_DarklingJoin Date: 2003-07-10Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
@McGlaspie
You are totally right, I did notice that, hence I was originally aiming for the materials fix. I will consider when the material one is fixed.
My mods tend to be quite large, especially the double rifle one atm. Each file is 16MB, so the double riffle one is 32MB. I guess shiny purple is quite harsh on the filesize.
Ive tried different .dds formats to reduce size, to no avail. I just managed to grab formats the engine doesnt even support. Im using ARGB8888 now, which manages the mod to run, but the filesizes just aint pretty.
(if anyone has better ideas for gimp and/or paint.net to reduce filesize without nuking quality or engine support, im all ears)
McGlaspiewww.team156.comJoin Date: 2010-07-26Member: 73044Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester
edited May 2014
@DC_Darkling ( O_O ) Holy... 16MB?! What kind of res are those textures at? 8192x8192 or something?! That's just crazy talk man :P Generally speaking, you only ever want to use DXT5RGBA (with Interpolated Alpha channel) and no other format (Note: there are cases when DXT3 is useful, but not often). You can generate Mipmaps if you want, but this usually isn't needed. Anything else is increasing the filesize for hardly any gain. Not to mention, the larger the texture data becomes, the more Draw-Calls you're forcing Spark to make, due to Video memory swap and fillrate limitations.
The best DDS filetype support I've seen is with Photoshop and Nvida's DDS Plugin. The DDS plugin for Paint.net does a decent job, but can add some unecessary filesize bloat. I don't know how Gimp handles DDS files, but generally speaking I've yet to experience something that Gimp did splendidly (it's too damned clunky).
DC_DarklingJoin Date: 2003-07-10Member: 18068Members, Constellation, Squad Five Blue, Squad Five Silver
edited May 2014
@McGlaspie
Well as im way to poor to get photoshop, I have to do it with pain.net or gimp. If they bloat the dds, theres the answer.
paint.net and gimp both set the size to 8.193 with the format you just specified.
normal uwe one is around 5.000ish so I think thats a nice gain.
I will do a quick test ingame, just to see if it runs. If it runs you can bet I will upload every dds file I have in mods.
>Edit, worked fine. 5 mods improved and made ns2 all the better. (especially considering the subs on the xhair mod)
Wanted to fix this for a long long time, but kept forgetting also. Glad I now know. <
Comments
Andi's learnt C++ now? @Sewlek Do you ever stop programming
Andi is a wizard, didn't you know? He knows how to fix everything
There's only three hours left in this morning... (pats bat in hand)
* the file provided by Samus is in the mod & I confirmed its also in the downloaded workshop files.
* I see a recolour.
* Yet its off.
See attachment. Left is old, right is new. Note the slight colour difference is due to lightning. The real problems are the weird green lines and the black lines coming through everywhere, seemingly even distorting the weapon.
Ideas welcome.
* I took the new double viewmodel texture and put mine where the 'standard one' usually is.
* removed the material file fix
* ran mod > works
I will temp fix it like this until have a more permanent solution, as this is indeed just eating up more memory.
If its regarded 'better' by you and uwe then I wont bother changing to back to material file. :P
You are totally right, I did notice that, hence I was originally aiming for the materials fix. I will consider when the material one is fixed.
My mods tend to be quite large, especially the double rifle one atm. Each file is 16MB, so the double riffle one is 32MB. I guess shiny purple is quite harsh on the filesize.
Ive tried different .dds formats to reduce size, to no avail. I just managed to grab formats the engine doesnt even support. Im using ARGB8888 now, which manages the mod to run, but the filesizes just aint pretty.
(if anyone has better ideas for gimp and/or paint.net to reduce filesize without nuking quality or engine support, im all ears)
The best DDS filetype support I've seen is with Photoshop and Nvida's DDS Plugin. The DDS plugin for Paint.net does a decent job, but can add some unecessary filesize bloat. I don't know how Gimp handles DDS files, but generally speaking I've yet to experience something that Gimp did splendidly (it's too damned clunky).
Well as im way to poor to get photoshop, I have to do it with pain.net or gimp. If they bloat the dds, theres the answer.
paint.net and gimp both set the size to 8.193 with the format you just specified.
normal uwe one is around 5.000ish so I think thats a nice gain.
I will do a quick test ingame, just to see if it runs. If it runs you can bet I will upload every dds file I have in mods.
>Edit, worked fine. 5 mods improved and made ns2 all the better. (especially considering the subs on the xhair mod)
Wanted to fix this for a long long time, but kept forgetting also. Glad I now know. <