Menu

LEX File Exchange
EA Support Files
SC4 Wikipedia
Network Addon Mod
Dependencies
Chat

Author Topic: Fsh Format Plugin for Adobe® Photoshop®  (Read 13473 times)

0 Members and 1 Guest are viewing this topic.

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Fsh Format Plugin for Adobe® Photoshop®
« on: May 05, 2011, 07:39:24 PM »
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.  ;)
« Last Edit: January 20, 2015, 11:23:58 AM by null45 »

Offline jdenm8

  • NAM Team
  • Forums Guru
  • *
  • Posts: 2095
  • Total likes: 1
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #1 on: May 05, 2011, 09:26:05 PM »
Oh cool! It supports my version too!  :)


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

Offline jdenm8

  • NAM Team
  • Forums Guru
  • *
  • Posts: 2095
  • Total likes: 1
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #2 on: May 20, 2011, 09:47:23 AM »
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

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #3 on: May 20, 2011, 10:04:25 AM »
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.  :(

Offline jdenm8

  • NAM Team
  • Forums Guru
  • *
  • Posts: 2095
  • Total likes: 1
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #4 on: May 20, 2011, 10:20:46 AM »
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

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #5 on: May 22, 2011, 01:52:19 AM »
That issue should now be fixed.
File version updated to 1.0.0.1:thumbsup:

Offline dobdriver

Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #6 on: August 12, 2011, 01:31:56 AM »

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
G'day,
Need a map? Check these Beauties out.
Check out my Stex, Lex and PLAN B uploads.
What about YOU make a map? Use my easy to follow Tutorial.

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #7 on: August 12, 2011, 10:49:03 AM »
Fantastic! Very useful indeed.

Thank you.

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #8 on: August 12, 2011, 02:14:11 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.   :)

Offline dobdriver

Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #9 on: August 12, 2011, 11:47:55 PM »

G'Day Null,

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

Thanks and cheers
dobs
G'day,
Need a map? Check these Beauties out.
Check out my Stex, Lex and PLAN B uploads.
What about YOU make a map? Use my easy to follow Tutorial.

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #10 on: May 13, 2012, 05: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.
« Last Edit: May 13, 2012, 05:59:22 PM by vester »

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #11 on: May 13, 2012, 11:14:49 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.

Offline jdenm8

  • NAM Team
  • Forums Guru
  • *
  • Posts: 2095
  • Total likes: 1
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #12 on: May 14, 2012, 03:57:16 AM »
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

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #13 on: May 14, 2012, 08:29:26 AM »
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.
« Last Edit: May 14, 2012, 08:31:11 AM by vester »

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #14 on: December 12, 2012, 01:17:45 AM »
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;)


Offline vortext

  • Administrator
  • Forums Guru
  • *
  • Posts: 3364
  • Total likes: 576
  • Reputation: 23
  • CL:
    Street Smarts
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #15 on: December 12, 2012, 05:57:58 AM »
Awesome new features, especially it can now be used in Actions. Thanks.  &apls
time flies like a bird
fruit flies like a banana

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #16 on: March 04, 2013, 08:42:04 AM »
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.

Offline JoeST

  • Forums Guru
  • *
  • Posts: 2648
  • Total likes: 15
  • Reputation: 10
  • fbstj
  • CL: Not your average...
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #17 on: March 04, 2013, 09:19:24 AM »
the 24bit RGB has no alpha and is uncompressed, whereas the DXT1 will be compressed so may lose quality
Copperminds and Cuddleswarms

Offline vester

  • Administrator
  • Forums Legend
  • *
  • Posts: 4842
  • Total likes: 689
  • Reputation: 27
    • My bat cave.
  • CL: Tickets Please
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #18 on: July 30, 2013, 05:00:03 PM »
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
« Last Edit: July 30, 2013, 05:04:48 PM by vester »

Offline null45

  • Lex Certified
  • Forums Mayor
  • *
  • Posts: 221
  • Total likes: 27
  • Reputation: 18
  • CL:
    All formats lead to FSH
Re: Fsh Format Plugin for Adobe® Photoshop®
« Reply #19 on: July 30, 2013, 08:36:56 PM »
That issue should be fixed, file version updated to 1.0.0.4;)
« Last Edit: July 30, 2013, 08:45:34 PM by null45 »