Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
File download mod is temporarily out of order. Please post your needs in the forum and someone will help.
Home
Forum
Articles
General Articles
Descent 3 Articles...
Descent 3 Mission Reviews
Descent 3 Level Editing
Descent 1 & 2 Articles...
Descent 1 & 2 Mission Reviews
Descent 1 & 2 Level Editing
Media
Files
General
Descent 3...
Descent 3 Missions
Descent 3 Music
Descent 1 & 2...
Descent 1 Missions
Descent 1 Music
Descent 2 Missions
Descent 2 Music
Search
Login
Register
Help
Planet Descent
»
Forum
»
Development
»
Descent Development
»
Topic:
new descent 2 data compiler/blender exporter (beta release!)
« previous
next »
Print
Pages: [
1
]
Author
Topic: new descent 2 data compiler/blender exporter (beta release!) (Read 3540 times)
SaladBadger
Gold
Posts: 602
new descent 2 data compiler/blender exporter (beta release!)
«
on:
June 12, 2017, 05:21:51 PM »
Info:
I wrote a new Descent II data file compiler and model exporter for blender. Its a simple command line application, which can "decompile" a descent2.ham file into json scripts describing the data and .POF models, and it can then compile these scripts into a new descent2.ham file (you can also compile robots and models into HXM files, but this is more limited), which can be included in your .HOG file for D2X-Rebirth. This lets you modify all the robots and weapons to some degree, and it even lets you poke at certain other internal bits, though this is of much less interest to pretty much anyone...
It's written in c# and requires .net framework 4.5 or above. It is also tested to work fine with the Mono runtime, meaning that it will work perfectly fine on a linux machine (tested on an arch box) or a mac.
Basic usage:
In the simplest usage, extract the tool to a new directory, copy in a DESCENT2.HAM, DESCENT2.S22, and GROUPA.PIG into that directory (do not put it into your main Descent 2 directory). Then, from a command prompt, navigate to that directory and invoke the tool with
Code:
[Select]
Descent2Tool -d DESCENT2.HAM
This will decompile the HAM file and export a number of .json files, and a number of .pof files. From here, you can alter the json scripts to adjust things to be how you want, and then you can recompile with
Code:
[Select]
Descent2Tool -c DESCENT2.HAM
Which will compile all the json scripts in the working directory.
Further documentation is included in the archive, though its incomplete at the moment. Run Descent2Tool without any commands for command line help.
Downloads:
Note: this is a beta release. Error messages are a bit vague and useless at the moment, and there's probably some bugs here and there. As always be sure to keep backups of your work and do not run this in your main descent 2 directory! Use copies of your ham, sound, and pig files!
main archive
source
Logged
D2Disciple
Major
Gold
Posts: 524
Deal with it.
Re: new descent 2 data compiler/blender exporter (beta release!)
«
Reply #1 on:
June 24, 2017, 02:15:31 AM »
Cool!
Can't say I'm savvy enough to know what I would use this for,
but this seems like a good tool for modders. Thanks for this.
Logged
I, for one, hope this is
much, much
more than a reconnaissance mission.
Print
Pages: [
1
]
« previous
next »
Planet Descent
»
Forum
»
Development
»
Descent Development
»
Topic:
new descent 2 data compiler/blender exporter (beta release!)
An Error Has Occurred!
Cannot create references to/from string offsets
Back