Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 03-19-2010, 07:20 AM   #1
panton41
 
panton41's Avatar
 
Join Date: Jul 2005
Location: Jeffersonville, Ind.
Default GURPS Character Assistant under Wine for Linux

I'm going to summarize my install routine for GCA under Ubuntu with the current (1.20-RC2 as of right now) version of Wine. It should work with most major distros as well virtually unchanged:

1) Install Wine repositories and install latest version of Wine. How this is done depends on your distro but Wine HQ has current builds for most major distros.

1a) Be sure to install the wine-gecko and cabextract package if it's not automatically enabled.

2) Download winetricks and change the permissions to be executable. Note, the official repo might have installed it automatically.

3) Create a directory to hold the GCA install. I use "/home/myusername/Software/GCA".

4) Run Winetricks with the command:
Code:
WINEPREFIX="/explicit/path/to/your/directory/" winetricks
Check "riched20", "vb6run", "native-oleaut32) and "fontsmooth-rgb" or "fontsmooth-bgr" depending on your display.

4a) For the post-March 2011 update to winetricks follow these selctions:
1) Choose "Select the default wineprefix" (which will be the one explicitly entered).
2) Choose "Install a Windows DLL or Component."
3) Select "riched20" and "vb6run." (Control click to choose more than one line.)
4) Choose "Change Settings."
5) Select "fontsmooth-rgb" or "fontsmooth-bgr" and "native-oleaut32."
6) Exit out by choosing "cancel" until window closes.


5) Use the command line to install GCA and patches to the same WINEPREFIX.

6) Run winecfg (once again with WINEPREFIX first) and choose libraries. Verify that riched20, riched32 and oleaut32 have been set as "native, builtin". Also choose Windows version Windows XP as this as been shown to run slightly better.

8) If needed copy the "GURPS Character Assistant" folder from the Document/My Documents folder off your Windows partition/disk into your home folder.

9) Cross your fingers and run GCA.

Following all of that will not only allow it to run, but also eliminate the ugly fonts seen previously. Some displays have a pixel order of RGB and some BGR play with the two to see what works best for you.

I use a WINEPREFIX since other programs, notably DirectX that many games install, will mess up a GCA install. In general it's good practice when you're installing anything with Wine to do it that anyway. I use a non-hidden folder with Wine just because it's easier to navigate to, but if you prefer hidden folders just put a "." before your directory name.

You can speed up GCA by adding:
Code:
WINEDEBUG=-all
To the menu item for GCA. It will cause Wine to not throw back debugging comments to the (probably unseen) console and make it run slightly faster.

I've found GCA under Wine to be quite a bit faster than natively under Windows, but, of course, your mileage may vary.

Sometimes I copy the Steve Jackson Games directory from the AppData/Application Data folder in Windows user account into the equivalent folder in Wine. It helps keep many of your settings intact, but chances are the GCA.ini file inside of it will cause a crash on start up. Simply remove it (copying it) and once a new one is made you can transfer over settings that might not "take" once set.

Also keep in mind the legalese of having a valid Windows license when doing this. I have two computers (including the one with Linux) running Windows 7 and a legal copy of Windows XP, which most likely keep me in the clear, but for people who only have Linux you're technically violating the EULA.
__________________
The user formerly known as ciaran_skye.

__________________

Quirks: Doesn't proofread forum posts before clicking "Submit". [-1]

Quote:
"My mace speaks Goblin." Antoni Ten Monros

Last edited by panton41; 05-17-2011 at 08:41 AM.
panton41 is offline   Reply With Quote
Old 11-14-2010, 01:17 PM   #2
acrosome
 
acrosome's Avatar
 
Join Date: Aug 2010
Location: The Land of Enchantment
Default Re: GURPS Character Assistant under Wine for Linux

I followed all of your directions and GCA generally seems to work EXCEPT for the Quick View (the view that looks like a character sheet) and Print Preview functions. Any insight on this?
acrosome is offline   Reply With Quote
Old 11-14-2010, 01:42 PM   #3
Kuroshima
MIB
Pyramid Contributor
Mad Spaniard Rules Lawyer
 
Kuroshima's Avatar
 
Join Date: Aug 2004
Location: The ASS of the world, mainly Valencia, Spain (Europe)
Default Re: GURPS Character Assistant under Wine for Linux

Quote:
Originally Posted by acrosome View Post
I followed all of your directions and GCA generally seems to work EXCEPT for the Quick View (the view that looks like a character sheet) and Print Preview functions. Any insight on this?
Do you have CUPS installed? You need to have a working printer (I use CUPS-PDF, it should be in your repos) for those functions, on Windows.
__________________
Antoni Ten
MIB3119
My GURPs character sheet
My stuff on e23
Kuroshima is offline   Reply With Quote
Old 11-14-2010, 01:56 PM   #4
acrosome
 
acrosome's Avatar
 
Join Date: Aug 2010
Location: The Land of Enchantment
Default Re: GURPS Character Assistant under Wine for Linux

I'm running Ubuntu 10.04, and when I check Synaptic Package Manager it says that CUPS is installed. This is a new laptop, though, and I've never actually attached it to a printer.

i tried installing a couple of printer drivers into Wine, but the install always fails.
acrosome is offline   Reply With Quote
Old 11-14-2010, 01:59 PM   #5
Kuroshima
MIB
Pyramid Contributor
Mad Spaniard Rules Lawyer
 
Kuroshima's Avatar
 
Join Date: Aug 2004
Location: The ASS of the world, mainly Valencia, Spain (Europe)
Default Re: GURPS Character Assistant under Wine for Linux

Quote:
Originally Posted by acrosome View Post
I'm running Ubuntu 10.04, and when I check Synaptic Package Manager it says that CUPS is installed. This is a new laptop, though, and I've never actually attached it to a printer.

i tried installing a couple of printer drivers into Wine, but the install always fails.
Open Synaptic, and search for CUPS-PDF. It's a PDF printer, and it's what I use to print to pdf my GCA files. CUPS is the printing framework, but GCA needs an actual printer driver for quick view. WinE should make your CUPS printers available to windows apps. Don't try to install a printer driver on WinE though.
__________________
Antoni Ten
MIB3119
My GURPs character sheet
My stuff on e23
Kuroshima is offline   Reply With Quote
Old 11-14-2010, 02:02 PM   #6
acrosome
 
acrosome's Avatar
 
Join Date: Aug 2010
Location: The Land of Enchantment
Default Re: GURPS Character Assistant under Wine for Linux

Sunovacrap!

i realized that CUPS-PDF might be different than CUPS and sure enough I searched for it in SPM and loaded it and...

TA-DA!

All is right with the world.

Thanks!
acrosome is offline   Reply With Quote
Old 05-14-2011, 06:47 PM   #7
Bruno
 
Bruno's Avatar
 
Join Date: Sep 2004
Location: Canada
Default Re: GURPS Character Assistant under Wine for Linux

Quote:
Originally Posted by ciaran_skye View Post
4) Run Winetricks with the command:
Code:
WINEPREFIX="/explicit/path/to/your/directory/" winetricks
Check "riched20", "vb6run", and "fontsmooth-rgb" or "fontsmooth-bgr" depending on your display.
I'm sort of impressed that it took me all the way until step 4, but I am apparently now in an alternate universe from you.

I ran winetricks, with the WINEPREFIX, and ... I get a) a prompt to install Gecko, and then a failure to install gecko, and b) a radio button list asking if I want to view help, install an app, install a game, install a benchmark, select the default wineprefix...

No checkboxes, nothing that looks like anything you have above (ie, it's all in english, no package names). :/
__________________
All about Size Modifier; Unified Hit Location Table
A Wiki for my F2F Group
A neglected GURPS blog
Bruno is offline   Reply With Quote
Old 05-15-2011, 08:56 AM   #8
panton41
 
panton41's Avatar
 
Join Date: Jul 2005
Location: Jeffersonville, Ind.
Default Re: GURPS Character Assistant under Wine for Linux

What distribution and version of Wine are you using?
__________________
The user formerly known as ciaran_skye.

__________________

Quirks: Doesn't proofread forum posts before clicking "Submit". [-1]

Quote:
"My mace speaks Goblin." Antoni Ten Monros
panton41 is offline   Reply With Quote
Old 05-15-2011, 03:29 PM   #9
Bruno
 
Bruno's Avatar
 
Join Date: Sep 2004
Location: Canada
Default Re: GURPS Character Assistant under Wine for Linux

Quote:
Originally Posted by ciaran_skye View Post
What distribution and version of Wine are you using?
Not sure I'm answering the right question, but the one from following the Ubuntu installation instructions from the Wine website, and the latest stable (not the development branch).

Kuroshima walked me through setting it up with PlayOnLinux, so I'm up and running, but you'll probably need a note or some extra instructions if the latest (Ubuntu only?) version is so different.

There's a note that winetricks had its gui massively overhauled in March of this year on the winetricks website. might have something to do with it?
__________________
All about Size Modifier; Unified Hit Location Table
A Wiki for my F2F Group
A neglected GURPS blog
Bruno is offline   Reply With Quote
Old 05-15-2011, 03:48 PM   #10
panton41
 
panton41's Avatar
 
Join Date: Jul 2005
Location: Jeffersonville, Ind.
Default Re: GURPS Character Assistant under Wine for Linux

The interface was massively overhauled, but the directions are generally the same. I'd have to reinstall Linux to figure out the exact steps, though. When I last tried Ubuntu (last week or so) it worked fine.
__________________
The user formerly known as ciaran_skye.

__________________

Quirks: Doesn't proofread forum posts before clicking "Submit". [-1]

Quote:
"My mace speaks Goblin." Antoni Ten Monros
panton41 is offline   Reply With Quote
Reply

Tags
linux

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.