If you used the export command in the same terminal window before launching your script then I would expect the environment variable WINEARCH to be known by that script.
It's difficult for me to advise you further because I don't play the game myself and had never heard of pylotro. I wonder if it would be worth you trying to install pylotro using the Portage ebuild given in
Gentoo Bugzilla Bug Report No. 302337? Perhaps the ebuild would configure something that the script you downloaded yourself does not. To try and install it, you would need to use a Portage local overlay, as follows:
All the commands below must be done as root user (hence the hash prompt shown in the steps below). Open a Konsole/Terminal window and log in as the root user.
1. Synchronise with the Portage repositories those ebuilds on your PC that are in the Portage tree:
- Code: Select all
# emerge --sync
2. Add the Sabayon overlay:
- Code: Select all
# layman -a sabayon
If it is already added, synchronise with the Sabayon overlay repository those ebuilds on your PC that are in the Sabayon overlay:
- Code: Select all
# layman -S
3. Edit /etc/make.conf and make sure it has the following lines in it at the end of the file:
- Code: Select all
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
ACCEPT_LICENSE="*"
(Delete the line PORTDIR_OVERLAY="/usr/local/portage/" if already in the file.)
4. Set up the directories for the local overlay:
- Code: Select all
# mkdir -p /usr/local/portage/games-rpg/pylotro/files
5. Stop Portage nagging about a missing name for your local overlay:
- Code: Select all
# mkdir /usr/local/portage/profiles
# echo "local_overlay" > /usr/local/portage/profiles/repo_name
6. Go to Gentoo Bugzilla Bug Report No. 302337 and save the file pylotro-0.1.11.ebuild to your Desktop.
7. Copy the file into the correct directory (I see from the link you gave that the current version of pylotro is 0.1.14, so just rename the ebuild when you copy it):
- Code: Select all
# cd /usr/local/portage/games-rpg/pylotro
# cp /home/fitzcarraldo/Desktop/pylotro-0.1.11.ebuild /usr/local/portage/games-rpg/pylotro/pylotro-0.1.14.ebuild
(Obviously replace "fitzcarraldo" with your user name.)
8. Generate the manifest:
- Code: Select all
# ebuild pylotro-0.1.14.ebuild manifest
9. Merge (install) the package:
- Code: Select all
# emerge -1v pylotro
10. Tell Entropy what you did via Portage:
- Code: Select all
# equo rescue spmsync
I have not tried it myself, so do not know if it will install. But it's worth a shot. I don't know what pylotro is supposed to do, so you could try it with and without setting WINEARCH=win32 to see what happens.
If you still have no luck, another thing you could try is to install WINE with only win32 libraries, and then re-install the game to see if that works:
- Code: Select all
# USE="-win64 win32" emerge -1v wine
# equo rescue spmsync
As you would have previously performed Step 1, the emerge command above would install version 1.3.11 of WINE, which is not yet in the Entropy repository. That in itself may help.