XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Jan 21, 2018 7:55 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Haunting Ground .PCK format
PostPosted: Wed May 01, 2013 6:04 pm 
Offline
advanced
User avatar

Joined: Wed May 30, 2012 6:07 pm
Posts: 74
Has thanked: 6 times
Have thanks: 1 time














You can make the ads go away by registering

Hi,I successful to open DATA.CVM from this game by cutting the file header and convert it to iso,so it readable via virtual drive. i want to extract fiona model or (if can) other character too. The game model seems use .PCK format and the texture in .TEX and the stage use .PAC format. I try to open .TEX file in noesis but no luck. Is there anyone can help me,so the PCK file readable and i can extract the texture too. Thanks

BTW,i attach some sample (is it violate against forum rules or not??)


Attachments:


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


_________________
Great things require hard work!!


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Thu May 02, 2013 3:54 am 
Offline
advanced
User avatar

Joined: Wed May 30, 2012 6:07 pm
Posts: 74
Has thanked: 6 times
Have thanks: 1 time
Looking the file again in hex editor,still got no clue.I'm totally lost here.I heard in other forum,someone successfully extract it,but sadly his trick not shareable :(

_________________
Great things require hard work!!


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Sat May 04, 2013 4:35 pm 
Offline
advanced
User avatar

Joined: Wed May 30, 2012 6:07 pm
Posts: 74
Has thanked: 6 times
Have thanks: 1 time
Anyone?please help..

_________________
Great things require hard work!!


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon May 20, 2013 7:56 pm 
Offline
mega-veteran
mega-veteran

Joined: Sat Jan 09, 2010 9:37 pm
Posts: 190
Has thanked: 8 times
Have thanks: 58 times
aagems wrote:
Anyone?please help..

Here is a quickbms script to convert the texture(s) inside a .TEX file:
http://ps23dformat.wikispaces.com/file/ ... undTEX.bms
The script must be run using the Microsoft Windows Command prompt (it will will not work by clicking quickbms.exe), you can get quickbms here:
http://aluigi.altervista.org/quickbms.htm
Use the script as follows and note the w in -w must be lowercase:
C:\quickbms\quickbms.exe -w C:\quickbms\HauntingGroundTEX.bms C:\HauntingGround\FIO_000.TEX C:\HauntingGround
The script will then output one txd file for each of the textures inside the .TEX file.
Use this program to then view and convert the textures (but turn the filter off, and the alpha maps off, and use the "several textures" option when exporting even though there is only one texture in each txd):
http://www.thegtaplace.com/downloads/f4 ... txd-viewer

As for the format of the TEX files:
The first 4ByteInteger is the number of textures in the TEX file
Then every texture's header which is 0x10 bytes in length is present.
The first 4Bytes in the header are unknown
The next 2 are the X Length
The next 2 are the Y Width
The next 4 are unknown
The next 4 is the position of the data relative to the start of the header.
Format of the data:
The first part of the data are the bitmap pixels So if X=4 and Y=4 there would be decimal 16 bytes in this section.
Then after all the pixels, is the 256 color palate:
1Byte Red, 1Byte Green, 1ByteBlue, 1Byte something (usually FF, or 80 I forgot the name for it).
However the palate uses 8x2 tiles, which my quickbms scripts compenstates for.

_________________
I accept ALL requests. Let me know your requests.


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon May 20, 2013 9:03 pm 
Offline
advanced
User avatar

Joined: Wed May 30, 2012 6:07 pm
Posts: 74
Has thanked: 6 times
Have thanks: 1 time
Thanks for your response furryfan, but why its not work? i use command prompt as you said but quickbms found nothing. Or maybe im doing wrong step? Here's a screenshot


Image

_________________
Great things require hard work!!


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Tue May 21, 2013 12:52 pm 
Offline
mega-veteran
mega-veteran

Joined: Sat Jan 09, 2010 9:37 pm
Posts: 190
Has thanked: 8 times
Have thanks: 58 times
aagems wrote:
Thanks for your response furryfan, but why its not work? i use command prompt as you said but quickbms found nothing. Or maybe im doing wrong step? Here's a screenshot


Image

You used D: for your output file. Change it to something else like
C:\sample

_________________
I accept ALL requests. Let me know your requests.


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon Oct 07, 2013 12:01 am 
Offline
n00b

Joined: Thu Feb 16, 2012 8:03 am
Posts: 14
Has thanked: 11 times
Have thanks: 0 time
FurryFan wrote:
aagems wrote:
Thanks for your response furryfan, but why its not work? i use command prompt as you said but quickbms found nothing. Or maybe im doing wrong step? Here's a screenshot


Image

You used D: for your output file. Change it to something else like
C:\sample

This isn't working for me either. I get the exact same message as aagems with 0 outputted files, even after changing the output folder to C:\


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon Oct 07, 2013 12:47 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Jan 09, 2010 9:37 pm
Posts: 190
Has thanked: 8 times
Have thanks: 58 times
kasake wrote:
FurryFan wrote:
aagems wrote:
Thanks for your response furryfan, but why its not work? i use command prompt as you said but quickbms found nothing. Or maybe im doing wrong step? Here's a screenshot


Image

You used D: for your output file. Change it to something else like
C:\sample

This isn't working for me either. I get the exact same message as aagems with 0 outputted files, even after changing the output folder to C:\

First thing, you NEED to use the version of quickbms that is FOUND ON THIS PAGE, AND THIS PAGE ONLY:
http://aluigi.altervista.org/quickbms.htm
If you downloaded quickbms from a DIFFERENT website, IT WILL NOT WORK. Do you understand that I have had more then 6 people use the wrong version. USE THE LINK ABOVE. If that link is blocked on your computer tell me, I am not a mind reader

Second thing:
aagems sent me a PM saying that he finally got it to work.

Third thing, if you want me to help you,
YOU MUST SEND ME A SCREENSHOT OF
1. What you are typing in.
2. You folder setup.

If you are serious about getting the script to work, DO WHAT I SAY.

_________________
I accept ALL requests. Let me know your requests.


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon Oct 07, 2013 1:12 am 
Offline
n00b

Joined: Thu Feb 16, 2012 8:03 am
Posts: 14
Has thanked: 11 times
Have thanks: 0 time
FurryFan wrote:
First thing, you NEED to use the version of quickbms that is FOUND ON THIS PAGE, AND THIS PAGE ONLY:
http://aluigi.altervista.org/quickbms.htm
If you downloaded quickbms from a DIFFERENT website, IT WILL NOT WORK. Do you understand that I have had more then 6 people use the wrong version. USE THE LINK ABOVE. If that link is blocked on your computer tell me, I am not a mind reader

Second thing:
aagems sent me a PM saying that he finally got it to work.

Third thing, if you want me to help you,
YOU MUST SEND ME A SCREENSHOT OF
1. What you are typing in.
2. You folder setup.

If you are serious about getting the script to work, DO WHAT I SAY.

Sorry about that. I got my QuickBMS from that website, and I downloaded the .bms script from the link that you posted.

This is what I input in command prompt:
C:\quickbms\quickbms.exe -w C:\quickbms\HauntingGroundTEX.bms C:\hg\FIO_000.TEX C:\hg

Here is a pic of what I get (the Yen signs are "\", I'm on a Japanese computer):
Image


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Mon Oct 07, 2013 2:40 am 
Offline
mega-veteran
mega-veteran

Joined: Sat Jan 09, 2010 9:37 pm
Posts: 190
Has thanked: 8 times
Have thanks: 58 times
It may be the Japanese Characters (I had this problem with Chinese characters), or it may be the same problem the other user had (his PM did not mention the exact reason), so you should also try contacting him/her. I would also recommend the following:
Have someone that you know very well that has an English version of Windows test out the script, and ask them what they did.
See me PM that I am sending you.

_________________
I accept ALL requests. Let me know your requests.


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Sat Jan 06, 2018 9:13 am 
Offline
ultra-n00b

Joined: Sat Jan 06, 2018 1:39 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
FurryFan wrote:
aagems wrote:
Anyone?please help..

Here is a quickbms script to convert the texture(s) inside a .TEX file:
http://ps23dformat.wikispaces.com/file/ ... undTEX.bms
The script must be run using the Microsoft Windows Command prompt (it will will not work by clicking quickbms.exe), you can get quickbms here:
http://aluigi.altervista.org/quickbms.htm
Use the script as follows and note the w in -w must be lowercase:
C:\quickbms\quickbms.exe -w C:\quickbms\HauntingGroundTEX.bms C:\HauntingGround\FIO_000.TEX C:\HauntingGround
The script will then output one txd file for each of the textures inside the .TEX file.
Use this program to then view and convert the textures (but turn the filter off, and the alpha maps off, and use the "several textures" option when exporting even though there is only one texture in each txd):
http://www.thegtaplace.com/downloads/f4 ... txd-viewer

As for the format of the TEX files:
The first 4ByteInteger is the number of textures in the TEX file
Then every texture's header which is 0x10 bytes in length is present.
The first 4Bytes in the header are unknown
The next 2 are the X Length
The next 2 are the Y Width
The next 4 are unknown
The next 4 is the position of the data relative to the start of the header.
Format of the data:
The first part of the data are the bitmap pixels So if X=4 and Y=4 there would be decimal 16 bytes in this section.
Then after all the pixels, is the 256 color palate:
1Byte Red, 1Byte Green, 1ByteBlue, 1Byte something (usually FF, or 80 I forgot the name for it).
However the palate uses 8x2 tiles, which my quickbms scripts compenstates for.



Hello, I did that and it WORKS!!, thank you. BTW, I want to make a mod in one texture, Can I edit texture,1.0.TXD and then repack that in FIO_000.TEX??

Thanks


Top
 Profile  
 
 Post subject: Re: Haunting Ground .PCK format
PostPosted: Fri Jan 12, 2018 9:54 pm 
Offline
veteran

Joined: Sat Feb 21, 2009 2:29 pm
Posts: 151
Has thanked: 14 times
Have thanks: 37 times
5 years later ....

_________________
_-=<(¯`·._.·[ CodeMan ]·._.·´¯)>=-_


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 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