Trouble running file in Japanese Locale.

Questions about Wine on macOS.
Locked
Dorpsbewoner
Newbie
Newbie
Posts: 1
Joined: Mon Aug 12, 2019 1:47 pm

Trouble running file in Japanese Locale.

Post by Dorpsbewoner »

Hey, quick question, what do I do if I get a message telling me that wine cannot find my file after typing in:

myname$ LC_MESSAGES=ja_JP.UTF-8 wine game.exe

Only to receive:

wine: cannot find L"C:\\windows\\system32\\game.exe"

Help would be very much appreciated, I'm a newbie to this so sorry if this is a dumb question.
SetantaLP
Level 3
Level 3
Posts: 54
Joined: Mon Jul 31, 2017 3:55 am

Re: Trouble running file in Japanese Locale.

Post by SetantaLP »

You need a full path to the executable either with / as root, which can be achieved by dragging and dropping the executable from Finder to your console window instead of typing the game name into the finder window, or with the virtual c-drive as root similar to the path in the error message ("C:\\<install directory>\\game.exe").
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Trouble running file in Japanese Locale.

Post by DarkShadow44 »

It's better to use "cd" to change the current directory, and then run "LC_ALL=ja_JP.UTF-8 wine game.exe".
Locked