01-07-2010, 02:29 PM | #31 |
GCA Prime
Join Date: Aug 2004
Location: Portland, OR
|
Re: GCA In Linux
In case there are known issues with any of the system calls GCA might be using in the shield arc picture routines, they are:
For the transparent bit-blitting: Code:
Public Declare Function BitBlt Lib "gdi32" _ (ByVal hdcDest As Long, ByVal XDest As Long, _ ByVal YDest As Long, ByVal nWidth As Long, _ ByVal nHeight As Long, ByVal hdcSrc As Long, _ ByVal xSrc As Long, ByVal ySrc As Long, _ ByVal dwRop As Long) As Long Public Declare Function CreateBitmap Lib "gdi32" _ (ByVal nWidth As Long, _ ByVal nHeight As Long, _ ByVal nPlanes As Long, _ ByVal nBitCount As Long, _ lpBits As Any) As Long Public Declare Function SetBkColor Lib "gdi32" _ (ByVal hDC As Long, ByVal crColor As Long) As Long Public Declare Function SelectObject Lib "gdi32" _ (ByVal hDC As Long, ByVal hObject As Long) As Long Public Declare Function CreateCompatibleBitmap Lib "gdi32" _ (ByVal hDC As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long Public Declare Function CreateCompatibleDC Lib "gdi32" _ (ByVal hDC As Long) As Long Public Declare Function DeleteDC Lib "gdi32" _ (ByVal hDC As Long) As Long Public Declare Function DeleteObject Lib "gdi32" _ (ByVal hObject As Long) As Long Code:
Declare Function ExtFloodFill Lib "gdi32" _ (ByVal hDC As Long, ByVal x As Long, _ ByVal y As Long, _ ByVal crColor As Long, _ ByVal wFillType As Long) As Long Armin
__________________
Armin D. Sykes | Visit my GCA5 blog for updates and previews. | Get GURPS Character Assistant 5 now at Warehouse 23. |
01-07-2010, 03:49 PM | #32 |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: GCA In Linux
I'm having trouble just getting the basic armor diagram/paper-doll (using DrawBodyPartsPicture), which works just fine by all accounts, to not crash on me.
Then again, I'm having a few other issues with Wine anyway. Case in point, I have to run GCA from its directory and via a relative path. If I try to run it via the full path from anywhere else Wine barks about not supporting the i386 architecture. 'Tis strange indeed.
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) Last edited by tmedwards; 01-07-2010 at 04:01 PM. |
01-07-2010, 10:00 PM | #33 | |
Join Date: Feb 2006
Location: Krotz Springs, LA US
|
Re: GCA In Linux
Quote:
The reason I haven't done the "how I fixed the shield arc issue" testing is because that I noticed RTF is broken. So, has anyone noticed RTF elements not printing or is it just my Wine+GCA? For example:
__________________
Thomas M. EDWARDS <tmedwards@motoslave.net> GCA4 resources: GCA Repository, Phoenix (r66), GMCS (2.17), Bookish (r12) |
|
05-07-2011, 12:09 AM | #34 |
Join Date: Jul 2005
Location: MA, USA
|
Re: GCA In Linux
Commence thread necromancy!
So this evening it occurred to me it might be nice to be able to run GCA on my desktop without having to reboot into Windows via Bootcamp. Thus, I tried to install it via Crossfire. As others have said in past years, it mostly works ok before updating, but with the most recent program update, GCA will crash just before it finishes loading with a message that says 'modForms BuildSmartBar: Error 30001: Unable to open the picture file "%1"'. So I made my way here to the forums and began to search for a solution. I found this thread, and attempted to follow the instructions of the original poster. Tragically, this merely changes out one crash for another. When I locate the files mentioned and copy them from my Bootcamp partition over to the proper location in my Crossover bottle, I instead get a "Runtime '7' Error: Out of Memory" before the program even begins to load. Replacing only oleaut32.dll leaves me with the same original error, replacing only riched20.dll gives me the runtime error. I also found mention somewhere of a riched32.dll, but replacing that, in any combination with the other two, also doesn't allow GCA to load. Can anyone provide any suggestions? For what it's worth, I've got Crossover 8.0.1, and it's making a WinXP bottle, but the versions of the files I'm copying from the Bootcamp partition are Win7. I also pulled versions of them from my laptop, which uses XP still, but using those just left me with the original error. Would upgrading to Crossover 10 help by any chance? Or downgrading to an older one? I am not presently using Crossover for anything else, so as long as it works, I don't much care what version I've got (though I'd rather not have to pay for an upgrade if I can help it, of course).
__________________
-Taellosse Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -Jeff Raskin
|
05-07-2011, 01:30 AM | #35 | |
Join Date: Jul 2005
Location: Jeffersonville, Ind.
|
Re: GCA In Linux
I've only ever tested it with the official version of Wine on Linux (as recently as last night) and the directions here still work fine.
As for Wine on Macintosh I have no idea. Despite there being an official BSD port of Wine Mac is kind of the "redheaded stepchild" of BSD and doesn't have an official version. (Though there are unofficial versions and it's supposed to build cleanly if you do it from scratch.) I'm not sure what version of Wine Crossover 8.1 is built off of, but considering the latest version is 10.0 it's safe to say it's older enough and Wine development is active enough that it's probably not worth using given the free version has matured so much. (For that matter Cedega is doing poorly because of terrible customer support, a non-existant release cycle and that it offers no benefits over the mainline Wine.)
__________________
The user formerly known as ciaran_skye. __________________ Quirks: Doesn't proofread forum posts before clicking "Submit". [-1] Quote:
|
|
05-11-2011, 02:14 PM | #36 |
Join Date: Jul 2007
Location: Ann Arbor, MI
|
Re: GCA In Linux
This may sound silly, but is there any reason people aren't just using Virtual Box to run GCA on Linux or Mac? That seems like a lot less trouble.
__________________
Online Campaign Planning |
05-11-2011, 04:20 PM | #37 |
Join Date: Aug 2004
Location: The ASS of the world, mainly Valencia, Spain (Europe)
|
Re: GCA In Linux
I've done both, and on WinE, GCA runs much faster, and I don't have to mess with pseudo-network drives to get the shared directories to work. Also, I prefer to use the Windows license on another machine.
|
05-11-2011, 08:03 PM | #38 | |||
Join Date: Jul 2005
Location: Jeffersonville, Ind.
|
Re: GCA In Linux
Quote:
Quote:
Wine runs pretty well these days, especially for something as simple as GCA. Heck, I've seen a few higher end games play faster on Wine than an actual copy of Windows.
__________________
The user formerly known as ciaran_skye. __________________ Quirks: Doesn't proofread forum posts before clicking "Submit". [-1] Quote:
|
|||
05-11-2011, 09:06 PM | #39 | |
Join Date: Apr 2009
Location: Not here
|
Re: GCA In Linux
Quote:
Just my $.02. :) |
|
05-12-2011, 08:41 AM | #40 | |
Join Date: Sep 2004
Location: Canada
|
Re: GCA In Linux
Quote:
I'm very interested in getting GCA working on the shiny new machine, as it has MUCH better everything than my old windows machine does, and GCA is one of the last things still tethering me to the windows environment. The others are going to take a lot more work to shift to Wine unfortunately, but if I get the easy one moved over at least I'll have made some progress ;)
__________________
All about Size Modifier; Unified Hit Location Table A Wiki for my F2F Group A neglected GURPS blog |
|
Tags |
linux |
Thread Tools | |
Display Modes | |
|
|