#pentagram@irc.freenode.net logs for 20 Apr 2006 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage

[00:05:16] --> Colourless has joined #Pentagram
[00:05:16] --- ChanServ gives channel operator status to Colourless
[02:09:25] <-- Colourless has left IRC ("casts improved invisibility")
[03:05:54] --> watt has joined #pentagram
[03:06:26] --- ChanServ gives channel operator status to watt
[03:06:34] <watt> howdy.
[03:08:37] <watt> So, messing with wine. It's neat, but to get it working with the app I want it needs a few IO functions that currently have stubs in their kernel32.dll - ugh, that's one I can't replace... so, I guess I'll try to code them.
[03:08:44] <watt> ...and likely fail
[03:19:05] <SB-X> hello
[03:21:17] <watt> hi
[03:36:48] <-- watt has left IRC (Remote closed the connection)
[03:37:44] --> watt has joined #pentagram
[03:38:08] <watt> Ok, running that prog was a _BAD_IDEA_
[03:38:23] --- ChanServ gives channel operator status to watt
[03:41:21] <SB-X> i don't mess with wine at all
[03:41:36] * servus has some good merlot
[03:41:40] <SB-X> not that there's anything wrong with it, but i'd rather boot into windows to run windows programs
[03:42:23] <SB-X> and most of the windows programs I need to run are games
[03:50:50] <servus> I found Wine useful to run IE while doing web development in Linux.
[04:15:31] <watt> I dual boot windows, but would rather not. I only really use it for games - everything else is linux & rebooting just for a stinking game gets on my nerves. It also sometimes explains why I'm not here for days at a time
[04:32:27] <SB-X> oh I didn't know games worked very well with Wine
[04:39:40] <SB-X> servus: someone else asked for Exult3D sourcecode
[04:39:49] <servus> It's in the logs
[04:39:59] <SB-X> i know :)
[04:42:00] <servus> http://www.google.com/search?q=exult3d+patch first result has one
[04:42:04] <servus> I think i madea better patch than that though...
[04:47:16] <servus> Maybe not. I think I got frustrated with Windiff. Oh well. People can patch their script files and then cvs up 'em.
[05:05:40] <servus> 'Sides, I don't see anyone asking for Exult3D source lately
[05:18:31] <watt> So far, I don't think wine does work well with games.... world of warcraft supposedly works ok.
[05:19:07] <watt> but I figure I can at least try a few games and possibly try to hack up solutions.
[05:19:18] <watt> or give up and use cedega
[05:22:05] <servus> Wine works fine. I played Counter-Strike at full speed in Winex.
[05:22:21] <servus> Well, Cedega :)
[05:22:32] <watt> yup.
[05:22:51] <watt> but I'd like to give a go at working with wine first
[06:36:49] <-- minalo has left IRC (Read error: 104 (Connection reset by peer))
[06:37:22] --> etomek has joined #pentagram
[12:40:15] --> Kohlrabi has joined #pentagram
[13:56:44] --> cedric has joined #pentagram
[13:57:45] <cedric> what's the required speed hardware to run pentagram?
[13:58:44] <cedric> anyone try with a linux embedded device like the zaurus line or the ipaq?
[14:09:28] <-- Kohlrabi has left IRC ("Fast alle Menschen sind Regenw├╝rmer")
[14:27:07] <cedric> ok in term of cross compiling for ARM
[14:27:27] <cedric> I've got the configure phase done
[14:28:03] <cedric> but now the compilation stopped with --> ./tools/data2c/data2c: ./tools/data2c/data2c: cannot execute binary file
[14:28:52] <cedric> is that a tools for the host? if so how can tell to not cross compil this?
[14:51:40] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[15:24:53] <-- SB-X has left IRC ("casts gate travel")
[15:38:06] <wjp> that's kind of weird
[15:38:33] <wjp> does your path contain a non-cross compiler?
[15:39:51] <wjp> when you say 'host', I hope you don't mean the configure --host option
[15:40:15] <wjp> (because --host specifies the architecture you're compiling for; --build specifies the architecture you're building on)
[15:41:49] <cedric> wjp: no when I host; is the machine which do the compilation
[15:42:08] <cedric> s/I host/I say host
[15:42:10] <wjp> how did you call configure, and what are your compiler binaries called?
[15:42:37] <wjp> you need two compilers, a native one and a cross one
[15:42:47] <cedric> I'm using openembedded (bitbake)
[15:42:53] <wjp> the native one is typically simply called 'gcc' or 'cc'
[15:43:16] <wjp> the crosscompiler is typically called something like arm-something-something-cc, I think
[15:43:33] <wjp> openembedded and bitbake don't mean anything to me, I'm afraid
[15:43:41] <cedric> wjp: yes that's right
[15:43:47] <cedric> ok
[15:44:15] <wjp> the configure output should list 'Checking for a native C compiler' somewhere
[15:45:23] <cedric> so it look like it cross compile the data2c
[15:45:36] <wjp> what does the 'native C compiler' configure output line say?
[15:45:37] <cedric> ok should look in the config.log?
[15:45:41] <wjp> yes
[15:46:20] <cedric> configure:3522: checking for a native C compiler
[15:46:21] <cedric> configure:3542: result: arm-linux-gcc -march=armv5te -mtune=xscale
[15:46:33] <wjp> ok, not what I'd expect
[15:46:52] <cedric> yep it should be "gcc"
[15:47:39] <cedric> is define somewhere in the configure.ac?
[15:47:53] <cedric> or somewhere else?
[15:48:05] <wjp> the check is defined in acinclude.m4
[15:48:28] <wjp> it checks: $CC_FOR_BUILD, $HOST_CC, $SAVED_CC, cc, gcc, c89, c99
[15:48:44] <wjp> it's possible that it shouldn't be checking $HOST_CC
[15:49:14] <wjp> (it's a variable autoconf historically used for this purpose)
[15:50:03] <cedric> so how can I fix it? :-)
[15:50:20] <wjp> do you see the 'case $CC_FOR_BUILD,$HOST_CC,$SAVED_CC in' line?
[15:50:30] <wjp> (in acinclude.m4)
[15:50:31] <cedric> just for the record, do u need a powerfull machine to run pentagram?
[15:50:45] <cedric> yep for the line
[15:50:59] <wjp> try changing it to 'case $CC_FOR_BUILD,, in'
[15:52:54] <wjp> powerful machine... I don't know
[15:53:03] <wjp> you'll have to try it to see, I guess
[15:53:10] <cedric> ok
[15:53:30] <wjp> if you run without scaling in 320x200 or 320x240 it shouldn't require too much CPU power
[15:53:33] <cedric> do I need to patch pagan with the latest patch (2.12)?
[15:53:58] <wjp> you don't strictly need to, but it does fix some issues
[15:54:06] <cedric> yep I don't need to scale it the device is 320x240...
[15:54:42] <cedric> how do u patch under Linux? :-)
[15:55:08] <wjp> ah, yes, well, um, uh...
[15:55:18] <wjp> dosbox should work
[15:55:25] <cedric> thx
[15:56:40] <cedric> can u play until the end with pagan?
[15:56:56] <wjp> yeah, it should be completable
[15:57:30] <cedric> are u working on exult aswell?
[15:57:43] <wjp> not really actively currently, but yes
[15:58:28] <cedric> the configure phase doesn't really work with cross compiling...
[15:58:53] <wjp> what does it pick up as a native compiler this time?
[15:59:42] <cedric> with exult, it can't find some SDL macro (AM_PATH_SDL)
[16:00:43] <wjp> then you probably don't have SDL installed properly; in particular aclocal can't find sdl.m4
[16:00:57] <wjp> but let's tackle one at a time and not mix exult and pentagram
[16:01:10] <cedric> it's fine with pentagram
[16:01:15] <cedric> ok
[16:01:37] <cedric> it's under compilation...
[16:01:48] <wjp> does config.log list the proper native compiler?
[16:02:09] <cedric> yep!!
[16:02:32] <wjp> I guess I'll adjust the native compiler check a bit
[16:03:57] <cedric> so what's left to do with pentagram/pagan?
[16:08:24] <cedric> tools/data2c/data2c: ELF 32-bit LSB executable, Intel 80386
[16:09:57] <cedric> graphics/fonts/FontManager.cpp: In member function `TTF_Font* FontManager::getTTF_Font(std::string, int)':
[16:09:57] <cedric> | graphics/fonts/FontManager.cpp:123: error: `TTF_OpenFontRW' undeclared (first use this function)
[16:09:57] <cedric> | graphics/fonts/FontManager.cpp:123: error: (Each undeclared identifier is reported only once for each function it appears in.)
[16:09:59] <cedric> | make: *** [graphics/fonts/FontManager.o] Error 1
[16:13:52] <cedric> ok thx for u help, I'll have a look tomoro...
[16:13:56] <wjp> which SDL_ttf do you have?
[16:14:08] <cedric> 1min
[16:14:39] <cedric> 2.0.3
[16:15:25] <wjp> hm, maybe you need a newer one, but I'm not sure
[16:16:10] <cedric> ok I'll have a look with the latest one --> 2.0.7
[16:19:48] <cedric> thx for yr help
[16:20:02] <-- cedric has left IRC ("cedric has no reason")
[18:52:38] --> Kohlrabi has joined #pentagram
[19:12:31] --> Corvus has joined #pentagram
[19:29:03] --> cedric has joined #pentagram
[19:29:09] <cedric> evening
[19:29:52] <cedric> how can I not build the tools? I'm getting lots of these lines;
[19:29:56] <cedric> tools/compile/llcLexer.cpp:2855: error: expected unqualified-id before numeric constant
[19:29:56] <cedric> | tools/compile/llcLexer.cpp:2855: error: expected `,' or `;' before numeric constant
[19:30:52] <cedric> I'm trying to build pentagram for an embedded device, so just need the game executable...
[19:32:16] <wjp> try 'make pentagram' instead of 'make'
[19:36:52] <cedric> wjp: the libsdl-ttf 2.0.7 did the trick...
[19:37:19] <wjp> yeah, I checked earlier and that function you mentioned was added in 2.0.7
[19:37:33] <wjp> I'll make configure check for 2.0.7 soon
[19:40:29] <Corvus> errr..
[19:40:56] <Corvus> how well does work ultima 8 ? (i think that is the million dollar question)
[19:41:51] <wjp> fairly well
[19:42:04] <wjp> most things should be working, although combat and AI are still pretty rough
[19:44:55] <Corvus> ok, thx .
[19:46:27] <cedric> wjp: I would like to get stripped down version of the pagan files structure, so which files are need it by pentagram? and create a cramfs file for my embedded device.
[19:48:17] <cedric> or maybe which one are not need it...
[19:48:36] <wjp> savegame/u8save.000, sound/*.flx, static/*, usecode/*
[19:49:00] <wjp> you can leave out static/*.icu if you have them
[19:49:00] <cedric> wjp: thx dude
[19:49:31] <wjp> I hope I didn't forget anything
[19:50:14] <cedric> if there is something missing, do I get a crash or a nice error msg? :-)
[19:50:24] <cedric> or both...
[19:51:16] <wjp> it should leave a message on stdout or stderr
[19:51:55] <wjp> I'd try the directory structure on a pc first
[19:57:38] <-- cedric has left IRC (Read error: 104 (Connection reset by peer))
[20:08:29] --> cedric has joined #pentagram
[20:21:51] <cedric> wjp: http://pastebin.com/672055
[20:22:37] <wjp> you need a config file
[20:23:08] <wjp> /home/root/.pentagram/pentagram.cfg
[20:23:23] <wjp> um, pentagram.ini, sorry
[20:23:44] <wjp> try something like this:
[20:23:46] <wjp> [pentagram]
[20:23:51] <wjp> width=320
[20:23:52] <wjp> height=240
[20:23:58] <wjp> scaler=none
[20:24:03] <wjp> scalex=320
[20:24:05] <wjp> scaley=240
[20:24:08] <wjp> [u8]
[20:24:21] <wjp> path=/somewhere/u8
[20:30:44] <cedric> thx
[20:39:41] <cedric> ok I'm getting now: creating font manager...
[20:40:17] <cedric> Fatal signal: Segmentation fault (SDL parachute deployed)
[20:41:43] <wjp> hm, strange spot
[20:44:20] <cedric> opps that's work, I've set the bpp to 16 early, back to 32 and I'm getting pentagram with the hand...
[20:45:42] <cedric> but it's using around 100% cpu
[20:46:25] <cedric> so I can't do anything, can't close it... I need to rotate the screen with SDL
[20:47:03] <cedric> in the top corner I'm getting: SetSpeed 12
[20:47:25] <wjp> that's just some debugging output
[20:47:52] <wjp> (related to the framerate of the intro, nothing very interesting)
[20:55:11] <cedric> I've rotated the X framebuffer and now I can see the intro and the start of the game
[20:55:52] <cedric> but it's really slow
[20:56:28] <cedric> but it look really good on my Zaurus
[20:57:46] <cedric> I can't select a dialog... the mouse cursor is moving with my stylus but in a slow motion
[21:11:10] <wjp> try pressing the ~ key and then type 'GUIApp::drawRenderStats 1'
[21:11:24] <wjp> that should give some speed statistics
[21:17:49] <cedric> in fullscreen is a little better, I can move the avatar
[21:21:13] <cedric> difficult to type that on my device...
[21:21:59] <wjp> there's tab completion
[21:22:19] <wjp> GU(tab)d(tab) 1
[21:24:49] <cedric> the ~ is not reconised... that should give me a dialog of some kind?
[21:26:09] <wjp> it's possible it's a different key if the keyboard layout is different
[21:26:17] <wjp> it should be the key to the left of the 1
[21:26:24] <wjp> and above the tab
[21:42:15] <cedric> I'm going to have look later on, thx for help... good nite
[21:42:23] <-- cedric has left #pentagram ("Leaving")
[22:04:30] <-- Kohlrabi has left IRC ("Fast alle Menschen sind Regenw├╝rmer")
[22:32:01] --> Kirben has joined #pentagram
[22:32:01] --- ChanServ gives channel operator status to Kirben
[22:33:15] <-- Corvus has left IRC ("Quit")