You are not logged in.
Pages: 1
Hi fellow archers,
Gaming with WINE inside a 32 bit chroot works perfectly for me. I just want to add some more comfort.
I have not really found a good description on how to automate gaming within a 32 bit chroot.
There is a hint in the wiki to add an alias which launches wine inside the 32 bit chroot from your 64 bit system but how would I write a script which does:
1) Mount an ISO required for a windows game as loopback
2) Start the 32 bit chroot
3) Start the game via WINE inside the 32 bit chroot
4) Exit the 32 bit chroot
I know how to do this all inside a terminal manually but
...how do I "change into 32 bit chroot" from a bash script ?
...how do I call WINE inside the 32 bit chroot from the same bash script ?
...how do I exit the 32 bit chroot from the bash script ?
Additional to this I am not shure if it is smarter to mount the ISO inside the 64 bit system and export the directory to your 32 bit chroot ? Or is it smarter to change inside the 32 bit chroot and mount the ISO there ?
I am asking this esp. in regard to some "CD checks" of Windows games which sometimes seem to be very sensitive in regard how the media is mounted / presented to WINE itself.
As usual I would like to write things together and add them to the corresponding part of the wiki.
TIA,
D$
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
I use schroot as the wiki suggests, set up my --bind mounts accordingly and use something like this as a launcher:
#!/bin/sh
schroot -p -- wine ~/.wine/drive_c/Program\ Files/Aquaria/Aquaria.exe--bind mounts usually worked well for me, and schroot takes care of the mounting and unmounting. In winecfg (schroot -p -- winecfg, BTW) I set up /media/cdrom as drive D:, make it a CD drive and mount all my game media to /media/cdrom. I had a minor problem with Diablo 2 CD checks, but installing an (official) noCD patch worked around that.
Offline
Hi Runiq,
Thanks for your help again !
Using schroot works perfectly for me when I use it to run darkplaces together with SDQuake.
In order to do more than one command within the chroot I guess I simply have to write shell script and launch this inside the chroot via schroot, right ?
I am not shure how schroot takes care for mounting / unmounting when I have several ISOs lying in my home directory which I require for different games. A lot of games work fine with "no-cd" patches in term of requireing the original CD but still rely on files stored on the CD.
My best guess is a combination of two shell scripts. One running under arch64 and one which is started via schroot in my chroot.
Cheers,
D$
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
Pages: 1