Page 1 of 1

I need help with. x3d file conversion!

Posted: Fri Apr 28, 2017 2:36 pm
by heavenss89
Hello guys!

I desperately need your help. There is a game, from what I extracted the 3d model files which it happen, that they are. X3d files. Now I have tried to open with several viewers, and with 3d editor programs, and they cannot open it. All of them gives error, some of them says it a parser error. I found a viwer (Noesis), i added a plugin for x3d, and it opens them. From there i can convert it to another extension, for ex. FBX and with that file i can work in a 3d modeler program. Now when im done, I convert back to x3d and repack the file, and runs the game, but when loads that model ingame it gives an error, that it dosn't recognizes the file type. My question it would be that, how can I convert back to the same file extension. Because there it is obviously a difference between the old x3d and the new x3d. And im not talking avout the new extensions of x3d like. X3dv. Please help me guys!! :D

Thanks in advance!!!
Ps. The game is 9Dragons.

Re: I need help with. x3d file conversion!

Posted: Fri Apr 28, 2017 11:41 pm
by shakotay2
heavenss89 wrote:Now when im done, I convert back to x3d
How?

Without giving more details (including the sample file you're working with) noone would know what the problem might be.

Re: I need help with. x3d file conversion!

Posted: Mon May 01, 2017 9:43 am
by heavenss89
So here are some samples, from the original files:

https://www.dropbox.com/s/h7f7vuvmj2dn4 ... 0.x3d?dl=0
https://www.dropbox.com/s/ojtro6ielr4lf ... 0.x3d?dl=0

And Here is the script for Noesis, which with you can open it.

https://www.dropbox.com/s/i6cs87vi9cld8 ... ns.py?dl=0

I open it with Noesis, I export it to .obj then I open it with Blender, export from Blender to x3d, then I try to open in game , and it is not working.
Here is the converted files from obj to x3d:

https://www.dropbox.com/s/ssafd1vuy5i2u ... t.x3d?dl=0
https://www.dropbox.com/s/3kcywx1ijjc4q ... t.x3d?dl=0

So, my question is that the file coding changes? Even if I convert back to the original extension ?

Re: I need help with. x3d file conversion!

Posted: Mon May 01, 2017 11:53 am
by shakotay2
heavenss89 wrote:So, my question is that the file coding changes? Even if I convert back to the original extension ?
obviously. Your original .x3d is of binary format whilst the .x3d export from blender is xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D version="3.0" profile="Immersive" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.0.xsd">
	<head>
[...]

Re: I need help with. x3d file conversion!

Posted: Mon May 01, 2017 6:26 pm
by heavenss89
Thanks for looking into it ! Now I need to find a converter what it converts to x3d in binary?