[Tool] .xmf/.xac <-> .dae converter

The place to discuss scripting and game modifications for X Rebirth.

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

ravayen
Posts: 56
Joined: Mon, 25. Jan 16, 02:02
x4

Post by ravayen » Fri, 21. Jul 17, 23:11

Awesome, went with Omicron Ship Upgrades & Fixes as it only changed those 2 ships and basically did what i was after thanks Marvin yours looked great too btw :)
Would love to see a step by step ship building guide on these forums seems to be the one thats missing and it looks so daunting when getting started i don't know how you people do it tbh.

bioscmos303
Posts: 31
Joined: Tue, 27. May 14, 00:12
x4

Post by bioscmos303 » Mon, 1. Jan 18, 10:13

i manage to use the XRConverter but
is there a new\better converter xmf to Dea ?
and the Collada plug-in for 3DS Max too old .. working but .. not as i remember it when i was using it then in max 2013 , any tip for 3dsmax 2016 ?
any newer plugings\collada or tool for 3DS Max maybe?
and will be nice to have little more info about 3d modeling here ...

and happy new year to you all
Last edited by bioscmos303 on Mon, 1. Jan 18, 12:23, edited 1 time in total.

bioscmos303
Posts: 31
Joined: Tue, 27. May 14, 00:12
x4

Post by bioscmos303 » Mon, 1. Jan 18, 12:21


User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by alexalsp » Tue, 2. Oct 18, 12:29

arc_ wrote:
Tue, 24. Dec 13, 19:25
This tool converts .xmf files (X Rebirth static meshes) and .xac files (EMotionFX actors) to and from .dae. The current version is 0.2.1 and can be downloaded here:
Converter
Source code (C++, VS2010)

In case other people want to make tools that work with the X Rebirth file formats, here's some information about them:
.xac (NPC meshes)
.xmf (static meshes)
.xpm (morph-based animation for NPC's)
.xsm (skeleton-based animation for NPC's)
Please update the links or give someone there.

Thank you.

XRConverters-v0.2.1

Cg089
Posts: 80
Joined: Fri, 18. Jan 19, 19:25
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Cg089 » Thu, 28. Feb 19, 19:15

Does anyone have any contact info at all for arc_, or even just his files that have info about the mesh types? He forgot to include a license when he gave us source, so while I'd love to fix this up to work better with X4, my hands are tied from a legal perspective. If he'd said he meant to GPL license it or MIT license it, I'd be happy to work on it, but as it stands, he technically retains full copyright rights to it. I know, paranoid, but I do software engineering for a living so I have to worry about licenses and this sort of stuff.

Mike7495
Posts: 22
Joined: Fri, 3. Jul 09, 05:10

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Mike7495 » Wed, 1. Jan 20, 21:33

Launch XRConvertersMain.exe from the command line.... Hope I didn't miss this, but how? I've loaded everything from what I can tell. Xcattools,Converter tool.... But how do I do a command line. So far if I double click on the XRConvertersMain.exe. a tiny black screen flickers and that's it.

Cg089
Posts: 80
Joined: Fri, 18. Jan 19, 19:25
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Cg089 » Sat, 7. Mar 20, 19:14

Look up "Command Prompt" for Windows, there are tons of guides online. Nobody explained it because most modders already know what that means, but basically, you go old school & open up a terminal and run it from there. Short version is you search command prompt in the bottom left search box, open that, then start XRConvertersMain.exe in that window.

Mike7495
Posts: 22
Joined: Fri, 3. Jul 09, 05:10

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Mike7495 » Fri, 8. May 20, 16:24

Cg089 wrote:
Sat, 7. Mar 20, 19:14
Look up "Command Prompt" for Windows, there are tons of guides online. Nobody explained it because most modders already know what that means, but basically, you go old school & open up a terminal and run it from there. Short version is you search command prompt in the bottom left search box, open that, then start XRConvertersMain.exe in that window.
Thanks. I got it, but its not converting the files. Guess I'm not cut out for modeling. lol

omti
Posts: 535
Joined: Sat, 5. Jun 04, 21:06
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by omti » Fri, 18. Sep 20, 23:15

Hm, it always tells me I misswrote the command or it couldn't be found.

I've used the following command:

XRConvertersMain.exe importxmf "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked" "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked\assets\environments\cluster\Cluster_01_data\anim_moon_v1-lod0.xmf"

Anyone got an idea what the problem might be?
Ohne Neugier wäre die Menschheit immer noch in der Steinzeit oder nicht einmal dort!


Money implies poverty - Ian Banks: The State of the Art

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KrYcHokE » Sat, 19. Sep 20, 13:43

Set path for XRConvertersMain.exe. and with importxmf command you should use xml file:
C:\Program Files (x86)\XRConverter\XRConvertersMain.exe importxmf "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked" "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked\assets\environments\cluster\Cluster_01.xml"

omti
Posts: 535
Joined: Sat, 5. Jun 04, 21:06
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by omti » Sat, 19. Sep 20, 13:50

KrYcHokE wrote:
Sat, 19. Sep 20, 13:43
Set path for XRConvertersMain.exe. and with importxmf command you should use xml file:
"C:\Program Files (x86)\XRConverter\XRConvertersMain.exe importxmf "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked" "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked\assets\environments\cluster\Cluster_01.xml"
Thank you this worked :) Now I have a Cluster_01.dae file. Let's see what's in it :D
Ohne Neugier wäre die Menschheit immer noch in der Steinzeit oder nicht einmal dort!


Money implies poverty - Ian Banks: The State of the Art

Skvvair
Posts: 4
Joined: Sat, 14. Nov 20, 09:19
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Skvvair » Sun, 15. Nov 20, 22:02

KrYcHokE wrote:
Sat, 19. Sep 20, 13:43
Set path for XRConvertersMain.exe. and with importxmf command you should use xml file:
C:\Program Files (x86)\XRConverter\XRConvertersMain.exe importxmf "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked" "C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\unpacked\assets\environments\cluster\Cluster_01.xml"
The command did not produce any result for me. d: \ XRConverters \ XRConvertersMain.exe importxmf "d: \ modingX4 \ rabot2 \ titan \ assets \ units \ size_l" "d: \ modingX4 \ rabot2 \ titan \ assets \ units \ size_l \ ship_arg_xl_carrier_01.xml "

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KrYcHokE » Sun, 15. Nov 20, 23:19

It should be like this:
d:\XRConverters\XRConvertersMain.exe importxmf "d:\modingX4\rabot2\titan" "d:\modingX4\rabot2\titan\assets\units\size_xl\ship_arg_xl_carrier_01.xml "
path to converter .exe, path to folder where game exported (where assets folder), path to .xml file and data folder with .xmf files, converter take path to data folder directly from .xml file so do not use size_l folder for ship_arg_xl_carrier_01.xml

Skvvair
Posts: 4
Joined: Sat, 14. Nov 20, 09:19
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Skvvair » Sat, 21. Nov 20, 18:22

KrYcHokE wrote:
Sun, 15. Nov 20, 23:19
It should be like this:
d:\XRConverters\XRConvertersMain.exe importxmf "d:\modingX4\rabot2\titan" "d:\modingX4\rabot2\titan\assets\units\size_xl\ship_arg_xl_carrier_01.xml "
path to converter .exe, path to folder where game exported (where assets folder), path to .xml file and data folder with .xmf files, converter take path to data folder directly from .xml file so do not use size_l folder for ship_arg_xl_carrier_01.xml

I was able, thanks. I had an error. But the converter immediately exits as if I launched it through a double click.
The file is not created. d:\ModingX4\XRConverters\XRConvertersMain.exe importxmf "d:\ModingX4\Rabot\X4-F\assets\units\size_xl" "d:\ModingX4\Rabot\X4-F\assets\units\size_xl\ship_arg_xl_carrier_01.xml"

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KrYcHokE » Sat, 21. Nov 20, 20:27

In your case X4-F folder should be as destination in second path:
d:\ModingX4\XRConverters\XRConvertersMain.exe importxmf "d:\ModingX4\Rabot\X4-F" "d:\ModingX4\Rabot\X4-F\assets\units\size_xl\ship_arg_xl_carrier_01.xml"
Converter works only from Command Prompt.

Skvvair
Posts: 4
Joined: Sat, 14. Nov 20, 09:19
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Skvvair » Sat, 21. Nov 20, 21:11

KrYcHokE wrote:
Sat, 21. Nov 20, 20:27
In your case X4-F folder should be as destination in second path:
d:\ModingX4\XRConverters\XRConvertersMain.exe importxmf "d:\ModingX4\Rabot\X4-F" "d:\ModingX4\Rabot\X4-F\assets\units\size_xl\ship_arg_xl_carrier_01.xml"
Converter works only from Command Prompt.
https://ibb.co/V9wN7ZG dae did not appear either in the X4-F folder or near the original xml file

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KrYcHokE » Sat, 21. Nov 20, 21:42

Ok, i uderstand, converter should find textures, you should extract folders: libraries and assets
and place them:
d:\ModingX4\Rabot\X4-F\libraries
d:\ModingX4\Rabot\X4-F\assets

Skvvair
Posts: 4
Joined: Sat, 14. Nov 20, 09:19
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by Skvvair » Sat, 21. Nov 20, 21:48

Entire X4-Foundation game unpacked to X4-F folder using XRCatToolGUI https://ibb.co/HqXqFpr

KongDeluxe
Posts: 343
Joined: Fri, 30. Dec 05, 23:53
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KongDeluxe » Sat, 28. Nov 20, 14:14

Hi guys,

does the xac <-> dae converter actually work with X4 npc models? I converted a X4 npc xac body file to dae and exactly the same one back without touching it and my game crashes on loading up the the mod. What did work though was if I deleted the Armature modifier and converted everything back into xac. I mean you can´t practically use the output since there´s no rigging or skinning and you have only a wrongly scaled mesh flying under a npc´s head but the mesh got into the game. So all in all it seems to me that rigging is a problem for the converter. Did somebody else experience this or did I do something wrong.

User avatar
KrYcHokE
Posts: 259
Joined: Wed, 2. Dec 15, 13:15
x4

Re: [Tool] .xmf/.xac <-> .dae converter

Post by KrYcHokE » Sat, 28. Nov 20, 17:53

It never worked.

Post Reply

Return to “X Rebirth - Scripts and Modding”