#exult@irc.freenode.net logs for 23 Apr 2007 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:02:38] <SB-X> it has been spammed a little in the past
[00:08:43] <Pupnik> hah exult running with 2xsai
[00:08:56] <Pupnik> just did the nasty and copied over my libstdc++
[00:10:02] <Pupnik> the 2x scalers giving me errors though but it's running :D
[00:30:56] <Pupnik> http://www.pupnik.de/Exult_Ultima_VII_Nokia_770.jpg
[00:34:45] <Pupnik> does Black Gate have speech during the intro guardian part
[00:34:56] <Pupnik> it says Serpent Isle not found ./static/sispeech.spc
[00:35:09] <Pupnik> is the serpent isle directory necessary to get speech for playing Black Gate?
[00:35:45] --> Kirben has joined #exult
[00:35:45] --- ChanServ gives channel operator status to Kirben
[00:36:02] <Pupnik> greetings Kirben
[00:36:26] <Kirben> Hi
[00:36:48] <Pupnik> just got exult running on my Nokia http://www.pupnik.de/Exult_Ultima_VII_Nokia_770.jpg
[00:43:10] --> Colourless has joined #Exult
[00:43:11] --- ChanServ gives channel operator status to Colourless
[00:43:36] <Pupnik> maybe i'm getting pointer-alignment issues with the scaled gfx
[00:43:44] <Pupnik> the butterfly is leaving a trail
[00:44:08] <Pupnik> but taht should all be sdl
[00:48:11] <Colourless> there is a special option to force exult to use 32 bit aligned pointers for shape rendering
[00:48:49] <Colourless> or more specifically, don't make the assumption that the you can read and write 32 bit words to addresses that aren't 32 bit aligned
[00:49:31] <Colourless> however the scalers don't do any checks... things are assumed to be ok in the.
[00:49:34] <Colourless> *them
[00:49:57] <Pupnik> yeah i've seen this in other scaler implementations
[00:50:03] <Pupnik> i've got the debian sid 1.2 exult
[00:50:12] <Pupnik> are there differences in the cvs rendering?
[00:50:34] <Pupnik> or are the changes plot/bugfixes
[00:50:59] <Colourless> more enhancments and other things, not much to do with any rendering changes
[00:51:16] <Colourless> are all the scalers doing it or only some?
[00:51:48] <Colourless> i'd have guessed that point, interlaced and bilinear would probably be the ones most likely to have problems (as I coded them with a number of x86 assumptions)
[00:52:16] <Pupnik> i've only tried point, which sometimes works, and 2xsai, which gives a 1x image
[00:53:57] <Pupnik> in point, drawings look fine, but animations leave a trail
[00:54:04] <Pupnik> including sdl cursor
[00:54:44] <Pupnik> interlaced, leaves a trail, bilinear shows as 1x
[00:54:49] <Colourless> quite strange. you probably should try cvs
[00:55:31] <Colourless> does your phone(?) support 15/16/24/32 bit modes in sdl
[00:55:45] <Pupnik> ah only 16
[00:55:55] <Pupnik> and only SWSURFACE
[00:56:18] <Pupnik> doesn't have phone functions :)
[00:56:54] <Colourless> bilinear, 2xSaI and the other advanced scalers need a high colour surface. I'm not sure what it runs in anymore
[00:57:08] <Colourless> interlaced and point just use an 8 bit paletted surface
[00:57:31] <Colourless> it might be that sdl isn't supporting the surface format that exult it asking for
[00:57:40] <Pupnik> ah so it's going to a fallback 320x200 mode
[01:00:33] <Colourless> yep
[01:02:09] <Pupnik> after looking at c for 9 weeks, it's really strange looking at exult
[01:03:18] <Pupnik> or c++ in general rather
[01:03:38] <Pupnik> so much more compact
[01:07:37] <Pupnik> this is really clean
[01:08:41] <Colourless> exult is not a great example of C++ code. It's not well structured
[01:08:52] <Pupnik> i'll try to set up hardware scaling, should be largely transparent to the app
[01:09:03] <Pupnik> oh well compared to what i've been dealing with :)
[01:10:26] <Pupnik> imagewin.cc handles just about any sdl capable hardware
[01:10:52] <Pupnik> i mean, that's basically how it should be done
[01:16:57] <Pupnik> hmm it might be having trouble dealing with user perms on a vfat memory card
[01:17:09] <Pupnik> Error opening file /home/minra/.exult/blackgate/gamedat/npc.dat
[01:19:33] <Pupnik> open("/HOME/MINRA/.EXULT/BLACKGATE/GAMEDAT/NPC.DAT", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 ENOENT (No such file or directory)
[01:20:13] <Pupnik> ah i see
[01:21:03] <Pupnik> my error
[01:27:50] <Pupnik> the display problem is only in transparent (alpha) areas of bitmaps
[01:27:58] <Pupnik> around cursor, edges of sprites
[01:31:31] <-- Kirben has left IRC ("System Meltdown")
[01:58:05] <Pupnik> Colourless: do you know if the 32 bit aligned pointers for shape rendering is controlled by a
[01:58:12] <Pupnik> #define?
[01:59:00] <Pupnik> i haven't found an #ifdef that looks appropriate
[01:59:39] <Pupnik> searching config.h
[02:02:50] <-- Colourless has left IRC (Read error: 113 (No route to host))
[02:04:45] <Pupnik> EX_TYPE_INT32?
[02:05:29] <Pupnik> all 4 on this system afaik
[02:17:20] <Pupnik> looks like artaxerses (sp) did the zaurus port
[02:46:42] <Pupnik> just set screen to 400x240 widescreen doubled
[02:46:45] <Pupnik> and it looks sweeet
[02:58:55] --- Pupnik is now known as Pupnik_zZz
[03:54:49] --> Kirben has joined #exult
[03:54:49] --- ChanServ gives channel operator status to Kirben
[04:49:21] --- Lord_Nightmare is now known as LordNAway
[06:34:37] <-- Kirben has left IRC ("System Meltdown")
[08:30:20] --> Kirben has joined #exult
[08:30:20] --- ChanServ gives channel operator status to Kirben
[09:43:26] --> Colourless has joined #Exult
[09:43:26] --- ChanServ gives channel operator status to Colourless
[11:24:56] --> pekka has joined #exult
[11:25:24] <pekka> Hi I cant get the sound effects to work in exult
[11:25:36] <pekka> help
[11:30:04] <-- pekka has left IRC ()
[12:26:36] <-- SB-X has left IRC ("*casts gate travel*")
[12:32:33] --> Pupnik_z1z has joined #exult
[12:35:24] <-- RadoS has left IRC (Nick collision from services.)
[12:35:34] --> RadoS has joined #eXult
[12:44:07] <-- Pupnik_zZz has left IRC (Read error: 110 (Connection timed out))
[13:03:10] * Pupnik_z1z has little or no chance to fix graphics glitches
[13:03:17] --- Pupnik_z1z is now known as Pupnik
[13:16:53] <Pupnik> perhaps i could force mode out of 8 to 24/32-bit internally, then let SDL map to 16 bit
[13:22:38] <Pupnik> So
[13:22:39] <Pupnik> please be patient and don't pester Colourless anymore about it.
[13:22:41] <Pupnik> :)
[13:22:53] <RadoS> Pupnik, you here, too? :)
[13:23:14] <Pupnik> yeah this is my new port for the day
[13:23:18] <Pupnik> lol
[13:23:31] <RadoS> Ever heard of xblast? :)
[13:23:43] <Pupnik> maybe
[13:23:52] <Pupnik> hi RadoS :)
[13:25:02] <Pupnik> i'm putting the COW client on hold for now - just focusing on sdl games
[13:25:28] <RadoS> #xblast has sdl port, too, though I don't know the current status.
[13:26:29] <Pupnik> looks like a good candidate
[13:26:38] <-- Darke has left IRC (Read error: 104 (Connection reset by peer))
[13:27:10] <RadoS> Fine, remember #xblast when you're "free" again. ;)
[13:30:01] <Pupnik> good article on the exult development background http://linuxdevcenter.com/pub/a/linux/2003/04/24/exult.html
[13:33:08] <-- Colourless has left IRC (Read error: 104 (Connection reset by peer))
[13:38:23] <Pupnik> the device has 11 buttons i can redirect
[13:38:33] <Pupnik> if i don't use the directional pad for walking
[13:39:07] <Pupnik> otherwise we're gonna need on screen icons for the keybd commands
[13:41:26] <Pupnik> keys_bg.txt and keys_si.txt have the mappings
[13:44:56] --> Darke has joined #exult
[13:46:00] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:46:58] <Pupnik> ok debianized the cvs
[13:57:50] <Pupnik> you guys sure expanded the midi_drivers tree
[14:43:28] <Pupnik> cvs running
[14:52:39] <Pupnik> guess i'll disable the cursor for now
[15:15:12] <Pupnik> scale2x works but it's not fast :)
[15:37:10] <Pupnik> Check out exult runing fullscreen with Scale2X scaler http://pupnik.de/Exult_Ultima_VII_Nokia_770_02.png
[15:37:13] <Pupnik> i'm looking into sound/midi problems right now
[15:38:45] <RadoS> Ah, the memories ... when have I played this last time?
[15:39:45] <Pupnik> heh
[15:39:51] <Pupnik> right now i'm moving with the dpad
[15:41:41] <Pupnik> occasinally i see 2-3 sec pauses
[17:40:45] <Pupnik> serpent isle sound and speech working
[17:49:15] <Pupnik> just intro though
[17:49:25] <Pupnik> icon showing 'no sound' in black gate or exult
[17:49:49] <Pupnik> 1488821 2007-04-23 18:25 u7speech.spc 11787 2007-04-23 18:25 u7voice.flx in ~/.exult/blckgate though
[17:58:15] <Pupnik> oh jmsfx.zip
[18:09:56] <Pupnik> timidity erroring out on all timidity.cfg options and not loading soundbank yet
[18:17:30] <Pupnik> timidity.cfg: line 1: syntax error
[18:20:00] <Pupnik> soundfont /media/mmc1/share/timidity/2MBGMGS.SF2
[18:20:05] <Pupnik> doesn't like that for a soundfont
[18:39:03] <Pupnik> heh i don't see how you're linking-in ogg
[18:41:06] <Pupnik> Midi.cc:bool MyMidiPlayer::ogg_play_track(std::string filename, int num, bool repeat)
[18:43:13] <Pupnik>
[18:43:14] <Pupnik>
[18:43:21] <Pupnik> Mix_PlayMusic(oggmusic
[18:43:33] <Pupnik> ah so it's part of sdl sound
[18:50:03] --> Fingolfin has joined #exult
[18:50:24] --- ChanServ gives channel operator status to Fingolfin
[20:14:16] * Pupnik waves to Fingolfin
[20:17:51] * Fingolfin waves back
[20:18:33] <Pupnik> going to leave out the hardware scaling right now
[20:18:44] <Pupnik> work on UI issues
[20:20:19] <Pupnik> moving around with arrows is a good deal slower than the double-click pathfinding-run
[20:20:43] <Pupnik> so if i can make that default behavior for a mouse-left-click, as long as an object wasn't clicked-on
[20:20:59] <Pupnik> i think we'll have a 'single-mouse button' playablility for tablets
[20:21:48] <Pupnik> alternatively, the arrow walking could be faster, and i could look into how to reduce the blocking by companions
[20:23:27] <Pupnik> Fingolfin: do you know why exult timidity won't accept timidity.cfg options?
[20:41:51] <Fingolfin> no, never messed with our timidity code
[20:45:20] <Pupnik> ok another question - has anyone patched this to work with single-mouse button?
[20:45:45] <Pupnik> i think it could be done, but i'm not aware of all the potential problems
[20:58:45] <-- Fingolfin has left IRC ()
[21:10:07] <Pupnik> ok single click path movement working with stylus
[21:10:20] <Pupnik> seems to have broken item-drag, but dialogues still work
[21:12:38] <Pupnik> just need to check if we're dragging
[22:13:38] <wjp> we use SDL_mixer's timidity. Where it looks for timidity.cfg might be different than were timidity itself looks, and depends on your distribution
[22:13:45] <wjp> s/were/where/
[22:14:17] <Pupnik> ah
[22:16:56] <Pupnik> working through the dragging / dragged / click_handled logic now
[22:17:48] <Pupnik> wjp, do you know if what i'm trying to do makes no sense?
[22:17:52] <Pupnik> :)
[22:26:28] <wjp> you'll have to give me a summary of what you're trying to do :-)
[22:31:32] <Pupnik> make exult playable on nokia 770 internet tablet
[22:31:45] <Pupnik> currently exult requires right click for movement - this doesn't work well for tablet/stylus
[22:31:54] <wjp> did you look into what was done for the Zaurus?
[22:32:22] <Pupnik> no, didn't find the sources yet - sent artaxerxes email though but i'm not sure his address was correct
[22:32:51] <wjp> hm, there are no separate sources, as far as I know
[22:33:13] <wjp> it's just part of our cvs tree
[22:33:24] <Pupnik> ok i have cvs and looked at zaurus and readmes. macintosh single-button mouse uses CMD+Click
[22:34:24] <Pupnik> i want to call gwin->start_actor_along_path(x, y, Mouse::mouse->avatar_speed);
[22:35:21] <Pupnik> but .. only if the mouse up event isn't quickly followed by a mouse down near the same location
[22:35:59] <Pupnik> which would then indicate double click (pick up object)
[22:36:47] <Pupnik> ah last_b1_click
[22:38:36] <Pupnik> the reasoning is that most of the game input is spent moving around
[22:38:42] <Pupnik> that should be a simple tap on screen
[22:39:30] <wjp> are you going to make that both 'look at' and 'walk to'?
[22:39:46] <Pupnik> yes
[22:41:18] <wjp> that particular code is in Handle_events ("// handle delayed showing of clicked items (wait for possible dblclick)")
[22:42:37] <Pupnik> are you interested in doing this instead? (i.e. the right way)
[22:43:02] <wjp> not really :-)
[22:45:29] <wjp> in any case, I should be going
[22:45:30] <wjp> good night
[22:45:37] <Pupnik> ok thanks cheers
[23:50:57] <Pupnik> argh this is difficult in principle
[23:51:38] <Pupnik> after the first event button 1 release, you don't know whether a second click will follow
[23:51:42] <Pupnik> to create a double click
[23:54:20] <Pupnik> so i need to call start_actor_along_path IFF after 500 ms no second left click_down event occurred, and dragging is false, and the click was not released on a game object
[23:54:26] --> Kirben has joined #exult
[23:54:26] --- ChanServ gives channel operator status to Kirben
[23:55:27] <Pupnik> hi kirben
[23:56:33] <Pupnik> i'm not sure if the current way the events are set up will allow that
[23:57:43] <Kirben> Hi