Arcen Games

General Category => AI War Classic => AI War Classic - Technical Support => : AcidWeb August 24, 2009, 06:58:19 AM

: AI War on Linux
: AcidWeb August 24, 2009, 06:58:19 AM
Last few days i trying to start AI War with Wine on Linux.
Prerequisites are pain - that entire setup part is broken and i installed .NET 3.5, SlimDX and DirectX manually (.NET 3.5 is pure pain - BITS barely works, full off-line installer is quite crippled - but yes it is now installable).
But unfortunately that don`t work  :'(

(http://img41.imageshack.us/img41/1026/13530840.jpg)
(http://img41.imageshack.us/img41/231/74983556.jpg)
(http://img20.imageshack.us/img20/1900/58712775.jpg)
(Music is working  :))

:
-----------------------------------Application_ThreadException-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object.
   at AIWar.Direct3DWrapper.ClearDevice(ClearFlags Flags, Color Color, Int32 Stencil) in C:\vcprojs\AIWar\DX\Direct3DWrapper.cs:line 558
   at AIWar.GameForm.DrawDirect3D() in C:\vcprojs\AIWar\GameFormParts\GamePanel.cs:line 151
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 1110
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 246
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 262
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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)

Something with DirectX is screwed up any ideas?  ;)

If we find a way to start it up i will write nice Linux installer.

EDIT:

It is most likely caused by my virtual machine. And problems with opengl.

EDIT2:
* AcidWeb drops crowbar
(http://img11.imageshack.us/img11/6047/zrzutekranu3hq.png)
AI War is officially working on King and Master of all OS.  ;D ;D ;D
Today i will public wrapper script to install version 1.013.
: Re: AI War on Linux
: Echo35 August 24, 2009, 09:38:02 AM
You know, I was just about to try this in a VM because nobody had posted if it was Wine-able yet, lol. Did you make an entry on WineHQ?
: Re: AI War on Linux
: x4000 August 24, 2009, 09:38:17 AM
Nice work!!!  How's the performance there?
: Re: AI War on Linux
: Zitterbacke August 24, 2009, 09:39:49 AM
This is very much appreciated, since I prefer to use Linux as well and not having to boot to Windows for this game would really be a big plus! Thanks for making the effort and (as it looks) painful trials.
: Re: AI War on Linux
: AcidWeb August 24, 2009, 09:56:39 AM
You know, I was just about to try this in a VM because nobody had posted if it was Wine-able yet, lol. Did you make an entry on WineHQ?

Not _yet_. But i will  :)

Nice work!!!  How's the performance there?

Hmm... i can`t tell yet. I must test it on real Linux machine not VM. To run it in VM i disabled host graphic card support so even menu is a slideshow.
: Re: AI War on Linux
: Echo35 August 24, 2009, 09:58:24 AM
Hmm... i can`t tell yet. I must test it on real Linux machine not VM. To run it in VM i disabled host graphic card support so even menu is a slideshow.

And of course my laptop WAS dual bootable and I just clean wiped it with the final version of 7... I could VM it on my desktop. Plenty of video memory to spare there.
: Re: AI War on Linux
: AcidWeb August 24, 2009, 10:14:37 AM
Hmm... i can`t tell yet. I must test it on real Linux machine not VM. To run it in VM i disabled host graphic card support so even menu is a slideshow.

And of course my laptop WAS dual bootable and I just clean wiped it with the final version of 7... I could VM it on my desktop. Plenty of video memory to spare there.

Currently I'm trying to install .NET 3.5 second time and if that works you will have opportunity to test performance for yourself today :)

As i say offine NET 3.5 installer don't work. Normal - online using BITS and have big problems to use maximal donwload speed ;p So i downloading 300mb third time with very unstable speed...

Installing AI War on Linux will require about 500mb download.
: Re: AI War on Linux
: AcidWeb August 24, 2009, 01:21:55 PM
Almost done :)

EDIT:

Last test and ready.

EDIT2:
Installed AI War it will take about 1GB of space  ;D
: Re: AI War on Linux
: Huw August 25, 2009, 04:25:55 AM
Excellent, well done!  I might take a shot at this myself.
: Re: AI War on Linux
: AcidWeb August 25, 2009, 05:59:50 AM
Look here:
http://arcengames.com/forums/index.php/topic,947.0.html (http://arcengames.com/forums/index.php/topic,947.0.html)
: Re: AI War on Linux
: Revenantus August 25, 2009, 06:07:50 PM
The game runs really well in VMWare on my MBP. I was actually expecting framerate issues - but it's literally perfectly smooth. Great work, X!

Right, I'm off to buy a second license...
: Re: AI War on Linux
: x4000 August 25, 2009, 06:10:22 PM
The game runs really well in VMWare on my MBP. I was actually expecting framerate issues - but it's literally perfectly smooth. Great work, X!

Well, glad there's nothing in there that causes issues!  I had expected a lot more troubles moving to other platforms, as well.
: Re: AI War on Linux
: Admiral August 26, 2009, 05:49:21 PM
The game runs really well in VMWare on my MBP. I was actually expecting framerate issues - but it's literally perfectly smooth. Great work, X!

Right, I'm off to buy a second license...

I hope you got an employee discount! :)
: Re: AI War on Linux
: x4000 August 26, 2009, 09:10:39 PM
The game runs really well in VMWare on my MBP. I was actually expecting framerate issues - but it's literally perfectly smooth. Great work, X!

Right, I'm off to buy a second license...

I hope you got an employee discount! :)

He would have, but silly guy put in his order before I read his message!
: Re: AI War on Linux
: Revenantus August 26, 2009, 11:28:59 PM
He would have, but silly guy put in his order before I read his message!

It's your own fault for accepting PayPal, if I'd of had to find my wallet first it would have given you long enough to email me! :D
: Re: AI War on Linux
: x4000 August 26, 2009, 11:30:48 PM
He would have, but silly guy put in his order before I read his message!

It's your own fault for accepting PayPal, if I'd of had to find my wallet first it would have given you long enough to email me! :D

Sorry!  Oh well, at least getting paid will make up for that. :)