Author Topic: AI War on Linux  (Read 8407 times)

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
AI War on Linux
« on: 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  :'(




(Music is working  :))

Code: [Select]
-----------------------------------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

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.
« Last Edit: August 24, 2009, 08:28:14 am by AcidWeb »

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: AI War on Linux
« Reply #1 on: 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?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: AI War on Linux
« Reply #2 on: August 24, 2009, 09:38:17 am »
Nice work!!!  How's the performance there?
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Zitterbacke

  • Newbie Mark II
  • *
  • Posts: 13
Re: AI War on Linux
« Reply #3 on: 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.

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: AI War on Linux
« Reply #4 on: 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.

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: AI War on Linux
« Reply #5 on: 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.

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: AI War on Linux
« Reply #6 on: 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.
« Last Edit: August 24, 2009, 10:33:18 am by AcidWeb »

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: AI War on Linux
« Reply #7 on: 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
« Last Edit: August 24, 2009, 04:32:54 pm by AcidWeb »

Offline Huw

  • Jr. Member Mark III
  • **
  • Posts: 90
Re: AI War on Linux
« Reply #8 on: August 25, 2009, 04:25:55 am »
Excellent, well done!  I might take a shot at this myself.
I play evenings UK timezone

Offline AcidWeb

  • Full Member
  • ***
  • Posts: 127
Re: AI War on Linux
« Reply #9 on: August 25, 2009, 05:59:50 am »

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: AI War on Linux
« Reply #10 on: 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...

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: AI War on Linux
« Reply #11 on: 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.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Admiral

  • Hero Member
  • *****
  • Posts: 547
Re: AI War on Linux
« Reply #12 on: 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! :)

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: AI War on Linux
« Reply #13 on: 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!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: AI War on Linux
« Reply #14 on: 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