PDA

View Full Version : 2DA DeCompiler Download!


HazardX
01-04-2004, 10:35 PM
Ok, here it is! The 2DA DeCompiler!

I'ts only able to decompile yet. But i'll make the compiling routines very soon.

You can download it HERE (http://www.hazardx.com/details.php?file=38)!

But you'll have to install the Microsoft .Net Framework (http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en) to run it. As i've said in another thread my C++ isn't the best, but if i can find some time i'll work on a commandline-only version made in C++.

Please post all Bug-Reports in this Thread.

Hazard

[KNOWN PROBLEMS]
- appearance.2da - decompiles VERY slow
- soundprovider.2da - bug with spaces which disables all sounds when used in override folder (bug found & fixed, will be in next version)
- keymap.2da - index length bug (found & fixed, will be in next version)

[INTERESTING FILES]
- It might be possible to remove the Level20 Cap by altering the exptable.2da and xptable.2da files!

andargor
01-05-2004, 12:17 AM
Originally posted by HazardX
Ok, here it is! The 2DA DeCompiler!

I'ts only able to decompile yet. But i'll make the compiling routines very soon.

You can download it HERE (http://www.megamods.de/_data/parts/dl.php?file=38)!

But you'll have to install the Microsoft .Net Framework (http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en) to run it. As i've said in another thread my C++ isn't the best, but if i can find some time i'll work on a commandline-only version made in C++.

Please post all Bug-Reports in this Thread.

Hazard

[KNOWN PROBLEMS]
- appearance.2da - decompiles VERY slow
- soundprovider.2da - bug with spaces which disables all sounds when used in override folder (bug found & fixed, will be in next version)
- keymap.2da - index length bug (found & fixed, will be in next version)

[INTERESTING FILES]
- It might be possible to remove the Level20 Cap by altering the exptable.2da file!

Would it compile on plain VC++? I loathe .NET with a passion :)

If you want, send me the sources at andargor@yahoo.com and I'll see what I can do.

Andargor

eiz
01-05-2004, 01:38 AM
If you want a C++ version, I wrote one this afternoon. It's available here (http://blitz.phpwebhosting.com/eiz/2da2b.exe). Please note though, I haven't tested it much at all, there will be bugs, and if you give it something other than a 2DA V2.b file, it will crash. It will print the standard 2DA version on standard output.

As for altering the level cap: If you just add rows to exptable.2da you can _try_ to level up past 20, but you'll need to add some entries in other tables to make it not die horribly =)

HazardX
01-05-2004, 02:11 AM
Version 1.1 is now available.
All bugs should be fixed now. The game runs even with all 2DAs decompiled.
Download it HERE (http://www.megamods.de/_data/parts/dl.php?file=38).

@eiz: Great, another piece of work i don't have to do anymore. ;)

tk102
01-20-2004, 04:19 PM
Ah, what the heck.

Even though the game works with decompiled 2DA files, let's write a 2DA re-compiler anyway.

Here you go.
2DA -> V2b recompiler (http://webpages.charter.net/krumsick/kotor/v2bMaker.zip)

darthface
01-20-2004, 05:52 PM
breaking the level cap would be possible if anyone makes a utility to expand the 2DA tables, I'm counting at least 20 2DAs that would have to be reworked if you want to do it right, a lot of effort. There's also a ton of clutter in here from NWN ;)

If anyones interested these are some things that didn't make it into the game

PERCEPTIVE feat
WEAPON_PROF_GRENADE line of feats
WEAPON_PROF_SIMPLE_WEAPONS line of feats
SKILL_FOCUS feats for all the skills
SPECIAL_ABILITY_TAUNT
SPECIAL_ABILITY_WHIRLING_DERVISH
SPECIAL_ABILITY_RAGE
FORCE_POWER_SENSE line of powers

It seems the 3 jedi classes were going to have different stances, and the guardian's stance leveled with a line of feats.

CDRSeadog
01-20-2004, 07:21 PM
Ahhh - two more programs to allow me to get into the "brain" of KoTOR and see what mischief I can cause...muhahahahaha!!

BTW - thanks for the newest in a line of promising programs! :-)