Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(Solved) Winetricks is Not Working on 64-bit Prefix.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 37

PostPosted: Mon May 29, 2023 11:05 am    Post subject: (Solved) Winetricks is Not Working on 64-bit Prefix. Reply with quote

Hello, fellow Linux folks, hope everyone is doing great. I have installed wine recently, along with winetricks. I am trying to create a 64-bit wine prefix to play S.T.A.L.K.E.R GAMMA, however, winetricks is not working with it, it does work with a 32-bit prefix though. I get the following message in my terminal after running WINEARCH=win64 WINEPREFIX=/home/ultimeight/Wine/gamma winetricks
Code:

------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
grep: /home/ultimeight/Wine/gamma//*.reg: No such file or directory
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 28
drwxr-xr-x  7 ultimeight ultimeight 4096 May 29 16:28 .
drwxr-xr-x  4 ultimeight ultimeight 4096 May 29 16:28 ..
drwxr-xr-x  3 ultimeight ultimeight 4096 May 29 16:28 ProgramData
drwxr-xr-x  6 ultimeight ultimeight 4096 May 29 16:28 Program Files
drwxr-xr-x  6 ultimeight ultimeight 4096 May 29 16:28 Program Files (x86)
drwxr-xr-x  4 ultimeight ultimeight 4096 May 29 16:28 users
drwxr-xr-x 20 ultimeight ultimeight 4096 May 29 16:28 windows

Registry info:
/home/ultimeight/Wine/gamma//*.reg:
------------------------------------------------------
------------------------------------------------------
warning: wine cmd.exe /c echo '%AppData%' returned empty string, error message ""
------------------------------------------------------

After throwing this output, I simply get the shell prompt back, exiting the program. I was unable to find similar problem on the internet, hence turned to the forum for help.
I have installed wine using the following command:
doas emerge -av virtual/wine
Wine version: wine-8.0.1
Also, is the above wine same as 'wine-vanilla-8.0.1'? Because it shows up when I hit tab to autocomplete.
Here's my make.conf:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

GENTOO_MIRRORS="https://download.nus.edu.sg/mirror/gentoo/ http://download.nus.edu.sg/mirror/gentoo/ rsync://download.nus.edu.sg/gentoo/"
MAKEOPTS="-j8"
USE="-gpm -bluetooth -systemd -dvd -dvdr -cdr -gnome -cups -kde -wayland X alsa elogind dbus"
ACCEPT_LICENSE="*"
VIDEO_CARDS="nvidia intel"
INPUT_DEVICES="libinput synaptics"

QEMU_SOFTMMU_TARGETS="arm x86_64 sparc"
QEMU_USER_TARGETS="x86_64"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GRUB_PLATFORMS="efi-64"

Thank you for reading my post.
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.


Last edited by ultimeight on Mon May 29, 2023 1:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
krumpf
Apprentice
Apprentice


Joined: 15 Jul 2018
Posts: 167

PostPosted: Mon May 29, 2023 12:20 pm    Post subject: Reply with quote

In my experience on a multilib x86_64 system, wine creates 64 bits prefix by default.

e.g. :
WINEPREFIX=/path/to/somewhere wineboot -i will create a 64 bit prefix.
WINEPREFIX=/path/to/another/location WINEARCH=win32 wineboot -i will create a 32 bits prefix.

Once the prefix is created, you do no need the WINEARCH anymore, just WINEPREFIX=/foo/bar wine stuff.exe or WINEPREFIX=/foo/bar winetricks stuff1 stuff2 etc..

Quote:
Also, is the above wine same as 'wine-vanilla-8.0.1'? Because it shows up when I hit tab to autocomplete.

wine will point to currently selected wine version (wine-vanilla-8.0.1 in your case), you can pick your wine flavor from your groceries store... err... I mean with "eselect wine list"
Wine is slotted, so you can have different versions installed, and switch between them using eselect wine set (note your wineprefix will update if you switch versions).
If you intend to use wine for gaming, you might wanna switch to wine-proton, it's the Valve fork, a bit faster with games.
Back to top
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 37

PostPosted: Mon May 29, 2023 12:55 pm    Post subject: Reply with quote

Quote:
WINEPREFIX=/path/to/somewhere wineboot -i will create a 64 bit prefix
launched winetricks successfully. Thank you.
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2696

PostPosted: Mon May 29, 2023 1:41 pm    Post subject: Reply with quote

krumpf wrote:
In my experience on a multilib x86_64 system, wine creates 64 bits prefix by default.

The default 32+64 at once (assuming was built with support for both anyway, which is also default on multilib profiles), and typically what you should go with unless trying to save space (Edit: it's the most used/tested layout nowadays, so tend to give less trouble).


Last edited by Ionen on Mon May 29, 2023 1:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
ultimeight
n00b
n00b


Joined: 09 Apr 2023
Posts: 37

PostPosted: Mon May 29, 2023 1:44 pm    Post subject: Reply with quote

Ionen wrote:
krumpf wrote:
In my experience on a multilib x86_64 system, wine creates 64 bits prefix by default.

The default 32+64 at once (assuming was built with support for both anyway, which is also default on multilib profiles), and typically what you should go with unless trying to save space.

Thank you, really appreciate the input.
_________________
Regards,
ultimeight.

"A Computer is like an air conditioner - it becomes useless when you open Windows." - Linus Torvalds.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum