#gemrb@irc.freenode.net logs for 31 May 2012 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage

[02:07:35] --> joneirik has joined #gemrb
[02:11:47] <-- jeremyagost has left IRC (Quit: jeremyagost)
[03:09:22] --> Wingnux has joined #gemrb
[03:11:29] <-- Wingnux has left IRC (Client Quit)
[03:31:21] <-- joneirik has left IRC (Quit: Get used to disappointment.)
[04:08:40] <-- edheldil has left IRC (Remote host closed the connection)
[06:16:47] <-- brad_a has left IRC (Quit: brad_a)
[06:52:36] <-- wrotek__ has left IRC (Read error: Connection reset by peer)
[06:52:56] --> wrotek__ has joined #gemrb
[07:27:52] --> edheldil has joined #gemrb
[07:27:52] --- ChanServ gives channel operator status to edheldil
[08:39:53] --> alx3apps has joined #gemrb
[08:55:39] --> lynxlynxlynx has joined #gemrb
[08:55:40] <-- lynxlynxlynx has left IRC (Changing host)
[08:55:40] --> lynxlynxlynx has joined #gemrb
[08:55:40] --- ChanServ gives channel operator status to lynxlynxlynx
[09:38:11] <-- alx3apps has left IRC (Ping timeout: 250 seconds)
[10:11:54] --> WhereIsMySpoon has joined #gemrb
[10:12:03] <WhereIsMySpoon> Hey, where can i get an example gemrb.cfg file?
[10:14:53] <WhereIsMySpoon> ah nvm
[10:14:55] <-- WhereIsMySpoon has left #gemrb ("Leaving")
[10:19:29] --> WhereIsMySpoon has joined #gemrb
[10:19:53] <WhereIsMySpoon> How do I use GemRB to make a game? when i try to launch it its saying i need to specify some game locations but i dont even have a game yet :S
[10:26:06] <edheldil> You need original game data - e.g. from Baldur's Gate 2
[10:52:05] <-- alexander__b has left IRC (Ping timeout: 248 seconds)
[10:58:44] <WhereIsMySpoon> edheldil, why
[10:58:45] --> alexander__b has joined #gemrb
[10:58:48] <WhereIsMySpoon> i want to make my own game
[10:58:52] <WhereIsMySpoon> not play bg2
[11:08:29] <WhereIsMySpoon> edheldil?
[11:11:44] <edheldil> WhereIsMySpoon: what help do you need?
[11:12:54] <edheldil> you do not use GemRB to *make* a game, just to play the result. Look at http://www.gibberlings3.net for resources on creating a content
[11:13:19] <WhereIsMySpoon> edheldil, I thought GemRB was a game dev engine like unity
[11:13:57] <edheldil> no, GemRB is a reimplementation of the Infinity Engine, i.e. "player"
[11:14:08] <WhereIsMySpoon> oh
[11:14:21] <WhereIsMySpoon> edheldil, do you know of a good game dev engine for 2d stuff?
[11:14:25] <edheldil> you need tools to create content - e.g. IESDP
[11:14:42] <WhereIsMySpoon> like unity, but for 2d
[11:14:50] <WhereIsMySpoon> that works on linux
[11:14:59] <WhereIsMySpoon> seen as i aint coding on windows ^^
[11:15:02] <edheldil> I do not know what unity is
[11:15:08] <WhereIsMySpoon> <_>
[11:15:09] <WhereIsMySpoon> ok
[11:15:26] <edheldil> but why do you need engine?
[11:15:32] <WhereIsMySpoon> edheldil, http://unity3d.com/
[11:15:50] <WhereIsMySpoon> edheldil, because implementing all of the graphics stuff drove me up the wall last time i tried it
[11:15:58] <WhereIsMySpoon> and i would like to try an engine
[11:16:05] <WhereIsMySpoon> its just for myself
[11:16:37] <edheldil> but GemRB can be that engine
[11:17:04] <edheldil> I think we do not understand each other :)
[11:17:32] <WhereIsMySpoon> edheldil, unity allows you to create games by moving around models using logic you create
[11:17:56] <WhereIsMySpoon> if i did game dev using purely my own code id have to do all that myself
[11:18:09] <WhereIsMySpoon> i want a game engine like unity for 2d
[11:18:16] <WhereIsMySpoon> that allows me to develop games
[11:19:08] <edheldil> I think you expect (or want) too much integration for free software worls. If you want something simple that
[11:20:11] <edheldil> a) takes care of graphical and audio output stuff, look at pygame (http://pygame.org, I believe)
[11:21:30] <edheldil> If you want something much more refined, GemRB is a possible choice. You will not have to program THAT much
[11:22:47] <edheldil> you just take use of existing tools to create content for IE engine. Granted, most of them are for windows, but e.g. IESDP works under wine and its developer happens to come here, so he can help
[11:29:05] <WhereIsMySpoon> edheldil, i dont mind programming, its just programming gfx that puts me off
[11:30:03] <edheldil> hehe. You could program an inform game, then :-D
[11:31:28] <edheldil> Anyway.... when you have content, you just point GamePath to it and invent a GameType, let's say "spoon"
[11:32:15] <edheldil> then copy override/bg2 to override spoon and GUIScripts/bg2 to GUIScripts/spoon and start hacking and tweaking
[11:33:13] <lynxlynxlynx> gemrb is restricted to isometric
[11:37:56] <edheldil> (or rather, start with empty override/spoon and GUIScripts/spoon and start tweaking)
[11:50:52] <WhereIsMySpoon> edheldil, where do i get content from?
[11:55:02] <edheldil> you have to create it. Look here for some ideas: http://www.gemrb.org/wiki/doku.php?id=newgame:newgame
[11:56:22] <edheldil> But basically you need at least : 1 area, 1 avatar, interface textures and CHUI files, CHITIN.KEY and DIALOG.TLK
[11:56:42] <edheldil> and CURSORS.BAM
[11:56:49] <edheldil> possibly some more
[11:57:45] <edheldil> you can create area in blender and export them as image and create lightmap, searchmap and heightmap in IESDP
[11:58:14] <-- lynxlynxlynx has left IRC (Ping timeout: 260 seconds)
[12:01:08] <wjp> also note that gemrb is limited to a very specific type of RPG
[12:02:39] <edheldil> what specific type?
[12:03:24] <edheldil> but you are right that it's not a generic 2d engine
[12:12:31] <WhereIsMySpoon> wjp, thats ok :)
[12:12:38] <WhereIsMySpoon> and edheldil i assume bg2 type :p
[12:14:28] --> lynxlynxlynx has joined #gemrb
[12:14:29] <-- lynxlynxlynx has left IRC (Changing host)
[12:14:29] --> lynxlynxlynx has joined #gemrb
[12:14:29] --- ChanServ gives channel operator status to lynxlynxlynx
[12:16:27] <lynxlynxlynx> the minimum required files are available in the test gametype subdir
[12:17:12] <WhereIsMySpoon> lynxlynxlynx, ok thanks
[12:17:16] <WhereIsMySpoon> unusual name btw ^^
[12:24:03] <lynxlynxlynx> we use it for a minimal test the buildbot can run
[12:35:09] <WhereIsMySpoon> lynxlynxlynx, i get right to the end of gemrb starting, then it says no module named start
[12:35:14] <WhereIsMySpoon> any ideas?
[12:39:27] <lynxlynxlynx> what did you do?
[12:39:36] <WhereIsMySpoon> lynxlynxlynx, just run gemrb
[12:39:53] <lynxlynxlynx> with the test gametype or what?
[12:39:55] <WhereIsMySpoon> ye
[12:40:29] <lynxlynxlynx> sounds like you have the guiscript path set incorrectly
[12:40:40] <edheldil> WhereIsMySpoon: start is a file in GUISripts/spoon
[12:41:01] <edheldil> so take an existing one as a template and create your own
[12:42:57] <edheldil> to clarify it a bit: files in GUIScripts are a) responsible for building and handling user interface b) callbacks from the C++ engine for things which should be easily moddable
[12:43:45] <WhereIsMySpoon> edheldil, lynxlynxlynx ok got the Start.py, modified the GUIScripts folder location in the .cfg, now it complains that it cant find GUIDefines, when i can see the GUIDefines file in the path for GUIScripts i've specified =/
[12:43:57] <edheldil> whereas override contains data files that we need for the given gametype
[12:44:04] <WhereIsMySpoon> oh wait
[12:44:05] <WhereIsMySpoon> hang on
[12:44:06] <WhereIsMySpoon> nvm
[12:44:22] <WhereIsMySpoon> ok nope
[12:44:24] <WhereIsMySpoon> still nto working
[12:44:53] <WhereIsMySpoon> argh ><
[12:44:54] <WhereIsMySpoon> ok
[12:44:56] <edheldil> what's the exact error?
[12:44:58] <WhereIsMySpoon> its ok nvm
[12:45:00] <WhereIsMySpoon> i was being stupid
[12:46:01] <WhereIsMySpoon> edheldil, hm, i needed to bring the 'start.py' out from test folder and into GUIScripts folder for it to see it
[12:46:30] <WhereIsMySpoon> edheldil, so in Start.py i specify...what?
[12:46:35] <WhereIsMySpoon> the game logic?
[12:47:17] <edheldil> basically user interface
[12:48:02] <edheldil> some game logic too, but it's not required to get the beast going :)
[12:48:37] <WhereIsMySpoon> edheldil, i guess now i read the docs to see what sort of stuff id put in there :D
[12:50:29] <edheldil> yeah, but look at e.g. bg2's start.py first, compare it with what you see when you run bg2 and with what's in the data files as you can see e.g. with IESDP or NearInfinity
[12:50:53] <edheldil> also iesdp.gibberlings3.net is an important resource
[12:51:24] <edheldil> we have not THAT much docs, unfortunately
[12:52:35] <WhereIsMySpoon> edheldil, where can i get bg2s start.py?
[12:54:24] <edheldil> in GUIScripts/bg2
[12:55:31] <lynxlynxlynx> better to look at bg1 or iwd
[12:55:46] <lynxlynxlynx> bg2's start is a bit more complicated due to soa/tob choice
[12:56:29] <edheldil> ah, ok
[12:56:47] <edheldil> pst's is even more easy :)
[12:56:52] <WhereIsMySpoon> hm
[12:56:55] <WhereIsMySpoon> it says cant find classes.2da
[12:58:28] <WhereIsMySpoon> tried pst start instead, it cant find window pack START or bislogo, tsrlogo or opening or start.chu
[12:58:37] <WhereIsMySpoon> am i missing a whole pack of stuff
[12:58:43] <WhereIsMySpoon> or have i not pointed some variable
[12:58:48] <WhereIsMySpoon> towards what it should be
[12:59:42] <edheldil> well, you have to have some minimal CHU files
[13:00:45] <WhereIsMySpoon> i need like a list of instructions for things i need before i start to try using even other people's things :p
[13:01:54] <edheldil> I think you can bypass all UI and head right to EnterGame() or whatever it's called
[13:02:35] <lynxlynxlynx> yep
[13:04:12] <WhereIsMySpoon> huh?
[13:15:11] <edheldil> start.py is responsible for creating initial gui and scheduling other scripts, e.g. character generator (if you choose a new game) or Load game. those either create a new character and load a default game or load a game from disc. Both then so EnterGame() to start the isometric engine
[13:16:06] <edheldil> so you could bypass all the UI creation and e.g. just create a character (if it's needed at all, dunno) and do EnterGame()
[13:16:48] <edheldil> that should give you a full screen area view
[13:16:58] <edheldil> or full window
[13:17:42] <WhereIsMySpoon> edheldil, when i jus thave EnterGame() it says no game to enter ^^
[13:18:03] <edheldil> you hve to load the default game too
[13:18:48] <edheldil> look e.g. into pst's NewLife.py (it's a really simple chargenerator)
[13:25:23] <-- WhereIsMySpoon has left IRC (Quit: Leaving)
[13:26:58] --> WhereIsMySpoon has joined #gemrb
[13:27:36] <WhereIsMySpoon> I get this atm:
[13:27:36] <WhereIsMySpoon> GUIScript]: Bad CObject extracted.
[13:27:36] <WhereIsMySpoon> [ResourceManager]: Searching for months.2da...[ERROR]
[13:27:36] <WhereIsMySpoon> [ResourceManager]: Searching for baldur.gam...[ERROR]
[13:27:36] <WhereIsMySpoon> [ResourceManager]: Searching for WORLDMAP.wmp...[ERROR]
[13:27:37] <WhereIsMySpoon> [Core]: No game to enter...
[13:27:41] <WhereIsMySpoon> =/
[13:49:06] --> kida_laptop has joined #gemrb
[13:50:58] <tomprince> WhereIsMySpoon: You essentially need to create an intial save game.
[13:51:15] <tomprince> I'm not sure how best to do that, but you need at least to create an area first.
[13:57:27] --> alx3apps has joined #gemrb
[13:59:27] <edheldil> WhereIsMySpoon: the easiest way is to grab the one in bg2 (or whatever you want to build upon). I had a policy of naming the stolen files with big letters and my own with lower case files. Or just write down the filename somewhere
[13:59:48] <edheldil> the initial game is mostly zeros anyway, I think
[14:00:38] <WhereIsMySpoon> edheldil, i dont see any of these .2da, .gam, .wmp files
[14:00:42] <WhereIsMySpoon> in pst or bg2 folders
[14:00:45] <WhereIsMySpoon> in GUIScripts
[14:01:05] <edheldil> I mean that you can grab it from original game data
[14:01:19] <WhereIsMySpoon> i dont have the game
[14:01:52] <WhereIsMySpoon> oh
[14:02:01] <WhereIsMySpoon> theres some things in override/bg2
[14:09:07] <tomprince> WhereIsMySpoon: You may find it a bit difficult, if you don't have a copy of the games (even if you don't intend to use any of the material from it)
[14:09:17] <WhereIsMySpoon> oh
[14:09:18] <WhereIsMySpoon> :(
[14:09:31] <tomprince> We'd love it if there was a freely availble game designed for GemRB.
[14:09:53] <WhereIsMySpoon> tomprince, well i cant get started if i cant even run someone else's game examples that were provided with gemrb :(
[14:09:55] <tomprince> But, it hasn't primarily been developed with that in mind.
[14:11:43] <tomprince> WhereIsMySpoon: There isn't an example game yet :(
[14:12:34] <tomprince> There are dummy data files that are enough to make through the engine intialization, but they aren't good examples, since some of them aren't really properly formed files.
[14:14:08] <tomprince> WhereIsMySpoon: You might also get more help from http://www.gibberlings3.net or http://www.shsforums.net/
[14:14:50] <edheldil> I could cobble up something that generates an empty GAM file
[14:15:12] <edheldil> ... if DLTCEP can't do that
[14:15:48] <edheldil> (sorry, I have just found that I have all the time said IESDP when I mean DLTSEP)
[14:15:52] <edheldil> DLTCEP
[14:16:11] <tomprince> The people here work on the engine, but as far as I know don't really do much modding, which is about the same as creating a new game, except you need to create more stuff, if you don't reuse any of the original resources.
[14:25:24] <lynxlynxlynx> check our wiki
[14:25:36] <lynxlynxlynx> there are some new resources there
[14:26:03] <lynxlynxlynx> still, it would be easiest to start with a let's say bg2 derivative and work your way out of proprietary art
[14:26:25] <lynxlynxlynx> no way of avoiding dltcep though
[14:26:33] <WhereIsMySpoon> whats dltcep?
[14:26:35] <WhereIsMySpoon> :S
[14:26:43] <WhereIsMySpoon> i feel horribly confused about trying to use gemrb
[14:26:51] <edheldil> just ask, then :)
[14:26:57] <WhereIsMySpoon> like
[14:26:58] <WhereIsMySpoon> literally
[14:27:00] <WhereIsMySpoon> everything lol
[14:27:06] <WhereIsMySpoon> i have no idea how to start
[14:27:08] <edheldil> DLTCEP' is an editor and viewer for the most of the game formats
[14:27:24] <edheldil> ie data formats
[14:27:59] <edheldil> lynxlynxlynx: where?
[14:29:31] <lynxlynxlynx> newgame probably
[14:29:50] <WhereIsMySpoon> :<
[14:29:59] <lynxlynxlynx> http://www.gemrb.org/wiki/doku.php?id=newgame:newgame
[14:30:05] <lynxlynxlynx> resources section
[14:30:10] <lynxlynxlynx> bunch of forum links
[14:34:20] <edheldil> ah, that's a nice art
[15:00:01] <-- alx3apps has left IRC (Quit: Leaving.)
[15:13:24] <edheldil> I hope we have not scared him away :)
[15:13:41] <edheldil> after all, he has not left yet :)
[15:17:52] <WhereIsMySpoon> lol
[15:17:55] <WhereIsMySpoon> meh
[15:18:10] <WhereIsMySpoon> edheldil, i think the tool has kinda put me off
[15:20:22] <edheldil> there's also NearInfinity, but that's not as complete and updated
[15:20:44] <lynxlynxlynx> and it's not easy to get the really latest version
[15:20:48] <edheldil> WhereIsMySpoon: rest assured that poking into IE is much worse experience :)
[15:20:54] <WhereIsMySpoon> IE?
[15:21:00] <WhereIsMySpoon> infinity engine/
[15:21:01] <WhereIsMySpoon> ?
[15:21:01] <WhereIsMySpoon> or
[15:21:05] <WhereIsMySpoon> ...
[15:21:07] <edheldil> Infinity engine
[15:21:11] <WhereIsMySpoon> ok lol
[15:21:12] <WhereIsMySpoon> well
[15:21:22] <WhereIsMySpoon> im gonna see if i can find a 2d engine which doesnt require so much setup
[15:21:46] <edheldil> look at pygame, if you want something simple
[15:21:55] <WhereIsMySpoon> pygame isnt an engine its a library
[15:23:21] <lynxlynxlynx> i'm afraid this is the most advanced rpg engine out there, even though it is pretty locked in to dnd currently
[15:23:43] <WhereIsMySpoon> maybe im looking for something more simple then :)
[15:23:53] <lynxlynxlynx> you can check out fife (pretty dead last i heard) and flare
[15:24:27] <edheldil> also aren't there something to create games a'la Broken Sword?
[15:24:38] <lynxlynxlynx> freedroidrpg is another, but it has some design problems
[15:25:19] <edheldil> Blender has a game engine as well, but it's 3d
[15:26:11] <edheldil> and Crystal Space can be coaxed to do isometric games
[15:27:42] --> alx3apps has joined #gemrb
[15:34:19] <WhereIsMySpoon> holy crap flare only needed 3 libraries to install, and they all were in the repos o:
[15:38:24] <lynxlynxlynx> that's worse than gemrb :P
[15:45:55] <WhereIsMySpoon> lynxlynxlynx, no it isnt
[15:46:04] <WhereIsMySpoon> lynxlynxlynx, i had to build 2 deps from scratch for gemrb
[15:46:08] --> Yoshimo has joined #gemrb
[15:46:13] <WhereIsMySpoon> i hate building from source
[15:46:27] <WhereIsMySpoon> 1) its less safe and 2) there are almost ALWAYS bugs in the code cause its old
[15:49:38] <lynxlynxlynx> err, we require only zlib and sdl
[15:49:58] <lynxlynxlynx> and building from source usually gets you newer source
[15:50:18] <lynxlynxlynx> which distribution are you using?
[15:50:33] <tomprince> How does building from source mean that the code is old?
[15:50:51] <WhereIsMySpoon> zlib was *incredibly* hard to get working
[15:50:57] <WhereIsMySpoon> ubuntu 11.04, lynxlynxlynx
[15:51:07] <lynxlynxlynx> haha
[15:51:13] <WhereIsMySpoon> lynxlynxlynx, i ended up sudo apt-get install zlib* and it still didnt work
[15:51:16] <WhereIsMySpoon> i had to download the source
[15:51:18] <WhereIsMySpoon> and make it
[15:51:38] <WhereIsMySpoon> then remove a load of useless packages
[15:51:41] <lynxlynxlynx> i doubt they managed to screw up something so basic
[15:51:47] <WhereIsMySpoon> *shrug*
[15:51:48] <WhereIsMySpoon> iunno
[15:51:58] <lynxlynxlynx> you probably need zlib-devel or zlib-headers or something like that
[15:52:11] <WhereIsMySpoon> lynxlynxlynx, were you not listening? :p
[15:52:16] <WhereIsMySpoon> i said i did sudo apt-get install zlib*
[15:52:22] <lynxlynxlynx> binary distros insist on splitting up packages, so it's their problem
[15:52:39] <lynxlynxlynx> apt supports globbing?
[15:53:14] <WhereIsMySpoon> er, it supports regex
[15:55:36] <WhereIsMySpoon> import pdb; pdb.set_trace()
[15:55:38] <WhereIsMySpoon> whats this?
[15:55:43] <WhereIsMySpoon> in the motd ^^
[15:56:14] <lynxlynxlynx> python debugger invocation
[15:56:19] <WhereIsMySpoon> ic
[15:56:28] <WhereIsMySpoon> well, thanks for your help anyhow
[15:56:34] <WhereIsMySpoon> sorry if i seemed a bit rough
[15:56:41] <WhereIsMySpoon> i hate dependency resolution :p
[15:56:59] <-- WhereIsMySpoon has left #gemrb ("Leaving")
[15:57:26] <tomprince> Well, if it support regex, that should have been zlib.*
[15:57:27] <lynxlynxlynx> btw http://www.playdeb.net/software/GemRB
[15:57:28] <tomprince> :(
[15:57:52] <tomprince> missed em
[15:58:42] <lynxlynxlynx> mhm
[15:58:55] <lynxlynxlynx> the page still says we're gpl3 too :)
[16:21:53] --> brad_a has joined #gemrb
[16:37:58] <brad_a> im guessing the sprite color masks are still messed up correct?
[16:38:25] <brad_a> it would be nice to have that fixed before a release is made :)
[17:00:51] <lynxlynxlynx> nobody complained about it recently
[17:01:07] <lynxlynxlynx> most of the testers were on android though
[17:01:52] <lynxlynxlynx> i found some other bugs that would be nice to fix beforehand, so this weekend seems too close
[17:06:10] <wjp> hm, I think I had a branch that only needed some platform-#ifdefs at the top
[17:11:36] <brad_a> im pretty sure the problem is still there if WJP hasn't fixed it :)
[17:11:50] <brad_a> maybe i can take a look next week
[19:12:46] <-- Yoshimo has left IRC (Quit: Yoshimo)
[19:37:08] --> Yoshimo has joined #gemrb
[20:02:43] <-- Yoshimo has left IRC (Quit: Yoshimo)
[20:23:14] --> kettuz has joined #gemrb
[20:40:52] <-- brad_a has left IRC (Quit: brad_a)
[20:45:08] <-- alx3apps has left IRC (Ping timeout: 244 seconds)
[21:22:42] <-- kettuz has left IRC (Quit: Leaving)
[21:28:28] <CIA-110> GemRB: 03lynxlupodian * rc795c8a52633 10gemrb/gemrb/core/Scriptable/Actor.cpp: implemented enemy damage scaling according to the game difficulty setting
[21:41:32] <CIA-110> GemRB: 03lynxlupodian * r2db5ca44a9eb 10gemrb/gemrb/core/Scriptable/Actor.cpp: disable chunky death on the lowest difficulties
[21:49:49] --> edheldil_ has joined #gemrb
[21:56:50] <-- edheldil has left IRC (Read error: Operation timed out)
[21:58:27] --> edheldil has joined #gemrb
[21:58:45] --- ChanServ gives channel operator status to edheldil
[22:24:44] <-- Kiranos has left IRC (Ping timeout: 246 seconds)
[22:24:59] --> Kiranos has joined #gemrb
[22:31:04] <-- lynxlynxlynx has left IRC (Remote host closed the connection)