RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
1.01k stars 175 forks source link

itch.io: v2021.02 says "No render system plugin available..." #2666

Open ohlidalp opened 3 years ago

ohlidalp commented 3 years ago

I've just installed Itch.io client on my new desktop PC, specs below. I installed Rigs of Rods, launched it via shortcut in left column and I was greeted by error dialog "No render plugin... check plugins.cfg". Plugins.cfg pointed to "RenderSystem_Direct3D9" which was present in the app directory, but RoR.log said otherwise:

22:51:03: Loading library .\RenderSystem_Direct3D9
22:51:03: Ogre::InternalErrorException::InternalErrorException: Could not load dynamic library .\RenderSystem_Direct3D9.  System Error: The specified module could not be found.

 in DynLib::load at C:\Users\runneradmin\.conan\data\OGRE\1.11.6-with-patches\anotherfoxguy\stable\build\78c6c4e2ea61dac8cba2360afd7746bec0f80872\OgreMain\src\OgreDynLib.cpp (line 112)

All other DLLs loaded fine, so I figured there must be a missing dependency. I used https://www.dependencywalker.com/ to find it and the result was surprising: obrazek

The app does specify "dx-june-2010" as dependency. The installation went smoothly. Still, The Dx9 runtime DLL is not on my system, I searched whole "C:\windows" for "d3dx9*.dll" and got no hits.

My system spec:

ohlidalp commented 3 years ago

I found the culprit in "Application Data\itch\logs\itch.txt" - directx installation was skipped:

{"time":1612388470346,"level":30,"msg":"→ Running command:"}
{"time":1612388470346,"level":30,"msg":"  C:\\Users\\Petr\\AppData\\Roaming\\itch\\prereqs\\dx-june-2010\\dxwebsetup.exe ::: /q"}
{"time":1612388471591,"level":20,"msg":"Calling Fetch.Commons","name":"mcall"}
{"time":1612388471688,"level":30,"msg":"A more recent version is already installed (Code 4294967287), continuing"}

@Zentro inspected the same log on his fresh Win10 machine and the "more recent..." line isn't there.

I'm speculating it happened on my machine due to presence of "Windows SDK" which bundles DirectX(11+) these days.

AnotherFoxGuy commented 3 years ago

Should we report this as an issue on https://github.com/itchio/itch ?

ohlidalp commented 3 years ago

@AnotherFoxGuy Should we report this as an issue on https://github.com/itchio/itch ?

Sorry about the response lag. Yes, I say we should.