[Tool] .xmf/.xac <-> .dae converter
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
The tool does not for me.NodusCursorius wrote:Just a note:
I'm using Blender 2.73a (latest) and the converter on the first page and it is working perfectly, so far.
Importing with the built-in COLLADA plugin that Blender comes with and choosing "Import Units" as an option (not sure if that is even needed). Modifying things in Blender, exporting it with the default COLLADA settings. Using arc_'s tool to convert prior, and afterwards of course.
Which operating system do you use?
cmd or Powershell?
tell me anything that may be usefull!
- NodusCursorius
- Posts: 112
- Joined: Mon, 13. Jan 14, 15:51
oliverjanda wrote:The tool does not for me.
Which operating system do you use?
cmd or Powershell?
tell me anything that may be usefull!
- Windows 8.1 64x
- cmd.exe
- Blender 2.73a 64x
- .cat files extracted with official X Rebirth Tools
- Boxer-briefs, for the combination of support and comfort.
-
- Posts: 309
- Joined: Sun, 14. Feb 10, 17:47
did i do this correctly??
Code: Select all
C:\Users\miguel\Downloads\XRConverters\XRConvertersMain.exe importxmf "C:\Users\miguel\Downloads\X_Rebirth_Save_Game_Editor v0.1.21" "C:\Users\miguel\Downloads\X_Rebirth_Save_Game_Editor v0.1.21\01.cate\assets\units\size_s\units_size_s_ship_ar_military_04.xml"
Last edited by xrook on Tue, 22. Sep 15, 18:36, edited 1 time in total.
just a vague guess but i think this programm didnt like spaces in the path - could be wrong though, never used it.
also you should point to an completely extracted Game i think (meaning all cats/dats are extracted into the same folder) - you extracted each of them into a diffrent one and point to the folder containing these seperate folders so the converter cannt find the index files (not sure if it uses them, but it would be plausible)
also you should point to an completely extracted Game i think (meaning all cats/dats are extracted into the same folder) - you extracted each of them into a diffrent one and point to the folder containing these seperate folders so the converter cannt find the index files (not sure if it uses them, but it would be plausible)
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
if anyone uses inux - i have extended my Bash game extraction Script to also convert model files.
Prerequisites:
=> Requires Wine
=> Copy the Ego X Rebirth Tools from an existing installation over to linux (next to the X Rebirth folder - like in windows)
=> Extract this Program into that Folder
=> put the code below in a shell Script also in the tools Folder and make it executeable:
it extracts all files from the Cats/Dats into a folder called XR_extracted in the Game Root, converts all model files in the assets Folder there to dae and after that extracts all mod cats/dats in an ext sub-folder for the ext one and an subst sub-folder for the subst cats/dats. no model conversion for mods/dlcs yet..
Prerequisites:
=> Requires Wine
=> Copy the Ego X Rebirth Tools from an existing installation over to linux (next to the X Rebirth folder - like in windows)
=> Extract this Program into that Folder
=> put the code below in a shell Script also in the tools Folder and make it executeable:
Code: Select all
#!/bin/bash
cd ../X\ Rebirth
date +"%T"
echo "================================================================"
# Delete previously extracted Files - we want a fresh extraction
if [ -d XR_extracted ]; then
echo "============= removing previously extracted Files.. ============"
rm -rf XR_extracted
echo "============= done.™ ==========================================="
fi
date +"%T"
# Create Folder for Extracting all Cats/Dats and extract them there
mkdir XR_extracted
echo "============= extracting current Game files... ================="
wine ../X\ Rebirth\ Tools/XRCatTool.exe -in *.cat -out XR_extracted
echo "============= done.™ ==========================================="
date +"%T"
echo "============= converting mesh files... ========================"
# Convert all mesh files
for f in $(find XR_extracted/assets -name '*.xml'); do
echo -ne "================================================================"\\r
echo "= converting $f"
wine ../X\ Rebirth\ Tools/XRConvertersMain.exe importxmf ./XR_extracted $f
done
echo "============= done.™ ==========================================="
date +"%T"
#
# Do the same for all Extensions present - seperate cases for subst(itute) and ext(ension) cats/dats
for f in extensions/*; do
echo "================================================================"
date +"%T"
echo -ne "================================================================"\\r
echo "=========== extracting $f "
if [ -f "$f/ext_01.cat" ]; then
echo "= ext part ====================================================="
if [ -d "$f/ext" ]; then
rm -rf $f/ext
fi
mkdir "$f/ext"
wine ../X\ Rebirth\ Tools/XRCatTool.exe -in $f/ext_*.cat -out "$f/ext"
fi
if [ -f "$f/subst_01.cat" ]; then
echo "= subst part ===================================================="
if [ -d "$f/subst" ]; then
rm -rf $f/subst
fi
mkdir "$f/subst"
wine ../X\ Rebirth\ Tools/XRCatTool.exe -in $f/subst_*.cat -out "$f/subst"
fi
echo "= done.™ ======================================================="
done
echo "= Extraction of Game and Mod Files complete - have fun ;) ======"
echo "================================================================"
date +"%T"
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Hmm ..
The call was:No suitable reader found for the file format of file "E:\Entwicklung\X-RebirthDEV\ORIGINAL\assets\environments\cluster\cluster_a_data\anim_lavamoon-lod0.xmf".
Code: Select all
e:\X_Extract\XRConvertersMain.exe importxmf E:\Entwicklung\X-RebirthDEV\ORIGINAL E:\Entwicklung\X-RebirthDEV\ORIGINAL\assets\environments\cluster\cluster_a_data\anim_lavamoon-lod0.xmf
you have to pass it an xml file i think... a component file to be precise..
try this call and look into the resulting file (cluster_a.dae):
try this call and look into the resulting file (cluster_a.dae):
Code: Select all
e:\X_Extract\XRConvertersMain.exe importxmf E:\Entwicklung\X-RebirthDEV\ORIGINAL E:\Entwicklung\X-RebirthDEV\ORIGINAL\assets\environments\cluster\cluster_a.xml
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
- YOYOMAN_MODDER
- Posts: 62
- Joined: Fri, 30. Dec 11, 20:32
not the .exe but you can put a .bat next to it where you can drop files on and the rest should be handled automatically:
note that you have to replace "D:\X Rebirth files" with your own Folder containing all extracted Files, since its unlikely this one applies to you
Code: Select all
XRConvertersMain.exe importxmf "D:\X Rebirth files" %1
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
- YOYOMAN_MODDER
- Posts: 62
- Joined: Fri, 30. Dec 11, 20:32
Thanks UniTrader)))UniTrader wrote:not the .exe but you can put a .bat next to it where you can drop files on and the rest should be handled automatically:note that you have to replace "D:\X Rebirth files" with your own Folder containing all extracted Files, since its unlikely this one applies to youCode: Select all
XRConvertersMain.exe importxmf "D:\X Rebirth files" %1
just expanded my windows bat extraction script to also convert all available mesh files. its not as extensive as the linux bash script though
short usage guide:
1. Install EGOs X Rebirth Tools
2. Extract the Tool from this Topic into the X Rebirth Tools folder
3. create a new bat file with this content:
4. Execute it - completing may take about 30 mins (and it will delete a previous extraction first to keep it up to date)
hope this helps anyone
short usage guide:
1. Install EGOs X Rebirth Tools
2. Extract the Tool from this Topic into the X Rebirth Tools folder
3. create a new bat file with this content:
Code: Select all
RD /S /Q "..\X Rebirth\XR_extracted"
mkdir "..\X Rebirth\XR_extracted"
XRcatTool.exe -in "..\X Rebirth\01.cat" "..\X Rebirth\02.cat" "..\X Rebirth\03.cat" "..\X Rebirth\04.cat" "..\X Rebirth\05.cat" "..\X Rebirth\06.cat" "..\X Rebirth\07.cat" "..\X Rebirth\08.cat" "..\X Rebirth\09.cat" "..\X Rebirth\10.cat" -out "..\X Rebirth\XR_extracted"
FOR /R "..\X Rebirth\XR_extracted\assets" %%f IN (*.xml) do (
XRConvertersMain.exe importxmf "..\X Rebirth\XR_extracted" "%%f"
)
pause
hope this helps anyone
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Thx for your tools and code, but i've found model like size_xl_cs_omicron_ship, units_size_xl_transporter not converted corevtly, the .dae file contained almost nonthing.UniTrader wrote:just expanded my windows bat extraction script to also convert all available mesh files. its not as extensive as the linux bash script though
short usage guide:
......
hope this helps anyone
Can someone repost the tool? The original link is no longer valid
Can someone repost the tool? The original link is no longer valid
just looked through my Tools folder, i still have it. I have also included my current Scripts for Extraction (those for linux/bash are the most developed, the ones for windows/bat are very basic in comparision)
https://www.dropbox.com/s/eu13z2xqom0k8 ... ls.7z?dl=0
For best usage also create a new Folder "X Rebirth Tools" NEXT TO the X Rebirth Folder and drop the Contents of this Archive and also egos Official Cat Tools inside:
https://www.egosoft.com/download/x_rebi ... wnload=589
they also work with Linux + Wine
After Extracthing thes Programs/Files start the "extract and convert xmf.sh" (linux) or "extract XR in subfolder and convert xmf.bat" (windows) to extract everything and convert all xmf files which this Tool can handle. This may take a while though, but you will have an easier time when not having to extract every single file
https://www.dropbox.com/s/eu13z2xqom0k8 ... ls.7z?dl=0
For best usage also create a new Folder "X Rebirth Tools" NEXT TO the X Rebirth Folder and drop the Contents of this Archive and also egos Official Cat Tools inside:
https://www.egosoft.com/download/x_rebi ... wnload=589
they also work with Linux + Wine
After Extracthing thes Programs/Files start the "extract and convert xmf.sh" (linux) or "extract XR in subfolder and convert xmf.bat" (windows) to extract everything and convert all xmf files which this Tool can handle. This may take a while though, but you will have an easier time when not having to extract every single file
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help