XNA Game Studio 4.0 XNB files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
ahmedwalid605
Posts: 24
Joined: Mon Jul 31, 2017 11:23 pm

XNA Game Studio 4.0 XNB files

Post by ahmedwalid605 »

Is there's a way to unpack/pack XNA Game Studio 4.0 XNB files (files that I got is from windows phone 7 game (Plants vs zombies))?

I have tried all these apps/scripts but they didn't work:
- QuickBMS XNB script http://aluigi.altervista.org/bms/xnb.bms
- Alba.XnaConvert https://github.com/Athari/XnaConvert
- XNB Exporter (xnbe) https://github.com/Pyroglyph/XNBExporter
- XNB Editor https://github.com/qnnnnez/XNBEditor
- Simple XNB Demapper https://github.com/Inari-Whitebear/SimpleXNBDemapper
- XNB Kit https://github.com/TimothyCates/XNB_Kit

Samples:
- Audio file https://1drv.ms/u/s!AhRToRBIf45ppBWwxcZ4eTi6tgak?e=WeIus5
- Image file https://1drv.ms/u/s!AhRToRBIf45ppBbkGYYJgUTu5hdq?e=5JfZc7
- Font file (zipped) https://1drv.ms/u/s!AhRToRBIf45ppBdqxYdjlFNZjMhb?e=DzkCPC
- text-based file (note:maybe it's broken) https://1drv.ms/u/s!AhRToRBIf45ppBgUbckijnLeL1Gj?e=ryJJbe

Things that might be needed:
- Microsoft XNA Framework Redistributable 4.0 https://microsoft.com/en-us/download/details.aspx?id=20914
- Windows Phone 7.1 SDK (contains Microsoft XNA Framework Redistributable 4.0) https://archive.org/download/WindowsPhoneSDK71_iso/WPSDKv71_en1.iso
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: XNA Game Studio 4.0 XNB files

Post by aluigi »

The quickbms script does exactly what's meant for: dumping the raw content of the file.
ahmedwalid605
Posts: 24
Joined: Mon Jul 31, 2017 11:23 pm

Re: XNA Game Studio 4.0 XNB files

Post by ahmedwalid605 »

aluigi wrote:The quickbms script does exactly what's meant for: dumping the raw content of the file.

the QuickBMS script only removed the header