![]() |
|
[TINS] Linux |
Simon Parzer
Member #3,330
March 2003
![]() |
Short version for those short on time: TINS 2007 Linux Package The day after TINS I tried to make all the entries work under Linux (at first compileable and then runnable). When I tried to run the games I noticed that after installing the necessary libraries only 2 games (Allefant, Raabinator) refused to run. Maybe they work for you, but I can't confirm it. So, after all there are 16 TINS games that are playable under Linux, assuming that you install all the libraries needed (a few examples are OpenLayer, AllegroGL, guichan, GlyphKeeper, alfont, jpgal, loadpng, ..). I used Debian Etch BTW. Have fun! {"name":"591758","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/4\/d403822daea26250d258fea21535b6a6.png","w":650,"h":510,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/4\/d403822daea26250d258fea21535b6a6"} |
Onewing
Member #6,152
August 2005
![]() |
Garbage Man Stan! still hasn't been approved by amarillion. I tried to submit right at the time the competition closed, but the submit page said "Fatal Error: blah blah blah print_too_late() blah blah blah". Obviously, I was a minute after the deadline, but I pm'd him immediately with a link to the game and had a post up here after another 30 minutes. I haven't heard from him one way or another. ------------ |
Hard Rock
Member #1,547
September 2001
![]() |
Uh oh, that doesn't look right. However I think I've been able to find out what the problem is and I think I've fixed it. I can't test on linux, but you can someone try this (attached)patch for me? Included are two files, basically in Map.cpp change if((fp = fopen(mapName.c_str(),"rt"))) to if((fp = fopen(mapName.c_str(),"rb"))) And use the new attached test.map. I have no idea why I was saving the map in text format... I think it's becuase I was having trouble with loading the map in Java and I did that for some particular reason (the map editor I used was written for Java) but that's really weird. I know I shouldn't have waited until the last minute to write this. Also good job! Us Windows users are not usually too considerate of the linux population when we write out code [edit] _________________________________________________ |
Næssén
Member #5,025
September 2004
![]() |
This is great work! By the way, there is a proper Linux friendly package available for Ballz: http://darkbits.org/ballz-1.0.tar.gz _____________________ |
Simon Parzer
Member #3,330
March 2003
![]() |
Quote: Uh oh, that doesn't look right. Better now? Quote: This is great work! By the way, there is a proper Linux friendly package available for Ballz: http://darkbits.org/ballz-1.0.tar.gz Great! Are there any changes besides the bugfix? |
Hard Rock
Member #1,547
September 2001
![]() |
Yep, cool thanks! Good job again. _________________________________________________ |
Næssén
Member #5,025
September 2004
![]() |
Simon Parzer said: Great! Are there any changes besides the bugfix? Yeah I made all data install properly in $prefix/share/ballz. I also included the Dumb source, added a README file (giving credits to Dumb) and added a license notice to each source file. Ballz should only be dependent on Allegro >= 4.2 now. Edit: Ballz never has been dependent on linkage with Guichan libraries as the Guichan source is included. _____________________ |
Simon Parzer
Member #3,330
March 2003
![]() |
Quote: Edit: Ballz never has been dependent on linkage with Guichan libraries as the Guichan source is included. Interesting. To my knowledge, not the entire guichan code was included. There were a few important widgets (e.g. Button) missing. Try compiling it with no guichan installed. |
Næssén
Member #5,025
September 2004
![]() |
Simon Parzer said: Interesting. To my knowledge, not the entire guichan code was included. My bad, I had Guichan installed when I tested the source package so I never noticed the missing files (references were missing in an Makefile.am file). I hope it's fixed now. _____________________ |
Albin Engström
Member #8,110
December 2006
![]() |
Simon Parzer said: had serious memory errors which I wouldn't have been able to resolve in reasonable time What could have caused this?? |
Simon Parzer
Member #3,330
March 2003
![]() |
Quote:
What could have caused this?? Whoops. My fault. I didn't realize that there was data in the Bin/ folder. After making it accessible to my Linux executable by also moving it in the Bin/ folder, your game worked with no problems. The memory protection fault was because you didn't check if the data was loaded properly. I thought it was something more serious. Your entry is fixed now in my package (Patch 02). |
Albin Engström
Member #8,110
December 2006
![]() |
ah, that's nice to hear |
lambik
Member #899
January 2001
![]() |
Onewing: Amarillion is on a work/holiday trip right now. Didn't know that myself till yesterday :-) I'm quite sure your entry will be approved. We'll just have to wait until he is back I guess. |
amarillion
Member #940
January 2001
![]() |
Hey I'm back. Yes, Onewing did send me that entry one minute after the deadline, so I'll accept it. I didn't check my PM inbox just before I left (My bad, last Monday was a very busy day for me). Now I'll start playing those games... -- |
|