XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Tue Aug 22, 2017 2:04 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Marvel Avengers: Battle for Earth X360 .xpr file unpacker
PostPosted: Mon Jul 24, 2017 9:28 am 
Offline
advanced
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 57
Has thanked: 11 times
Have thanks: 14 times














You can make the ads go away by registering

A BMS script and a Noesis script written for the Xbox 360 version of Marvel Avengers: Battle for Earth.

BMS script for unpacking while Noesis python script for textures handling.

Great thanks to AceWell for his effort on opening textures correctly! :)

Note that some files are shared by different .xpr archives so if you're asked what action to take when using the same output path overwrite or just skip them.



Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Go make every game into a puzzle-solving one!


Last edited by Bigchillghost on Sat Jul 29, 2017 5:27 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Marvel Avengers: Battle for Earth X360 .xpr file unpacke
PostPosted: Mon Jul 24, 2017 7:56 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 842
Has thanked: 1806 times
Have thanks: 437 times
Bigchillghost wrote:
The normal maps always look wrong

could be ATI2 or something

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Marvel Avengers: Battle for Earth X360 .xpr file unpacke
PostPosted: Tue Jul 25, 2017 4:46 am 
Offline
advanced
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 57
Has thanked: 11 times
Have thanks: 14 times
AceWell wrote:
could be ATI2 or something


Currently I'm only able to handle some simple DXT1 or DXT5 pixel format images and have little knowledge of other stuffs.
Maybe you want to have a look? :D
.xpr samples

_________________
Go make every game into a puzzle-solving one!


Top
 Profile  
 
 Post subject: Re: Marvel Avengers: Battle for Earth X360 .xpr file unpacke
PostPosted: Fri Jul 28, 2017 9:51 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 842
Has thanked: 1806 times
Have thanks: 437 times
ok here is a Noesis python script that can open all the textures in your xpr sample files :D


supports dxt1, dxt5, dxt1 packed normal map, and raw
the script mostly consist of converted parts of your bms script and chrrox's xpr Noesis script here
viewtopic.php?f=18&t=8102


a couple of things:
1. if a texture has transparency, the viewport will always display it and a texture may appear invisible
if the alpha covers the whole image, press F11 to toggle viewport transparency.

2. if you export all the textures from the xpr (or any library), the first texture exported is always named the
same of the library that contained the image regardless of the name assigned by the script, i think this is
a long standing quirk of the program and i know no way to correct this either.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Last edited by AceWell on Tue Aug 01, 2017 3:44 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Marvel Avengers: Battle for Earth X360 .xpr file unpacke
PostPosted: Sat Jul 29, 2017 5:41 am 
Offline
advanced
User avatar

Joined: Tue Jul 05, 2016 9:37 am
Posts: 57
Has thanked: 11 times
Have thanks: 14 times
AceWell wrote:
ok here is a Noesis python script that can open all the textures in your xpr sample files :D

Um, nice script! I bet I can learn a lot about tex formats from this example then. Thanks!
AceWell wrote:
2. if you export all the textures from the xpr (or any library), the first texture exported is always named the
same of the library that contained the image regardless of the name assigned by the script, i think this is
a long standing quirk of the program and i know no way to correct this either.

I've updated the bms script, and simplified your python script to handle directly .bfe files, where I added the 0x40-byte entry to texture data as their headers.
So this problem is solved now. :D

_________________
Go make every game into a puzzle-solving one!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: xpen and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group