Jump to content

Recommended Posts

Hi!  Can anyone explain the differences between using a JPG file verses a BMP file for skins or terrains etc?  I have a feeling that JPGs are better and work smoother but I really don't know

Share this post


Link to post
Share on other sites

JPGs far less space and hold a lot of detail...my 2048x2948 jpgs for the mig29,smaller in size and better detail than a 1024x1024 bmp

  • Like 1

Share this post


Link to post
Share on other sites

jpeg takes way less space.

the C-17 i skinned recently originally had a universal bmp for 13 skins(skin in the main aircraft folder with nothing in the skin folders). it took less file space to use jpeg in all 13 folders instead.

Edited by daddyairplanes

Share this post


Link to post
Share on other sites

JPGs take up a lot less space on your hard drive than BMPs, and I also think they load faster in the sim than BMPs.

  • Like 1

Share this post


Link to post
Share on other sites

Ah ok thanks guys that's confirming my suspicion!  I tried converting an entire terrain to JPG's and it works remarkably well my frame rate skyrocketed!  I would totally recommend this! 

Share this post


Link to post
Share on other sites

Let's see, a typical 1024x1024 BMP is always 3MB, the JPG version with the lowest compression (100% quality) is around 600-700kB, the DDS version with MIP images is around 650-750kB.

 

The more complex the skin is, the heavier the JPG will be (conversely, a 1024x1024 skin consisting only of pixels of a single colour would be around 20kB), BMP and DDS however always have the same file size for the same spatial dimensions.

 

BMP is frankly the worst format, it takes more space on disk and it takes longer to load (because nowadays it's faster to decompress a JPG/DDS than read a BMP, this hasn't always been the case).

JPG is a nice intermediary, it takes the least space and it's fast to load, however it requires a bit more processing to load than DDS and takes up more VRAM than DDS (NB: with Kerbal Space Program, I'm not sure it holds true for Strike Fighters 2, I'll have to check).

DDS are the best, they take only marginally more space than JPG in typical situations, they load the fastest and use the least amount of VRAM (see the NB above).

 

 

P.S. : "Lossless" JPG produced by some graphic software as well as the one included as stock by ThirdWire may actually be larger than DDS in many cases.

 

P.P.S. : Take into account that DDS is an accepted format only for skins, your best bet for mass conversion is JPG (and even then, there are a few instances where only BMP are read, demonstrating how "sub-optimal" some parts of the code are).

Edited by Gunrunner

Share this post


Link to post
Share on other sites

One thing I forgot to mention, there is a HUGE difference between JPG and BMP.

 

You can put BMP at a plane or ship root directory and they'll be used unless there is a file with the same name inside a skin directory, the same thing does not work with JPG.

 

Let's say I have a plane with 2 image files constituting a skin, it has 2 skins, but those skin only differ on the second skin file.

 

With BMP I can set things up as follow :

 

Aircraft\Plane\Skin_1.bmp

Aircraft\Plane\Skin1\Skin_2.bmp

Aircraft\Plane\Skin2\Skin_2.bmp

 

And it will work, but if you want to do the same thing with JPG you have to do :

 

Aircraft\Plane\Skin1\Skin_1.jpg

Aircraft\Plane\Skin1\Skin_2.jpg

Aircraft\Plane\Skin2\Skin_1.jpg

Aircraft\Plane\Skin2\Skin_2.jpg

 

So depending on the number of skins and the commonality between them, it might make a huge size difference (because one 3MB BMP file is smaller than 12 600kB JPG files).

 

It also means that converting BMP in place might end up with broken textures.
 

 

Keep in mind though that you can mix and match file types, making :

 

Aircraft\Plane\Skin_1.bmp

Aircraft\Plane\Skin1\Skin_2.jpg

Aircraft\Plane\Skin2\Skin_2.jpg

 

possible and probably most efficient in cases of a large number of skins with high commonality.

Edited by Gunrunner

Share this post


Link to post
Share on other sites

Thats been referred to as universal skin Gunrunner. But depending on texture size it may still be smaller overall to use jpeg in skin (shocking when its the case even with 15 skin folders!)

Share this post


Link to post
Share on other sites

You can put BMP at a plane or ship root directory and they'll be used unless there is a file with the same name inside a skin directory, the same thing does not work with JPG.

 

It depends on what format the lod calls for. If it calls for jpg files, then you can put jpg files in the plane root folder.

Share this post


Link to post
Share on other sites

BMP is frankly the worst format, it takes more space on disk and it takes longer to load (because nowadays it's faster to decompress a JPG/DDS than read a BMP, this hasn't always been the case).

 

Would it be possible to get some data to back that up, please? I've been under the impression that the time/processing power to decompress a JPG negated any advantage of smaller file size.

 

 

I've experimented with DDS textures for smaller ground objects before, using DXT1 compression, but I'm wondering if there are more optimal settings for this sim. What's the best compression scheme to mimimize loss of quality?

 

Also, is there any advantage to using a non-compressed DDS compared to a BMP? Should I generate mipmaps, or does the game auto-generate them?

Share this post


Link to post
Share on other sites

Besides changing the BMP to JPG files in the terrain/map folder, do you have to tell that somewhere? Like changing a log from image.bmp to image.jpg so it will load out.

 

Does the same apply to the objects?

Share this post


Link to post
Share on other sites

This skin for example at 2048x2048...JPG=2mb,BMP=12mb....go figure....lol

post-1981-0-60018300-1444252582.jpg

post-1981-0-34857900-1444252630.jpg

Edited by russouk2004

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By Panzerfan
      My C: Drive is quite full, and I had to uninstall SF2 because the mods just took up too much space.

      Now I wonder if there is a way to install mods in any other location but the C:/User-and so on?
    • By VonS

       
      Apr. 17, 2023 Update - Please find, available at the link below, my previously released mods. for RoF United Ed. - this time as a convenient, consolidated package that has been updated with the latest tweaks. Do read the included "Read Me" files, where available, for more info., particularly the "READ_ME_ROF_General_Info" file that is located in the root folder of the package when unzipped. This package is provided "as is," with no active support beyond the included explanatory files. The "Consolidated Mods. New" Package contains the latest AI mod. (ver. 1.4) for RoF United, as well as mods. previously offered separately, such as the "M-S Type H Campaigning Tweak," the "PWCG modulations" files, etc.
      Apr. 29, 2023 Update - Included below the link to the "Consolidated Mods. New" package is Ver. 3 of the PWCG "modulations" files (to be installed manually in the PWCG ver. 16.3.1; see directions included in the larger, consolidated package). Ver. 3 of the "modulations" files increases wind and turbulence settings, as well as provides greater chance of encountering more capable AI when flying PWCG campaigns, especially if used in conjunction with my newer AI mods. for RoF (such as ver. 1.36 or 1.4, included in the big consolidated package).
      Important Note: if using the Ver. 3 PWCG "modulations" files, instead of the Ver. 2 ones included in the big consolidated package for RoF -- make sure to change settings, if you choose to change any, from within the modulations, i.e., the RofCampaignSpecific, files themselves -- otherwise, tampering with relevant settings from within the PWCG advanced menu options will automatically delete extra entries for the AI that I've included in the Ver. 3 modulations. This note does not apply to the Ver. 2 modulations since those don't contain any extra AI settings.
      Feb. 6, 2024 Update - RoF AI mods. vers. 1.36 and 1.4 have been upgraded to vers. 1.37 and 1.41, respectively. The new versions have tweaked the AI's ability to follow commands more quickly and/or properly. Ver. 1.41 also contains further tweaks to safe alts. for the AI, to minimize unnecessary crashes and very low-level dogfighting. The entire consolidated package has been renamed from "Consolidated Mods New" to "Consolidated Mods New V.2" (i.e., Version 2).
      *** See my main profile page, under the "about me" tab, for relevant download links.
       
      Happy flying,
      Von S 
       
       
    • By VonBeerhofen
      An error I made working on the city districts drew my attention to the COSTCT tile which only shows a staggering 6 times in the entire EAW world. I'm pretty sure there are hundreds of coastal towns and seaside resorts in Europe, one of which is the one I live in. So I feel I have a choice to make, add more to the EAW coasts or free the tile to be turned into a new city tile to add more diversity to the limited set in use. Personally I think that a village or city tile one coastal tile away from shore will work just as well, after all the entire coast and beach are merely app. 1 or 2 KM deep. The question though is what is a better use in a 64 small tileset?
      Furthermore with a universal tile border there is also a much better use for the river city tiles as they can now also function outside the cities and add more diversity, as was done with other nature's in EAWPRO. Besides that industries predominantly happen on river banks, so it adds to realism too. Vice versa there's also no reason not to use other bridges inside cities like London when borders are uniform, which had 5 at the time of the blitz. EAWPRO already uses dozens of instances of the unused stock rail bridge and a much higher number of any other bridge. They're even used as piers on coastal tiles too, making fun targets to destroy!
      Here's Londen Thames with added bridges, of course the fake crossing can be removed now too.

      VonBeerhofen
    • By VonBeerhofen
      or bringing order to the chaos. I've applied a previously described algorithm of grouping tiles on the Italian cities which forms them more into what one might call 'districts', i.e. more organized then what was shown in the previous thread. The fractal algorithm can create many different layouts using various parameters, one of which is determined by looking at an entire region and the neighboring tiles surrounding a particular tile. It then randomizes smaller groups it creates and adds an occasional seed between them so the group isn't just echoing a certain tile. In the below calculation groups are created from the outside inward, taking the city's shape into account, after all the surrounding tiles influence the outcome of the calculation. As part of the fun 1/2 of the tile map uses an inverted calculation as can be seen in the last 3 pictures which is Munich, hence it's border and center differs from the  other pictures shown. The other 5 are London.









      You heard it first in www.combatace.com
      VonBeerhofen
    • By JamesWilson
      Hi,
      a couple of months ago i discovered this gorgeous total conversion called "Yankee Air Pirate", and that the "REVAMP" edition for SF2 (the original one was for WOV) existed, and other awesome total conversions like "Drug Wars" and "Flight School" too, so i got ready to download them, but since i hadn't enough space at the time, i waited.
      Now i come back on the website to find out all the links and pages about the revamp are gone, there's only the original ones for SF1 series.
      Do anyone of you know why they're gone? Will they come back? They're maybe updating the mods?
      Thanks
×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..