Jump to content

SilentSierra

Members
  • Posts

    317
  • Joined

  • Last visited

Everything posted by SilentSierra

  1. No problem with your script. I need the new GUID generated by the OS new installation for each device. So, I map one airplane with all devices possible, to make DCS generate the diff.lua in the Input folder. With the new GUIDs, I put in the new GUIDs in the variables and I go to the folder Input and copy and paste the old GUIDs in the respective old GUID variables. Sorry if I wrote the wrong script. I tested it here and it works well. But it's become too complex.
  2. The ChatGPT script is more specific: Script Summary Defines new device GUIDs Sets new GUID values to be used when renaming files. Defines old device GUIDs and file base names Associates each device with its previous GUID and human-readable name. Scans all Input\*\joystick subfolders Iterates through each aircraft or module folder inside Input, looking specifically inside the joystick subfolder. Processes each device file For every defined device (e.g., Controller, MFDs, Joystick), it calls a subroutine :processFile to handle the renaming and cleanup logic. Inside :processFile subroutine: Identifies all files for that device with {GUID} in the name Searches for all files matching the pattern DeviceName {GUID}.diff.lua. Finds the most recent file Compares timestamps using PowerShell to determine which file is the newest. Deletes older GUID-based versions Keeps only the most recent version, deleting all older ones with different GUIDs. Deletes the plain file (without GUID) if it's older If a DeviceName.diff.lua file exists and it's older than the most recent {GUID} file, it gets deleted. Renames the old GUID file to the new GUID If a file with the old GUID exists, it gets renamed to match the new GUID.
  3. Hi there, I'm at work, I can't test right now if DCS will recognize the files "diff.lua" pasted in the Input folder in the Config. I as asked for ChatGPT to create a script to rename all controller filename changing only the GUID of the device and delete onde ones if exists. I would like to know if is it possible to only paste the files after a Windows reinstallation or I need to load plane by plane, controller by controller? Create a file rename.bat, edit, paste the code. Copy and paste the rename.bat in the base of the Config folder. C:\Users<Username>\Saved Games\DCS\Config\rename.bat I need the new GUID generated by the OS new installation for each device. So, I map one airplane with all devices possible, to make DCS generate the diff.lua in the Input folder. With the new GUIDs, I put in the new GUIDs in the variables and I go to the folder Input and copy and paste the old GUIDs in the respective old GUID variables. Replace in the script the GUID (Globally Unique Identifier) of all devices you have and execute the bat, or ask for chat GPT to adjust the code for your older devices with older GUID and new GUIDs of devices generated by Windows after the installation. Make a backup of the Input folder and execute the script. Best regards. @echo off setlocal enabledelayedexpansion :: === New GUIDs defined by the user === set "ControllerID=NEW-GUID-0001" set "MFD1ID=NEW-GUID-0002" set "MFD2ID=NEW-GUID-0003" set "MFD3ID=NEW-GUID-0004" set "JoystickID=NEW-GUID-0005" set "WheelID=NEW-GUID-0006" set "ThrottleID=NEW-GUID-0007" set "TPRID=NEW-GUID-0008" set "TPRJSAID=NEW-GUID-0009" :: === Old GUIDs and device file names === set "ControllerName=Controller (Inno GamePad..)" set "ControllerOld=6A8737F0-25BC-11ee-8001-444553540000" set "MFD1Name=F16 MFD 1" set "MFD1Old=A0E15750-A6A2-11ef-8005-444553540000" set "MFD2Name=F16 MFD 2" set "MFD2Old=A0E15750-A6A2-11ef-8007-444553540000" set "MFD3Name=F16 MFD 3" set "MFD3Old=A0E13040-A6A2-11ef-8004-444553540000" set "JoystickName=Joystick - HOTAS Warthog" set "JoystickOld=A0E15750-A6A2-11ef-8006-444553540000" set "WheelName=Logitech G27 Racing Wheel USB" set "WheelOld=2A3BFFF0-A6A3-11ef-8001-444553540000" set "ThrottleName=Throttle - HOTAS Warthog" set "ThrottleOld=A0E17E60-A6A2-11ef-8008-444553540000" set "TPRName=TPR T.Pendular Rudder" set "TPROld=A0E17E60-A6A2-11ef-8009-444553540000" set "TPRJSName=T-Pendular-Rudder" set "TPRJSOld=23155230-2508-11ee-8007-444553540000" :: === Search all Input\*\joystick subfolders === for /d %%A in ("Input\*") do ( set "subdir=%%~fA\joystick" if exist "!subdir!" ( pushd "!subdir!" call :processFile "!ControllerName!" "!ControllerOld!" "!ControllerID!" call :processFile "!MFD1Name!" "!MFD1Old!" "!MFD1ID!" call :processFile "!MFD2Name!" "!MFD2Old!" "!MFD2ID!" call :processFile "!MFD3Name!" "!MFD3Old!" "!MFD3ID!" call :processFile "!JoystickName!" "!JoystickOld!" "!JoystickID!" call :processFile "!WheelName!" "!WheelOld!" "!WheelID!" call :processFile "!ThrottleName!" "!ThrottleOld!" "!ThrottleID!" call :processFile "!TPRName!" "!TPROld!" "!TPRID!" call :processFile "!TPRJSName!" "!TPRJSOld!" "!TPRJSAID!" popd ) ) goto :eof :processFile :: %1 = Base name :: %2 = Old GUID :: %3 = New GUID setlocal enabledelayedexpansion set "baseName=%~1" set "oldGUID=%~2" set "newGUID=%~3" set "oldFile=%baseName% {%oldGUID%}.diff.lua" set "newFile=%baseName% {%newGUID%}.diff.lua" set "plainFile=%baseName%.diff.lua" :: === Step 1: Find the most recent file among all baseName {GUID}.diff.lua === set "mostRecentFile=" set "mostRecentDate=0" for %%F in ("%baseName% {*.diff.lua") do ( for /f %%a in ('powershell -command "(Get-Item '%%~fF').LastWriteTime.ToString('yyyyMMddHHmmss')"') do ( set "fileDate=%%a" if "!fileDate!" GTR "!mostRecentDate!" ( set "mostRecentDate=!fileDate!" set "mostRecentFile=%%~fF" ) ) ) :: === Step 2: Delete all less recent files with GUID === for %%F in ("%baseName% {*.diff.lua") do ( if not "%%~fF"=="!mostRecentFile!" ( echo [DEL] Deleting older file: "%%~fF" del /f /q "%%~fF" ) ) :: === Step 3: Delete plain file if it's older than the most recent one with GUID === if defined mostRecentFile ( if exist "%plainFile%" ( for /f %%a in ('powershell -command "(Get-Item '%plainFile%').LastWriteTime.ToString('yyyyMMddHHmmss')"') do set "plainDate=%%a" for /f %%a in ('powershell -command "(Get-Item '!mostRecentFile!').LastWriteTime.ToString('yyyyMMddHHmmss')"') do set "recentDate=%%a" if "!plainDate!" LSS "!recentDate!" ( echo [DEL] Deleting older plain file: "%plainFile%" del /f /q "%plainFile%" ) else ( echo [SKIP] Plain file is newer than the most recent GUID-based file. ) ) ) :: === Step 4: Rename old GUID file to new one, if it still exists === if exist "%oldFile%" ( echo [OK] Renaming "%oldFile%" to "%newFile%" ren "%oldFile%" "%newFile%" ) else ( echo [INFO] Old GUID file not found: "%oldFile%" ) endlocal goto :eof
  4. Last update don't fixed it. I'm trying to figure out if only me, but already have a ticket. Good to know.
  5. Thank you. I'll purchase the Ultraleap Leap Motion Controller 2 as soon as possible. I expect that it works properly like I saw in the YouTube videos. It looks very imersive. Best regards.
  6. Hi there Can you show how do you attached the Ultraleap in your HP Reverb G2? I have the same VR and a I found the Ultraleap v2 here in Brazil, but have only the device and the cable. Best regards.
  7. Probably or not, because the HD/SSD is the slowest device in the process. It can be a DCS MT problem also. I have a fast SSD, but it can happen depending on the map, server, etc.
  8. I asked some time ago about the low performance on Marianas and somebody answered that LOD (Level Of Detail) and Preload Radius affects the performance, even in high end PCs with VR. Set LOD to 0.8, you will not see too much difference in graphics but it will increase the FPS. This video Jabbers show an issue of memory in MT and how he solved.
  9. I would like to know if you all have a little blurry image in peripheral vision of Reverb G2? In other games it looks so sharpening like Assetto Corsa. For example, I can't read the switches, knobs and buttons labels, I need to turn my head to the panel to centralize the view and focus. PS: I purchased VR Rock lenses for astigmatism. Best regards.
  10. I don't know, but my PC specs supposed to be good enough to run Marianas above 60~90 FPS with HP Reverb G2. But I'm having low performance above the islands at low altitude.
  11. Amazing. Only if you see through the lenses to believe in this VR stuff. Looks so real, like you can touch the instruments of the cockpit. I'm very satifect with my purchase. The entire PC run smoothly in VR.
  12. I'm very happy with my new rig. Here in Brazil this new PC costs the price of an old car, but it's the cost devalued currency, high taxes and taxes over taxes. I'm waiting to receive the HP Reverb G2 V2 to have my first impressions with VR in DCS. Probably I'll feel bad with motion sickness in the first days, but the people who fly VR says that's amazing.
  13. Yes, I mounted the radiator on top. The PSU is full modular developed by the same company in China who made XPG Core Reactor PSUs, but it is selled by a Brazilian brand. It have 80 Plus, TecLabs and Cybenetics certified as gold. It is ATX 3.0 and PCI-E 5.0 ready.
  14. I forgot to post. Here my new setup. I tested DCS and it runs 180 FPS with all settings enabled and ultra in 1080p. I waiting the HP Reverb G2 V2 to see if my new rig will perform well or I'll need to low some settings. Motherboard: Asus ROG Strix B650E-E CPU: Ryzen 7 7800X3D Memories: Kingston Fury Renegade 2x 32GB DDR5 6000MHz SSD: Kingston Fury Renegade 4TB 7300MB/s read 7000MB/s write GPU: Asus ROG Strix GeForce RTX 4090 PSU: SuperFrame SF-G1000M 1000w Case: Cooler Master TD500 Mesh Water cooler: Cooler Master Master Liquid ML360 Illusion
  15. 502 Bad Gateway
  16. They broke the e-shop. One question: Will it be available on Steam soon? @NineLine
  17. "ASUS' actions relating to the Exploding Ryzen CPU debacle are disgraceful and abrasive to the trust that the brand has earned. ASUS has demonstrated clearly it wishes to not only avoid supporting users, but actively engineers ways to abandon them. ASUS' updates haven't even fixed the problems, yet they posture as if they have while simultaneously suggesting that users 'just run defaults' on their $700 motherboards, as if that makes any sense whatsoever. So, to accommodate ASUS' request, we ran defaults and re-benchmarked the Ryzen 7000 series. It sucks. Big surprise. They also don't support their own BIOSes for the ASUS ROG boards."
  18. In the video description have the track for replay.
  19. BIOS Update as BETA and without warrant.
  20. A purchased a PSU not that good, full modular 1000w Cybernets Gold 80 Plus with 12VHPWR cable. I hope that don't explode my stuffs.
  21. I purchased the ASUS motherboard, it looks like I did a wrong choice. What is the OCP that Nexus said in the video? Is some BIOS setting? Or is it a component of mobo?
  22. I tried turn on and off the AI, but the group disappear from the map. I could not reactivate or turn on the AI. Caucasus - Hornet Training Mission PvE.miz
  23. Search for "Immortal": https://www.digitalcombatsimulator.com/upload/iblock/ed6/87v22jwd1xh51i3rgki944xsf503istq/DCS_User_Manual_EN_2020.pdf
×
×
  • Create New...