Nate--IRL-- Posted July 2, 2009 Posted July 2, 2009 During the last week I have been through hell and back with Black Shark and my new 4890. First problem was the ATI software not applying AA and AF in BS (Win XP Cat9.6). I've fixed this, I think, after much heartache and 5 lost activations. Now I have this horrible stutter that occurs every half second. I have solved this too, sort of. To cure this problem I must start DCS.exe at 1024x768 once, then restart at 1650x1050 (monitors native res) and voilà the problem is gone. What I'm asking is it possible to create a batch file or script that will allow me to start DCS.exe at the lower res and quit, without affecting my normal settings files? Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
Panzertard Posted July 2, 2009 Posted July 2, 2009 (edited) AA/AF variant of your problem: I just have to ask if you tried the following method (whic seems to me like that it may cure the proplem too): 1. Set DCS to native resolution from start on 2. Start DCS normally like you do. But stay in the "menu". 3. Switch to desktop 4. Switch back Or maybe you have to be "ingame" rather than in the "menu" for it to work? It may trigger the ATI to reconsider the parameters the game is running under. But as of your original cause to this dilemma - maybe you can post a DXDiag report to anyone who might have an insight into what the cause may be? And maybe throw in a few details about your system, os and version, etc? :) You never know who spots this post and is able to weed out the original problem :) Stuttering: Hm, there's another post reagarding that around here in this subforum somewhere - I need time to search it up - or maybe you finds it before me. Edited July 2, 2009 by Panzertard The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
Nate--IRL-- Posted July 2, 2009 Author Posted July 2, 2009 (edited) The AA/AF could indeed be fixed by atl-tabbing DCS.exe and setting the AA/AF in the catalyst control panel again, however some missions, for whatever reason cannot be alt-tabbed back into and DCS.exe must be killed in the task manager. However, I think I have this cured. After several drier cleaning and reinstalls, I've removed all start up programs (in registry and elsewhere) and run a batch file to run them all after start up. Don't know why it fixes it, I don't care anymore, I'm just happy it works. Again the stutter problem I have half fixed, so I'm not really after a total solution, although it would be nice :) . I suspect ATI and Win XP has issues with 3d res being the same as desktop res, I dunno. Incidentally, I have tried Win7 x86 and x64 and BS operated flawlessly, perfect in fact. Of course Logitech decide they are not updating their drivers for my Joystick, so I can't fly :( If anybody knows how I might automate the start up of DCS.exe with specific resolution indicated in the command line maybe, I would be most grateful. DXDiag.txt is attached. Nate Edit:- system specs Cpu:-Core2 6300@2.9ghz Mem:- 4gb PC6400 @ 860mhz Vid:- ATI 4980 M/B:- Gigabyte 965P-DS-3 O/S:- Win XP Sp3 Edit2:- Test mission added:- Could somebody check if they can Alt - tab to and from this mission a few times. Edited July 2, 2009 by Nate--IRL-- Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
Kuky Posted July 2, 2009 Posted July 2, 2009 I use little utility called CHANGE.COM with LockOn.bat file, like this: @echo off CHANGE Config\graphics.cfg "aspect = 1.333333373;" "aspect = 1.6;" DEL Config\TrackIR DEL Input\TrackIR.ini START Lockon.exe EXIT This edits the Graphics.cfg file in case I go into LockOn input settings and make some change, and puts back 1.6 aspect ratio. Maybe you could do the same for resolution? (this CHANGE.COM file is placed into main LockOn folder and you specify the path of the file you want to edit like above for example) 1 PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Panzertard Posted July 2, 2009 Posted July 2, 2009 (edited) Ah, nice util and tip there Kuky - I blame myself for not being involved with LockOn for ages ;) It's invaluable having you veterans hanging about in here :) The process would have to be something like this then: (I've not tested it - it's quite pseudo-code) 1. The BAT file starts something like this (create a DCSSTART.bat in \Eagle Dynamics\Ka-50\ ) And put the Change util in the same directory. @echo off :: change directory to the DRIVE and DIR where *this* BAT file is stored. cd /d %~dp0 :: Prepare for first time startup :: Not sure if Change will change only the first instance of "resolution" it :: finds - or all? Someone may elaborate this for us? CHANGE Config\graphics.cfg "resolution = {1650, 1050};" "resolution = {1024, 768};" :: Must use the DRM launcher to start - not sure if we can :: use DCS.exe directly? START "DCS Launcher" "bin\stable\Launcher.exe" --console :: we add a little pause to let the DCS start up normally. Let's :: give it ~30 seconds. We use Ping to emulate a pause ping 127.0.0.0 -n 30 :: This time we change the Res back to full - so the next time DCS.exe :: loads for a MISSION/TRAINING/etc it :: will hopefull read the new info in the graphics.cfg. CHANGE Config\graphics.cfg "resolution = {1024, 768};" "resolution = {1650, 1050};" Now I havent tested this - and I do not know if the engine re-reads the config every time DCS.exe is started. Also - crashes may leave the CFG file in a undesired state. So it means - back up your files - do some testing. EDIT: updated the pseudo script. Edited July 2, 2009 by Panzertard The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
Nate--IRL-- Posted July 2, 2009 Author Posted July 2, 2009 (edited) Ah, nice util and tip there Kuky - I blame myself for not being involved with LockOn for ages ;) It's invaluable having you veterans hanging about in here :) The process would have to be something like this then: (I've not tested it - it's quite pseudo-code) EDIT: updated the pseudo script. Awesome, I shall have a tinker with it later, thanks for your time. Nate Edit:- Any chance of getting a link for the change.com utility? Edited July 2, 2009 by Nate--IRL-- Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
Kuky Posted July 2, 2009 Posted July 2, 2009 I am at work right now (just got in this morning) so when I get home I can email it to you... would be good if someone can then upload it somewhere for others if they want to get it also (I looked up on the net for a link and couldn't find it so I need to email the file) PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
bumfire Posted July 3, 2009 Posted July 3, 2009 If you want Kuky, you can email to me and I can host for everyone to get it ? as I think it would be a handy little tool also. PM me if interested.
Kuky Posted July 3, 2009 Posted July 3, 2009 sure thing bumfire, PM me your email and I'll send it in few hours when I get home. PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Nate--IRL-- Posted July 3, 2009 Author Posted July 3, 2009 Just for future interest, the ability to alt-tab, is determined by the presence of ships in the mission. Ships in mission = no alt-tab. Kuky you can attach the file to your post, I'll then host it on my webspace, or rapidshare, whatever is convenient Nate Ka-50 AutoPilot/stabilisation system description and operation by IvanK- Essential Reading
Kuky Posted July 3, 2009 Posted July 3, 2009 (edited) ah, i got it... thanks for the tip, I got it attached to this post :thumbup: I feel stupid now that I've been on these forums for ages and never figured out I can do this :doh: Anyway, the CHANGE.COM file should be in same directory as xxxxxx.BAT file if written like this: CHANGE C:\LockOn\Config\graphics.cfg "aspect = 1.333333373;" "aspect = 1.6;" Otherwise specify the path for CHANGE.COM also and put it in BAT file Edited July 4, 2009 by Kuky PC specs: Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR
Recommended Posts