doubleshadow's X2BC (1.0.11)

The place to discuss scripting and game modifications for X³: Reunion.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 09:14
x3

doubleshadow's X2BC (1.0.11)

Post by doubleshadow » Tue, 20. Dec 05, 19:31

X2BC latest version 1.0.11 - released 15.1.2007

X2BC page on X-Wiki

Download from www.doubleshadow.wz.cz

Changes:
+ support for normals maps (bump maps) - you must have DBOX 1.8 (or higher)

Description
Program for decompilation of BOB files and compilation of BOD files.

Compatible with X2 The Threat and X3 Reunion files.
Last edited by doubleshadow on Mon, 15. Jan 07, 13:57, edited 3 times in total.

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 09:14
x3

Post by doubleshadow » Tue, 20. Dec 05, 19:33

The version 0.0.8 can decompile X3 BOBs but the price is that you cannot no longer compile bod files into bobs.

This is just a temporary sollution until I will have time to fix it.

There are bout 4 files which will not decompile - you will receive error.

To decompile them, you must use the option

Code: Select all

--x3bob-
The objects\ships\bodies\Raceship1.bob is one of them.

Example:

Code: Select all

x2bc -d --x3bob- Raceship1.bob
Last edited by doubleshadow on Fri, 20. Jan 06, 18:08, edited 1 time in total.

Galaxy613
Posts: 2518
Joined: Tue, 28. Dec 04, 03:19
x4

Post by Galaxy613 » Wed, 21. Dec 05, 00:24

Great job as always! :D
10,000 Lightyears of awesomeness

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 09:14
x3

Post by doubleshadow » Fri, 20. Jan 06, 18:11

Version 0.0.9 is out.

Can decompile all files without need for the x3bob flag.
Can compile all files.

Please re-read the readme and the extra_bob_data.txt. the second will tell you about data which are stored in BOB format but which are not supported by BOD format and how this can be overcomed.

User avatar
-XTM-
Posts: 1277
Joined: Sat, 12. Nov 05, 20:46
x3

Post by -XTM- » Sat, 21. Jan 06, 05:49

You are the man DS..

The new version has reduced loadtime of new models to almost the same
as the original ES ones.
Great, great work!!


Note to endusers;
This version comes as a 7z file, you can get the decompressor here:

http://www.7-zip.org/
The Xtended Mod

Need Help?

Ask Questions / View the FAQ's at TheXUniverse Forums
Read the News on Mod Developments at our Website

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse » Sat, 21. Jan 06, 17:35

Moxy wrote:Note to endusers;
This version comes as a 7z file, you can get the decompressor here:

http://www.7-zip.org/
Also of note is that WinRAR will also extract from 7z format, so no need toget 7zip if you already have WinRAR.

User avatar
-XTM-
Posts: 1277
Joined: Sat, 12. Nov 05, 20:46
x3

Post by -XTM- » Sat, 21. Jan 06, 19:24

Also of note is that WinRAR will also extract from 7z format, so no need toget 7zip if you already have WinRAR.
My Winrar didn't, but then again, I probably use version 1.0a.
The Xtended Mod

Need Help?

Ask Questions / View the FAQ's at TheXUniverse Forums
Read the News on Mod Developments at our Website

User avatar
nuclear_eclipse
Posts: 1128
Joined: Thu, 2. Sep 04, 01:54
x3tc

Post by nuclear_eclipse » Sat, 21. Jan 06, 21:13

Moxy wrote:My Winrar didn't, but then again, I probably use version 1.0a.
It helps to have version 3 or higher =]

kevonski
Posts: 22
Joined: Sun, 2. Apr 06, 23:56
x3

Post by kevonski » Sat, 29. Apr 06, 01:56

When I open the command prompt to run this program (win xp sp2) I can't. :-( Tried "run xb2c.exe" etc. Have tried the RUN command from the start button, but either way I cant get it to launch in the cli prompt.

I am a noob, anyone able to be give me some advice? Please?

Thanks!

kevonski
Posts: 22
Joined: Sun, 2. Apr 06, 23:56
x3

Post by kevonski » Sat, 29. Apr 06, 02:23

okay, I now tried "start x2bc.exe" from the cli and I get this error about how the lib.dll (forget full name) file is missing. Its in the same dir as the x2bc.exe though.

mine777
Posts: 45
Joined: Thu, 3. Aug 06, 17:41

Post by mine777 » Tue, 12. Sep 06, 18:57

kevonski wrote:okay, I now tried "start x2bc.exe" from the cli and I get this error about how the lib.dll (forget full name) file is missing. Its in the same dir as the x2bc.exe though.
You need the .lib files from the doubleshadow site. Download them and place them in your system directory or your application directory (whichever turns you on).


Step by step method:

1 - Start->Run->type "cmd" (no quotes) in the run box->OK. This opens the command prompt.

2 - In the command prompt, navigate to your X2BC directory (Example: I type "D:", press enter, then type "cd X2BC", press enter. My command prompt then says: "D:\X2BC>"

3 - Run the program.

3a - Decompile example: After having copied xenon_m1.bob to the X2BC directory (use windows and drag drop or whatever turns you on): I type "x2bc -d xenon_m1.bob" at the command prompt. This creates xenon_m1.bod

3b - Compile example: After making sure that the xenon_m1.bod file I want to work with is in the X2BC directory: I type "x2bc -c --bob xenon_m1.bod" at the command prompt. This creates xenon_m1.bob. Note the "--bob" after the "-c". Software needs an operator after "-c" to compile.

4 - Refference: Type x2bc -? and press enter at the command prompt in order to see the flags (the -c or -d type stuff) you can type at the command prompt.



IMPORTANT NOTE: This is command line software. It is NOT windowed software. This means that it talks to you and accepts commands from you through the command prompt ONLY. It does NOT open a GUI on the desktop to interface with it.
Remember: You're unique, just like everybody else.

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 09:14
x3

Post by doubleshadow » Wed, 13. Sep 06, 08:11

kevonski wrote:okay, I now tried "start x2bc.exe" from the cli and I get this error about how the lib.dll (forget full name) file is missing. Its in the same dir as the x2bc.exe though.
Instructions can be found here: http://www.xwiki.chaos.net.nz/index.php/X2BC

If you downlaoded the X2BC_1.0.9.7z (binary only) package, then all the required files are in there. If you downloaded the source package, then you need to move msvcr71.dll next to the x2bc.exe (or to a location listed in your PATH env. variable) as explained in the readme.

demoneyes
Posts: 7
Joined: Mon, 11. Sep 06, 00:59
x3

Post by demoneyes » Sun, 3. Dec 06, 14:30

wrong one

doubleshadow
Posts: 671
Joined: Fri, 12. Mar 04, 09:14
x3

Post by doubleshadow » Mon, 15. Jan 07, 14:00

Version 1.0.11 is out.

It has support for bump maps. You will need to re-export your bodies with DBOX 1.8 (or higher) and then re-compile with x2bc.

Hadhafang
Posts: 85
Joined: Mon, 5. Jul 04, 15:23
x3

Post by Hadhafang » Tue, 27. Feb 07, 03:58

I am having problems recompling bod files.

I wanted to change the color of the minbari Sharlin so I decompiled the bob files and changed the color of the dds files it used, changed their names, adjusted the bod files acordingly, inserted the new textures into my mod and then attempted to compile the changed bod files into bob files but got an error saying "Type of input file notspecified"

I typed "x2bc -c minbari_c0.bod" Is this wrong? Have I screwed up somewhere or changed the bod files somehow when I saved them after using a text editor on them?
"And so it begins!" Ambassador Koch, Babylon 5

"I have got to get me one of these!" Me after seeing a Whitestar

Post Reply

Return to “X³: Reunion - Scripts and Modding”