20157 Posts in 3360 Topics - by 6693 Members - Latest Member: Awes597

Author Topic: [Ext]Ship converter  (Read 5151 times)

Korenos

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Ext]Ship converter Update Install
« Reply #30 on: May 30, 2017, 10:20:58 AM »
Hello,

I created a new installation file for those who do not manage to execute the first.

I do not know if it works but give me some news.

Thanks you for your help.

Here is the link : https://www.dropbox.com/s/gisay7lfqa0ojzn/Converter.zip?dl=0

P.S. I'm converting the C# project to Java
« Last Edit: May 30, 2017, 10:27:42 AM by Korenos »

Fox

  • Full Member
  • ***
  • Posts: 187
  • "You're a good friend, Arthur!"
    • View Profile
    • FoxDie Inc.
Re: [Ext]Ship converter
« Reply #31 on: May 30, 2017, 11:30:41 AM »
uhm, might be me, but the only executable in your new .zip only generates a reealy strange popup i've never seen before!
Same Error Message after clicking Install as before... Win7 x64 here, too, btw
Effort appreciated nevertheless!  8)
« Last Edit: May 30, 2017, 11:36:42 AM by Fox »
- Luck is no matter of coincidence or probability, but of attitude and perspective ! -

Korenos

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [Ext]Ship converter
« Reply #32 on: May 30, 2017, 02:09:54 PM »
Hello, thanks for your reply.

I will do this program in java hoping that there haven't bug.






Kucki

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Ext]Ship converter
« Reply #33 on: June 05, 2017, 09:25:19 AM »
Hey guys,

I had a problem converting the Valdore using this tool. I did everythign as described and used the website provided. Everything worked as expected, but ingame the ship didn't show any blocks and all I got was a black preview of the ship.

I compared the generated .xml with my other files and realized, that the generated .xml from this tool used commas "," instead of points "." to display decimal numbers (eg. 4,5 instead of 4.5). Using an editor to replace everty comma with a point worked and fixed the problem for me.

Greetings

hexster

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Ext]Ship converter
« Reply #34 on: June 26, 2017, 09:26:45 PM »
Is there a way to get the converter to use a blender XML file of a ship?

iWAR

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: [Ext]Ship converter
« Reply #35 on: August 04, 2017, 06:46:02 AM »
I've tried it without any problems and worked great. Great post bud.

Operator

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [Ext]Ship converter
« Reply #36 on: August 13, 2017, 02:31:18 AM »
I have tried everything, i can not get this to work for me, I even tried removing doubles on the 3d model. every time i try to run the converter it gives me an unnamed error in white text then does nothing. I have followed every step to the letter.
And one else have a fix? this would have been so cool.

Okay I can confirm this no longer works, i even tried to use an avorion ship file and convert it, it started to convert then crashed.

I tried again, using the online converter to change my obj to stl then convert that to XMP, didn't work.

It just gives me a white text saying Error, not even an error message, just error.

Tried again with new models to test it, nothing. same error message. just small white text over the loading bar when I click convert.
« Last Edit: August 13, 2017, 02:48:12 AM by Operator »

EST

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [Ext]Ship converter
« Reply #37 on: August 13, 2017, 03:26:43 AM »
Thank you for a wonderful program :)

I have a strange problem.
When converting the XML of Online Voxelizer, we now issue an error.
But I believe the convertAvorion.Xml  is normal.
because XML files that have previously converted the same OJC / STL file can be successfully converted to AVORION.XML.
Now, converting XML with Online Voxelizer will fail with convert AVORION.XML.
Even if I converted the same OJC / STL file to XML, I got an error.
Did something happen?

I am sorry, I am not good at English. :'(

Operator

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [Ext]Ship converter
« Reply #38 on: August 13, 2017, 03:47:13 AM »
Ah ha! I knew it. okay so it isn't me then. I bet the Voxelizer was changed and therefor it broke the converter.

I can't use any xml with the converter sadly. but the voxelizer works fine, any chance of getting a fix for this?

Operator

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [Ext]Ship converter
« Reply #39 on: August 13, 2017, 08:24:39 PM »
So I think someone on the steam forum found the problem, here is his post.

"LHammonds  [author] 1 hour ago
Yes, it seems the online voxelizer website changed its format slightly. Not sure what is breaking it but I do have the resulting XML file before the update and after the update. From an initial glance, they changed the indentation to be at least one space further in. The original conversion was 57,448 lines, the new file is 39,935 lines total."

Alright using one old file (working) and one new file ( broken) I found the problem. the Format of the voxelizer changed here is the lines from the older XML file

<?xml version="1.0" encoding="utf-8"?>
 <content>
  <dimensions>
   <width>26</width>
   <height>36</height>
   <depth>127</depth>
  </dimensions>
  <voxel_data>
   <position>
    <object>voxel 0</object>
     <x>5</x>
     <y>22</y>
     <z>36</z>
   </position>
   <position>
    <object>voxel 1</object>
     <x>5</x>
     <y>21</y>
     <z>36</z>
   </position>


Here is line 1 - 20 on the new
<?xml version="1.0" encoding="utf-8"?>
 <content>
   <dimensions>
     <width>26</width>
     <height>36</height>
     <depth>127</depth>
   </dimensions>
   <voxel_data>
     <name>voxel 0</name>
     <position>
       <x>1</x>
       <y>4</y>
       <z>0</z>
     </position>
     <name>voxel 1</name>
     <position>
       <x>26</x>
       <y>4</y>
       <z>0</z>
     </position>

Okay I got it, what needs to be changed in the converter.

object has become name
and lines 9 and 10 have changed places in the voxelizer exported xmp.
thus this breaks the avorion importer stopping it from working. should be a simple fix for someone who knows coding
« Last Edit: August 13, 2017, 09:03:41 PM by Operator »

Operator

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [Ext]Ship converter
« Reply #40 on: August 13, 2017, 09:05:29 PM »
CONFIRMED IT WORKS NOW

Open your voxelized XML file in note pad ++ find and replace every name with object. and save! your converter will now work.