Bug 38152 - freecraft not run
Bug#: 38152 Product:  Gentoo Linux Version: 1.4 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: netbix@tiscali.it
Component: Games
URL: 
Summary: freecraft not run
Keywords:  
Status Whiteboard: 
Opened: 2004-01-14 03:10 0000
Description:   Opened: 2004-01-14 03:10 0000
ash-2.05b$ freecraft
ERROR: could not open ccl/freecraft.ccl (errobj No such file or directory)
FATAL ERROR DURING STARTUP OR CRITICAL CODE SECTION
bash-2.05b$

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Antonio 2004-01-14 03:12:06 0000 -------
Ohh, my version is freecraft-1.18-r1 with freecraft-fcmp-1.18-r1

------- Comment #2 From Arnaud JEANSEN 2004-01-16 09:46:51 0000 -------
same versions, same mistakes here

I tried to solve it on my own but finally gave up...
It seems there is a great difference between the graphics/sounds of freecraft-fcmp package and where all the ccl files try to find them...

------- Comment #3 From Arnaud JEANSEN 2004-01-16 09:57:45 0000 -------
OK, I made it work for me (had a brilliant idea right after typing my "I give
up" comment).

First, freecraft and freecraft-fcmp both install some ccl files...
So, where freecraft installs ccl files to search for the "original" set of
souds/graphics, freecraft-fcmp installs ccl files searching for the "free" set
of medias... the funny thing is that they are completely different, so 
YOU HAVE TO EMERGE FREECRAFT-FCMP AFTER FREECRAFT (made the same mistake),
maybe this could be added as prerequisite in freecraft-fcmp

Then, the path to the freecraft files (i.e /usr/share/games/freecraft) is not
known to the game... Don't know how to solve cleanly this one, I used a piggy
way : running freecraft from the lib directory

/usr/share/games/freecraft$ freecraft

And there it works...

the two issues should be solved though

------- Comment #4 From SpanKY 2004-01-16 12:38:14 0000 -------
i really dont know how you managed to emerge freecraft-fcmp without emerging
freecraft first

freecraft-fcmp has a DEPEND on freecraft

------- Comment #5 From SpanKY 2004-01-16 12:40:28 0000 -------
as for running `freecraft`, if you had read the output after the emerge you
would have seen this:
Freecraft is now installed but in order to actually play
you will need to either use a Warcraft CD or install the
freecraft-fcmp ebuild.
To start a game just run `playfreecraft`.

'playfreecraft' is a wrapper around 'freecraft' to make it work ... i'll change
the ebuild since you guys were unable to read the documentation so that
'freecraft' works as expected

------- Comment #6 From Arnaud JEANSEN 2004-01-17 04:25:13 0000 -------
Well, thanks for mentioning the dependancy exists. In fact, I tried to install
freecraft a few times with different source packages. I think this might have
fulfilled the dependancy requirement, and accepted to install both in the wrong
order.

But concerning the playfreecraft wrapper, I read about it, but couldn't find
any script/program of this name. Where is it located ?

------- Comment #7 From Antonio 2004-01-17 15:46:27 0000 -------
ok. I start a game just run `playfreecraft`.
Work fine.

------- Comment #8 From SpanKY 2004-01-17 16:23:32 0000 -------
i'm gonna fix it to get rid of the 'playfreecraft' wrapper

------- Comment #9 From SpanKY 2004-01-17 17:43:47 0000 -------
fixed in cvs