#gemrb@irc.freenode.net logs for 9 Jun 2016 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[04:27:26] <Lightkey> https://www.gog.com/promo/20160608_summer_bundle_dungeons_and_dragons_classics
[04:27:26] <Seniorita> GOG.com
[04:27:28] <Seniorita> »Download the best classic and new games on Windows, Mac & Linux. A vast selection of titles, DRM-free, with free goodies and 30-day money-back guarantee.«
[05:13:15] <-- Drakkar has left IRC (Ping timeout: 244 seconds)
[05:13:31] --> Drakkar has joined #gemrb
[07:09:35] --> GeneralDuke has joined #gemrb
[08:30:05] --> neuro_sys has joined #gemrb
[08:32:12] <neuro_sys> I was just compiling from source, and I got /home/neuro/gemrb/gemrb/plugins/ACMReader/unpacker.cpp:173:55: error: left shift of negative value [-Werror=shift-negative-value]
[08:33:41] <neuro_sys> short* lb_ptr = buff_middle + ( ( -1l ) << ( ind - 1 ) );
[08:34:32] <lynxlynx> hmm
[08:34:44] <lynxlynx> gcc 6?
[08:35:07] <neuro_sys> Hmm, using ~0 instead of -1 is a better idea I think
[08:35:32] <neuro_sys> gcc (GCC) 6.1.1 20160501
[08:35:53] <neuro_sys> woops it's not that sorry
[08:36:20] <neuro_sys> my suggestion is moot
[08:38:58] <neuro_sys> okay, casting to (unsigned long) seems to fix it
[08:39:03] <neuro_sys> is that alright you think?
[08:39:58] <lynxlynx> does -1ul do it?
[08:40:34] <neuro_sys> lynxlynx: indeed so
[08:40:41] <neuro_sys> it also worked
[08:44:22] <lynxlynx> cool, thanks
[08:44:29] <lynxlynx> still haven't managed to get a newer gcc
[08:48:45] <lynxlynx> oh, the rest builds fine?
[08:48:49] <neuro_sys> yeah it has built fine
[08:49:07] <neuro_sys> now I see I need to get, say, baldur's gate free demo to try it with
[08:49:13] <neuro_sys> and need to use Wine to extract the setup.exe
[08:49:44] <lynxlynx> you could use unshield, but it's much simpler and quicker with wine
[08:49:57] <neuro_sys> okay did so, now they reside at /home/neuro/.wine/drive_c/Intrplay/Baldur
[08:50:12] <Seniorita> [commit] lynxlynxlynx: ACMReader: fixed negative shift value, thanks neuro_sys https://github.com/gemrb/gemrb/commit/eefb3c44423c8a967cef153124f8a164cc000aed
[08:50:26] <neuro_sys> how do I let gemrb know where chitin.key is located?
[08:50:46] <lynxlynx> edit the noinstall sample config in gemrb/
[08:50:54] <lynxlynx> change GamePath and GameType
[08:51:37] <lynxlynx> then run gemrb from the build dir, eg. build/gemrb/gemrb -c gemrb/*noinstall*.cfg
[08:54:53] <neuro_sys> https://gist.github.com/neuro-sys/da30601ab5a0e093ffd6e893de977421
[08:54:55] <Seniorita> gemrb · GitHub
[08:54:58] <neuro_sys> what about this error?
[08:55:44] <neuro_sys> so there's an INI file somewhere
[08:56:20] <neuro_sys> oh there's a demo included in the repo
[08:56:23] <neuro_sys> that one has worked already
[09:00:10] <lynxlynx> i don't know what you did with the config, but it looks like OverridePath and UnhardcodedPath are wrong
[11:03:54] <lynxlynx> so, any luck?
[11:04:23] <lynxlynx> the demo is a stripped down version, so some things are stubbed out and different enough that they perhaps don't work anymore
[11:04:27] --- lynxlynx is now known as lynxlynxlynx
[11:13:44] <-- FutureSuture has left IRC (Remote host closed the connection)
[11:14:39] --> FutureSuture has joined #gemrb
[11:52:46] <edheldil> neuro_sys: Perhaps you have to correctly specify OverridePath and UnhardcodedPath in the config file, as lynx said
[14:32:02] --> kingron has joined #gemrb
[15:36:32] <-- GeneralDuke has left IRC (Quit: GeneralDuke)
[15:36:51] --> goldug_forgotPW has joined #gemrb
[15:37:01] <goldug_forgotPW> Yo
[15:37:53] <goldug_forgotPW> I'm getting an error message when trying to run GemRB
[15:37:58] <goldug_forgotPW> [Core]: GemRB Core Version v0.8.4 Loading...
[15:37:58] <goldug_forgotPW> [Core]: Initializing the Event Manager...
[15:37:58] <goldug_forgotPW> [Unknown]:
[15:37:58] <goldug_forgotPW> **cannot open**
[15:37:58] <goldug_forgotPW> [Core/ERROR]: Cache path ./Cache doesn't exist, not a folder or contains alien files!
[15:38:23] <goldug_forgotPW> this is when installing from source
[15:39:09] <goldug_forgotPW> When I installed from .deb it was /tmp in the error message.
[15:39:25] <goldug_forgotPW> or perhaps ./tmp, don't really remember atm.
[15:39:37] <edheldil> well, if it does not exist, create it
[15:41:08] <lynxlynxlynx> probably it contains files
[15:41:14] <lynxlynxlynx> we create it ourselves if it doesn't exist
[15:41:17] <goldug_forgotPW> hmm, that got me further, now it's Chitin.key that's missing, but I assume that it's game files that are required
[15:41:35] <goldug_forgotPW> hasn't really understood how to make it
[15:41:35] <lynxlynxlynx> yes, you need to set GamePath and GameType in the config
[15:41:39] <goldug_forgotPW> yeah
[15:42:09] <goldug_forgotPW> umm... the readme tells me that I should install the game first, but I don't know how in Linux...
[15:42:17] <goldug_forgotPW> kind of the reason I need GemRB...
[15:42:35] <lynxlynxlynx> wine is the simplest, but it can be done with unshield too
[15:42:42] <lynxlynxlynx> which game are you talking about?
[15:43:14] <goldug_forgotPW> I have all of the supported games, but I was mostly interested in Icewind Dale 2
[15:43:22] <goldug_forgotPW> (my favorite)
[15:43:36] <lynxlynxlynx> finally someone like that :)
[15:43:48] <goldug_forgotPW> Problem is, I don't have a disc or ISO, I have GOG
[15:43:54] <goldug_forgotPW> :)
[15:44:08] <lynxlynxlynx> so it's just a setup exe, you'll need wine then
[15:44:11] <goldug_forgotPW> It's probably because it was the first I played as a kid
[15:45:02] <lynxlynxlynx> i have to let you know though, iwd2 can't be finished with gemrb yet
[15:45:20] <goldug_forgotPW> Okay... and then what? Should I point it at the wine installation? like ~/.wine/c/program\ files/iwd2/?
[15:45:23] <goldug_forgotPW> oh...
[15:45:40] <lynxlynxlynx> some of the game scripting (for ai) is too different from the rest and we don't understand it fully yet
[15:46:02] <goldug_forgotPW> well that's okay, I'm just playing around trying to see how it works on this comp
[15:46:07] <lynxlynxlynx> you can play up until the ice temple without major issues, but then ugugugugghhh
[15:46:11] <goldug_forgotPW> k
[15:46:29] <goldug_forgotPW> I'm a curious guy :P
[15:46:38] <lynxlynxlynx> yes GamePath should point to the dir with chitin.key in it
[15:47:07] <goldug_forgotPW> at the same time, I'm installing GhostBSD in VMWare, just to try it out :P
[15:48:40] <goldug_forgotPW> k. so let's say that I have it installed on my windows pc, I could just copy the folder unto my linux pc?
[15:48:47] <lynxlynxlynx> sure
[15:48:57] <goldug_forgotPW> nice
[15:49:06] <goldug_forgotPW> kind of like with doom
[15:49:10] <lynxlynxlynx> we don't support samba or anything like that, can't work over the network
[15:49:31] <goldug_forgotPW> yeah, I get that. makes sense
[15:50:19] <lynxlynxlynx> if you were dual booting, mounting and then using a unix path would be just fine though
[15:50:28] <goldug_forgotPW> but now that I think about it, not sure I have it installed still... need to check that :P
[15:51:36] <goldug_forgotPW> ... i'm dumb.
[15:51:54] * goldug_forgotPW is ashamed
[15:53:56] <goldug_forgotPW> oh well, now I know at least :)
[15:54:00] <goldug_forgotPW> thanks :)
[15:55:51] <lynxlynxlynx> take your time
[15:56:26] <lynxlynxlynx> there haven't been any (iirc) iwd2 related changes since the release
[15:57:08] <lynxlynxlynx> i need to finish the rework of item usability, since it's completely different in iwd2 due to the different class system and the fact that you can also have several kits
[15:57:21] <lynxlynxlynx> but you won't hit that unless you multiclass
[16:00:32] <goldug_forgotPW> k
[16:00:41] <goldug_forgotPW> is iwd 1 complete?
[16:09:03] <lynxlynxlynx> sure
[17:59:54] <-- |Cable| has left IRC (Ping timeout: 272 seconds)
[18:12:32] --> |Cable| has joined #gemrb
[20:24:21] <goldug_forgotPW> who knew you could start a .sh file installer by typing bash filename.sh?
[20:24:41] <goldug_forgotPW> Completely baffling
[20:25:34] <goldug_forgotPW> the answer: some random russian person in a random russian forum that I didn't understand at all...
[20:26:03] <goldug_forgotPW> iwd:ee gog version, here i come!
[20:40:25] <lynxlynxlynx> sh == shell, even sh filename.sh would have worked
[20:51:42] <kujeger> alternatively, do 'chmod +x filename.sh' do make it executable, then do './filename.sh'
[21:15:59] <-- kingron has left IRC (Quit: Leaving)
[21:27:27] <goldug_forgotPW> Nope, sh filename.sh didn't work for some reason. bash filename.sh worked. very weird.
[21:27:46] <goldug_forgotPW> apparantly something with the file that only bash could do.
[21:27:57] <goldug_forgotPW> it was approx. 2.6 GB
[21:28:32] <goldug_forgotPW> anyway, I can now confirm (at least for me) that the linux gog version does not work in gemrb
[21:29:48] <goldug_forgotPW> this is (at least as far as I've gotten) because it wants INFOFONT, it looks for it in fonts.2da, which doesn't exist in the gog installation.
[21:30:06] <goldug_forgotPW> for some reason.
[21:30:47] <goldug_forgotPW> Sure, if you're using the linux designed version of the game, you don't really NEED gemrb, but it's an interesting fact.
[21:32:13] <goldug_forgotPW> and as far as I understand it, gemrb has some custom settings and features that the native linux version does not, so I think it would be interesting to see it work for this version too anyway.
[21:37:28] <lynxlynxlynx> we don't support the ee versions, that's why
[21:37:58] <lynxlynxlynx> they're still in development and/so not much interest has been shown yet
[21:42:26] <goldug_forgotPW> ah
[21:43:46] <goldug_forgotPW> anyways, i'm off to bed. we'll see if I show up here again, otherwise - have a good life all! :D
[21:46:11] <-- goldug_forgotPW has left IRC (Quit: Leaving)