Page 2 of 2

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Fri Apr 03, 2020 11:32 pm
by Henchman800
shakotay2 wrote: Fri Apr 03, 2020 3:00 pm I was referring to the .xab files in the zip of your post as of Tue Mar 10, 2020 1:08 am (which need to be renamed to .x for successful blender2.49b import).
Ooops....my fault :-D

However, I tested other files and yet again it looks like it only works on some of the files...others like this boss don't:

FILE DOWNLOAD:
https://cdn.discordapp.com/attachments/ ... tub_no.xab

Ref:
Image

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Sat Apr 04, 2020 8:11 am
by shakotay2
It's the difference in file format (binary/ASCII) as I wrote before.

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Sat Apr 04, 2020 11:24 am
by Henchman800
shakotay2 wrote: Sat Apr 04, 2020 8:11 am It's the difference in file format (binary/ASCII) as I wrote before.
Would this be helpful to convert the files then?
https://www.rapidtables.com/convert/num ... inary.html

Imma try this one with the different filetypes aswell:
https://products.aspose.app/3d/conversion/x-to-fbx

Maybe this noesis plugin works:
https://github.com/Techokami/noesis-plu ... tX_xbin.py

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Sat Apr 04, 2020 6:56 pm
by shakotay2
no, no and no.
finale00's DirectX_xbin plugin requires a "bin " in the .x file which is "bzip" in m70_tub_no.xab(.x)

What you need is MeshConvert.exe (parameters *.x /xt) from Microsoft DirectX SDK (June 2010) to convert a compressed binary .x file to ASCII .x:
.
m70_tub_no.xab ASCII-x.png
see
shakotay2 wrote: Thu May 08, 2014 8:20 pm

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Sun Apr 05, 2020 9:00 pm
by Henchman800
shakotay2 wrote: Sat Apr 04, 2020 6:56 pm What you need is MeshConvert.exe (parameters *.x /xt) from Microsoft DirectX SDK (June 2010) to convert a compressed binary .x file to ASCII .x
Thanks for the help!
However when I use meshcnvert via CMD i get this:
Image
I tried to rename the file, but I'm pretty sure it's me....
so it would be awesome if you could push me once again in the right direction.

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Sun Apr 05, 2020 10:02 pm
by shakotay2
binary .x files are converted to ASCII .x files. The original file is destroyed/modified. File size is increased, that's the only hint. (Most people don't understand the process and try to convert the already converted file again. :D )

Re: Very common directx .X-file (Silent Hill Arcade)

Posted: Mon Apr 06, 2020 1:46 pm
by Henchman800
shakotay2 wrote: Sun Apr 05, 2020 10:02 pm binary .x files are converted to ASCII .x files. The original file is destroyed/modified. File size is increased, that's the only hint. (Most people don't understand the process and try to convert the already converted file again. :D )
....I could've paid attention to that.......file went from 4mb to 0.5mb....
Thank you once again man! Your solution works like a charm!
Image

Danke für deine Geduld mit mir man ;-)