LIVAN source code

Mar 25, 2008, 4:38 pm
Joined: Mar 25, 2008
Posts: 9
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?
Mar 25, 2008, 4:42 pm
Joined: Mar 14, 2008
Posts: 62
Mar 25, 2008, 4:46 pm
Joined: Dec 3, 2007
Interests: Christian Side Hugs
Posts: 70
Mar 25, 2008, 5:28 pm
Joined: Mar 25, 2008
Posts: 9
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)
Mar 26, 2008, 10:47 am
Joined: Mar 25, 2008
Posts: 9
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
Mar 28, 2008, 10:59 am
Joined: Mar 25, 2008
Posts: 9
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.
Apr 6, 2008, 11:30 am
capristo's avatar
The Imperialist

Joined: Dec 2, 2007
Location: New Attnam
Interests: bananas
Posts: 2,165
Thank you nukes
Apr 8, 2008, 4:55 am
Fluffy_Bot's avatar
Master of the profane arts of linguistic combat

Joined: Jan 27, 2008
Occupation: Boxing Champion
Location: Kamogawa Gym
Interests: Boxing, Pornography
Posts: 328
Nukes is hero. Hero-Jesus, to be exact. And a filthy hippie for sucking Linux's teat.
Aug 21, 2008, 7:49 pm
Joined: Jan 21, 2008
Occupation: Musical Chair
Location: Mondedr
Posts: 5
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.
Dec 6, 2008, 2:15 pm
Joined: Dec 6, 2008
Posts: 1
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:
Terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

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,
Dec 6, 2008, 4:45 pm
Ernomouse's avatar
Master mine stomper

Joined: Dec 16, 2007
Occupation: Pouring molten bronze in sand
Location: In the cold end
Posts: 2,047
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.
Jump to