Jump to content
Sign in to follow this  
VonS

AMD-vid. card friendly terrain data inis

Recommended Posts

Have been tinkering over the last several days with settings inside the terrain data ini files for various theaters - and I think I've managed to get rid of remaining town/building flickering that I've been experiencing in FE2 occasionally. While the towns never looked psychedelic on my rig., the flickering at times ruined immersion. The trick, on AMD vid. cards apparently, is to toggle several settings in the "AlphaObjectTexture" section. Have also gone through various object types and will upload the files under my thread for the FE2 FM package once I'm done with some more tweaks.

Those who are running AMD vid. cards will notice that the towns/buildings look a bit more see-through (holographic) with the tweaks, but tree intersection with buildings looks more natural now from a distance - and the important thing is that the flickering is gone. Some representative pics. below - also take note that with "AlphaTestEnabled" set to FALSE, under the "AlphaObjectTexture" entry - there is even further overlap/intersection of different tree types that way - makes for more depth and also camouflage as seen in one of the pics. with the lower wings of the Alby hidden with foliage (also second-last pic.).

Will also look at some of the MassFraction entries in the data inis for the Alb. D.I, D.II, also the D.III and D.V variants since they are rather difficult to shoot down although there is no armor on them and structural strength numbers look normal. Perhaps a leftover oddity from the days of the stock Albies - but will look into it and will upload any modifications under the post where I've included the tweaked FM for Stephen's Tripe - and what a beautiful model that is - have been flying it for a few days already.

Von S :smile:

 

AMDfriendly1.JPG

AMDfriendly2.JPG

AMDfriendly3.JPG

AMDfriendly4.JPG

AlphaTestOff1.JPG

AlphaTestOff2.JPG

Edited by VonS
Added pics.
  • Like 4

Share this post


Link to post
Share on other sites

Have never had better trees or treelines in FE2 before tinkering with the alpha settings in the terrain data inis. A few more representative pics. below - will upload the relevant files in a day or two under my FM thread. Also, some observations regarding the "AlphaObjectTextureMaterial" entry of the terrain data inis (relevant for those of us on AMD vid. cards):

// depthbuffercheck must be TRUE, otherwise trees visible through aircraft even when flying

// depthbufferwrite must be FALSE, otherwise chopped and blocky trees and foliage artifacts

// alphatestenabled may be set to FALSE for even more tree intersection and overlap, although I think it works adequately at TRUE

// mipmap must be set to TRUE, otherwise small sparkling lights/flickering of trees and forests if set to FALSE

Von S :smile:

 

More varied spring/summer trees

img00006.thumb.JPG.a6117d8f86fb3d315512322432298bcb.JPG

 

More types of conifers, firs, etc.

img00005.thumb.JPG.1173e733b1b64d3a78a347bf2bcef0b5.JPG

 

Winter landscapes looking more robust, different trees outlining roadways, rivers, etc.

img00001.thumb.JPG.e71f4b254d23f81d44280f0739b6ee2d.JPG

 

Unrelated photo :biggrin: - to get a lighter-colored skin for the early Tripe by Stephen, open "Photos" in Win10, apply the "Sahara" filter, and re-save.

img00004.thumb.JPG.4aff9154a6518c3101595febb88113bd.JPG

Edited by VonS
Embedded pics.
  • Like 1

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 VonS
      Recently I had an opportunity to re-install FlightGear (stable ver. 2020.3.19) on my 2013 Mac Pro and was pleasantly surprised - with no crashes, decent FPS for the most part, and various other improvements that were incorporated over the years. I had dabbled briefly in FlightGear a couple of times before (around 2013, and again around 2020) - but eventually removed the flight simulator from my hard drive on both of those occasions.
      Since my particular setup(s) are with dual AMD video cards, I thought I would post some (illustrative) tips below, as well as representative pics of the sim when at best, or very good, settings. I will this time around keep FlightGear on my hard drive - makes for a good, free flight simulator.
      For command line entries and tips that should be plugged into the "Additional Settings" option of FlightGear, see the info. immediately below. Make sure to remove the info. included in brackets if copying the commands into the relevant settings section.
      -----
      --prop:/sim/gui/current-style=0 (better GUI style for AMD cards)
      --prop:input/mice/mouse/mode/button[2]/binding/value=2 (gets rid of horrible mouse-as-yoke feature that sometimes automatically turns on)
      --prop:/sim/rendering/photoscenery/enabled=true (gives more photo-realistic scenery whenever possible; to be fully implemented in later FG versions)
      --prop:/sim/rendering/hdr/envmap/update-continuously=false (disables continuous siphoning and updating of terrains, to enable seconds command below)
      --prop:/sim/rendering/hdr/envmap/update-rate=5 (terrain refresh rate set in seconds; good values are 5 or 10, for minimal stuttering)
      --prop:/sim/rendering/max-paged-lod=1300 (stock max paged LOD no. is "200"; recommended is not to exceed about "1900" on AMD)
      --prop:/sim/rendering/plod-minimum-expiry-time-secs=60 (stock min expiry time is "180" secs.)
      --prop:/sim/rendering/multithreading-mode=DrawThreadPerContext (should improve multithreading capacity, at least slightly, and add a few extra FPS)
      --prop:/sim/rendering/database-pager/threads=12 (stock thread rendering no. is "4," with more threads improving ave. FPS; set as per your CPU threads no.)
      --prop:/sim/rendering/vsync-enable=false (force disables vsync to improve FPS)
      --prop:/sim/rendering/multi-sample-buffers=true (this is anti-aliasing; set to false to disable and remove entry immediately below it)
      --prop:/sim/rendering/multi-samples=2 (anti-aliasing value; lowest is 2, also good is 4; avoid 3)
      --compositor=Compositor/HDR/hdr (modern rendering pipeline for better graphics details and shaders; rarely breaks scenery; still mostly experimental on AMD vid. cards)
      --units-meters
      --disable-splash-screen
      --disable-horizon-effect
      --enable-distance-attenuation
      --enable-specular-highlight
      --enable-clouds3d
      --fog-nicest ("nicest" improves look of fog with more subtleties while "fastest" makes fog appear and disappear more quickly; no real impact on AMD FPS)
      --shading-flat ("smooth" apparently improves look or depth of shaders; preference is for "flat" since I have not noticed difference in quality on AMD)
      --texture-filtering=2 (this is anisotropic value; lowest is 1; also good is 4 or 2; avoid 3)
      --bpp=32 (can also use 24 but have not noticed an FPS improvement with 24; would say 32 is better for FPS overall)
      --terrain-engine=pagedLOD
      --lod-levels=3 2 5 3 1 (also good is 4 3 6 4 2 for best visual quality on AMD but still mostly FPS-friendly; recommended is 3 2 5 3 1 for balance between visual quality and solid FPS)
      --lod-res=2 (default is 1; also good is 3; avoid any other values besides 2)
      --lod-texturing=raster (better than "bluemarble" as far as I have been able to test, with smoother loading of textures)
      --lod-range-mult=3 (default is 2; also good is 1; avoid all other values besides 3)
      --enable-texture-cache
      -----
      On a broader note, it's important to tweak the rendering, shaders, and LOD range settings in FlightGear - to get the best experience on your AMD video rigs (be it a dual or single AMD setup).
      The frequencies, by the way, on my dual FireProD700s have been OC-ed, via MSI Afterburner, from a clock/memory of 850/1370 to 1024/1380 MHz.
      Be sensible with the rendering options - particularly with the maximum number of scenery and aircraft tiles - anything above a value of 1900 or so is both useless and an FPS hit. (The scenery/aircraft tiles no. may also be set via the relevant command line entry indicated above in this post.)
      Take note as well of cloud density and visibility values. Anything beyond a visibility of 35 km or so is questionable since it does not widen further the cloud carpet but is, once again, an FPS hit.

      Pic 1 - Sensible/Best Rendering Choices for AMD Video (in FlightGear)
      Next we look at the shader options that also require careful thinking and tweaking. Take note that "landmass," "urban," also "water" - give different visuals if they are set to the maximum level (of five). I personally prefer how the landscape/terrains look with those three settings at a value of four - with crisper graphics - but tweak according to taste. Also worth noting is that I always run the LOD value on my rig(s) at "-1," via the excellent little program "ATISetLod" that is available under the top post of this thread.

      Pic 2 - Sensible/Best Shader Options for AMD Video (for crisp and fairly realistic graphics)
      Also important is to tweak the LOD range settings to get a good balance between visual quality and decent FPS, with no stuttering or crashes. Focus in particular on the maximum distances for the detailed, rough and bare scenery ranges - I decided eventually on cutoffs of 3, 17.5 and nearly 45 km. Other cutoffs worth considering are 2.5, 15, and 40 (or so) km, as well as 3.5, 20, and 50 km. Anything beyond the latter values will, again, most likely not make much of a difference with the visuals but will contribute a noticeable FPS hit. Take note also of the "high detail" and "AI/MP interior" values. I'm getting good results with values of 250 - 260 pixels for those options; also good are values of 300 (or so) pixels. Those two values may be tweaked to taste, for the most part - but, again, be sensible since they may impact on FPS.

      Pic 3 - Sensible/Best LOD Range Values for AMD Video
      Last, let's not forget to tweak our custom FlightGear profile (in our AMD settings panel) as best we can, to minimize stuttering, pausing, or crashes. Take note in particular how the shader cache is set to "On," not to "AMD Optimized," and how, even though I have enabled CrossFire mode, frame pacing is set to "Off" (which eradicates stutters on my rig in FlightGear - had tried with frame pacing "On" and was not pleased with the results). If you have only a single AMD video card, experiment with leaving the CrossFire option on (set to "AFR compatible"), or turning it off entirely. (NOTE: I have not noticed any FPS downgrade with anti-aliasing set to 4EQ and edge-detect, anisotropic value at 8, and tessellation at 16. Tweak to taste obviously.)

      Pic 4 - Good AMD Settings for a Custom FlightGear Profile
      Recommended also, if having any instability with FlightGear on AMD video, is to stick with the "Pro" variant DLLs (drivers) for AMD, instead of the consumer/Adrenalin ones. I particularly like the ver. 19.x.x Pro series of drivers, as well as the venerable ver. 17.x.x ones (the latter of which I have installed on the 2013 Mac Pro). To find links to the Pro 19.Q3 DLLs (the last version of the Pro DLLs to support CrossFire, by the way), see this page.
      Below follow several representative pics with the settings illustrated above applied - FlightGear provides a nice selection of aircraft with usually very good monoplane FMs, especially for tricycle-gear (small) civilian aircraft such as Cessnas, also for airliners like the (classic) Boeing 707. For multi-wing contraptions on the other hand and more realistic/historical FMs for biplanes, triplanes, and the odd multiplane, the gold standard(s) remain heavily-modded First Eagles 2 and RoF, as well as recent iterations (UE edition onwards) of the excellent WoFF series.






      Happy flying,
      Von S 
    • By VonS
      Hi All,
      Have been doing a bit of tinkering lately with my FlightGear install (see this thread for more info.) - and results are pleasing enough in what is a free, open-source flight sim. Managed eventually to get accurate photo-scenery working in FG, which is a noticeable improvement over the stock (dated) scenery that has been available in that sim for years on end (see pic. below for photo-scenery at work in FG, in this case in the Mesopotamian/s. Iraqi area; the Alb. D.I is a re-skin and FM-overhaul of a model done by Lester Boffo).

      On a hunch, I then converted a bunch of the photo-tiles from FG (stock format is DDS) to BMP format - so that they become visible in the FE2 terrains folder - and it does indeed work - but would require careful, aesthetic choices regarding what tiles to replace in the terrains folder, such as farms, cities, deserts, etc. - for best cohesion and not too many jarring disconnects between tiles.
      Nice to see that stock trees and buildings are populating over the satellite/ortho-terrains too, in FE2. Photo-scenery is simply an improved "satellite" carpet that covers the stock scenery and terrain framework in FlightGear - and by extension works the same way in the ThirdWire sims but requires manual conversion to BMP format and manual placement in the terrains folder (perhaps the DDS format would work too, but I didn't bother tinkering with the various settings/text files this time around in the terrains folder).
      The other good thing about FlightGear is that it is fully under the GNU GPL (General Public License; i.e., "copy-left" license) - so there are no copyright problems that I know of if one borrows such ortho-scenery for FE2 too (haven't bothered to test with SF2). And if working on such a terrain swap as a personal project - that is of course even simpler.
      A few representative pics. below with just a few ortho-scenery tiles placed over Stephen1918's upgrade of the Mesopotamian theater for FE2. Results look pretty good, particularly when flying higher up, and I haven't noticed any FPS drop with the photo-scenery tiles loaded. Some old tiles are still in place in the pics., for comparative purposes. Any empty areas are where I didn't bother to load tiles.




      Anyway - I hope you find this post interesting - it's perhaps the "cheapest" way of upgrading tiles across the various theaters available for FE2.
      If I find enough free time I might tinker further with this side-project; will post comments if the results prove particularly successful.
      Cheers & good flying,

    • By Eagle114th
      Hello everyone,

      I am sharing what I am working on with the team.  It is a slow project because we do it for the hobby.  We are flowing along with it, and there is no ETA.  Initially, I worked on Dhimar and Paran expansion pack without much research, which led me to do a project that made no sense.  That was an opportunity for me to learn how to do it properly, especially in a semi-realistic way that makes sense.
      I decided to discontinue Dhimar and Paran expansion project because I didn't want to change the stories written by TW. Therefore, I want to honor his work.  Thank the community and friends for inspiring me to work on an entirely new fictional nation that I can envision and bring into SF2.  A friend of mine recommended I look into the Africa map, where the imaginary nations of Saad and Zafir come in.
      What took the longest time was actual research about the nations around the horn of Africa and the Arabian Peninsula and the ancient civilization around that area.  The research on the language, cultures, and history was also involved.  It taught me many new things, which opened me to Africa and the Arab world.  
      This is how Saad and Zafir get an enriched history and depths with the cultures, languages, and where they come from.  This led me from just making SF2 mods into writing a book. I never thought I would do it, yet I am doing it as a hobby.
      Then it came to me; this book is not just for SF2; it can be used for any simulation. It taught me how to be creative with the stories, including the graphic designs (flags, insignia, roundel, pilot badges, and other materials).  
      After finishing the short history series about Saad and Zafir's ancestors,  I can start focusing on finding the right aircraft for Saad and Zafir.  It is intended that Saad and Zafir are truly unique to each other and the world of SF2.  It won't be another classic "USA aircraft vs. Soviets Aircraft."  Instead, they use various aircraft tied to Saad and Zafir history with connections to certain nations from Europe to the Middle East to Asia.  They will still use some of the United States and Soviets aircraft, though. 

      My friend has been a great teacher who taught me a lot about the military system and how they do things.  I can make Saad and Zafir military semi-realistic with it, especially when being fictional nations.  I intend to bridge the alternative world (SFAW) with this world in balanced ways.

      By the way, here is the information about the SFAW project:
       

       
      I will give you the brief background about Saad and Zafir.

      NOTE:  I am NOT an expert with the language of Tigrinya.  I am still looking for someone who knows the Tigrinya languages.  I find them to be very interesting.  It is intended that the language of Tigrinya for Saad is one of the native languages.  That way, Saad can be fully immersive in the book and SF2.



      ሳድ (Saad) - (1920 – Present)


      الظافر (Zafir) - (1930 – Present)

       

      FAQs
       


      Cheers!
    • By VonS
      Hello Gents',
       
      I have been investigating the core string and ini files that make up FE2 - primarily to see if multiplayer can be reintroduced. The relevant files can be found in the MenuData.cat and MenuText.cat files of the "Menu" folder of the actual game (not in the user folder for the game).
       
      I managed to restore the "multiplayer" button to the main screen of the game, but it leads nowhere. Also possible to restore was the "network" button under the options settings - but again this led nowhere when you click on it.
       
      It seems that each STR (string?) file requires a corresponding INI (initialization) file to work at all. Most of the files have both components, such as is the case with OPTIONSSCREEN.INI and OPTIONSSCREEN.STR - the ini file contains the relevant buttons, lists, codes, placements, lots of other things too, and the str component file contains the relevant data calls that correspond with what is called for in the ini file.
       
      I was however stumped to find that most of the network sub-option files have the STR component files in place - but ini files for those are all missing, perhaps having been removed by the game designer - or perhaps there is a more obscure way of calling up those string files that I am not aware of with my very limited knowledge of program/app coding.
       
      As an example, the NETWORKCONNECTIONSCREEN.STR file and the NETWORK.STR file - obviously important ones (and it's obvious what they are for) - cannot be called up in game, likely because corresponding ini files for those are missing. Looking through some of those network option str files shows, in some cases, more than 30 or 40 different data calls. I can only imagine then how much time it would take to create corresponding ini files for all of those different data calls in the str files, with all of the relevant buttons, menus, submenus, toggles created in the corresponding ini files - to get mutliplayer up and fully functional in FE2 - a daunting task that while theoretically possible would probably take a good month at least of full-time work on it (and then there is the risk of how stable the setup would be when done).
       
      Those who are inclined to tinker further with multiplayer possibilities in FE2 are advised to look at the main Options.ini file first that's in the user folder for FE2. The multiplayer settings should read as follows to be enabled:
       
      [MultiplayerOptions]
      LobbyLaunched=TRUE
       
      The following should also be toggled but I didn't experiment with correct values:
       
      [Multiplayer]
      Connection=0
      PlayerColor=0
      SessionType=0
      GameType=0
      Password=MyPassword
      MaxPlayers=8
      IPAddress=127.0.0.1
       
      In the OPTIONSCREEN.INI file that should be extracted to your "Menu" folder, the following should be toggled:
       
      [NetworkOptionsButton]
      StickySelection=TRUE
      Active=TRUE
       
      In MAINSCREEN.INI, also to be placed in the "Menu" folder, the following should be toggled:
       
      [MultiplayerHotspot]
      Active=TRUE
      Enabled=TRUE
       
      Also, the following should be modified to look as you see here, from the same file indicated above:
       
      [MissionControl]
      SingleMission=SingleMission
      InstantAction=InstantAction
      Campaign=Campaign
      Multiplayer=Multiplayer
       
      And finally, the relevant STR files that are missing corresponding INI files - or maybe requiring some other kind of call that I'm not aware of, are:
       
      NETWORK.STR
      NETWORKCONNECTIONSCREEN.STR
      MPDOGFIGHTSCREEN.STR
      MPHANGARSCREEN.STR
      MPMISSIONSCREEN.STR
      MULTIPLAYERSTATUS.STR
      PILOTRECORDSCREEN.STR (this one is to enable flight recording in multiplayer)
       
      As far as I can see, it's more feasible to continue improving the single-player side of the game, such as improvements in AI, scenery, also the great plane and skin mods that often come out for FE2. And thanks to all who contribute to this game and make it great. Those interested in pursuing the multiplayer aspect further will hopefully find my post useful. I will not be pursuing this topic further since I don't consider the project to be worthwhile.
       
      Happy flying,
      Von S
       
×

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..