Search found 35 matches

by Desmet Irkm
Mon Dec 19, 2011 2:07 pm
Forum: Developer's Heaven
Topic: msdos dissasembly
Replies: 101
Views: 83715

Lol I don't think the MT is overkill for todays computers, not for any game. On my machine I create more than a million MT rnds per second (for 32-bit MT), and the memory used is only a few kB. Sure, you can do that on modern hardware. What I mean with overkill: you don't really need the stochastic...
by Desmet Irkm
Sun Dec 18, 2011 11:18 pm
Forum: Developer's Heaven
Topic: msdos dissasembly
Replies: 101
Views: 83715

I think the Mersenne Twister would be overkill for any game... for Monte Carlo simulations however it's worth the effort... For simple applications like games I think LCGs are still a good choice, as long the parameters aren't chosen too bad (see e.g. TAoCP) Here's some interesting stuff I just foun...
by Desmet Irkm
Sun Dec 18, 2011 10:48 pm
Forum: Developer's Heaven
Topic: msdos dissasembly
Replies: 101
Views: 83715

Do you have this routine disassembled? I think it's not in stuff I got from you...
by Desmet Irkm
Sun Dec 18, 2011 10:39 pm
Forum: Developer's Heaven
Topic: msdos dissasembly
Replies: 101
Views: 83715

Maven, I guess with 15-sided die you mean random variable which goes from 0 to 15 with equal probabilities. So, rather a 16-sided die with numbering starting from 0. If you have two random variables X, Y with p(X=i)=p(Y=i)=1/n (n=16 in this case, 0<=i<n), then you get p(max(X,Y)=i)=(2*i+1)/n^2 for t...
by Desmet Irkm
Wed Dec 14, 2011 11:13 pm
Forum: Tales of the Unknown
Topic: Warrior vs Bard
Replies: 14
Views: 15140

Just curious: How do you verify that? Tested it? Disassembled the code? Divine inspiration? ;-)
by Desmet Irkm
Sat Dec 10, 2011 12:33 pm
Forum: Developer's Heaven
Topic: C64 Dungeon Layout Exposed
Replies: 12
Views: 15403

@drifting I can't believe that 414 is the direction the party is facing when they exit the dungeon. In the msdos version they exit exactly where they entered the dungeon, facing the same dircetion they had entered. Bytes 415 and 416 are also ignored. This is the same for the Amiga version. In the Ap...
by Desmet Irkm
Wed Dec 07, 2011 2:28 pm
Forum: Developer's Heaven
Topic: Tool for expansion and compression of the Huffman files
Replies: 15
Views: 14942

Good. I uploaded the new version too, and changed the download link in my first post.
by Desmet Irkm
Wed Dec 07, 2011 2:04 pm
Forum: Developer's Heaven
Topic: Tool for expansion and compression of the Huffman files
Replies: 15
Views: 14942

I was able to expand the citymap file and modify it, but was unable to compress it again. I'm getting: ValueError: non-hexadecimal number found in fromhex() arg at position 60 You probably use a dos/windows editor, which uses different line feed characters than unix systems. Unix uses only '0x0A' w...
by Desmet Irkm
Wed Dec 07, 2011 12:23 pm
Forum: Developer's Heaven
Topic: Tool for expansion and compression of the Huffman files
Replies: 15
Views: 14942

Here's some fun I had with the tool. I decoded the city map with ./bttool.py expand fileid=citymap hex and reformatted a bit so that it was 30x30. Then messed around a bit, like make a direct passage to the Grand Plaza, put the two Towers directly in front of the Guild (beside the Credits), and some...
by Desmet Irkm
Wed Dec 07, 2011 11:28 am
Forum: Developer's Heaven
Topic: Tool for expansion and compression of the Huffman files
Replies: 15
Views: 14942

Tool for expansion and compression of the Huffman files

I've written a tool in Python now that can expand and compress the Huffman files. If you're interested you can download it from: http://www.file-upload.net/download-3935803/tool.zip.html You should put the files bttool.py and btfile.py into your msdos bt1 directory, then make a backup copy of your f...
by Desmet Irkm
Tue Dec 06, 2011 4:48 pm
Forum: Developer's Heaven
Topic: BT1 clone in Python
Replies: 21
Views: 18783

@dulsi I've seen your project. Very, very nice. You got much more going than I have. I would have considered joining your project too, however I'm not so fond of C++ anymore. Currently, I use Python and I'm very enthusiastic about it, because I'm as productive in that language as I've never been bef...
by Desmet Irkm
Tue Dec 06, 2011 4:39 pm
Forum: Developer's Heaven
Topic: BT1 clone in Python
Replies: 21
Views: 18783

Should have been Desmet D. Irkm, but I somehow forgot my middle initial when registering and couldn't change that afterwards ;-)

Yes, that's what I was looking for. However, I can't find a tool to decompress bard.exe that works under Linux. Maybe, you can send me the decompressed exe by pm?
by Desmet Irkm
Thu Dec 01, 2011 11:14 pm
Forum: Developer's Heaven
Topic: Item & Monster Specs
Replies: 95
Views: 77366

Great info, thanks. Maybe you can figure out one more thing also: in the MSDOS version the health status seems to be a bitfield, while in the C64 version it is an enum. So, what happens e.g. if a character gets withered, then dies and is healed in a temple or with BEDE. In the C64 version he must be...
by Desmet Irkm
Thu Dec 01, 2011 10:11 pm
Forum: Developer's Heaven
Topic: BT1 clone in Python
Replies: 21
Views: 18783

@Maven Hmm, and by the way: have you looked at my Huffman decoder in Python (src/bt/extract/btfile.py). It's just so cool, I had to leave it in ;-) And without Huffman files there would be no need for that right? :(
by Desmet Irkm
Thu Dec 01, 2011 10:00 pm
Forum: Developer's Heaven
Topic: BT1 clone in Python
Replies: 21
Views: 18783

No, not at all. I don't want to keep anybody from editing anything. I mean, the code is in Python, you can plug in any map you want - e.g. you can see my first try still in src/bt/old/city_map.py (defunct now). However, then I found this site and all the information on how to decode the files and us...