Jump to content

Recommended Posts

Posted

Hi Folks,

 

trying to set max fps to 29 as per last version but not sure about new autoexec.cfg file method

 

Have read read me but want to make sure I'm doing it right

 

Do I just open the file with notepad

 

Add the line:

 

options.graphics.maxfps = 29

 

Exactly as it appears above , one line on its own , and just save ?

 

Thanks

  • 2 weeks later...
Posted

Is there a way to override sounds with this? Putting a sound folder as an "addon" does not work for everything so I wonder if I can use autoexec.cfg to do that job for me.

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

I have a couple of questions,

 

Why use an autoexec when everything is in the graphics.lua already?

 

Which loads first the graphics.lua or the autoexec?

 

Technically it should be autoexec first then graphics, the autoexec doesn't write to the graphics file so when the graphics loads it will set the frame rates to what's in the graphics.lua.

 

Either way it's sending the same command twice which isn't necessary and not the best practice.

Posted
Is there a way to override sounds with this? Putting a sound folder as an "addon" does not work for everything so I wonder if I can use autoexec.cfg to do that job for me.

 

Are the sounds for a single plane or a complete sound replacement?

Posted
Are the sounds for a single plane or a complete sound replacement?

 

Pretty much complete.

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted
I have a couple of questions,

 

Why use an autoexec when everything is in the graphics.lua already?

 

Which loads first the graphics.lua or the autoexec?

 

Technically it should be autoexec first then graphics, the autoexec doesn't write to the graphics file so when the graphics loads it will set the frame rates to what's in the graphics.lua.

 

Either way it's sending the same command twice which isn't necessary and not the best practice.

The autoexec overrides, when an update occurs everything in your main directory gets overwritten and set back as default, with autoexec being in your user file rather than the main directory it doesn't change at the update, therefore you don't need to keep adjusting values after every update.

"[51☭] FROSTIE" #55

51st PVO "BISONS"

Fastest MiG pilot in the world - TCR'10

https://100kiap.org

Posted

Thanks for the concise response Frosty.

 

That gives me an idea for the sound, we should be able to add the soundPath = in the autoexec.

 

I'm still learning my way around the sim but as soon as I find the .lua that's calling the sound path we should be able to copy that section. If it works or not is another story but it's a place to start.

 

Thanks again

Posted

Thanks man, that's dedication! I am very thankful man, if we can make this work - another clean way of modding will be created. :)

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

Can someone try this, it appears to work.

 

I installed Blaze's REAL SOUND v1.2 into the main DCS World main folder, renamed the folder to REALSOUND and added the below line to autoexec

 

mount_vfs_sound_path ("REALSOUND/Sounds")

 

Obviously it would be better to install it somewhere else but for testing it will do.

Posted
C0ff already made a post about this. He describes exactly what you're after as far as I know.

 

I know how to insert changes to graphics.lua, but I am not aware of comparable edits to sounds.

 

@aussieboy: I am using this soundpack with some of my sound. I love the config framework.

 

And ... It's not working for me, getting error in DCS.log

 

00000.460 ERROR   Lua::Config: load error Config/main.cfg:[string "C:\Users\Andrej\Saved Games\DCS\Config/auto..."]:2: attempt to call global 'mount_vfs_sound_path' (a nil value).

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

No errors here so it could be as simple as different path name, just double check that the V2.0 of the sounds has the same folder structure, if not that's what it is. In your log, it say there's a nil value so it has to be something minor and confirms to me that the method will work.

 

Bare with us we'll sort this thing out pronto.

 

BTW, I can't DL that version at present, need to sign up to LOF first. I will do that and report back.

Posted

Megagoth,

 

http://forums.eagle.ru/showthread.php?t=98014

 

Definitions:

$INSTALL_DIR = game installation directory

$WRITE_DIR = C:\Users\<LOGIN>\Saved Games\DCS

 

DCS searches for sound (both .sdef-files and wav/ogg samples) in the following order:

 

1) $WRITE_DIR\Sounds\

2) in the Sounds subdirectory of each mod from $WRITE_DIR\Mods\

3) in the Sounds subdirectory of each mod from $INSTALL_DIR\Mods\

Mods are searched backwards from the registration order

4) sdef are searched in $INSTALL_DIR\Sounds\sdef\, samples - in $INSTALL_DIR\Sounds\

 

 

There are two ways to replace game sounds:

1) put your versions to $WRITE_DIR\Sounds\ in a correct subfolder with a correct name

2) create your own mod and place it into $WRITE_DIR\Mods\

Posted

Thank you a lot, I am aware of that post. I was just looking for an autoexec.cfg way.

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

Getting some errors...

 

00003.019 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\sdef\concreteslide.sdef"
00003.019 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\damage\hit.sdef"
00003.020 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\damage\hit1in.sdef"
00003.021 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\explosions\explodeground.sdef"
00003.029 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\weapons\cannon\125mmgun.sdef"
00003.030 ERROR   SOUND: can't load proto file "c:\users\mega\saved games\dcs\sounds\weapons\missilelaunch.sdef"

 

As reported in this thread:

 

http://forums.eagle.ru/showthread.php?p=1752826

[sIGPIC][/sIGPIC]

System specs:

2500k @ 4.6 GHz

8GB RAM

HD7950 OC'd

Win7 x64

 

Posting tracks to make your DCS better - attention bump incoming!

Posted

Hi guys,

 

i try use set the "vfstextures" path in the autoexec.cfg.

For example:

table.insert(<???>.vfstextures, "../Eagle Dynamics/DCS World/Bazar/Terrain/vfstextures/DTAC-textures/LandTexturesSummerOther");

What varaible is for "\Eagle Dynamics\DCS World\Bazar\Terrain\terrain.cfg.lua" , line 151?

 

CU Micha

Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION"

  • DCS ExportScript
  • D.A.C. DCS to Arcaze Communicator
  • Ikarus a new Virtual Cockpit Software

Deutscher Forums Thread

English Forums Thread

 

Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM

Posted

Can this autoexec.cfg be used to keep changes (eye positions etc) made in server.lua from being overwritten on each update ?

Posted

A bit off-topic, but I'm looking for a comprehensive list of what can and what cannot go into this "autoexec.cfg" thingy.

 

I already searched the forum, to no avail, then the wiki, without any more luck.

 

Do anyone know where such a resource can be found ? I probably missed the obvious, but I'm lost right now ...

Posted

I don't think there is any documentation, trial and error would be the only way at this stage.

 

I'd really like to see ED release an SDK to encourage 3rd party developers.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...