#nuvie@irc.freenode.net logs for 30 Jan 2006 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[06:41:56] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[06:44:44] --> SB-X has joined #nuvie
[07:23:41] --> Yuv422 has joined #nuvie
[07:41:00] <-- Yuv422 has left IRC ()
[10:00:58] --> Yuv422 has joined #nuvie
[10:19:30] --> Galleon has joined #NUVIE
[10:19:39] <Yuv422> hey galleon
[10:19:47] <Galleon> hello
[10:20:02] <Yuv422> how's it going?
[10:20:03] <Galleon> I've been wanting to talk to you for a while
[10:20:08] <Yuv422> hehe
[10:20:17] <Galleon> I'm great
[10:20:30] <Galleon> just started work for this year though so pretty busy with that
[10:20:32] <Yuv422> :)
[10:20:54] <Yuv422> yeah I've been busy with work too
[10:21:01] <Yuv422> too busy
[10:21:04] <Galleon> I don't know if you've visited our website lately but we are trying to implement monster item drops
[10:21:29] <Yuv422> yeah I've been reading your forum
[10:21:34] <Galleon> lol
[10:21:36] <wjp> hi
[10:21:42] <Yuv422> hey wjp
[10:21:45] <Galleon> hi
[10:22:04] <Galleon> have you found out anything that could help us?
[10:22:15] * Yuv422 looks at his game.exe notes
[10:22:32] <Yuv422> do you have an unpacked game.exe handy?
[10:22:43] <Galleon> unpacked... no
[10:23:26] <Yuv422> hmm let me see
[10:24:01] * Galleon waits in anticiation :)
[10:24:37] <Galleon> I don't know how much you read of what we've found out
[10:24:55] <Galleon> but you are welcome to use any of that info in Nuvie if it helps
[10:25:23] <Galleon> I don't think my formulas are correct for generating the monster drops though
[10:25:32] <Yuv422> I'm just trying to find a dos exe unpacker for you
[10:25:45] <Galleon> maybe I can find one...
[10:26:06] <Yuv422> ftp://sac-ftp.gratex.sk/pack/unp411.zip
[10:26:15] <Yuv422> this is the one I used
[10:26:34] <Galleon> bad link?
[10:27:11] <Galleon> I can't download :(
[10:27:53] <Yuv422> yeah me too
[10:29:03] <Yuv422> ftp://ftp.simtel.net/pub/simtelnet/msdos/execomp/unp411.zip
[10:29:08] <Yuv422> this on should work
[10:29:13] <Yuv422> one
[10:29:51] <Galleon> thanks
[10:30:25] <Yuv422> the temp inventory data is around 0x30680 in the unpacked game.exe
[10:30:34] <Yuv422> well my version at least
[10:31:04] <Yuv422> it is organised by npc type
[10:31:38] <Yuv422> each entry has three sections weapons/armour /treasure
[10:31:49] <Yuv422> separated by 0x0
[10:32:03] <Yuv422> they are lists of the possible objects
[10:32:07] <Galleon> what commandline did you type for the unpacker
[10:32:18] <Yuv422> hmm
[10:33:07] <Galleon> unp c:\ultima6\game.exe game.bin
[10:33:18] <Yuv422> I can't quite remember it might be as simple as unp game.exe out.dat
[10:33:24] <Galleon> I guess I'll need another program to read it :)
[10:33:24] <Yuv422> sounds good
[10:33:35] <Yuv422> do you have a hexeditor?
[10:33:48] <Galleon> by temp inventory do you mean monsters?
[10:34:12] <Galleon> I can use VC++'s hex editor
[10:34:14] <Yuv422> temporary actor inventory
[10:34:31] <Galleon> meaning?
[10:34:32] <Yuv422> the list of possible items for each actor type
[10:35:02] <Galleon> I wonder if it has the frequencies of each of the items
[10:35:14] <Galleon> how much have you managed to decode so far?
[10:35:18] <Yuv422> weapons armour and treasure
[10:35:39] <Yuv422> that's about it so far
[10:35:53] <Yuv422> I'm focusing on getting dosbox to work with IDA Pro ATM
[10:36:08] <Yuv422> which should make my life a bit easier.
[10:36:18] <Yuv422> as debugging in dosbox is a big hassle
[10:37:17] <Galleon> what's the format of the data?
[10:37:37] <Yuv422> Galleon: what is the file size on you game.exe?
[10:37:58] <Yuv422> have a look in your irc logs
[10:38:06] <Yuv422> :)
[10:38:21] <Galleon> unpacked 212640
[10:38:25] <Galleon> k
[10:38:37] <Galleon> thanks for the help on this
[10:38:54] <Yuv422> np
[10:39:09] <Galleon> I'd like to help nuvie if there is anything you think I might be able to help with let me know
[10:39:24] <Yuv422> cool, thanks
[10:39:25] <Galleon> unfortunately I'm not much good at hacking exes
[10:39:41] <Yuv422> neither am I
[10:39:58] <Yuv422> but practise makes perfect. ;)
[10:40:14] <Galleon> I found this page interesting
[10:40:15] <Galleon> http://jfregnault.free.fr/
[10:40:25] <Galleon> don't know if you've already seen it though
[10:40:30] <Yuv422> we have the same game.exe version.
[10:40:37] <Yuv422> yeah that's a good page
[10:43:23] <Yuv422> I'll have to try u6o now that I have a winxp machine
[10:43:26] <Yuv422> :)
[11:02:12] <-- Galleon has left #NUVIE ()
[11:09:43] --> Kaldosh has joined #nuvie
[11:09:48] <Kaldosh> 02hello
[11:10:21] <wjp> hi
[11:10:46] <Yuv422> hey kaldosh
[11:10:59] <Yuv422> you just missed galleon
[11:11:03] <Kaldosh> 02yuv, i was reading the logs from what you and galleon were talking about, and you mentioned you had some notes
[11:11:20] <Kaldosh> 02i know, he said bye to me as he was signing off, and mentioned you
[11:11:43] <Yuv422> hehe have you read the #nuvie chaneel logs?
[11:11:56] <Kaldosh> 02yeah, but they dont seem to be totally updated to the second
[11:12:04] <wjp> yes they are
[11:12:07] <Kaldosh> 02but it has until galleon logs off
[11:12:49] <Yuv422> yes that's pretty much all that was said
[11:13:01] <Kaldosh> 02oh... ok then
[11:13:21] <Yuv422> do you have an unpacked game.exe and a hexeditor?
[11:13:32] <Kaldosh> 02getting that now
[11:13:53] <Yuv422> if so you to can experience the goodness that is game.exe. :)
[11:14:35] <Kaldosh> 02i have more experience at messing around with binaries than galleon
[11:14:52] <Yuv422> ah k
[11:15:50] <Kaldosh> 02did you know that u6 still works fine on windows 2k?
[11:16:04] <Kaldosh> 02as in.. its only xp that breaks it and needs dosbox
[11:17:23] <Yuv422> hmm there is curses code in the debug.cpp file
[11:17:33] <Yuv422> I thought it would all be in debug_gui.cpp
[11:17:34] <Yuv422> :(
[11:17:48] <Yuv422> ah k
[11:18:12] <Yuv422> I had someone ask me why I am bothering with nuvie on the forum the other day. :(
[11:18:24] <Yuv422> because it runs fine in dosbox
[11:19:10] <Kaldosh> 02yeah, i read that (just a fluke.. that was my 1st time i visited the nuvie forums) but im asking why you bother with dosbox
[11:20:08] <Kaldosh> 02except for microsoft programs, everything still works fine on 2k, and its more secure since all the problems have been fixed (not just waiting for someone to find the new problems they added)
[11:21:20] <Kaldosh> 02dang... my hex editor is on my other hard drive which is unplugged. :(
[11:24:41] <-- Yuv422 has left IRC (Remote closed the connection)
[11:25:17] --> Yuv422 has joined #nuvie
[11:26:39] <Yuv422> I'm sure there are loads of free hexeditors available online
[11:26:46] <Kaldosh> 02i found it
[11:27:45] <Yuv422> cool
[11:28:09] <Kaldosh> 02found the offset, just trying to figure out what im looking at here
[11:28:54] * Yuv422 loads his hexeditor
[11:29:57] <Yuv422> these are the object numbers
[11:30:07] <Yuv422> for the guard temp inventory items
[11:30:17] <Kaldosh> 02ah.. guard being 1st monster type
[11:30:39] <Kaldosh> 02dropping a 42 or a 47 (crossbow or halberd)
[11:31:01] <Yuv422> the guard was just the monster type that I went looking for
[11:31:11] <Yuv422> it isn't the start of this data
[11:31:19] <Kaldosh> 02ah.. ok
[11:31:38] <Yuv422> and the objects are added to the actor when it is spawned
[11:31:42] <Yuv422> not when it dies
[11:31:43] <Kaldosh> 02yep, that looks nice... 2 weapons, 3 armours and gold, then 2 0x0's
[11:31:53] <Yuv422> yup
[11:32:07] <Kaldosh> 02i figured that, but that seems to be quite hard to explain to people that dont get it.
[11:32:24] <Kaldosh> 02any idea about the probabilities?
[11:33:00] <Yuv422> I haven't looked for the actual code that uses this data yet
[11:33:24] <Yuv422> so I don't have any details on the possibilities yet.
[11:33:26] <Yuv422> sorry
[11:34:42] <Kaldosh> 02does the double 0 indicate no chest, and a single 0 (with a 4th group) indicate the possible contents of the cheat they drop? or am i just ugessing badly?
[11:34:59] <Kaldosh> 02cheat=chest
[11:35:26] <Yuv422> To be honest I haven't done to much research in this area yet
[11:35:45] <Yuv422> I'm going to find the code and derive the logic from there
[11:36:05] <Kaldosh> 02you refered to some notes you had, or did you paste it all into irc with galleon?
[11:37:03] <Yuv422> it is fun to overwrite these values with other object numbers though
[11:37:31] <Yuv422> that was just my explanation earlier in the chat logs.
[11:38:10] <SB-X> yo
[11:38:23] <Kaldosh> 02oh. so you can make a guard always drop glass swords? excelent
[11:38:27] <Kaldosh> 02hey sbx sup.
[11:38:36] <SB-X> eh hi, what are you doing here?
[11:39:14] <Yuv422> hey SB-X
[11:39:17] <SB-X> hi
[11:39:27] <SB-X> u6 runs too fast in windows
[11:39:28] <Yuv422> hows things?
[11:39:50] <Yuv422> that's a project for a rainy day
[11:39:56] <Yuv422> hack game.exe to rate limit
[11:40:02] <SB-X> fine, trying to make a dualshock2 to parallel port adapter
[11:40:05] <SB-X> oh
[11:40:09] <SB-X> is that possible?
[11:40:11] <Kaldosh> 02im just here to interrogate yuv on what monsters drop :)
[11:40:18] <SB-X> oh heh
[11:40:37] <Yuv422> hehe everyone wants to know what monsters drop. :)
[11:40:57] <Yuv422> SB-X: I don't see why not
[11:41:44] <SB-X> i suppose if you could insert a delay procedure somewhere
[11:42:12] <Yuv422> in the main game loop
[11:42:17] <Yuv422> if we can find it
[11:42:34] <Yuv422> It's not really a high priority right now
[11:42:42] <Yuv422> as you can imagine
[11:42:45] <SB-X> of course not, that's what nuvie is for
[11:43:16] <Yuv422> I'm stripping the curses interface out of the dosbox debugger ATM
[11:43:29] <-- servus has left IRC (Read error: 110 (Connection timed out))
[11:43:39] <Yuv422> ready to ram a remote debugger in
[11:43:59] <SB-X> hmm that's interesting
[11:44:04] --> servus has joined #nuvie
[11:44:08] <SB-X> having problems with dosbox debugger?
[11:44:13] <Yuv422> nah
[11:44:21] <Yuv422> I just want to debug from IDA Pro
[11:44:33] <Yuv422> it would be so much cooler
[11:44:45] <SB-X> yeah it would
[11:44:58] <Yuv422> I'm pretty sure it is doable
[11:45:28] <Yuv422> Ouch, compiling over smb shares is slow. :(
[11:45:41] <Yuv422> when wireless is involved
[11:45:49] <SB-X> what are you using the PC or OSX>
[11:45:53] <SB-X> ?
[11:46:17] <Yuv422> compiling on PC via smb share source files hosted on my mac
[11:46:26] <Yuv422> so I can use XCode
[11:46:32] <Yuv422> to edit
[11:47:21] <Yuv422> I should install a win32 cross compiler on the mac
[11:47:39] <Yuv422> then I'll only need my xp machine to run the exe
[11:50:00] <SB-X> maybe you should just copy all the files over to the PC
[11:50:21] <Yuv422> yeah it might be faster
[11:51:09] <Yuv422> running full screen remote desktop does help either
[11:51:15] <Yuv422> doesn't
[11:51:20] <Yuv422> ;)
[11:54:58] <SB-X> i've only shared files between my computers
[12:02:05] <Yuv422> It's still compiling
[12:02:07] <Yuv422> :(
[12:02:19] <Yuv422> I think I'm going to have to move the files back.
[12:05:52] <Yuv422> SB-X: Is the dualshock ps2?
[12:05:56] <Kaldosh> 02well, im gunna go to bed, night all. thanks for your help yuv, good work finding that
[12:06:03] <Yuv422> np
[12:06:08] <-- Kaldosh has left #nuvie ()
[12:06:10] <Yuv422> cya kaldosh
[12:06:58] <SB-X> cya kaldosh
[12:07:05] <SB-X> Yuv422: yup
[12:07:10] <SB-X> no its psone
[12:07:13] <SB-X> dualshock2 is ps2
[12:07:20] <SB-X> and that's what I'm using
[12:07:33] <SB-X> it adds analog buttonsw
[12:07:35] <SB-X> buttons*
[12:07:51] <SB-X> this isnt working though :\
[12:11:24] <Yuv422> how are you soldering skills?
[12:11:35] <SB-X> zero
[12:11:49] <Yuv422> :(
[12:12:01] <SB-X> that's why i just twist the wires
[12:12:06] <SB-X> it worked fine when i built an snes adapter
[12:12:36] <SB-X> I think it's just not getting enough power.
[12:13:11] <SB-X> since nothing happens at all with the controller, the light doesnt even come on
[12:14:33] <Yuv422> be careful not to blow your parallel port
[12:15:00] <SB-X> i have no control over that, i'm just following instructions :)
[12:15:11] <SB-X> http://arcadecontrols.com/Mirrors/www.ziplabel.com/dpadpro/psx.html
[12:15:38] <SB-X> but hopefully that wont happen
[12:15:46] <SB-X> i should probably test the port to see if it's even still working
[12:18:16] <SB-X> I'm using PSXPad instead of DirectPad Pro.
[12:18:51] <Yuv422> as long as you don't get +5v onto the data lines
[12:18:59] <Yuv422> you'll probably be alright
[12:19:06] <SB-X> HMm
[12:19:07] <Yuv422> but I know nothing about electronics
[12:19:12] <SB-X> i'll keep that in mind :)
[12:19:15] <Yuv422> +9
[12:19:21] <SB-X> oh
[12:19:39] <SB-X> well i'm going to try using the PC's 5v power
[12:20:24] <Yuv422> ok I've stripped the curses interface out
[12:20:30] <SB-X> that was fast
[12:20:32] <SB-X> oh when did you start?
[12:21:06] <Yuv422> about when you first say hi
[12:21:13] <Yuv422> it's not a hard task
[12:21:18] <Yuv422> lots of /**/
[12:21:29] <Yuv422> :)
[12:21:40] <SB-X> ok
[12:41:07] <-- SB-X has left IRC ()
[12:55:33] --> SB-X has joined #nuvie
[13:18:43] <Yuv422> time for bed
[13:18:44] <Yuv422> cya
[13:19:36] <-- Yuv422 has left IRC ()
[13:37:32] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[13:39:50] <SB-X> cya
[17:24:50] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[21:01:10] --> Yuv422 has joined #nuvie
[21:19:56] <-- Yuv422 has left IRC ()
[21:32:57] --> Kirben has joined #nuvie