The Bears Pit and Merge Them After Analyzing
Total Page:16
File Type:pdf, Size:1020Kb
Subject: [Linux] ja2 1.13 linux port (alpha release) Posted by Lesh 2 on Mon, 23 Jul 2007 15:44:02 GMT View Forum Message <> Reply to Message If somebody wish to try this buggy code :scary: ... Install subversion at first. Run console (you'll be in your home directory). Issue command to download the sources: svn co https://81.169.133.124/source/ja2/branches/Lesh/alpha/ Then go and read ~/lpja2/doc/install.txt. Hope, I didn't made any fatal errors. :bow: NB: I cannot guarantee, that most recent revision of game directory will work with this exe. Personally, I am using rev.734 of game data. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by moki on Tue, 24 Jul 2007 19:39:34 GMT View Forum Message <> Reply to Message I've been using a windows version and WINE until now, but that was almost unplayable (slow). Your version seems to function allright (even with sound, which never worked with WINE), though I didn't have the time for extended testing yet (I think I'll have to spend a night or two )... the noob-proof install.txt made it possible even for me :bow: :bow: :bow: How are the prospects, that this is kept up to the newest stable version or even SVN? [edit] Mmmm... I can play now, but I can't save the game. All I get is an 'ERROR saving the game!' message, no CTDs or additional messages in the terminal. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Lesh 2 on Wed, 25 Jul 2007 14:27:56 GMT View Forum Message <> Reply to Message moki How are the prospects, that this is kept up to the newest stable version or even SVN? Well, it takes some, maybe considerable, time. Though I already have 2.5 meg diff-patch (by rasz), but the author points, that it breaks the game execution. Probably, I'll cut this file to pieces Page 1 of 91 ---- Generated from The Bears Pit and merge them after analyzing. moki [edit] Mmmm... I can play now, but I can't save the game. All I get is an 'ERROR saving the game!' message, no CTDs or additional messages in the terminal. Hmmm... It seems, that only I can save/load normally... Need a look! Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by moki on Wed, 25 Jul 2007 22:50:26 GMT View Forum Message <> Reply to Message Sounds OK to me... anything's better than nothing. This might be a reason for me to look into coding, although I don't expect to be able to help. There's another annoying bug. Using face items (NVG, goggles, gas mask...) doesn't work, there's always a 'You can't wear your [item] and Nothing at the same time' message. Whatever this 'Nothing' is, I want it to get of my merc's face. :help: [edit] The game seems to not find the right savegame directory. Even when there are are valid files in /Data-1.13/SavedGames the game shows no saved games ('continue saved game' is greyed out)... the game probably tries to access some directory, it doesn't have writing rights for, while saving (just my guess) [edit2] My failure... it doesn't even use /ja2-1.13/Data-1.13/SavedGames but /ja2-1.13/SavedGames, so this couldn't have been the problem. The only thing I understood of the savegame code is, that there are a whole lotta possibilities that could lead to an error... ugh... Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Sleepyfox on Thu, 26 Jul 2007 22:25:30 GMT View Forum Message <> Reply to Message moki[edit] The game seems to not find the right savegame directory. Even when there are are valid files in /Data-1.13/SavedGames the game shows no saved games ('continue saved game' is greyed out)... the game probably tries to access some directory, it doesn't have writing rights for, while saving (just my guess) [edit2] My failure... it doesn't even use /ja2-1.13/Data-1.13/SavedGames but /ja2-1.13/SavedGames, so this couldn't have been the problem. The only thing I understood of the savegame code is, that there are a whole lotta possibilities that could lead to an error... ugh... Maybe the case. it's important under linux. Have you tried to rename the savegame directory? Like "SaveGames" to "savegames". Page 2 of 91 ---- Generated from The Bears Pit I'll maybe join you for testing. But i have the last version, so, i have to make a new installation. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by moki on Fri, 27 Jul 2007 00:01:47 GMT View Forum Message <> Reply to Message Sleepyfox Maybe the case. it's important under linux. Have you tried to rename the savegame directory? Like "SaveGames" to "savegames". I noticed how important case can be when I first tried to install and it wouldn't find any of the (wrong-named) .SLFs... I tried to rename the directory to savedgames, Savedgames and even SAVEDGAMES and none of them worked... the game creates /ja2-1.13/SavedGames at game start, when the old one is removed ( I even found the part of code that does it and begin to understand a few things... thanks to lots of comments ) Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Lesh 2 on Fri, 27 Jul 2007 18:51:46 GMT View Forum Message <> Reply to Message mokiThere's another annoying bug. Using face items (NVG, goggles, gas mask...) doesn't work, there's always a 'You can't wear your [item] and Nothing at the same time' message. Whatever this 'Nothing' is, I want it to get of my merc's face. :help: I confirm this bug. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Sleepyfox on Fri, 27 Jul 2007 20:51:01 GMT View Forum Message <> Reply to Message I have just installed all the stuff (build 812 from ja2v113.schtuff.com) and started a new game. Like moki, i can't save and i can't wear face's stuff. Without the possibility to save, i can't go very far in the game. I'll re-verify files and directory and try different ways. Maybe, it's just a permission problem. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Lesh 2 on Sat, 28 Jul 2007 18:09:29 GMT View Forum Message <> Reply to Message Updates alpha sources. Page 3 of 91 ---- Generated from The Bears Pit -Fixed face items incompatibility. -Added error messages to save game process. Please, update and report error message from console, when failed to save game. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Sleepyfox on Sat, 28 Jul 2007 19:08:12 GMT View Forum Message <> Reply to Message - It's what i get when i'm trying to save : Quote:SaveGame( slot = 0, desc = ) Failed to save arms dealer inventory - I get this error but i don't know if that come from me or the game : Quote:Error opening/creating file IgnoreShadeTables.txt: No such file or directory - I can't give a nickname to my imp characters. I can give a full name, choose the gender but typing anything in the nickname box do nothing. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Lesh 2 on Sat, 28 Jul 2007 20:37:38 GMT View Forum Message <> Reply to Message I found the reason of save game failure - uninitialized variable. Problem eliminated. Update from svn, please. Sleepyfox- I can't give a nickname to my imp characters. I can give a full name, choose the gender but typing anything in the nickname box do nothing. Hmm... I had this too once. Pending investigation. Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by moki on Sun, 29 Jul 2007 00:38:52 GMT View Forum Message <> Reply to Message Sleepyfox - I can't give a nickname to my imp characters. I can give a full name, choose the gender but typing anything in the nickname box do nothing. Definitely reproducable... also loading an existing IMP via typing their nickname doesn't work Page 4 of 91 ---- Generated from The Bears Pit (tried with an old one by me and the ones from the IMPDB). When I start a new game and try to load an IMP, I get 'Cannot load IMP character from disk'. However, when I first hire an AIM merc, then close the laptop, open it again and try to load an IMP, I get 'You have already the maximum number of IMP characters with that gender on your team.', though there are no IMPs at all. Saving and using face items works allright now (as expected)... now the serious testing can begin for me (man, I love when 'serious testing' means popping some heads ) Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by Sleepyfox on Sun, 29 Jul 2007 01:12:00 GMT View Forum Message <> Reply to Message What 1.13 revision do you use, moki? Subject: Re: [Linux] ja2 1.13 linux port (alpha release) Posted by moki on Sun, 29 Jul 2007 02:08:15 GMT View Forum Message <> Reply to Message SleepyfoxWhat 1.13 revision do you use, moki? Whatever is available..