#exult@irc.freenode.net logs for 3 May 2007 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:22:23] <Pupnik_> would it be possible to save cycles by using a cheaper pathing algorithm for party members who follow avatar?
[00:22:29] <Pupnik_> usually they don't need to do anything except stay in relative position to avatar (movement via keys/dpad)
[00:22:32] <Pupnik_> but that could be quite cheap to do
[00:22:51] <Pupnik_> occassionally they need to step left/right to avoid an object
[00:30:45] --> Kirben has joined #exult
[00:30:45] --- ChanServ gives channel operator status to Kirben
[00:35:25] <-- shazza has left IRC (Connection timed out)
[01:08:27] <Pupnik_> are there any game situations while walking around in BG or SI, where it is important for party characters to be able to get stuck and do their own pathfinding to keep up with the avatar?
[01:08:45] <Pupnik_> besides combat situations
[01:12:11] <Pupnik_> for e.g. a really really quick one would be
[01:14:34] <Pupnik_> if (i can't move forward to my next desired position) { set my.position = one step closer to avatar_position(curtime-n_steps-my.party_number) }
[01:15:17] <Pupnik_> which would automagically put your party members into a line behind the avatar if going through a narrow passage
[01:15:46] <Pupnik_> where n_steps = 2 or 3
[01:47:47] --> Colourless has joined #Exult
[01:47:47] --- ChanServ gives channel operator status to Colourless
[02:08:37] --> Kirben_ has joined #exult
[02:08:37] --- ChanServ gives channel operator status to Kirben_
[02:28:09] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[02:28:11] <-- Baastuul has left IRC (Read error: 113 (No route to host))
[02:50:36] --- Pupnik_ is now known as Pupnik
[03:02:20] <Lord_Nightmare> Colourless: is there any chance i could change your mind about supporting mt-32 sound effects on a real mt-32?
[03:02:54] <Lord_Nightmare> iirc you mentioned it requires pulling a table out of the executable or one of the other files
[03:03:02] <Colourless> it could be done, but i don't have enough interest myself to do it
[03:06:28] --> Baastuul has joined #exult
[04:30:36] <-- Kirben_ has left IRC ("System Meltdown")
[04:38:03] --> Kirben has joined #exult
[04:38:03] --- ChanServ gives channel operator status to Kirben
[05:06:20] --> shazza has joined #exult
[05:06:37] --> shza has joined #exult
[05:49:47] --> Kazinstan has joined #exult
[06:02:41] <-- Kazin has left IRC (Read error: 110 (Connection timed out))
[07:39:51] <-- WorkMonk has left IRC (Read error: 113 (No route to host))
[07:47:53] --> WorkMonk has joined #exult
[08:46:37] <-- Darke2 has left IRC (Read error: 104 (Connection reset by peer))
[09:02:22] --> Darke2 has joined #exult
[10:00:02] <-- Darke2 has left IRC (Read error: 54 (Connection reset by peer))
[10:01:24] --> SB-X has joined #exult
[10:02:24] <SB-X> Pupnik: Exult already has 2 modes for party following, including a faster & simpler one, that Dr. Code added.
[10:03:12] <SB-X> I'm not sure if it does exactly what you're talking about, but you decide what mode to use in the config. (I thought the faster one was now the default method though.)
[10:05:20] <Pupnik> oh good
[10:05:34] <Pupnik> thanks for that
[10:06:24] <SB-X> np
[10:07:07] <Pupnik> still working on the keyboardless UI changes
[10:07:09] <SB-X> just check it out and see if it is any less "expensive" that way
[10:07:14] <SB-X> ok
[10:08:04] <Pupnik> i'll look at the config. also there's no oprofile kernel yet for 770, so i may do my own counting with sdl ticks
[10:09:02] <Pupnik> i assumed that the 2-3 second pauses were path searches, but with this hardware platform, who knows
[10:12:14] <Pupnik> i did achieve a good speedup by remixing the music to mono (monophonic speaker on device) and going to vbr, which reduced filesizes by 50-70% and sped up load times for the external player dramatically
[10:15:26] <SB-X> you have to use mp3 music?
[10:16:43] --> Darke2 has joined #exult
[10:16:43] <Pupnik> currently it looks to be the only option
[10:16:52] <SB-X> so it is loaded by an external library?
[10:17:18] <Pupnik> timidity is taking 12-18% cpu. ogg takes about 9-12% mp3 can be decoded by dsp in another process with 0% cpu hit
[10:17:31] <Pupnik> except when loading the file
[10:17:56] <Pupnik> but filesizes are now like
[10:18:03] <Pupnik> 23687 2007-05-03 00:39 56bg.mp3
[10:18:10] <Pupnik> 505425 2007-05-03 00:40 exult.mp3
[10:18:16] <Pupnik> 160819 2007-05-03 00:41 si07.mp
[10:18:27] <SB-X> that's cool, is there a slowdown when you load music?
[10:18:40] <Pupnik> i don't notice one now
[10:19:06] <Pupnik> in theory it does take some time - reads from mmc card are 1.2MB/s
[10:21:36] <Pupnik> also the short fanfares (e.g. after combat) could be loaded into memory beforehand
[10:22:10] <Pupnik> since they average 50kB now, 20 could fit in 1MB
[10:25:30] <Pupnik> there is also renewed hope to get the accelerated pixel-doubling fixed, or that this guy will implement a faster putrect for SDL based on direct memcpy to framebuffer
[10:26:29] <Pupnik> i started a thread on the mailing list that has been running a week now, sucked in 5 nokia developers and a bunch of other people :)
[10:27:20] <Pupnik> problem is only two of them are looking at fixes that would be applicable to the 770. the nokia guys are mainly focused on the new 800 and their upcoming tablet
[10:28:13] <Pupnik> the way things are, moving around by walking with the dpad is just too clunky
[10:28:23] <SB-X> why?
[10:28:36] <Pupnik> lots of pauses, and it averages like 3 fps
[10:28:38] <SB-X> is that related to the graphics?
[10:28:42] <SB-X> ah k
[10:29:05] <Pupnik> double-click running somewhere seems to kick things up to 2-3x the framerate
[10:30:17] <Pupnik> it's like every cycle with a held-down arrow key triggers a re-computing of paths
[10:30:57] <Pupnik> that's one reason i want to implement some kind of running via stylus tap
[10:31:10] <Pupnik> the other is simply ergonomics
[10:33:35] <Pupnik> i really dislike half-assed ports by people who obviously haven't played the game for more than a few minutes :)
[10:34:12] <Pupnik> "it runs, i'm done"
[10:35:08] <Pupnik> just referring to ports of course. not writing something from the ground up
[10:45:54] <SB-X> referring to any port in particular? ;)
[11:38:36] --> Sev has joined #exult
[11:39:43] <-- Sevalecan has left IRC (Read error: 104 (Connection reset by peer))
[12:36:02] --- Sev is now known as Sevalecan
[13:08:25] <-- shazza has left IRC (Read error: 60 (Operation timed out))
[13:08:45] --> shazza has joined #exult
[13:14:00] --- ettin_ is now known as ettin
[13:17:42] <-- Kirben has left IRC ("System Meltdown")
[14:54:42] <-- Colourless has left IRC ()
[15:39:29] --> Kazin has joined #exult
[15:57:08] <-- Kazinstan has left IRC (Read error: 110 (Connection timed out))
[16:30:26] <-- Sevalecan has left IRC (Read error: 131 (Connection reset by peer))
[16:57:28] --- Lord_Nightmare is now known as LordNAway
[17:22:12] <-- shazza has left IRC ()
[17:22:24] <-- shza has left IRC ()
[17:22:58] --> shazza has joined #exult
[17:38:52] --> Sevalecan has joined #exult
[20:12:32] <-- SB-X has left IRC ("*casts gate travel*")
[23:10:41] --> Pupnik_ has joined #exult
[23:22:54] <-- Pupnik has left IRC (Read error: 110 (Connection timed out))
[23:31:31] --> Marzo has joined #exult