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

Archive Today Yesterday Tomorrow
GemRB homepage

[00:13:33] --> phao has joined #gemrb
[03:09:36] <-- phao has left IRC (Ping timeout: 252 seconds)
[07:10:25] --> GeneralDuke has joined #gemrb
[08:03:31] --- pleroma is now known as neuro_sys
[08:03:38] <-- neuro_sys has left IRC (Changing host)
[08:03:38] --> neuro_sys has joined #gemrb
[09:05:03] <-- goldug_forgotPW has left IRC (Remote host closed the connection)
[09:08:19] --> goldug_forgotPW has joined #gemrb
[09:09:46] <goldug_forgotPW> Ah, I'm back
[09:10:45] <goldug_forgotPW> no, not using custom resolution. kujeger was right, that was the link I was supposed to post.
[09:12:23] <goldug_forgotPW> Don't know why it gets like that for me and not you. Might have been a one-time bug, but who knows?
[09:27:39] <-- Lightkey has left IRC (Ping timeout: 272 seconds)
[09:39:51] --> Lightkey has joined #gemrb
[11:06:43] <-- FutureSuture has left IRC (Remote host closed the connection)
[11:11:42] <lynxlynx> but you are using a high resolution; is it 1280x1024?
[11:25:28] --> FutureSuture has joined #gemrb
[12:12:44] <-- FutureSuture has left IRC (Remote host closed the connection)
[12:30:19] --> FutureSuture has joined #gemrb
[13:54:41] <-- FutureSuture has left IRC (Remote host closed the connection)
[13:55:27] --> FutureSuture has joined #gemrb
[14:02:50] --> phao has joined #gemrb
[14:45:19] <-- phao has left IRC (Ping timeout: 258 seconds)
[15:00:25] <-- GeneralDuke has left IRC (Quit: GeneralDuke)
[15:22:46] <goldug_forgotPW> Hmm, no I think it's 1024x786
[15:23:14] <lynxlynx> well you're the one that can check
[15:23:30] <goldug_forgotPW> yeah
[15:23:47] <goldug_forgotPW> oh btw, for some weird reason I can only run it with sudo...
[15:24:48] <edheldil> wrong permissions on some directory or file
[15:25:24] <goldug_forgotPW> Nope, full rights. odd.
[15:25:41] <goldug_forgotPW> not sure what resolution it is, I'm not running fullscreen
[15:27:49] <goldug_forgotPW> Can't change the resolution in options either
[15:28:25] <goldug_forgotPW> my desktop is running 13(something)x(something)
[15:31:08] <lynxlynx> you're mixing things up
[15:32:11] <goldug_forgotPW> the screenshot suggests I'm running the game in a windowed 1024x768
[15:32:18] <goldug_forgotPW> mixing things up?
[15:33:06] <goldug_forgotPW> (I'm using a screenshot program that only screenshots the active window)
[15:33:42] <lynxlynx> first, the permissions — unless you also installed gemrb as root, you'd have to go out of your way to have such problems
[15:34:14] <lynxlynx> resolution is set in the gemrb config and nowhere else; none of the games supported runtime switching
[15:34:23] <lynxlynx> fullscreen on or off doesn't matter
[15:36:12] <goldug_forgotPW> god, I never remember where the config file is...
[15:41:22] <goldug_forgotPW> *sigh*
[15:41:34] <goldug_forgotPW> without sudo, I get [Core/FATAL]: Unable to create cache directory '/home/mc/gemrb-0.8.4/Cache2'
[15:41:54] <goldug_forgotPW> but I have full rights to that folder
[15:42:05] <goldug_forgotPW> I don't get it...
[15:46:02] --> Eli2| has joined #gemrb
[15:46:43] <lynxlynx> interesting
[15:47:06] <lynxlynx> i guess the partition didn't remount as read only?
[15:47:54] <lynxlynx> do you have proper permissions on the gemrb-* dir too?
[15:47:57] <lynxlynx> anyway, you can always choose a different cache path
[15:49:03] <-- Eli2_ has left IRC (Ping timeout: 244 seconds)
[15:50:28] <goldug_forgotPW> I've changed the cache location to a lot of directories where I really do have full permissions
[15:50:31] <goldug_forgotPW> none works
[15:51:49] <lynxlynx> try /tmp/bla
[15:52:24] <lynxlynx> what distribution are you on? Did you build gemrb yourself or is this the binary?
[15:53:23] <goldug_forgotPW> I'm on Linux Mint, built from source
[15:54:19] <goldug_forgotPW> [Core/FATAL]: Unable to create cache directory '/tmp/bla'
[15:55:50] <goldug_forgotPW> Linux is so much of a hassle... it's not the first time I'm getting some weird permissions error like this either...
[15:56:36] <goldug_forgotPW> most of the time it's just changing permissions for about every single file that has to do with the app in question, but this is the weirdest case ever.
[15:56:59] <mcphail> goldug_forgotPW: something is badly wrong with your setup if that's the case
[15:57:02] <goldug_forgotPW> I've changed everything, but still unable to create cache.
[15:57:23] <goldug_forgotPW> mcphail: I'm starting to think that too
[15:57:44] <haps> whu... /tmp should be world-writable
[15:57:48] <goldug_forgotPW> Most apps don't give me any problems
[15:58:13] <goldug_forgotPW> yeah, it IS writable, but gemrb won't write to it unless it's SU
[15:58:22] <goldug_forgotPW> I have no idea why
[15:58:40] <haps> ls -ld /tmp ? should be drwxrwxrwt
[15:58:55] <haps> is /tmp/bla a folder?
[15:59:20] <haps> strange
[15:59:23] <goldug_forgotPW> nope
[15:59:34] * haps should really keep my mouth shut, since I'm no pro by any means
[15:59:40] <mcphail> goldug_forgotPW: runing gemrb (or any other game) as root is asking for permission trouble in all kinds of weird corners of your filesystem
[15:59:41] <goldug_forgotPW> drwxrwxrwt 16 root root 12288 jun 16 18:01 /tmp/
[15:59:50] <haps> but ... should be fixable
[15:59:53] <goldug_forgotPW> mcphail: I know
[16:00:18] <goldug_forgotPW> no /tmp/bla folder, but gemrb should create it
[16:00:20] <haps> it's not a free space problem?
[16:00:40] <lynxlynx> good thought
[16:00:41] <goldug_forgotPW> 14.6GB free
[16:00:48] <goldug_forgotPW> so no
[16:00:52] <haps> no...
[16:00:55] * haps scratches head
[16:01:01] <goldug_forgotPW> seeing as sudo can create it
[16:01:03] <haps> (that often helps)
[16:01:04] <lynxlynx> ok, at least you built from source and we can try to debug it from inside
[16:01:08] <mcphail> goldug_forgotPW: anything in dmesg? Run out of inodes?
[16:01:17] <lynxlynx> do you have strace installed?
[16:01:23] <haps> goldug_forgotPW: sometimes root can write past empty where regular user can't
[16:01:44] <goldug_forgotPW> strace installed
[16:01:51] <haps> no selinux?
[16:02:11] <lynxlynx> the default reserved space is 1% iirc, so for 15G for a 1.5T drive
[16:02:18] <goldug_forgotPW> selinux?
[16:02:28] <lynxlynx> ok, try running gemrb with strace then:
[16:02:59] <lynxlynx> strace ... your gemrb command ... &> strace.log
[16:03:19] <lynxlynx> upload that file or at least last hundred lines to a pastebin
[16:03:45] <haps> if it's a default mint install it won't have selinux enabled
[16:03:54] <haps> it's security policy crap
[16:05:42] <goldug_forgotPW> k, w8
[16:06:45] <goldug_forgotPW> creating a pastebin account, just for future references :P
[16:07:06] <lynxlynx> what for?
[16:07:30] <haps> you can just paste
[16:09:12] <goldug_forgotPW> http://pastebin.com/rPKbftiD
[16:09:13] <Seniorita> strace.log - Pastebin.com
[16:09:30] <goldug_forgotPW> yeah, I thought I could upload it, but can't find a button for it
[16:10:19] <lynxlynx> mkdir("/p", 0700) = -1 EACCES (Permission denied)
[16:10:53] <lynxlynx> upload your gemrb config please
[16:14:47] <goldug_forgotPW> on it, started downloading a pastebin app :P
[16:19:52] <lynxlynx> eh
[16:20:49] <lynxlynx> curl -s -F 'sprunge=<-' http://sprunge.us < the-config-file
[16:21:40] <lynxlynx> then if you append ?diff , it will also have syntax highlighting
[16:22:06] <goldug_forgotPW> http://pastebin.com/V0cv3ike
[16:22:07] <Seniorita> ##################################################### # - Pastebin.com
[16:22:14] <goldug_forgotPW> oh
[16:24:02] <lynxlynx> interesting, same resolution as my test
[16:24:12] <goldug_forgotPW> where should ?diff be appended?
[16:24:30] <goldug_forgotPW> just so I know for future references
[16:24:43] <goldug_forgotPW> ok
[16:26:39] <lynxlynx> the url it returns
[16:26:49] <goldug_forgotPW> aaaaahh
[16:26:53] <lynxlynx> i don't see anything wrong with your config
[16:26:55] <goldug_forgotPW> http://sprunge.us/RIGI?diff
[16:26:57] <lynxlynx> nice
[16:27:13] <goldug_forgotPW> :)
[16:27:31] <goldug_forgotPW> No, I didn't think anything would be wrong with my config either...
[16:27:53] <lynxlynx> I wonder where that /p came from
[16:28:00] <goldug_forgotPW> yeah, me too
[16:28:28] <lynxlynx> the closest thing is /P from program files, but your path is not long enough to cause any truncation
[16:28:35] <lynxlynx> do you have gdb?
[16:28:51] <goldug_forgotPW> yes
[16:30:04] <lynxlynx> the file you uploaded is /usr/local/etc/gemrb/GemRB.cfg ?
[16:30:12] <goldug_forgotPW> yes
[16:30:39] <lynxlynx> ok, let's try a debug build then
[16:30:49] <goldug_forgotPW> okay
[16:31:03] <lynxlynx> go to your build dir or just delete it if you don't have anything you'd miss inside
[16:31:26] <goldug_forgotPW> i'll delete it
[16:31:30] <lynxlynx> if you won't delete it whole, delete CMakeCache* and CMakeFiles/
[16:32:01] <lynxlynx> in the new build dir, run cmake -DCMAKE_BUILD_TYPE=Debug ..
[16:32:31] <lynxlynx> copy /usr/local/etc/gemrb/GemRB.cfg somewhere (make install would perhaps overwrite it)
[16:32:39] <lynxlynx> make && make install
[16:34:25] <goldug_forgotPW> error
[16:34:26] <goldug_forgotPW> http://pastebin.com/5gbuqWGV
[16:34:28] <Seniorita> CMake Error at CMakeLists.txt:9 (MESSAGE): CMake generation for this - Pastebin.com
[16:34:45] <goldug_forgotPW> oh wait
[16:35:24] <goldug_forgotPW> hmm
[16:35:58] <goldug_forgotPW> should I be in /gemrb-0.8.4/ or some subfolder?
[16:39:18] <lynxlynx> follow the error message
[16:39:27] <lynxlynx> anything under the source dir will do
[16:39:30] <goldug_forgotPW> I did
[16:39:52] <goldug_forgotPW> hmm
[16:39:54] <goldug_forgotPW> wait
[16:40:23] <goldug_forgotPW> ah now
[16:40:38] <goldug_forgotPW> for some reason, it didn't delete the cmakefiles
[16:40:46] <goldug_forgotPW> when I did rm -r
[16:40:50] <goldug_forgotPW> now it did :P
[16:41:44] <-- FutureSuture has left IRC (Remote host closed the connection)
[16:42:05] <goldug_forgotPW> I'm a bit tired atm, so I probably accidentally pushed up or down :P
[16:42:09] <goldug_forgotPW> before enter :P
[16:42:22] <goldug_forgotPW> It's building now
[16:42:30] --> FutureSuture has joined #gemrb
[16:42:51] <goldug_forgotPW> gonna take a while on this comp, so brb. dinner.
[16:46:30] <goldug_forgotPW> btw, am I the only swede in here? :P
[16:48:22] <goldug_forgotPW> Install the project...
[16:48:22] <goldug_forgotPW> -- Install configuration: "Debug"
[16:48:22] <goldug_forgotPW> -- Installing: /usr/local/share/man/man6/gemrb.6
[16:48:22] <goldug_forgotPW> CMake Error at cmake_install.cmake:44 (FILE):
[16:48:22] <goldug_forgotPW> file INSTALL cannot copy file "/home/mc/gemrb-0.8.4/build/gemrb.6" to
[16:48:23] <goldug_forgotPW> "/usr/local/share/man/man6/gemrb.6".
[16:48:25] <goldug_forgotPW> make: *** [install] Fel 1
[16:49:33] <goldug_forgotPW> need to be sudo to make install
[16:49:43] <lynxlynx> ups
[16:49:56] <lynxlynx> yes, if you don't specify a different prefix
[16:49:59] <goldug_forgotPW> well, no biggie :P
[16:50:10] <lynxlynx> we usually run gemrb from the build dir, so make install isn't even necessary
[16:50:22] <lynxlynx> you'd need to change your config though
[16:50:40] <lynxlynx> not worth the trouble
[16:51:29] <goldug_forgotPW> oh, now I can run without sudo
[16:52:55] <lynxlynx> btw, the builbot and binary creator always run without root privileges
[16:53:20] <goldug_forgotPW> k
[16:53:23] <goldug_forgotPW> http://www.zimagez.com/zimage/skrmbild-2016-06-16-185455.php
[16:53:24] <Seniorita> Sk�rmbild partagé sur ZimageZ par goldug
[16:53:25] <Seniorita> »skrmbild-2016-06-16-185455 est une photo gratuite mise en ligne sur Zimagez par goldug«
[16:53:34] <goldug_forgotPW> same problem with dialogues
[16:54:04] <lynxlynx> i can see the continue button
[16:54:08] <lynxlynx> enter should also work
[16:54:15] <lynxlynx> i wonder why it is cut off for you
[16:54:37] <goldug_forgotPW> what? where?
[16:54:59] <goldug_forgotPW> okay, enter worked
[16:55:08] <goldug_forgotPW> but the bottom is gone in the window
[16:56:00] <lynxlynx> yeah, you're missing like a cm of screen space
[16:56:17] <lynxlynx> bottom left is a globe for pause
[16:56:18] <goldug_forgotPW> yeah I noticed
[16:56:21] <lynxlynx> it should be full
[16:56:28] <goldug_forgotPW> in fullscreen, I can see it all
[16:56:38] <goldug_forgotPW> but the screen is compressed
[16:56:43] <goldug_forgotPW> huh
[16:56:55] <lynxlynx> you said you have 1376x786 resolution?
[16:56:59] <goldug_forgotPW> yeah
[16:57:11] <lynxlynx> maybe the window decorations force a smaller size then
[16:57:29] <goldug_forgotPW> yeah, that was just what I was typing :P
[16:57:50] <lynxlynx> so if you try with 800x600 or with them disabled, you shouldn't have any problems
[16:58:07] <goldug_forgotPW> like, it runs 768 height, but it doesn't take the window border into account
[16:58:59] <lynxlynx> it can't know about it
[16:59:17] <lynxlynx> and the way the games were created, the resolutions are hardcoded in the data anyway
[16:59:57] <goldug_forgotPW> yeah I know
[17:00:12] <goldug_forgotPW> such a simple thing giving me a headache :P
[17:00:27] <goldug_forgotPW> 800x600 made it all better :)
[17:01:03] <goldug_forgotPW> and btw, I noticed that it runs a LOT faster in gemrb than wine :)
[17:01:27] <goldug_forgotPW> so that's something :)
[17:02:18] <goldug_forgotPW> next up, i'm gonna try planescape and bg too, when I get a hold of them and some disk space :P
[17:03:53] <lynxlynx> bg is fine, pst let's say in beta
[17:04:08] <lynxlynx> you can complete it, but it has some very rough edges sometimes
[17:04:39] <lynxlynx> more research and reverse engineering need to be done to understand it better
[17:09:02] <goldug_forgotPW> Okay
[17:09:24] <goldug_forgotPW> well I'm happy now that I got IWD working in any case :)
[17:09:49] <lynxlynx> me too, you had some really wtf problems
[17:10:14] <goldug_forgotPW> and I was actually wrong when I said that IWD2 is my favourite, it was IWD. I got them mixed up in my head :P
[17:10:16] <goldug_forgotPW> yeah :D
[17:11:21] <goldug_forgotPW> HOLY SHIT! They cancelled the soccer game in EM, for the first time ever
[17:11:36] <goldug_forgotPW> rain and gofball-size hail!
[17:12:30] <goldug_forgotPW> I can understand it though, that size of hail is effing dangerous
[17:13:24] <goldug_forgotPW> Ukrain vs North Ireland
[17:14:03] <goldug_forgotPW> Ukraine
[17:14:29] <goldug_forgotPW> well anyways, i'mn
[17:14:38] <goldug_forgotPW> i'm off. thanks for all the help :)
[19:18:34] <goldug_forgotPW> 15-16 fps ^^
[19:27:01] <haps> 12:28 <@lynxlynx> i don't see anything wrong with your config
[19:27:02] <haps> 12:28 < goldug_forgotPW> http://sprunge.us/RIGI?diff
[19:28:18] <haps> whoops
[19:28:24] <haps> sorry, mis-paste there
[19:28:34] * haps was just reading scroll back
[19:28:37] <haps> what was the resolution?
[19:29:52] <haps> the mkdir /p sounds like a windows-ism, like /p would be the equivalent of -p which would, if /tmp exists, mkdir /tmp/a before trying to mkdir /tmp/a/b if tmp/a doesn't exist
[19:29:55] <haps> ... at least that's my theory
[19:30:27] <lynxlynx> but these are syscalls
[19:31:17] <lynxlynx> there was no resolution, he'd need to recheck with a fresh release build to see if it was just a random error or there's actually a difference between release and debug mode
[19:33:38] <haps> well, when I see /p I think of that...
[19:33:58] <lynxlynx> yeah, in general it wasn't a bad idea
[19:49:50] <haps> hmm, could it be wine path related?
[19:49:53] <haps> probably not...
[19:50:07] <haps> I see you thought of that /p -> /Program Files thing already
[19:52:59] <-- goldug_forgotPW has left IRC (Remote host closed the connection)
[20:53:53] <Seniorita> [commit] lynxlynxlynx: clean up sorcerer-style spellbook checks to not hardcode the class id https://github.com/gemrb/gemrb/commit/0582969009d92df735f64c8d147e960a7c02764e
[20:53:54] <Seniorita> [commit] lynxlynxlynx: GameExpansion: try handling bgt if one starts it later than bg1 https://github.com/gemrb/gemrb/commit/3db17fac90ae3d8a45ca81bb907e6ef79cd38aa3
[21:57:39] --> goldug has joined #gemrb
[22:23:04] <-- goldug has left IRC (Ping timeout: 246 seconds)
[22:57:50] --> goldug has joined #gemrb
[23:24:28] --> phao has joined #gemrb