Page 1 of 1

Terraria .xnb (360)

Posted: Sun Feb 15, 2015 9:04 pm
by lllccc
hey guys iv been looking around for a way to extract the files with in the xnb files images audio's font etc im not sure if i can post a file here
the headers are a bit different then then pc the pc is Terraria is XNBw and the xbox is XNBx if anyone knows of a way to unpack the files that would be really great
^_^

Re: Terraria .xnb (360)

Posted: Mon Feb 16, 2015 10:51 pm
by merlinsvk
You can unpack them with XNBDecompressor made by alisci01.

https://bitbucket.org/alisci01/xnbdecompressor/src

Re: Terraria .xnb (360)

Posted: Mon Feb 16, 2015 11:06 pm
by lllccc
hmm seems like it didnt work i used it and got a file of 0kb but the org is 9k
do you know if im able to post the file here?


Edit i looked at his source xnb files and they are windows files not the 360 they are XNBw not XNBx

Re: Terraria .xnb (360)

Posted: Tue Feb 17, 2015 2:48 pm
by merlinsvk
lllccc wrote:
do you know if im able to post the file here?
Put a link in code tag. And later you can remove it.

I have tried this decompressor and it works on x360 xnbs. Only "problem" could be, that uncompressed xnbs has "XNBw" header, but you can change it, if it's necessary.

Re: Terraria .xnb (360)

Posted: Tue Feb 17, 2015 10:18 pm
by lllccc
okay here is the link for the file can you see if you can get the info out of it im trying to get a unpacker not a converter
http://www.mediafire.com/download/gt863 ... /Coins.xnb i will delete it right after you get it please tell me when you got the file
and im sorry if this file breaks the rules im not 100% sure if it does

Re: Terraria .xnb (360)

Posted: Wed Feb 18, 2015 2:46 pm
by merlinsvk
I thought you are trying to decompress that xnbs, but if you want original images, sounds etc. from xnbs you will need some converter.

Re: Terraria .xnb (360)

Posted: Thu Feb 19, 2015 12:32 pm
by shakotay2
lllccc wrote:okay here is the link for the file can you see if you can get the info out of it
info is not the problem:

Code: Select all

(parsexnb Coins.xnb)
Target platform: Xbox 360
Graphics profile: HiDef
Type readers:
    Microsoft.Xna.Framework.Content.SoundEffectReader (version 0)
Asset:
    Type: Microsoft.Xna.Framework.Audio.SoundEffect
    Format: 52 bytes
        01, 66, 00, 01, 00, 00, 56, 22, 00, 00, 40, 2B, 00, 02, 00, 10
        00, 22, 00, 01, 00, 00, 00, 01, 00, 00, 30, 00, 00, 00, 80, 00
        00, 00, 00, 00, 00, 00, 2E, 80, 00, 00, 01, 80, 00, 00, 2E, 80
        00, 04, 00, 01
    Data: 8192 bytes
        20, 00, 01, 00, 0F, DF, FC, 03, 80, 00, 14, 08, A3, 98, BA, 46
        41, DD, F9, 24, 86, 05, CA, 00, 5C, B4, D4, 35, 9D, DA, 69, 02
        4E, DC, F2, 3C, D7, 1A, FC, 9D, BD, AD, 19, 2C, B9, F2, 76, E6
        ...
        {snip: not bothering to print the remaining bytes}
    Loop start: 384
    Loop length: 11904
    Duration: 539 ms

Re: Terraria .xnb (360)

Posted: Thu Feb 19, 2015 5:44 pm
by lllccc
that is true lol should of worded that more right