Temple of The Roguelike Forums

Announcements => Traditional Roguelikes (Turn Based) => Topic started by: Krice on May 13, 2010, 08:54:55 AM

Title: Teemu v1.1
Post by: Krice on May 13, 2010, 08:54:55 AM
Requires Windows. The source code will be released later.

http://koti.mbnet.fi/paulkp/teemu/teemu.htm

There is one bug found already. When you use "no background graphics" option the unexplored shows as black, should be grey.
Title: Re: Teemu v1.1
Post by: getter77 on May 13, 2010, 12:11:31 PM
Congrats on making it to this next release!   8)
Title: Re: Teemu v1.1
Post by: mariodonick on May 13, 2010, 05:51:46 PM
Good! And fun, indeed!
Title: Re: Teemu v1.1
Post by: Krice on May 14, 2010, 08:40:34 AM
The source code is now also available. It's got that unexplored bug fixed and also other bug that was related how small rooms were made in hut cellar (actually it's not broken in release version, it's just now "properly" made).
Title: Re: Teemu v1.1
Post by: Tapio on May 15, 2010, 06:28:07 PM
Hi,
Very nice game, I ported it to Linux. From http://saluuna.dy.fi/dropbox/TeemuLinux.zip you can find a compiled 32bit binary (no data files), Linux Makefile to aid others with compilation and a short list of simple changes I needed to do to the sources in order to get it to compile.

Note that I do not plan to provide long time hosting, so if you decide these are useful, please merge them to your package.

Cheers
Title: Re: Teemu v1.1
Post by: mariodonick on May 15, 2010, 06:45:16 PM
Very nice, @aave.

@Krice: Perhaps I've found a bug -- I entered the forest, but I can't see myself -- the @ is not there ...

Edit: No bug. I never recognized that hattifatteners are light sources ... the @ was simply in a completly dark area.  :-[
Title: Re: Teemu v1.1
Post by: Krice on May 16, 2010, 04:18:21 PM
so if you decide these are useful, please merge them to your package.

I could just put that zip to download section for linux users.
Title: Re: Teemu v1.1
Post by: Tapio on May 16, 2010, 04:52:59 PM
so if you decide these are useful, please merge them to your package.

I could just put that zip to download section for linux users.
Feel free to do anything you want. :)
(Although I would guess adding the few include-directives to your code, maybe dropping in the makefile while at it wouldn't be too hard, but then you'd need to increase the version number?)

Btw, just a side note, Wine didn't do the trick for me...
EDIT: Well, with the gcc version, Wine works fine.
Title: Re: Teemu v1.1
Post by: Krice on May 17, 2010, 06:17:03 AM
(Although I would guess adding the few include-directives to your code, maybe dropping in the makefile while at it wouldn't be too hard, but then you'd need to increase the version number?)

I don't know anything about makefiles. I have always used IDE in programming, but those changes in source code could be ok in the next version. I just don't have motivation to continue now when I finally got 1.1 released. Besides I have continued developing Kaduria. I was hoping to get some feedback about bugs or something like that, but seems there aren't a lot of bugs to fix. Next release, v1.2 is going to be in far, distant future. Maybe it goes as far as after first release of Kaduria...
Title: Re: Teemu v1.1
Post by: mariodonick on May 17, 2010, 09:05:53 AM
Bug reports will take a while. People need to play it. I made Teemu the "Featured Roguelike" at Roguebasin, this might help people get aware of the game. You could also announce it on other sites, as well.
Title: Re: Teemu v1.1
Post by: Krice on May 18, 2010, 10:46:28 AM
Well, I can always play it myself and try to find bugs. It's just not very good game..
Title: Re: Teemu v1.1
Post by: binarystar on May 20, 2010, 05:33:31 AM
I just downloaded both aave's linux port and the source code, and both aave's binary and my own natively-compiled one give me the following error:
Code: [Select]
user@host$ ./Teemu
Error: Could not load SDL surface.
A black box does pop up for a fraction of a second, which gives me hope that the problem is relatively minor.  Am I missing some kind of SDL-related dependency?  libsdl1.2-dev and libsdl-image1.2-dev are both installed on my machine.
(I am running Crunchbang, an Ubuntu variant based on 9.04, on a 32-bit processor, if that's at all relevant.)
Title: Re: Teemu v1.1
Post by: mariodonick on May 20, 2010, 06:31:54 AM
Maybe a stupid question, but anyway: Do you only have installed the dev packages of SDL? You'll also need the actual libs ... Other reasons for SDL not being to create a surface can be problems with screen resolution and color depth.
Title: Re: Teemu v1.1
Post by: Krice on May 20, 2010, 02:14:18 PM
You need the release version's data folder as well! There are fonts and graphics, that message says it can't load a surface (.bmp file). Also you need SDL.dll (it's in the release package), but only if you don't have it in path. Or whatever is SDL.dll in linux, I don't know.

By the way, one guy "valgrinded" Teemu and found a leak, but he refuses to tell where it is. That's a bit gay. I don't have any memory leak tools, because I'm using free edition of Visual C++. It's probably nothing too serious, because the game seems to work ok and doesn't crash.
Title: Re: Teemu v1.1
Post by: binarystar on May 21, 2010, 03:08:44 AM
Quote
...you can find a compiled 32bit binary (no data files)...
Quote
...You need the release version's data folder as well!

Aha!  Don't I feel dumb :)
I downloaded the Windows version and copied the data folder over, and it seems to run fine now :)
Title: Re: Teemu v1.1
Post by: Tapio on May 21, 2010, 08:48:13 AM
By the way, one guy "valgrinded" Teemu and found a leak, but he refuses to tell where it is. That's a bit gay. I don't have any memory leak tools, because I'm using free edition of Visual C++. It's probably nothing too serious, because the game seems to work ok and doesn't crash.
It's probably this one: http://pastebin.com/Y66CFd4r
There were a couple of other errors, but they seemed to originate from SDL.
(Also, for education, DLLs are called "Shared Objects", .so in *nix world.)

EDIT: rerun with debug symbols, so the output is more useful
Title: Re: Teemu v1.1
Post by: Krice on May 21, 2010, 02:21:58 PM
Thanks. That delete nb should be delete[] nb of course. That's quite bad, probably need to release v1.11 with fixes after all. Should always check deletes for that..