A game complains of unknown path/device and resource busy

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
Hitman47
Newbie
Newbie
Posts: 1
Joined: Fri Jan 08, 2021 7:35 pm

A game complains of unknown path/device and resource busy

Post by Hitman47 » Fri Jan 08, 2021 7:54 pm

Hello,
I am trying to run the recent versions of BeamNG for some simulation purposes. This game creates it's user profile in the user's Documents folder, which by default cross mounts to the /home directory (by the way, how to disable that?)

The error looks like this:

Image
Image

And the resulting log files (it does write tthem, so it has access to the path) looks like this
-- Log started - v 0.21.2.0.11103 - x64 - build 11103 - 2021-1-9 -- 02:41:06 -----
-- buildbot build 11103 on winbuildbot3 - 21/12/2020 - 10:31:31 - Mon Dec 21 10:31:41 2020
-- Log Format: Time since startup | Message level: D(ebug), I(nfo), W(arning), E(rror), A(lways) | Message
112.05438|E|blacklist::getDLLInfo|unable to open file for reading

0.00190|L|logging|-----------------------------------------------------------------------------
0.00198|L|logging|-- BeamNG.drive.launcher - new - 2021-1-9 -- 02:39:11
0.00200|L|logging|-- v 0.21.2.0.11103 - x86 - build buildbot build 11103 on winbuildbot3 - 21/12/2020 - 10:31:31 - Mon Dec 21 10:31:37 2020
0.00200|L|logging|-- Log Format: Time since startup | Message level: D(ebug), I(nfo), W(arning), E(rror), A(lways) | Message
0.00219|D|baseFS|gameroot = 'Z:\home\arch\Downloads\Games\BeamNG.drive.v0.21.2.0\BeamNG.drive.v0.21.2.0\'
0.00221|D|baseFS|userpath = 'C:\users\arch\My Documents\BeamNG.drive\' , Reason = Default path
0.00231|I|bng_platform_version|Microsoft Windows 10 (v10.0) (build 17763), 64-bit, Wine 6.0-rc1
0.03527|E|fixNvidia|NVAPI: Failed NvAPI_DRS_CreateSession
0.05083|E|fixNvidia|NVAPI: Failed NvAPI_DRS_CreateSession
0.06374|E|fixNvidia|NVAPI: Failed NvAPI_DRS_CreateSession
0.07678|E|fixNvidia|NVAPI: Failed NvAPI_DRS_CreateSession
0.22808|E|launcher.fixupRegistry|No error message has been recorded
0.24260|I|gpu_driver|Nvidia Driver version = 337.88 (33788), branch = 'r337_00'
1.64216|E|BNGBase::Power::setPowerSchemeMaxPerformance|Failed to get active performance scheme
1.68047|D|launchGame|launched, waiting for it now ...
152.42948|E|launchGame|process finished with exit code: 0x00000001
152.42959|E|gameStartupError|BeamNG.drive 0.21.2.0 0x00000001
152.42961|E|gameStartupError|0x00000001
I still believe there are some permission issues, so i tried chowning the directories, then deleting them altogether, deleting the wine prefix too and reinstalling wine (5.22). I also tried Wine 6.0 beta, same problem

I tried changing some arguments in Wine and some settings in the application itself, including to specify the "virtual filesystem" to another location, chowned to my user but i get the same error. I don't understand where that variable can come from. Do I need to run a debugger, and if so which one?
[filesystem]
; This determines where the User path is.
; This is by default or when empty below "My Documents\BeamNG.drive"
UserPath = Z:\mnt\HDD1\.....\beamng_files
P.S. I vaguely remeber that the old versions used to run fine, but unfortunately they are no use to me

P.S.2 Also I installed the necessary redistributables that it required. Could still be a missing dll. This game uses the Torque engine so if anyone has games based on this, can you check if they work? https://en.wikipedia.org/wiki/Torque_(game_engine)

jkfloris
Level 9
Level 9
Posts: 1274
Joined: Thu Aug 14, 2014 10:10 am

Re: A game complains of unknown path/device and resource busy

Post by jkfloris » Sun Jan 10, 2021 9:40 am

Try the game with Wine Staging?
This game creates it's user profile in the user's Documents folder, which by default cross mounts to the /home directory (by the way, how to disable that?)

Code: Select all

winetricks isolate_home

Post Reply