FableX Model Preparer [message #67936] |
Wed, 20 March 2013 20:44 |
|
Hey everybody. I wrote a little tool to take directX mesh files exported from Blender and prepare them for importing into FableExplorer or ChocolateBox and avoid all this mess.
To use it, follow this tutorial. Once you get to the part where you open the file in notepad, skip all that and instead run it through this program.
You'll need to use the command line, but if that makes you squeamish then I've given you a .bat file that will do it for you. If you use the .bat file, just name your .x file "input.x" and put it in the folder with that stuff.
It'll tell you how to use it once you run it, but the gist is just open a command prompt, navigate to where FableX.jar is, then type "java -jar FableX.jar <input file> <output file>", replacing "<input file>" with your file name, and "<output file>" with the name of a file that doesn't exist yet. If you don't have java installed properly it probably won't work.
This comes packaged with an updated version of SwordTemplate.blend
TL/DR - Download the zip, extract it. Use template.blend to match up your model and export as directX, then use that as the input file for FableX.
Consider this a release candidate, but watch your new lines. I didn't write a full .x file parser, and I'm not using a library. So as long as you don't screw with the input file it should work just fine, but let me know if you get weird results. The output is not pretty, but it gets the job done. I may still update it.
-
Attachment: FableX.zip
(Size: 229.25KB, Downloaded 955 times)
"All of the work, and none of the play, will surely provide for a speedy decay"
[Updated on: Wed, 20 March 2013 20:57] Report message to a moderator
|
|
|
|
Re: FableX Model Preparer [message #67952 is a reply to message #67942] |
Fri, 22 March 2013 11:35 |
|
Yeah, no problem. I'll probably add on to it some more, do some more bug checking and whatnot, but I think this will prevent a few headaches. Also, if anybody is interested in the source, let me know.
"All of the work, and none of the play, will surely provide for a speedy decay"
|
|
|
|
|
|
Re: FableX Model Preparer [message #68092 is a reply to message #68088] |
Sun, 21 April 2013 15:17 |
|
It should just take away the need to manually move chunks of text between files to get it to work in fable, so yes, it prepares .x files from blender for Fable.
"All of the work, and none of the play, will surely provide for a speedy decay"
|
|
|
Re: FableX Model Preparer [message #68150 is a reply to message #68092] |
Sun, 05 May 2013 12:15 |
|
Sparrow
Messages: 562 Registered: March 2011
|
|
|
|
When I export weapons from blender they work fine. But when I put them through fablex, they don't work anymore. By saying "they work" I mean that I can import it into fable explorer and equip the weapon in-game, no problem. Unless I have 2 different pieces/2 different meshes. Then it doesn't work.
-
Attachment: screen.jpg
(Size: 1.16MB, Downloaded 1791 times)
Are you shpongled?
[Updated on: Sun, 05 May 2013 12:43] Report message to a moderator
|
|
|
Re: FableX Model Preparer [message #68153 is a reply to message #68150] |
Sun, 05 May 2013 17:22 |
|
The output gets rid of all the new-lines and stuff, so it will tend to look like that. Can you post the original .x file that you converted? I would be interested in seeing the structure of it.
"All of the work, and none of the play, will surely provide for a speedy decay"
|
|
|
|
Re: FableX Model Preparer [message #68160 is a reply to message #68158] |
Mon, 06 May 2013 11:19 |
|
I'll assume it was the daedric sword, as the dwarven sword was already prepared for fable. Thanks for posting it, I'll try to make some changes to the program and let you know if I fix the bug.
"All of the work, and none of the play, will surely provide for a speedy decay"
|
|
|