EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Tool] .xmf/.xac <-> .dae converter
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 9, 10, 11  Next
View previous topic :: View next topic
Author Message
antoniut





Joined: 04 Oct 2014
Posts: 197 on topic

Thank you for registering your game
PostPosted: Tue, 17. Mar 15, 00:36    Post subject: Reply with quote Print

The xac conversion (body meshes) doesn't work properly. It works enough
for xmf, but seems that to apply textures to new xmf meshes is not so ease. Pls correct me if I'm wrong

Back to top
View user's profile Send private message
Vim Razz





Joined: 02 Nov 2010
Posts: 1797 on topic

Thank you for registering your game
PostPosted: Tue, 17. Mar 15, 01:56    Post subject: Reply with quote Print

Yeah, it's the animated stuff he got stuck on if I recall correctly.

So static xmf models it can handle, but xac and animated xmf are too much.

Back to top
View user's profile Send private message
oliverjanda





Joined: 14 Feb 2010
Posts: 288 on topic

Thank you for registering your game
PostPosted: Tue, 17. Mar 15, 10:28    Post subject: Reply with quote Print

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.


The tool does not for me.
Which operating system do you use?
cmd or Powershell?
tell me anything that may be usefull! Smile

Back to top
View user's profile Send private message
NodusCursorius





Joined: 13 Jan 2014
Posts: 110 on topic

Thank you for registering your game
PostPosted: Fri, 20. Mar 15, 10:35    Post subject: Reply with quote Print

oliverjanda wrote:
The tool does not for me.
Which operating system do you use?
cmd or Powershell?
tell me anything that may be usefull! Smile

  • 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.


Back to top
View user's profile Send private message Visit poster's website
oliverjanda





Joined: 14 Feb 2010
Posts: 288 on topic

Thank you for registering your game
PostPosted: Fri, 20. Mar 15, 11:05    Post subject: Reply with quote Print

Thx, I got it working myself yesterday at night. I think it was some kind of path issue. I changed a model and importet it but there were many parts missing ingame.

Back to top
View user's profile Send private message
xrook





Joined: 31 Jul 2015



modified
PostPosted: Mon, 21. Sep 15, 22:32    Post subject: Reply with quote Print

did i do this correctly??

Code:
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
Back to top
View user's profile Send private message
xrook





Joined: 31 Jul 2015



PostPosted: Tue, 22. Sep 15, 17:58    Post subject: Reply with quote Print

none? im asking here cuz cmd keeps telling me system cannot find the specified path

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13528 on topic

Thank you for registering your game
PostPosted: Tue, 22. Sep 15, 18:18    Post subject: Reply with quote Print

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)


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
xrook





Joined: 31 Jul 2015



PostPosted: Tue, 22. Sep 15, 18:31    Post subject: Reply with quote Print

main app has stopped working

Back to top
View user's profile Send private message
Moncada





Joined: 04 May 2012
Posts: 109 on topic

Thank you for registering your game
PostPosted: Thu, 24. Mar 16, 12:35    Post subject: Reply with quote Print

I get too application has stopped working aswell
When the program executes windows goes "nope!" and it crashes

Nope! It was user error.
Disregard this

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13528 on topic

Thank you for registering your game
PostPosted: Fri, 25. Mar 16, 11:26    Post subject: Reply with quote Print

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:
Code:
#!/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"


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..


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
mbhm





Joined: 21 Mar 2007
Posts: 58 on topic

Thank you for registering your game
PostPosted: Thu, 14. Jul 16, 21:39    Post subject: Reply with quote Print

Hmm ..

Quote:
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".


The call was:

Code:
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


Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13528 on topic

Thank you for registering your game
PostPosted: Thu, 14. Jul 16, 22:06    Post subject: Reply with quote Print

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):
Code:
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
YOYOMAN_MODDER





Joined: 30 Dec 2011
Posts: 62 on topic
Location: Ukraine
Thank you for registering your game
PostPosted: Sun, 31. Jul 16, 11:05    Post subject: Reply with quote Print

Hi there! Did you know anyway solution to convert .xmf file by drag&drop operation on converter.exe? Current solution is terrible for me.


_________________
Unreal Engine 4 #XRIM
Win10 Pro 64-bit, Intel Xeon-E5450 @ 3.0GHz x2 cpu. MSI NVidia 1050TI Gaming X 4G (4 GB). 8 GB server FBDIMM-667 ram. in 4 chanell mode
Back to top
View user's profile Send private message Send e-mail
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13528 on topic

Thank you for registering your game
PostPosted: Sun, 31. Jul 16, 11:40    Post subject: Reply with quote Print

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:
Code:
XRConvertersMain.exe importxmf "D:\X Rebirth files" %1

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


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3 ... , 9, 10, 11  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Sat, 20. Jan 18, 03:33

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.10091 seconds, sql queries = 29