The VG Resource

Full Version: Terraria Console xnb?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Yeah, me again, since there's been little to no development with the console version of Terraria in the spriting community, I figured I'd try and see if we can rip from it at all. I've been wanting to get the sprites of 'Ocram' the "Final Boss" so to speak.

So without further ado, here are the two vital xnb files. And yes I'm aware the xnb files for the PC version have been extracted, but the console versions are apparently different. None of the standard extractors work unfortunately. I was hoping someone could look at them and maybe find a means of extraction.

Click Here
OK well, looking at the bytes shows that they were compiled using XNA 4.0. I was hoping that a converter that TheShyGuy gave me for Bastion (he gave me a 4.0 one before the required 3.1 one), but it didn't work. This is probably due to it being from the console version, like you said.

TheShyGuy (or someone else) could perhaps make a similar converter that works for the console XNA. Unfortunately I can't code in C# so I can't do it myself.
Oh, I see. Hm, strange...I would have thought the various generations of XNA would be the same if compiled the same way. As it is though, I don't suppose you could give him a bit of a poke to see if he'd be willing to do so? I feel bad just out of the blue asking people for favors personally...even this request forum gets me nervous, haha.
Sure thing. I'm pretty sure he logs in pretty frequently so I'll PM him and see if he can help.
Yeah when I get a chance later today, I'll try to whip something up.


-----------------------------------------

Edit:

Ehhh Yeah Puggsoy was right. After a bit of research, .xnb files are different depending on the target platform. At the xna forum, I can download the format. If it's not too complicated, I'll try to deserialize the file. I can't do the same thing as I did with the windows .xnb converter you have puggsoy which is why I have to do it the complicated way =/. If it ends up to be atleast somewhat simple, I'll write a converter for .xnbs in general.

----------------------------------------
Edit2:

After a bit more research, it seems that the format I found is only usable if the .xnb isn't compressed (which the given files are). I think I need the "xbox xmemcompress" api...which I don't have because I'd have to buy it... It is possible to reverse engineer of course, but I don't really want to do that right now. However, if you have .xnb files from the PC version of Terraria, you could use the same program I gave to Puggsoy and it will work fine. Sorry about this, I hope you can find an alternative.
Yeah I read that format specification before (that's how I could tell it was version 4.0), and that XMemCompress API is indeed in the way. I think I read somewhere that someone said it might just be LSZMA, but that could be way off.
Well that's a shame...as far as I know there's a lot of things that are Console-Exclusive with Terraria. I hate it when this happens. Ah well. Thanks for your attempt. Let me know if anything comes up otherwise. I can try to consolidate some funding for whatever program we may need, if it's not too much...