• Welcome to SC4 Devotion Forum Archives.

Fsh Format Plugin for Adobe® Photoshop®

Started by null45, May 05, 2011, 05:39:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

null45

This plugin allows Adobe® Photoshop® 5.0 or later to load and save Fsh files.

Images containing an alpha channel are handled differently depending on the version of Photoshop.
Photoshop 5.5 or earlier will add the alpha channel to the channels palette.
Photoshop 6.0 or later will use the alpha channel as the layer transparency.

When compressing certain Maxis files (e.g. the base texture 0x258E3004) the resulting image is darker than it looks under Photoshop, this is an issue with the color matching algorithm that Squish uses.

Download: FshFormat.

I hope it is useful.  ;)

jdenm8



"We're making SimCity, not some dopey casual game." -Ocean Quigley

jdenm8

It's been a fortnight and I've got a bug to report, so I guess a double-post isn't too bad.

FSHes don't save properly in Photoshop 6, it seems to corrupt them somehow.


"We're making SimCity, not some dopey casual game." -Ocean Quigley

null45

Could you upload the images that it saves?

Does it give any error messages?

I tested the saving functionality of this plugin under the Photoshop CS2 demo as the demo of Photoshop 6 does not allow you to use the save command.  :(

jdenm8

This one was exported from Reader using Decoded File exportation, I used the eraser tool to remove some of the garbage texture, then saved it using Ctrl-S.

When I try to re-open it, I get the error message "Could not open:'{directory}.fsh' because the file-format module cannot parse the file.



"We're making SimCity, not some dopey casual game." -Ocean Quigley

null45

That issue should now be fixed.
File version updated to 1.0.0.1:thumbsup:

dobdriver


G'Day Null this is a very useful item, thanks mate.

Is there any possibility of you doing a a 64bit version? Thanks.

cheers
dobs

vester


null45

Quote from: dobdriver on August 11, 2011, 11:31:56 PM
Is there any possibility of you doing a a 64bit version? Thanks.

The 64-bit plugin is up on the LEX.
File version updated to 1.0.0.2.   :)

dobdriver


G'Day Null,

Thanks a lot mate, that was quick. Talk about great service.

Thanks and cheers
dobs

vester

#10
Have a small request if posible.

When saving to fsh, to have it ask for the size of the file.

Works with graphics in bigger size like 1024x1024 px, but would love to be able to resize in the process of saving to fsh.

At the moment, I save to png, then open the png, resize it and save as fsh.

null45

Quote from: vester on May 13, 2012, 03:57:33 PM
Have a small request if posible.

When saving to fsh, to have it ask for the size of the file.

Works with graphics in bigger size like 1024x1024 px, but would love to be able to resize in the process of saving to fsh.

At the moment, I save to png, then open the png, resize it and save as fsh.

This will most likely not be implemented, Photoshop Actions might work to automate the PNG loading and saving.

jdenm8

I don't see why you would need that functionality, I can open the FSH, resize it using Image Size, then save it again perfectly fine in Photoshop CS6 Beta.


"We're making SimCity, not some dopey casual game." -Ocean Quigley

vester

#13
It would save a lot of time, saving, opening and resizing png/fsh files.

.... and help me avoid be resizing the psd flie, as I have done a few times.

null45

Added saving of embedded mipmaps and FSHWrite compression is now optional.
Additionally this plugin is now scriptable using Photoshop Actions, file version updated to 1.0.0.3;)


vortext

Awesome new features, especially it can now be used in Actions. Thanks.  &apls
time flies like a bird
fruit flies like a banana

vester

Thank you for the update.


Have an question about the differences between the save options:

What to choice for what ?


Specific I have nigthlight texture for an automata. I don't need an alpha channel. Not sure what to save it as of 3 first options.

JoeST

the 24bit RGB has no alpha and is uncompressed, whereas the DXT1 will be compressed so may lose quality
Copperminds and Cuddleswarms

vester

#18
Its me again :P

Have now installed Windows 7, 64 bits and PS CS6 64bits.

Got this error (system info):

Plug-ins that failed to load:

   FshFormat NO VERSION -  - from the file "FshFormat64.8bi"

I have Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) installed.
Just repair it for just to eliminate it.

Not sure what to do. Place a copy of it in both folders:
C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\File Formats
C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\Plug-ins\File Formats

null45

#19
That issue should be fixed, file version updated to 1.0.0.4;)