#exult@irc.freenode.net logs for 5 Jan 2011 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:25:08] <Dominus> ?seen Malignant_Manor
[00:25:08] <exultbot> malignant_manor left IRC around Tue Jan 4 15:04:11 2011 (GMT) (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
[00:25:22] <Dominus> ?faq
[00:25:22] <exultbot> You can find the official FAQ at: http://exult.sourceforge.net/faq.php
[00:25:28] <Dominus> ?readme
[00:25:37] <Dominus> ?documentation
[00:25:40] <Dominus> ?docs
[00:25:47] <Dominus> oh well :)
[00:25:54] <Dominus> ?logs
[00:25:54] <exultbot> Logs are available at http://log.usecode.org/exultlog.php
[01:31:43] <-- Dominus has left IRC (Quit: Leaving.)
[01:35:48] --> Malignant_Manor has joined #exult
[05:13:04] <-- Marzo has left IRC (Ping timeout: 260 seconds)
[05:54:56] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
[06:43:17] --> Avatard has joined #exult
[06:43:27] <Avatard> ello
[06:44:00] <Avatard> curious if anyone is available for a question abotu building the exult source
[06:46:19] <Avatard> exultbot can you tell me how i've broken the paperdolls?
[06:47:32] <Avatard> aside from all that congrats on the new version guys
[06:50:14] --- Avatard is now known as Mondain
[06:50:50] --- Mondain is now known as eviltar
[06:54:04] <eviltar> exultbot: hello
[06:54:04] <exultbot> Hi eviltar!
[06:54:24] <eviltar> exultbot: can you tell me how i broke paperdolls?
[06:55:01] <eviltar> exultbot: who created you
[06:56:28] <eviltar> exultbot: would you like to join the fellowship?
[06:57:06] <eviltar> exultbot: alice has one up on you
[07:01:00] --> Malignant_Manor has joined #exult
[07:01:52] <eviltar> ello
[07:03:03] <Malignant_Manor> Hi
[07:03:47] <eviltar> are you part of the exult team? I was hoping I might find an answer here about building the sources
[07:04:09] <Malignant_Manor> Yes, what's your problem building Exult?
[07:04:31] <eviltar> well i was getting compiler error in read gwin
[07:04:55] <eviltar> so i moved some things around untill it was building the assembly right so i coudl start a new game
[07:05:10] <Malignant_Manor> What's the error message?
[07:05:15] <eviltar> but now the paperdolls are all wrong
[07:05:35] <eviltar> no error message, it wasnt a problem with your source, its the compiler im using
[07:05:53] <eviltar> im working on a new port
[07:07:13] <eviltar> the problem was in the assembly created
[07:07:32] <eviltar> not properly setting up the stack
[07:07:49] <eviltar> caused a crash when i made a new game, exception at 00000000
[07:08:14] <eviltar> but i'm past that, i can start new, load, save, journey onward, etc...
[07:09:02] <eviltar> but the inventory is all out of place on the paperdoll now :S
[07:09:55] <eviltar> and when i start a new SI game, all thats on the paperdoll is the backpack, and a glowing chest that says USECODE CONTAINER
[07:10:15] <eviltar> full of numbers
[07:11:45] <Malignant_Manor> It's probably not reading paperdol_info.txt from the flx file.
[07:12:20] <Malignant_Manor> Can you link to a screenshot?
[07:12:27] <eviltar> sure one sec
[07:18:15] <eviltar> http://dylan.fwdmpg.com/si.jpg
[07:18:22] <eviltar> http://dylan.fwdmpg.com/bg.jpg
[07:21:12] <Malignant_Manor> It seems to be reading paperdol_info.txt or you would have more problems.
[07:22:35] <eviltar> yes its been quite baffling trying to figure out why its done some of the things its done on this platform
[07:23:13] <eviltar> i'd have been in here more but I usually am on efnet
[07:28:11] <Malignant_Manor> Take all the items out of the inventory.
[07:28:30] <Malignant_Manor> Can you place the backpack in the proper spot with SI style paperdolls?
[07:29:06] <eviltar> no
[07:29:18] <eviltar> its going to his right hand
[07:29:55] <Malignant_Manor> It may take some effort finding the correct drop spot if equip.dat is not being read (or read properly).
[07:30:18] <eviltar> that would also be in the flx?
[07:30:31] <Malignant_Manor> It's in the static directory.
[07:30:38] <eviltar> ahh
[07:30:56] <eviltar> when i load games saved from my pc they load right
[07:31:01] <Malignant_Manor> It stores the bg style equip spot of items items.
[07:32:49] <eviltar> some of my problems have been from this running on ppc
[07:33:15] <eviltar> but its more like an nt kernel so i cant jsut define mac and be done :)
[07:34:17] <eviltar> sdl is handling most of the endian issues for me tho
[07:34:57] <eviltar> ill set break points to watch it reading flx's
[07:35:17] <eviltar> and try to find where i can see it load equip.dat
[07:35:28] <Malignant_Manor> It's not in the flx
[07:35:36] <eviltar> i mean also
[07:35:39] <Malignant_Manor> It's in the game's static directory
[07:36:05] <eviltar> as well as the flx's to watch for the paperdol_info.txt
[07:36:20] <eviltar> i'll also look for where it reads in equip.dat
[07:36:50] <eviltar> thanks for the leads
[07:41:03] <Malignant_Manor> You're welcome.
[07:51:08] <Malignant_Manor> You can't build Pocket PC with the MSVC9?
[07:51:23] <eviltar> im not building for pocketpc
[07:51:35] <eviltar> powerpc64bit
[07:53:04] <Colourless> don't know of anyone bulding for powerpc64
[07:53:13] <eviltar> xbox360
[07:53:45] <eviltar> thier open sdk has made soem recent leaps and bounds
[07:53:59] <Colourless> probably endian issues
[07:54:03] <Colourless> any other problems
[07:54:17] <eviltar> wav's arent playing
[07:54:41] <eviltar> causeing a crash when enabled, and the pack is always listed as custom
[07:54:54] <Colourless> probably endian
[07:55:23] <Colourless> exult is probably assuming x86 byte order cause you're compiling using visual studio
[07:56:26] <eviltar> yeah i tried to use the mac methods where i could
[07:56:52] <Colourless> i could be wrong, but i'd be surprised. what you are trying is not something anyone else has attempted to do
[07:56:56] <eviltar> other than that its guess and test byteswapping here or there
[07:57:19] <eviltar> well i have a semi playable build
[07:57:36] <eviltar> i have the gamepad pretty suable as a mouse now
[07:57:40] <eviltar> useable
[07:58:03] <eviltar> borowing some inspiration from the gp2x build
[07:58:17] <Colourless> all data reading should be endian independant i.e. we read all data byte at a time, but for sounds i do in memory byte swapping if required
[07:58:53] <eviltar> sdl should be swapping the format on its own no?
[07:59:20] <Colourless> yes SDL should set the right order. but you should check it out yourself
[07:59:24] <eviltar> since the waves are 16lsb and i am using 16msb
[07:59:51] <Colourless> maybe put this in a source file
[07:59:52] <Colourless> #if SDL_BYTEORDER == SDL_LIL_ENDIAN
[07:59:52] <Colourless> #error SDL is setting little endial
[07:59:52] <Colourless> #endif
[08:00:01] <Colourless> s/endial/endian/
[08:00:29] <Colourless> make sure #include <SDL.h>
[08:00:47] <eviltar> in kludges maybe?
[08:01:08] <eviltar> or doesnt matter
[08:01:32] <Colourless> i'd put it somewhere else :-)
[08:02:32] <Colourless> another issue is the msvc build assumes the size of the built in types.
[08:02:33] <Colourless> #define SIZEOF_LONG 4
[08:02:33] <Colourless> #define SIZEOF_INTP 4
[08:02:39] <Colourless> maybe wrong
[08:02:57] <eviltar> the mt32emu is workign great
[08:03:29] <Colourless> LONG should be 4 bytes long, but INTP should be 8 if its 64bit pointers
[08:03:57] <eviltar> ahh that might help
[08:05:10] <Colourless> actually it might just cause compiling to fail...
[08:05:18] <eviltar> its definately setting SDL_BIG_ENDIAN
[08:05:50] <Colourless> add
[08:05:51] <Colourless> #define EX_TYPE_INTPTR __int64
[08:06:00] <Colourless> to msvc_kludges
[08:07:36] <Colourless> though i doubt it'll do much to fix any problems. pointer sized integer types are only used in a couple of places
[08:12:39] <Colourless> i can't think of much else what the issues could be.
[08:16:27] <-- Kirben has left IRC (Quit: brb)
[08:17:40] <eviltar> could be file issues on my end if it isnt reading soemthing in right
[08:18:17] <eviltar> i might jsut convert the wav's to big endian and repack them, or can i use them loose
[08:18:19] --> Kirben has joined #exult
[08:18:19] --- ChanServ gives channel operator status to Kirben
[08:21:15] --> Dominus has joined #exult
[08:21:16] --- ChanServ gives channel operator status to Dominus
[08:25:06] <Malignant_Manor> Dominus, reverb and chorus are completely disabled.
[08:25:34] <Malignant_Manor> It's commented out of XMidiFile::ExtractTracks.
[08:36:06] <Dominus> thanks
[08:37:04] <Dominus> Malignant_Manor: feel free to edit the first post in the new android thread whenever you think it needs some more information. I'm not territorial :)
[08:44:35] <Malignant_Manor> Percussion Data is in XmidiFile.cpp. The info wasn't in the flx. (from the notes)
[08:45:10] <Malignant_Manor> Colourless, do you remember why chorus and reverb are commented out?
[09:01:39] <Colourless> i'm pretty sure because that code is exult specific so it would have been commented out for pentagram
[09:02:15] <Malignant_Manor> So it should be safe to add with testing?
[09:02:59] <Colourless> yes. should probably surround it with #ifdef PENTAGRAM_IN_EXULT .... #endif
[09:03:34] <Colourless> and add #include "Configuration.h" to PENTAGRAM_IN_EXULT section at the top
[09:05:11] <Colourless> hmm... there bunch of other things that got commented out that probably shouldn't be
[09:10:54] <Malignant_Manor> Like this? http://pastebin.com/CTgtsJEi
[09:14:51] --> SiENcE has joined #exult
[09:26:53] <-- exultbot has left IRC (shutting down)
[09:27:28] --> exultbot has joined #exult
[09:27:28] --- Topic for #exult is: Exult: http://exult.sourceforge.net/ - The open source engine for Ultima 7
[09:27:28] --- Topic for #exult set by Colourless at Fri Sep 12 00:40:42 2008
[09:32:38] <Malignant_Manor> VolumeCurve is undeclared.
[09:32:47] <Malignant_Manor> I uncommented
[09:32:50] <Malignant_Manor> static GammaTable<unsigned char> VolumeCurve;
[09:33:13] <Malignant_Manor> and it says error: 'GamaTable' does not name a type
[09:33:50] <Malignant_Manor> XMidiFile.*
[09:39:47] --- Dominus is now known as Dominus|away
[09:53:11] <Malignant_Manor> Had to #include "gamma.h"
[09:57:47] <-- ParuCodex has left IRC (Ping timeout: 265 seconds)
[09:58:01] --> ParuNexus has joined #exult
[10:37:41] --> shazza has joined #exult
[11:35:47] <-- Colourless has left IRC (Ping timeout: 255 seconds)
[13:18:04] <-- Kirben has left IRC ()
[13:36:50] <-- Malignant_Manor has left IRC (Read error: Connection timed out)
[14:07:10] <-- SiENcE has left IRC (Quit: @all: cya)
[14:24:07] --> SiENcE has joined #exult
[14:32:57] <-- shazza has left IRC ()
[15:13:44] --> Marzo has joined #exult
[16:03:02] --> Malignant_Manor has joined #exult
[16:06:48] <Malignant_Manor> I can't hear any changes when I set reverb and/or chorus. http://pastebin.com/pZf6Z3CS
[16:08:06] <Malignant_Manor> It seems to work on non-MT-32 drivers but I don't hear the difference.
[16:08:42] <Malignant_Manor> Does someone have a good soundcard that can tell me that it works?
[16:09:32] <Malignant_Manor> I've set them at 0, 127, and a few numbers in between.
[16:18:35] <Malignant_Manor> I'll check the logs.
[16:18:38] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014])
[16:23:54] <-- eviltar has left IRC (Ping timeout: 265 seconds)
[16:40:47] --> eviltar has joined #exult
[16:42:00] <-- eviltar has left IRC (Client Quit)
[16:42:44] --> eviltar has joined #exult
[17:51:31] <-- SiENcE has left IRC (Quit: @all: cya)
[19:05:28] <-- Marzo has left IRC (Read error: Operation timed out)
[21:57:04] --> Kirben has joined #exult
[21:57:04] --- ChanServ gives channel operator status to Kirben
[22:01:40] --> Colourless has joined #exult
[22:01:40] --- ChanServ gives channel operator status to Colourless
[22:57:30] --- Dominus|away is now known as Dominus
[23:44:38] <-- eviltar has left IRC (Ping timeout: 240 seconds)
[23:44:53] --> eviltar has joined #exult
[23:45:49] <eviltar> hello again
[23:46:51] <eviltar> i converted the wav's for exult to s16 Big Endian, and i'm trying to re-pack them without luck
[23:46:53] <Dominus> hi
[23:47:31] <eviltar> a quick search on the exult forums lead to some scripts on dead links
[23:47:44] <Dominus> you need to use expack
[23:47:51] <eviltar> right
[23:47:56] <eviltar> thats how i unpacked them
[23:48:52] <eviltar> but expack -c sqfxbg.flx is making a 1k file
[23:49:35] <Dominus> of course, you don't tell it what to pack into the flx
[23:50:10] <eviltar> would you be so kind as to link me to the instructions? I did try to search for it
[23:50:56] <Dominus> http://exult.sourceforge.net/expack.txt
[23:51:01] <eviltar> tyvm
[23:51:37] <Dominus> though the tools snapshot comes with that file, I guess
[23:53:02] <eviltar> sorry, i appreciate the help
[23:55:03] <Dominus> no problem