Here are links to GitHub repositories containing the source code for my SC4 modding tools and libraries.
Most are written in C# with a few written in C++.
Tools:Batch Png to Fsh: https://github.com/0xC0000054/PngtoFshBatch
Multi Fsh Tool: https://github.com/0xC0000054/MultiFshTool
Fsh file Thumbnails for Windows XP, 7 and Vista: https://github.com/0xC0000054/FshThumbnailHandler
Fsh Format Plugin for Adobe® Photoshop®: https://github.com/0xC0000054/FshFormat
Gimp Fsh Filetype plugin: https://github.com/0xC0000054/Gimpsharpfsh
'Paint.NET' Fsh Filetype Plugin: https://github.com/0xC0000054/FSHfiletype
Png to Fsh Conversion tool: https://github.com/0xC0000054/PngtoFsh
- This tool has been replaced by Batch Png to Fsh.
FSHwrite: https://github.com/0xC0000054/fshwrite
- This is used by BAT4Max version 4.5 and later for creating FSH images.
Libraries:FshDatIO: https://github.com/0xC0000054/FshDatIO
- The DBPF and FSH library that my tools use.
DBPFSharp: https://github.com/0xC0000054/DBPFSharp
- This is a fork of the DBPF code from FshDatIO that has been modified to handle any file type.
- Interpreting the decompressed data is left up to the calling application.