FAQ  •  Login

Wine-friendlyness

<<

luncheonticket

Posts: 14

Joined: Tue May 17, 2011 3:11 pm

Cars: Rover 216

Post Sat Nov 05, 2011 3:37 am

Wine-friendlyness

Hello people, long time no see! I've been kind of busy with university, but have been following your updates and I have to say: Automation is looking better every day! :D

I don't know if you devs are aware of the Wine project (http://www.winehq.org/). It is a software compatibility layer that allows Windows software to run natively on Linux and OS X. Right now it does support a big number of Windows apps and games, however it's still far from perfect. Some Windows applications are certified to run with Wine (uTorrent comes to mind, they used to provide a Wine-ready Windows executable, but they don't anymore since they wrote a native Linux app). Also, many games run fine on it (I tried GTR2, GT Legends, Civilization 4, rFactor and they all work OK).

Anyway, the thing is that since this game is still in development, maybe you could take a look at the developer pages the Wine project? It has several pointers on how to write a Windows application that will behave well in Wine. Maybe with little effort you can make this game run fine in Windows, Linux and OS X without having to use multi-platform SDKs such as SDL etc.?

Let me know what you think! :mrgreen:
<<

zeussy

User avatar

Developer - Lead Programmer
Developer - Lead Programmer

Posts: 745

Joined: Wed Apr 14, 2010 2:32 am

Location: Wellington - New Zealand

Cars: A crashed 1992 Suzuki Cappuccino

Post Thu Nov 10, 2011 4:35 pm

Re: Wine-friendlyness

luncheonticket wrote:Hello people, long time no see! I've been kind of busy with university, but have been following your updates and I have to say: Automation is looking better every day! :D

I don't know if you devs are aware of the Wine project (http://www.winehq.org/). It is a software compatibility layer that allows Windows software to run natively on Linux and OS X. Right now it does support a big number of Windows apps and games, however it's still far from perfect. Some Windows applications are certified to run with Wine (uTorrent comes to mind, they used to provide a Wine-ready Windows executable, but they don't anymore since they wrote a native Linux app). Also, many games run fine on it (I tried GTR2, GT Legends, Civilization 4, rFactor and they all work OK).

Anyway, the thing is that since this game is still in development, maybe you could take a look at the developer pages the Wine project? It has several pointers on how to write a Windows application that will behave well in Wine. Maybe with little effort you can make this game run fine in Windows, Linux and OS X without having to use multi-platform SDKs such as SDL etc.?

Let me know what you think! :mrgreen:


Making it work in Wine has been ticking away in the back of my mind. Automation uses DX9 and doesn't do anything particularly fancy.
Lead Progammer (The Guy that makes stuff happen!)

Follow us on
Twitter - http://twitter.com/AutomationGame
Facebook - http://www.facebook.com/AutomationGame

Come chat to us at http://automationgame.com/irc
<<

Vie

Turbocharged
Turbocharged

Posts: 18

Joined: Sun Nov 06, 2011 2:43 pm

Cars: Currently? Feet. Uhg.

Post Thu Nov 10, 2011 9:43 pm

Re: Wine-friendlyness

I use Linux when I'm not gaming, so I'd be willing to test it out via wine on a couple of different machines.
<<

luncheonticket

Posts: 14

Joined: Tue May 17, 2011 3:11 pm

Cars: Rover 216

Post Sat Nov 12, 2011 1:25 am

Re: Wine-friendlyness

zeussy wrote:Making it work in Wine has been ticking away in the back of my mind. Automation uses DX9 and doesn't do anything particularly fancy.


Then it shouldn't be a big problem; DX9 behaves particularly well in Wine. There's even a good chance of it already running the way it is.

Vie wrote:I use Linux when I'm not gaming, so I'd be willing to test it out via wine on a couple of different machines.


What Vie said: I also have a couple of Linux boxes available to test Wine apps/games, and I can get a Mac to try Wine for Mac (and this) out.
<<

Billybobhumphrey

Posts: 15

Joined: Mon Dec 05, 2011 2:34 pm

Cars: Dodge Neon

Post Mon Dec 05, 2011 5:46 pm

Re: Wine-friendlyness

So would this "simply" mean Mac users could freely run this game?
<<

Daffyflyer

User avatar

Developer - Lead Artist
Developer - Lead Artist

Posts: 3444

Joined: Wed Apr 14, 2010 8:36 pm

Location: Wellington, New Zealand

Cars: 1993 Mazda Lantis Type R V6 Racecar, 2006 BMW 530i

Post Mon Dec 05, 2011 6:27 pm

Re: Wine-friendlyness

We will attempt to make it work on WINE, but it'll very much be a "If it works, good luck to you, no promises" kind of arrangment
3d Artist, Game Designer, Marketing Guy

Follow us on
Twitter - http://twitter.com/AutomationGame
ModDB - http://www.moddb.com/games/automation
Facebook - http://goo.gl/omJzt
Chat http://automationgame.com/irc
<<

Disturbed666

Posts: 16

Joined: Tue Jan 17, 2012 10:31 am

Cars: 2006 Mazda 3

Post Thu Feb 09, 2012 8:54 am

Re: Wine-friendlyness

Also run linux here (Ubuntu 10.10) I've had alot of success running games with wine, keep me in mind if you want any wine testing done
<<

Disturbed666

Posts: 16

Joined: Tue Jan 17, 2012 10:31 am

Cars: 2006 Mazda 3

Post Mon Apr 30, 2012 5:44 am

Re: Wine-friendlyness

just thought I'd post about my attempts to run Automation in wine. The installation of the launcher seems to go fine, but when I run the game I get "starting automation" in the task bar for a few seconds then nothing, anyone made any progress with wine?
<<

GTMoraes

Naturally Aspirated

Posts: 14

Joined: Tue Apr 24, 2012 10:13 pm

Cars: Renault Logan 1.0 16v

Post Mon Apr 30, 2012 7:20 pm

Re: Wine-friendlyness

Me too, buddy.

Looks like this is related to NET 3.5, which is WINE incompatible. 64 Bit NET 3.5 doesn't finish installing, and 32 bit complains my system is 64 bits (it is).

Aww.. if this game were programmed in Java.. life would be SO much easier (for us, players with nothing to do with programming and bug-fixing, of course lol).. Cross platform with no problems. It would also be a helluva smartphone game.

But focusing on the actual game state: Everything seems to be Linux-Mac-Whatever compatbile. It doesn't work deeply connected with the O.S., as it seems. The only problem seems to be the .NET. .NET 2 seems to work on WINE, but I don't know much about .NET to say "devs, use 2.0 instead of 3.5!".
I'm not sure if the whole game is .NET 3.5 dependant, or just the launcher. One can't launch the game without the launcher-updater, so I can't do much here to make it work.
<<

Disturbed666

Posts: 16

Joined: Tue Jan 17, 2012 10:31 am

Cars: 2006 Mazda 3

Post Tue May 01, 2012 5:34 am

Re: Wine-friendlyness

just installed .net and the launcher is now running, i think may still be having issues tho, i don't seem to be able to run the game

EDIT:
so here are the errors I am having so far:

when I try to update: "The server committed a protocol violation. Section=ResponseStatusLine"

when I say no to the update the launcher just crashes, so i figured i'd disable my internet and relaunch. I got a little progress, launcher simply said it couldnt connect to the internet and enabled the play demo and play game buttons, clicking them leads to another error:

" Unhandled exception has occurred blah blah blah. Value cannot be null"

and in the details box I get

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: ptr
at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)
at Automation_Launcher.AutomationLauncherWindow.LoadDLL()
at Automation_Launcher.AutomationLauncherWindow.btPlayDemo_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Automation Launcher
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Automation/Automation%20Launcher.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.DirectX.Direct3D
Assembly Version: 1.0.2902.0
Win32 Version: 9.05.132.0000
CodeBase: file:///C:/windows/assembly/GAC/Microsoft.DirectX.Direct3D/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.Direct3D.dll
----------------------------------------
Microsoft.DirectX
Assembly Version: 1.0.2902.0
Win32 Version: 5.04.00.2904
CodeBase: file:///C:/windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

hope this helps someone

EDIT:

decided to try running inside VMWare with an old copy of windows7 beta (ya i know not the best choice, but its all i could find) got much farther, i now realized that inside wine the game itself wasnt even downloading, it was crashing before that occured. after installing, the game ran everthing was flickery (probably VMWare) but useable, tried to enter sandbox and create a new engine but when the engine designer loaded the vm crashed and threw an OpenGL error (this was VMWares fault). I am now going to try to copy the installed data from the windows vm and run it in linux using wine see where that gets me. i'll be back with updates
<<

autofrank

Turbocharged
Turbocharged

Posts: 140

Joined: Wed May 02, 2012 4:27 am

Post Thu Nov 13, 2014 11:41 am

Re: Wine-friendlyness

Look forward to seeing what you come up with.
Personally I'd like to see manhours and MTBF return rather than production units and reliability score of 0-100.
<<

07CobaltGirl

User avatar

Queen of Track Building

Posts: 1613

Joined: Sun Dec 08, 2013 11:47 am

Location: Atlanta, GA, USA

Cars: Chevy Cobalt

Post Thu Nov 13, 2014 2:03 pm

Re: Wine-friendlyness

Automation in Linux (Fedora 16):

Crossover 13 will run Automation. I had it running for about 2 months. Crossover 14 will not. I'm still trying to figure out what exactly changed when I upgraded on my Fedora 16 box. I downgraded to Crossover 13 again, but the change did not correct the issue. It also runs the launcher, and then crashes on the game start.

I did not have any luck running it in vanilla WINE. .NET 3.5 will install in WINE. There were some VB issues in the logs, but I'm not convinced they are the problem. I think it is DirectX 9.0c causing my issues. Some files seem to be missing in the registry, even though they are still present in the directory. WINE behaves just as Crossover 14 did on startup.

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 5 guests