#1
Mar 25, 2008, 4:38 pm
Hide
As I'm sure you are all aware, LIVAN has been released in violation of the GPL (in that lampshade has not been publishing his source code).
I joined the IRC channel yesterday wanting to contribute a patch. What have I stumbled into?
So here it is, the source code for LIVAN, as provided by lampshade. I do have a version which runs on linux, but I'd rather provide his original source to begin with.
As I'm posting here, can I also ask who has CVS commit privileges to the original IVAN?
#4
Mar 25, 2008, 5:28 pm
Hide
It'll now build on linux (Gentoo, G++ 4.2 - 4.3 probably won't work).
This fixes a bug I was experiencing where the CPU usage was ~50% when playing. No way was the game actually using that much.
Now it uses ~2% if that. Same problem exists in CVS, but nobody seems to have access or want to take the patch.
If you have problems with it quitting unexpectedly (but cleanly) I know the potential source of this. (some systems need the SDL_Event cleared before passing it)
#5
Mar 26, 2008, 10:47 am
Hide
Also, you may need to compile with optimization disabled (sometimes messes up when going up/down stairs). To do this do:
$ ./configure CFLAGS="-O0" CXXFLAGS="-O0"
I don't know how to alter the cflags in makefile.in.
#6
Mar 28, 2008, 10:59 am
Hide
Fixed a problem where the game would crash on descending to GC5. (autoconf misconfiguration, wasn't installing one of the images)
In accordance with GPL have added notice saying it has been modified.
#8
Apr 8, 2008, 4:55 am
Hide
Nukes is hero. Hero-Jesus, to be exact. And a filthy hippie for sucking Linux's teat.
#9
Aug 21, 2008, 7:49 pm
Hide
The most recent Livan compiles nicely on Slackware 12.1.
I should also mention that I've modified Livan to have a more comfortable alternative key binding system for me and my laptop. It takes the direction keys from Nethack, and makes a few changes (to the alternate key bindings) so that things are as similar to the default key bindings. If these changes interest anybody, I'm happy to share a patch. Otherwise I'll just patch every new version that comes out for myself.
#10
Dec 6, 2008, 2:15 pm
Hide
Hi Forum. Livan (and Ivan too, after a bit of patching) compile cleanly on Ubuntu Heron. However it seems that there are a few issues with memory handling - it often segfaults or aborts when using the stairs, or loading a save file. I.e. when generating or restoring a new level.
Typical behaviour is:
a)
Segfault
b)
Terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted
And it's not like I were short on memory.
Are you aware of this? Should I submit a bug report? (Where? I find the multitude of ivan sources and forums a bit confusing) Is there any known solution, even?
Thanks in advance,
=relet=
#11
Dec 6, 2008, 4:45 pm
Hide
Well... The development has pretty much stopped, so if you wish to do something about, do so. There are some who have made mods/forks/patches/whatever to the original IVAN by scripting, but only a few of us know how to code C++... So, I'm not sure if there is a better place than this to post bugs.