Help us keep the site up! Got some change to spare? Why not donate a few bits and buy us a coffee. Image

Silent Hill:Homecoming pak files?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
demolos
advanced
Posts: 65
Joined: Mon Mar 12, 2007 3:38 pm
Has thanked: 5 times
Been thanked: 4 times

Re: Silent Hill:Homecoming pak files?

Post by demolos »

if you want the textures and models and sound you can use this tool :D
Scarlet: http://www.richwhitehouse.com/index.php ... hp#prjmp87
onionhead
beginner
Posts: 37
Joined: Tue Oct 27, 2009 3:02 am
Has thanked: 8 times
Been thanked: 1 time

Re: Silent Hill:Homecoming pak files?

Post by onionhead »

does anyone no how to apply those single colored normal maps extracted from SH5 in 3dsmax or a way to convert them to normal tangent spaced normal map?

help plz?
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 504 times

Re: Silent Hill:Homecoming pak files?

Post by MrAdults »

Hey. Those normal maps are already in tangent space. They use a common technique that involves swapping the alpha and red channels, and deriving the z in a pixel shader. Here's an example of how to decode it from the fragment program I wrote for Scarlet:

PARAM mulf = {2.0, 2.0, 2.0};
PARAM subf = {-1.0, -1.0, -1.0};
#(for standard scale+bias normal expansion)
MAD nrml, nrml.wyzx, mulf, subf; #<--notice r-a swizzle
DP4_SAT nrml.z, nrml, nrml; #<--and of course, it's simple to derive z from here
onionhead
beginner
Posts: 37
Joined: Tue Oct 27, 2009 3:02 am
Has thanked: 8 times
Been thanked: 1 time

Re: Silent Hill:Homecoming pak files?

Post by onionhead »

MrAdults wrote:Hey. Those normal maps are already in tangent space. They use a common technique that involves swapping the alpha and red channels, and deriving the z in a pixel shader. Here's an example of how to decode it from the fragment program I wrote for Scarlet:

PARAM mulf = {2.0, 2.0, 2.0};
PARAM subf = {-1.0, -1.0, -1.0};
#(for standard scale+bias normal expansion)
MAD nrml, nrml.wyzx, mulf, subf; #<--notice r-a swizzle
DP4_SAT nrml.z, nrml, nrml; #<--and of course, it's simple to derive z from here
thanks for the info but i no nothing about scripting. so am i suppose to plug this script in somewhere in max.
MrAdults
Moderator
Posts: 1007
Joined: Mon Mar 23, 2009 2:57 am
Has thanked: 44 times
Been thanked: 504 times

Re: Silent Hill:Homecoming pak files?

Post by MrAdults »

This is a Photoshop plugin that will perform the swizzling, z derivation, and re-normalization operations.

http://www.richwhitehouse.com/index.php ... izzler.zip

I don't know if it will work in anything earlier than CS3. I don't have anything for Max either.
onionhead
beginner
Posts: 37
Joined: Tue Oct 27, 2009 3:02 am
Has thanked: 8 times
Been thanked: 1 time

Re: Silent Hill:Homecoming pak files?

Post by onionhead »

cool this works. thanks
srcs34k
n00b
Posts: 14
Joined: Wed May 23, 2012 4:45 pm
Has thanked: 12 times
Been thanked: 1 time

Re: Silent Hill:Homecoming pak files?

Post by srcs34k »

Scarlet (RichWhitehouse) is good, but problem is a thousands files, that hell extract by one file...
i dont find option in Scarlet "Extract All Files To..."

how Batch extract PAK? that possible?
Post Reply