Page 1 of 3

NHL PS2 SSH files

Posted: Wed Dec 09, 2020 9:07 pm
by jlnhlfan
I tried using the Electronic Arts Graphic Tools program to export the SSH files in NHL 2002, but I get errors every time I try to export. I also want to know if there's a program I can use to edit them, since NHLInfo, which edits their PC counterparts (as well as some PS1 counterparts), won't edit SSH files. Can anyone help me with this?

Re: NHL PS2 SSH files

Posted: Thu Dec 10, 2020 4:59 pm
by Beedy
Upload a sample file. No one here can help without a file to see.

Re: NHL PS2 SSH files

Posted: Sat Jan 23, 2021 3:32 am
by jlnhlfan
Sorry for the wait. I would upload a sample file that I wanted to deal with, but instead, I get this error. I'll mention the sample file instead:

FE\BPHOTO.VIV

Re: NHL PS2 SSH files

Posted: Sat Jan 23, 2021 3:35 am
by jlnhlfan
Unfortunately, there is no way I can upload the actual sample file I wanted to upload in any way, shape or form other than a link, so here is another one that I find of use in a way.

Re: NHL PS2 SSH files

Posted: Sat Jan 23, 2021 3:38 am
by jlnhlfan

Re: NHL PS2 SSH files

Posted: Sat Jan 23, 2021 12:19 pm
by Dinoguy1000
Literally all you had to do to attach the file here was to zip it first. The list of allowed file extensions is included in the upload file dialog box (though admittedly hard to see the whole list). Checking that list, you'll note that such formats as .zip, .rar, and .7z are allowed.

Re: NHL PS2 SSH files

Posted: Sat Jan 23, 2021 10:29 pm
by ikskoks
I have checked your samples and then I have compared them with samples
from other games and below article is the result of my work:
http://wiki.xentax.com/index.php/EA_SSH_FSH_Image

I did also a lot of testing with many tools that are available on the web,
but unfortunately nothing works with your samples.

There is alternative way which involves some manual work.
Here is the instruction:
1. Unpack SSH files from BIG/VIV archives with BigGUI tool
2. (optionally) change magic value from SHPS to SHPI and convert to BIN file using FSH Line tool.
3. Open SSH\BIN file with raw texture cooker (for width and height parameters you can see file format on the wiki) https://i.imgur.com/SGuyzxK.png
4. Find a palette in game
5. Convert data and palette to BMP

Re: NHL PS2 SSH files

Posted: Sun Jan 24, 2021 10:53 pm
by jlnhlfan
Alright. Also, using your guide, I found a program called "ExplodePSH", with the creator claiming he was gonna make ImplodePSH, which would have reassembled the PSH file. Knowing my luck, it likely never existed because of how helpful it'd be to me.

Re: NHL PS2 SSH files

Posted: Sun Jan 24, 2021 10:54 pm
by jlnhlfan
Dinoguy1000 wrote: Sat Jan 23, 2021 12:19 pm Literally all you had to do to attach the file here was to zip it first. The list of allowed file extensions is included in the upload file dialog box (though admittedly hard to see the whole list). Checking that list, you'll note that such formats as .zip, .rar, and .7z are allowed.
Thing is, the zip files I tried were too large for the site to handle.

Re: NHL PS2 SSH files

Posted: Mon Jan 25, 2021 4:29 pm
by Dinoguy1000
jlnhlfan wrote: Sun Jan 24, 2021 10:54 pm
Dinoguy1000 wrote: Sat Jan 23, 2021 12:19 pm Literally all you had to do to attach the file here was to zip it first. The list of allowed file extensions is included in the upload file dialog box (though admittedly hard to see the whole list). Checking that list, you'll note that such formats as .zip, .rar, and .7z are allowed.
Thing is, the zip files I tried were too large for the site to handle.
In the future, please state such things up-front, so as not to mislead others who might be thinking about uploading their own samples. It's one thing if someone reads that there's a maximum size limit for zip files; it's completely different if they instead read a comment which makes no mention of zips but, due to how it's worded, implies they're not an option.

Re: NHL PS2 SSH files

Posted: Tue Feb 02, 2021 6:34 pm
by ikskoks
I was able to make some progress on researching these images and I have written a Python tool to automate extraction process from NHL 2002.
Few other types from other games are also partially supported.

Here is my tool <link removed because it's outdated, see info below>

And some showcase below:
https://i.imgur.com/25E61iR.png
https://i.imgur.com/UlewlcB.png


Edit: NHL Tool was renamed to EA Graphics Manager
and can be downloaded here https://github.com/bartlomiejduda/EA-Graphics-Manager

Re: NHL PS2 SSH files

Posted: Sat Feb 27, 2021 1:30 am
by jlnhlfan
That looks so cool! But how'd I be able to use it myself?

Re: NHL PS2 SSH files

Posted: Sat Feb 27, 2021 12:15 pm
by ikskoks
jlnhlfan wrote: Sat Feb 27, 2021 1:30 am That looks so cool! But how'd I be able to use it myself?
It's simple. Here's the instruction:
1. Install Python 3.7
2. Adjust paths at the end of the script
3. Run script in Python

Re: NHL PS2 SSH files

Posted: Thu Apr 29, 2021 2:25 am
by jlnhlfan
Thank you! One more thing...

The cyberface files are in the .cmb format.

https://mega.nz/file/mDAkBBzS#cYdie0sz9 ... ZMjGfHVR6I
Here's a link to an example cyberface. The mod I'm working on also needs modified cyberfaces, so if you could help me with that as well, that'd be great.

Re: NHL PS2 SSH files

Posted: Thu Apr 29, 2021 2:42 am
by jlnhlfan
Also, there just HAD to be an error somewhere, which is what you'd expect from me.

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape

What did I do wrong? All I did was edit the path like you said.