Search found 89 matches

by Caracas
Tue Oct 25, 2011 4:24 pm
Forum: Developer's Heaven
Topic: msdos dissasembly
Replies: 101
Views: 83603

Does anyone know of a way to reconstruct the images into .bmp or .jpg once you decoded them?
Would be nice to recreate the B0, B1, B2 and B3 pictures and the dungeon pics.
by Caracas
Tue Oct 25, 2011 11:28 am
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

Just tried my scripts on the CITY.PAT file and created following little script (specificaly for CITY.PAT file) Dim objFSO, objTextFile, objHexFile Dim strCharacter Set objFSO = CreateObject("Scripting.FileSystemObject") Set objHexFile = objFSO.OpenTextFile ("C:\Huffman\code.txt",...
by Caracas
Tue Oct 25, 2011 9:30 am
Forum: Developer's Heaven
Topic: Item & Monster Specs
Replies: 95
Views: 77117

Doesn't it say somewhere in the manual that when creating chars, you have to pay close attention to the stats because: - str lets you hit harder - con gives you more hit points - dex lets you attack faster - int gives you more spell points - luck lets you escape combat more easily I used to reroll l...
by Caracas
Tue Oct 25, 2011 9:10 am
Forum: Tales of the Unknown
Topic: long winded explanation of a very weird spell point increase
Replies: 20
Views: 15914

That's interesting. I wonder if the effect of the unequipped staff is a bug or actualy intended.

According to Maven, The Sorcerer staff does the Disrupt Illusion spell. I haven't verified it yet, but shouldn't be hard to check.
by Caracas
Mon Oct 24, 2011 4:12 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

I updated the first 2 posts, since I think I completed my scripts.
Not going to spam these forums with more code then necessary :D

Thanks Maven for the suggestions, they were realy helpful :!:
by Caracas
Mon Oct 24, 2011 10:04 am
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

script version 564327.54 v456 build 236: Dim objFSO, objCodeFile Dim strCharacters, code, hexvalue Dim nrArray, nrHuffman, nrCode Dim HuffmanCode, Huffmanhex dim lngResult dim intIndex code = "" hexvalue = "" nrArray = 0 HuffmanCode = "" nrCode = 0 Huffmanhex = "&q...
by Caracas
Mon Oct 24, 2011 8:53 am
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

Well, in my younger days (loooong ago :( ) I used to program in Basic. A lot of those commands and logics are in scripting as well. But for exact commands and formatting, I need the internet. I'm finding www.w3schools.com a very useful site. 2 more things I need to do in my script: I need to convert...
by Caracas
Sat Oct 22, 2011 10:22 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

http://en.wikipedia.org/wiki/Huffman_coding Quite a few files seem to be encoded with a Huffman table: - B0.HUF, B1.HUF, B2.HUF and B3.HUF: these are the pictures of the different houses ingame. - the 47 file. Not sure what that file holds. It only gets loaded once, when the game begins. - BARDSCR a...
by Caracas
Fri Oct 21, 2011 10:56 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

Wooot, went easier then expected :D Modified my 2nd script from my first post a bit Dim objFSO, objCodeFile Dim strCharacters, code, hexvalue Dim nrArray, nrHuffman, nrCode Dim HuffmanCode code = "" hexvalue = "" nrArray = 0 HuffmanCode = "" nrCode = 0 Set objFSO = Crea...
by Caracas
Fri Oct 21, 2011 9:20 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

Thanks, Maven. I think I first need to try and complete my script to decode the binary of the Huffman files. I still need to build the actual Huffman codes. I guess I need to get them into an array so I can use them to decode the remaining of the file. Another array to store the corresponding hexval...
by Caracas
Fri Oct 21, 2011 4:31 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

** THIS POST HAS BEEN UPDATED ** All you need to do to get this to work is to copy the hexadecimal values from a Bard's Tale Huffman file to a text file, except the first 8 bytes. So for the CITY.PAT file, that would be: 10 34 08 80 82 D0 35 0D 08 C4 B0 26 6D 91 58 04 48 23 88 59 78 4A D7 14 85 04 ...
by Caracas
Fri Oct 21, 2011 4:18 pm
Forum: Developer's Heaven
Topic: Decode Bard's Tale Huffman files
Replies: 31
Views: 26961

Decode Bard's Tale Huffman files

** THIS POST HAS BEEN UPDATED AFTER I FINISHED MY SCRIPT ** Why use pen and paper when you have vbscript? :D First, I use this script: Dim objFSO, objTextFile, objHexFile Dim strCharacter Set objFSO = CreateObject("Scripting.FileSystemObject") Set objHexFile = objFSO.OpenTextFile ("C...
by Caracas
Mon Oct 17, 2011 3:59 pm
Forum: Developer's Heaven
Topic: Item & Monster Specs
Replies: 95
Views: 77117

Strange thing i found at $152E: B8 02 00 50 8B 5E FA 8A 47 41 2A E4 50 B8 D4 00 50 9A ED 1E 00 00 83 C4 06 B8 02 00 50 8B 5E FA 8A 47 40 2A E4 50 B8 DB 00 50 9A ED 1E 00 00 83 C4 06 B8 02 00 50 8B 5E FA 8A 47 42 2A E4 50 B8 E2 00 50 9A ED 1E 00 00 83 C4 06 B8 02 00 50 8B 5E FA 8A 47 43 2A E4 50 B8 E...
by Caracas
Mon Oct 17, 2011 12:30 pm
Forum: Developer's Heaven
Topic: Item & Monster Specs
Replies: 95
Views: 77117

Does anyone know what happens in the 47 file?
It seems to get loaded once when launching the game.

EDIT: hmm, might just be the intro picture
by Caracas
Thu Oct 13, 2011 9:17 pm
Forum: Developer's Heaven
Topic: Item & Monster Specs
Replies: 95
Views: 77117

ok, some stuff about spells: in the extracted bard.exe, the full spell names are easily found at $25C72 - $26041, 79 spells in total... not going to copy all the names here :shock: Equaly easy to find are the short names of the spells, the ones you need to type ingame if you're a keybiatch (like me)...