Athari / XnaConvert

Utility for converting XNA XNB files (Texture2D to PNG images) [New BSD]
Other
48 stars 13 forks source link

Can't find a supported device to process the XNB file #7

Open ghost opened 9 years ago

ghost commented 9 years ago

Looks like that my other issue was solved by just do the same that the developer said me (right click on the zip file before to unpack it, and click on the bottom button "unlock content", and also unmark the "only read" on the unpacked folder), from this link: https://github.com/Athari/XnaConvert/issues/6

But now I have other different issue trying to extract the same XNB file from Terraria (it's a XNB example, from other XNB files from other games that I'm trying to unpack too, but that other tools extract all the terraria XNB files without problem; just Xna Converter fails). The problem is that (I'm not sure about if is it the only problem or other too), says me that I haven't a compatible graphic card to show me the content of the XNB (this is what I understood, OK?), and doesn't continue unpacking...

A screenshot of the problem: http://imagensn.com/images/2015/01/13/Ashampoo_Snap_2015.01.13_13h37m12s_001_Administrador-Simbolodelsistema.png

What I used to unpack the XNB file: C:\Users\CrashOverride93\Desktop\Alba.XnaConvert.0.1.2>Alba.XnaConvert convert - v 4 -d "C:\Users\CrashOverride93\Desktop\Alba.XnaConvert.0.1.2\Images" -o "C:\Us ers\CrashOverride93\Desktop\Alba.XnaConvert.0.1.2\Images2"

Athari commented 9 years ago

Well, that means you have an ancient / underpowered computer unsuitable for gaming. :smile: "HiDef" in XNA terms means ~DX10-level card. DX10 is 9 years old. What are your specs?

ghost commented 9 years ago

This is my computer: Brand & Model: Sony VAIO (vgn-n11m) CPU: Intel Core 2 Duo T2050 1,6Ghz (OC up to 2,0Ghz) Graphic Card: Intel GMA 950 (Pixel Shader 2.0, Vertex Shader 0.0, no T&L) OS: Windows 7 Ultimate (x86)

I can see other XNB files that are in HiDef too, but this kind of XNB files, that I think are made by a custom writer and they have a custom reader too, on XNA Game Studio. Here I send you the files that I'm talking about:

And talking about .NET Reflector and eclipse, I think that I got (i'm not sure) the source code of the original developers to allow me to see and modify all the XNB files from the game that all XNB are from.

https://mega.co.nz/#!4IURDZjR!8_2uCGo99KAIy0VWWKeIU14Y4TGIz-U4k3PW3jPtqlU

Athari commented 9 years ago

Loading file '1_XNB.xnb'... Failed to save file. Error loading "1_XNB.xnb". This file was compiled for the wrong target platform. Loading file '2_XNB.xnb'... Failed to save file. Error loading "2_XNB.xnb". Cannot find type Fds.Framework.ModelData, Fds.InfiniteFlight.ContentPipeline, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.

The first file isn't for PC platform. My tool relies on XNA which checks the platform code.

Other tools may read the file directly without relying on XNA. I don't know how many times the texture format changed, so I don't know how much work understanding all versions of the file format will require. For now, you can't use my tool to convert this file.

The second file isn't a texture, it's a model. Furthermore, it relies on custom data type. A generic tool supporting it can't be created, so you'll never be able to use my tool to convert this file.

Furthermore, your computer is ancient (about 10 years old), so any code relying on HiDef profile support will fail. I have no idea how you manage to use modern software on this computer.

I may add support for reading the files directly, but you shouldn't expect it to happen soon, because it's considerably more complex than relying on XNA to do the job.