How To: Export Models, Re-Import. (Blender)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: How To: Export Models, Re-Import. (Blender)
I played a bit around and tried to find out what the exact sizes and the relations of the X4 ships are.
I think this should be correct:
The linies show 1000m parts.
If you import X3 ships you have to scale them down to 0,3% of their size. Then the ships fit into X4s scaling (Paranid carrier is still the same ship).
I also cheched the size of the gate and... well... it would be no problem to bring the goold old "small" Phoenix back into game
I think this should be correct:
The linies show 1000m parts.
If you import X3 ships you have to scale them down to 0,3% of their size. Then the ships fit into X4s scaling (Paranid carrier is still the same ship).
I also cheched the size of the gate and... well... it would be no problem to bring the goold old "small" Phoenix back into game
Re: How To: Export Models, Re-Import. (Blender)
Yes that was my path to xml and I changed the path to this now for simplicity sakeR_Romach_R wrote: ↑Sat, 15. Dec 18, 10:18Try importxmf instead of importxml, I used it. And what is "here" in your path to .xml?ZEFFEZ wrote: ↑Sat, 15. Dec 18, 01:40Hey guys, I have been trying really hard to get this to work and I did not do this like many did but I did this instead, is there anything i am doing wrong?
XRConvertersMain.exe importxml "C:\Users\zzeff\Desktop\GameFile" "C:\Users\zzeff\Desktop\GameFile\assets\units\here\ship_arg_l_destroyer_01.xml"
pause
Which produces this
Usage: XRConvertersMain <action> <folder with .dat file contents> <.xml/.xac/.dae file>
<action>:
importxac: convert .xac to .dae
importxmf: convert .xml/.xmf to .dae
exportxac: convert .dae to .xac
exportxmf: convert .dae to .xml/.xmf
but nothing happens, any help would be greatly appreciated. Thanks!
.\XRConvertersMain.exe importxmf "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
pause
Which produces this
C:\EXTRA\GameFile>.\XRConvertersMain.exe importxmf "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
I tried using xml instead of xmf as well and I got the same thing as last time, there is a file in my assets that is this "SHIP_ARG_L_DESTROYER_01_DATA" and it is an ANI file, I don't think this is what I am looking for right?, I think it has been there the entire time tho.
And when I use "xml" this is the total of what it produces
C:\EXTRA\GameFile>.\XRConvertersMain.exe importxml "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
Unknown action.
Usage: XRConvertersMain <action> <folder with .dat file contents> <.xml/.xac/.dae file>
<action>:
importxac: convert .xac to .dae
importxmf: convert .xml/.xmf to .dae
exportxac: convert .dae to .xac
exportxmf: convert .dae to .xml/.xmf
C:\EXTRA\GameFile>pause
Press any key to continue . . .
-
- Posts: 48
- Joined: Fri, 23. Feb 18, 16:38
Re: How To: Export Models, Re-Import. (Blender)
Well, I can't help you...because it stoped working for meZEFFEZ wrote: ↑Sat, 15. Dec 18, 20:43Yes that was my path to xml and I changed the path to this now for simplicity sakeR_Romach_R wrote: ↑Sat, 15. Dec 18, 10:18Try importxmf instead of importxml, I used it. And what is "here" in your path to .xml?ZEFFEZ wrote: ↑Sat, 15. Dec 18, 01:40Hey guys, I have been trying really hard to get this to work and I did not do this like many did but I did this instead, is there anything i am doing wrong?
XRConvertersMain.exe importxml "C:\Users\zzeff\Desktop\GameFile" "C:\Users\zzeff\Desktop\GameFile\assets\units\here\ship_arg_l_destroyer_01.xml"
pause
Which produces this
Usage: XRConvertersMain <action> <folder with .dat file contents> <.xml/.xac/.dae file>
<action>:
importxac: convert .xac to .dae
importxmf: convert .xml/.xmf to .dae
exportxac: convert .dae to .xac
exportxmf: convert .dae to .xml/.xmf
but nothing happens, any help would be greatly appreciated. Thanks!
.\XRConvertersMain.exe importxmf "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
pause
Which produces this
C:\EXTRA\GameFile>.\XRConvertersMain.exe importxmf "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
I tried using xml instead of xmf as well and I got the same thing as last time, there is a file in my assets that is this "SHIP_ARG_L_DESTROYER_01_DATA" and it is an ANI file, I don't think this is what I am looking for right?, I think it has been there the entire time tho.
And when I use "xml" this is the total of what it produces
C:\EXTRA\GameFile>.\XRConvertersMain.exe importxml "C:\EXTRA\GameFile" "C:\EXTRA\GameFile\assets\ship_arg_l_destroyer_01.xml"
Unknown action.
Usage: XRConvertersMain <action> <folder with .dat file contents> <.xml/.xac/.dae file>
<action>:
importxac: convert .xac to .dae
importxmf: convert .xml/.xmf to .dae
exportxac: convert .dae to .xac
exportxmf: convert .dae to .xml/.xmf
C:\EXTRA\GameFile>pause
Press any key to continue . . .
For some reason my .bat files can't unpack and convert
Re: How To: Export Models, Re-Import. (Blender)
It's importxmf to convert. The first argument is the directory you extracted the files. Second is to the xml of the ship you want to convert. The xml file contains the namea of each xmf file used by the model.
Typing this on my phone so I can't check but I'm 95% sure what I just wrote is correct
Typing this on my phone so I can't check but I'm 95% sure what I just wrote is correct
-
- Posts: 48
- Joined: Fri, 23. Feb 18, 16:38
Re: How To: Export Models, Re-Import. (Blender)
Problem is, this isn't working...how I did it first time is a question I didn't change anything, but it stoped workingkillerog wrote: ↑Sat, 15. Dec 18, 23:13It's importxmf to convert. The first argument is the directory you extracted the files. Second is to the xml of the ship you want to convert. The xml file contains the namea of each xmf file used by the model.
Typing this on my phone so I can't check but I'm 95% sure what I just wrote is correct
Re: How To: Export Models, Re-Import. (Blender)
Yeah I have tried both xmf and xml, gonna continue fiddling with it. Where do I put the converter tool files? does it matter?
-
- Posts: 48
- Joined: Fri, 23. Feb 18, 16:38
Re: How To: Export Models, Re-Import. (Blender)
Yep. That's the problem. When I succeeded first time, I wanted to relocate unpacked files from main game directory...I adjusted path for CatTool and for Coneverter and nothing works.
So I returned to my old placement.
So, to unpack I needed (I'm using win 7) to:
1) Place all XRCatTool's files in my main game directory (E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations)
2) Create .bat file there with:
_____
E:
cd "All\Games\SteamLibrary\steamapps\common\X4 Foundations"
XRCatTool.exe -in 01.cat -in 02.cat -in 03.cat -in 04.cat -in 05.cat -in 06.cat -in 07.cat -in 08.cat -in 09.cat -out "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations"
pause
_____
3) All .cat files unpacked in main game directory (I don't like it, but it's working, so whatever...)
To convert files I needed to:
1) Place all XRConvertersMain's files into "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\assets\units\size_l"
2) Create there .bat file with:
_____
XRConvertersMain.exe importxmf "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations" "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\assets\units\size_l\ship_arg_l_destroyer_01.xml"
pause
_____
3) .dae file had been created in folder with it's .xml
So, when fondling with .bat files, I understood:
1) XRCatTool needed the same folder for .cat files and their unpacked content, when I tried to add "\unpack" to the end of "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations", .bat file wrote, that "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\unpack" is neither catalog or folder...and did nothing
2) XRConvertersMain in first path need the way to .cat files, in second path the way to .xml file
-
- Posts: 48
- Joined: Fri, 23. Feb 18, 16:38
Re: How To: Export Models, Re-Import. (Blender)
So, next question is: how to export from 3dmax my model?
Re: How To: Export Models, Re-Import. (Blender)
Thats the question... i can export as an DAE file but converting it to the xmf/xml format doens´t work... maybe the format has changed a bit since rebirth. Maybe the tool needs some more development...
-
- Posts: 48
- Joined: Fri, 23. Feb 18, 16:38
Re: How To: Export Models, Re-Import. (Blender)
I used notepad to pick into exported .dae...it's different from default...so do we need to wait for specialized tool? T_T
Re: How To: Export Models, Re-Import. (Blender)
ahhhh many thanks! It works!!!R_Romach_R wrote: ↑Sun, 16. Dec 18, 12:45Yep. That's the problem. When I succeeded first time, I wanted to relocate unpacked files from main game directory...I adjusted path for CatTool and for Coneverter and nothing works.
So I returned to my old placement.
So, to unpack I needed (I'm using win 7) to:
1) Place all XRCatTool's files in my main game directory (E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations)
2) Create .bat file there with:
_____
E:
cd "All\Games\SteamLibrary\steamapps\common\X4 Foundations"
XRCatTool.exe -in 01.cat -in 02.cat -in 03.cat -in 04.cat -in 05.cat -in 06.cat -in 07.cat -in 08.cat -in 09.cat -out "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations"
pause
_____
3) All .cat files unpacked in main game directory (I don't like it, but it's working, so whatever...)
To convert files I needed to:
1) Place all XRConvertersMain's files into "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\assets\units\size_l"
2) Create there .bat file with:
_____
XRConvertersMain.exe importxmf "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations" "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\assets\units\size_l\ship_arg_l_destroyer_01.xml"
pause
_____
3) .dae file had been created in folder with it's .xml
So, when fondling with .bat files, I understood:
1) XRCatTool needed the same folder for .cat files and their unpacked content, when I tried to add "\unpack" to the end of "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations", .bat file wrote, that "E:\All\Games\SteamLibrary\steamapps\common\X4 Foundations\unpack" is neither catalog or folder...and did nothing
2) XRConvertersMain in first path need the way to .cat files, in second path the way to .xml file
Re: How To: Export Models, Re-Import. (Blender)
X4 destroyers are basically small X3 frigates in size.
Even the Xenon I seems like a joke next to the lovely Phoenix.
Now imagine a mighty ATF Walhalla next to those xD.
Even the Xenon I seems like a joke next to the lovely Phoenix.
Now imagine a mighty ATF Walhalla next to those xD.
Re: How To: Export Models, Re-Import. (Blender)
Re: How To: Export Models, Re-Import. (Blender)
But the X3 Phoenix was just an unimaginitive pile of metal welded together. The XBtF-X2 Phoenix was something special though.
I can totally see X3 Teladi ship designs used for a pirate faction though, maybe it would fit HAT. Bunch of confederates with low level economy and technology.
I can totally see X3 Teladi ship designs used for a pirate faction though, maybe it would fit HAT. Bunch of confederates with low level economy and technology.
Re: How To: Export Models, Re-Import. (Blender)
Hi, i'm currently trying to export a DAE file back to xml (after some mesh modification of a ship), but get some errors for the conversion.
First I got this one :
(I use Blender so far for the modifications)
First I got this one :
Which have been easily fixed by adding the attribute in all the texture flags of the DAE file. But I'm struggling on the next one :Expected attribute "texcoord" at element "texture"
Any idea on what I can do to to solve this one ?Node part_mainXlod0XgenericXgeneric_tech_01 has multiple meshes attached
(I use Blender so far for the modifications)
Re: How To: Export Models, Re-Import. (Blender)
I am having trouble with the thing as well, converting back to xml does not seem to work well, I have managed to scale a ships size by a certain factor but ALL of my other edits seem to be missing for some reason
I have noticed that if I turn an .xml into a .dae and then WITHOUT making any edits turn that .dae back into an .xml I get something different. The conversion back to .xml from .dae seems to be bugged.
I have noticed that if I turn an .xml into a .dae and then WITHOUT making any edits turn that .dae back into an .xml I get something different. The conversion back to .xml from .dae seems to be bugged.
Re: How To: Export Models, Re-Import. (Blender)
Paste an image of what yoru blender navigation window thingy (or what ever its called) with all the child elements on show.Ojump wrote: ↑Mon, 17. Dec 18, 11:21Hi, i'm currently trying to export a DAE file back to xml (after some mesh modification of a ship), but get some errors for the conversion.
First I got this one :Which have been easily fixed by adding the attribute in all the texture flags of the DAE file. But I'm struggling on the next one :Expected attribute "texcoord" at element "texture"
Any idea on what I can do to to solve this one ?Node part_mainXlod0XgenericXgeneric_tech_01 has multiple meshes attached
(I use Blender so far for the modifications)
Should have something like this (in 3dsmax) taken from my tutorial on this.
https://imgur.com/H8FkoPw.jpg
{Images posted directly to the forums should not be greater than 640x480 or 100kb, oversize image now linked - Terre}
Re: How To: Export Models, Re-Import. (Blender)
Я произвел некоторые исправления в 3D Max с растянутой текстурой на модели Теладианского контейнеровоза и конвертировал модели обратно в игру. Все сработало, но корабль стал красным там где должен накладываться модификатор раскраски корпуса. (На верхней картинке ванильная модель, на нижней исправленная в 3D Max) Кто нибудь с этим сталкивался и как решил проблему?
Automatic translator Yandex into English language:
I made some fixes in 3D Max with a stretched texture on the model Taldinskogo of the container ship and converted the model back into the game. Everything worked, but the ship became red where the hull coloring modifier should be superimposed. (On the top picture vanilla model, on the bottom corrected in 3D Max) Somebody faced it and how solved the problem?
Spoiler
Show
Automatic translator Yandex into English language:
I made some fixes in 3D Max with a stretched texture on the model Taldinskogo of the container ship and converted the model back into the game. Everything worked, but the ship became red where the hull coloring modifier should be superimposed. (On the top picture vanilla model, on the bottom corrected in 3D Max)
Spoiler
Show