Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Client crashes after startup screen  (Read 13765 times)

0 Members and 0 Guests are viewing this topic.

drive55

« on: 07, February 2012, 02:56:48 »
Hi, I just installed the client onto my Xubuntu linux laptop using the script at http://daimonin.elwin013.com/. The gtk script didn't do anything, so I ran the cli script which seems to have successfully install the client.  Now when I try to start the game, the intro screen shows up and I see the progress bar at the bottom, then it crashes.

I thought there might be a problem because of full screen mode, so I went into options.dat and changed the option "Fullscreen:" under the "Client" heading from 1 to 0.  Now I get a windowed version of the intro screen that crashes.

What should I try now?  Are there other flags in options.dat that are worth changing?

Edit: going directly to the file "daimonin" instead of using the desktop launcher opens the game without any hitch.  ???
« Last Edit: 07, February 2012, 05:17:14 by drive55 »

_people_

« Reply #1 on: 08, February 2012, 03:40:16 »
I'm not sure how well Elwin's installer works,  as I don't think I've ever tried it. First, try posting the logs here. They can be found in ~/.daimonin/0.10/logs (I think). The file is called client.log.
-- _people_ :)

Ellwoodblues

« Reply #2 on: 09, February 2012, 04:41:58 »
Maybe the shortcut has the wrong file path.

Check the properties window for the launcher, see if the target file path matches the file path to the actual daimonin.exe in the daimonin folder.

_people_

« Reply #3 on: 09, February 2012, 04:45:39 »
Linux doesn't use .exe's. ;)

And if it crashes after the client starts up, then the problem shouldn't be with the shortcut.
-- _people_ :)

smacky

« Reply #4 on: 09, February 2012, 14:16:59 »
At a guess, daimonin (the non-PhysFS bits anyway, which is quite a bit in 0.10.5) still relies on being started from the current directory and the shortcut does not cd.

But let's all wish really hard and see if Elwin appears to fix it for us. ;)

elwin013

« Reply #5 on: 09, February 2012, 15:52:15 »
Hm... Can you tell me where you install the game (single or multi mode)?
Also, if gtk version do nothing - do you have zenity installed?

EDIT [04:32pm]:
Smacky, check this out - try to run Daimonin from cli in two ways:
1. if you are in dir with daimonin binary
2. if you are NOT in dir with daimonin binary
In second way it can't find archdef.dat and daimonin.p0 files. Log here: http://pastebin.com/D3X5YA3z
« Last Edit: 09, February 2012, 16:32:17 by elwin013 »

smacky

« Reply #6 on: 09, February 2012, 17:08:42 »
Yes that's the ?@!&ing fopen_wrapper() and SYSPATH.

fopen_wrapper() looks in SYSPATH when it can't find files in the user dir (~/.daimonin). SYSPATH defaults to ./ (config.h). In 0.10.5 fopen_wrapper() is used a lot, including for those two files. In 0.10.6 it will be entirely removed (replace with PhysFS) -- currently it is only used for quickslots (part of the reason these often fail).

Try setting SYSPATH to the absolute dir of where you install the client daŧa when you make the client with your script.

elwin013

« Reply #7 on: 09, February 2012, 18:21:04 »
Ok, I will write something what would work. And also rewrite installer. Stay calm and ready ;-)

smacky

« Reply #8 on: 09, February 2012, 18:42:08 »
BTW IIRC the installer can install the binaries to one location and the (default) data to another.

Is there a particular reason for this? If not, can we scrap it, because I don't think PhysFS will like it (it takes the dir where the bin is a the default data dir -- yes, we can work round this with a constant like SYSPATH but then if you move the data you need to recompile -- or a CLI switch -- but that's a hassle to the user).

elwin013

« Reply #9 on: 09, February 2012, 21:51:31 »
Okey, I write something that override that weird thing. Last version (from 21:29) can be downloaded from here: https://bitbucket.org/elwin013/daimonin-installer/get/8ac081e0f28d.tar.gz
There is also not tested KDE version.
Smacky, if you can, please test it (I have tested it, but one more test will be nice). :)

smacky

« Reply #10 on: 09, February 2012, 22:51:46 »
Very brief test of the gtk script (don't use KDE).

Install single none (as I obviously have all the deps already) worked perfectly and I can login to my account. Why does the shortcut only go to the desktop and not the Applications>Games menu though?

Remove single then worked fine.

Install multi none worked fine except that it told me to launch with the shortcut in the menu but their is no shortcut in the menu! So although it did install the actual game properly, if I was a non-tech player, to me it would have done nothing. Also, why not put the bin on (forgotten the name) $RUN_PATH  so I can just open a terminal and type daimonin?

Anyway as it was physically installed, remove multi none uninstalled it.

elwin013

« Reply #11 on: 10, February 2012, 12:20:25 »
Ok, I will add it to menu (for single install).

For multi - at my Ubu it put shortcut in the menu, maybe in your case it didn't refresh menu? Also, "bin" (it's really starter which cd to dir with real binary and run it) is in /usr/bin/ so user can start Dai from cli by typing "daimonin". :)

I will today publish 0.5 version with that improvements. :)

smacky

« Reply #12 on: 10, February 2012, 13:11:33 »
Hm I'm on 11.04. Maybe it's time to go to 11.10? Hope I can still use Gnome and not that Unity garbage.

elwin013

« Reply #13 on: 10, February 2012, 13:33:21 »
I'm on 11.04 too. I am thinking about moving to openSuse. :) IMO Unity (Gnome 3 too) looks great, but I never use it - i don't have any pc with good graphic card ;)

EDIT [03:22PM]:
Ok. Dai Installer 0.5 is out. It can be downloaded from http://daimonin.elwin013.com
Changelog:
  • Important (mostly recurrent) functions moved to instfunctions.bash.
  • Fixed bugged desktop shortcut.
  • KDE still not tested.
  • Shortcut in menu for single mode installation.
« Last Edit: 10, February 2012, 15:22:40 by elwin013 »

_people_

« Reply #14 on: 11, February 2012, 00:11:38 »
I find the new Unity stuff fairly difficult to navigate and quite buggy. I don't know if it's a requirement for 11.10, since I just did a quick, fresh install of 11.10, but I'd imagine you can revert to Gnome. Of the 5 or so distros I've tried, Arch seems to be my favourite (but I'm too lazy to set it up again).

-- _people_ :)

Tags:
 

Related Topics

  Subject / Started by Replies Last post
6 Replies
1428 Views
Last post 27, April 2005, 21:19:48
by Gecko
3 Replies
1093 Views
Last post 07, November 2005, 06:20:56
by longir
5 Replies
1654 Views
Last post 15, July 2006, 18:21:46
by longir
3 Replies
1068 Views
Last post 02, October 2007, 06:33:38
by Anich
0 Replies
202561 Views
Last post 11, January 2012, 22:48:03
by smacky