project-navigation
Personal tools

Author Topic: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu  (Read 66926 times)

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #30 on: December 02, 2008, 04:16:58 am »
That the same problem DuKe2112 had.

I'm guessing the problem is on my end, that I didn't do something right trying to package it.

Sorry!

Then again, when I started making packages for Win32, at first I screwed up on those as well until I got it right.

Crinos512

  • Guest
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #31 on: December 02, 2008, 04:20:31 am »
well, you know the saying...

 "If at first you don't succeed,
  fry, fry a hen!"


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #32 on: December 02, 2008, 12:02:52 pm »
That error was about the game couldn't find data files. Check "Adding game dir:" lines in log.

-geever

Offline DuKe2112

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #33 on: December 02, 2008, 04:24:26 pm »
well, that output is the full log, no "Adding game dir:" in there.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #34 on: December 02, 2008, 04:48:55 pm »
That was for Destructavator about Crinos512's log, sorry.

-geever

Crinos512

  • Guest
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #35 on: December 02, 2008, 09:35:30 pm »
so does that mean there's a fix?

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #36 on: December 02, 2008, 09:48:29 pm »
I've got several things going on at once in my life, including multiple things I'm working on here in this forum, but I'll try to make the time soon to try again with packaging a 64-bit deb.

In the meantime, not to turn anyone off, but, grabbing and updating an SVN copy and compiling it isn't too hard, and it is certainly easier to do it on Debian Linux than on Windows.  Before making that last package I compiled from SVN and ran it on my computer on the Kubuntu Intrepid drive, there were no difficulties after following the instructions on the wiki.

Crinos512

  • Guest
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #37 on: December 02, 2008, 10:36:34 pm »
the only thing stopping me from using SVN to do my own compile is the fact that my 'nix box is at home (on the 2k/s dialup) and my fast internet is at work....

makes it easy to grab a couple big files and take them home to chew on... but when it comes to grabbing full directory structures it gets a bit daunting.

Offline DuKe2112

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #38 on: December 05, 2008, 05:41:11 pm »
Well, compiling isn't difficult, that's right, but I've read somewhere that compiling ufoai can easily take 12 hours even on a good cpu, On mine it could probably take a full day and I simply don't have the oportunity to let it running that long.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #39 on: December 05, 2008, 11:17:03 pm »
Compiling ufo:ai is about one and a half minute for me (or less). Compiling maps could take time but you can use the ones from the dev package or compile them with less detail.

-geever

Offline ghosta

  • Squad Leader
  • ****
  • Posts: 133
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #40 on: December 06, 2008, 11:23:17 am »
For compiling the maps calculate around 5-6 hours on an average computer.

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #41 on: December 06, 2008, 02:39:39 pm »
Unless you use -quant 6, then it's a lot faster.

Offline DuKe2112

  • Squad Leader
  • ****
  • Posts: 102
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #42 on: December 06, 2008, 04:24:24 pm »
hmm, what is -quant 6? At least it's not a make command.

I just Compiled rev 20645 without maps for now.

But make doesn't know about any of the deb* commands:
Code: [Select]
$ make deb
debuild binary
make: debuild: Kommando nicht gefunden
make: *** [deb] Fehler 127

I can start the game from the source directory, but while the gui reacts to the mousepointer it doen't react to the clicks.

@ Destructavator I think I found the exact problem: The game installs to /usr/lib/games/ufoai and /usr/share/games/ufoai but the game is locking in /usr/local/lib/ufoai/base and /usr/local/share/ufoai/base

edit: When I copy it over I get the same problem, it starts, but doesn't react to the clicks, so thats probably something on my side.
« Last Edit: December 06, 2008, 04:52:14 pm by DuKe2112 »

Offline Destructavator

  • Combination Multiple Specialty Developer
  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1908
  • Creater of Scorchcrafter, knows the zarakites...
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #43 on: December 06, 2008, 04:59:10 pm »
What I've been trying to figure out is if I should be using "make deb" or "make debbinary" and whether or not I should pre-compile everything first.  (Sorry for sounding like an idiot.)  :P

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Ufo:AI 2.2.1 and 2.3-dev Debs for Debian/Ubuntu
« Reply #44 on: December 06, 2008, 08:14:04 pm »
for the click issue: remove the keys.cfg from ~/.ufoai/<version>/base/ or so.
for the deb making: you must miss a dependency. Maybe 'devscripts'?

-geever