GSC file

GSC is an evolving container format used in some form by the PC versions of most Tt Lego games since Lego Star Wars: The Complete Saga. It usually uses a .GSC extension, except for the sub-variant used by character and vehicle models, which uses .GHG instead, and the sub-variant used by fonts, which uses .FNT.

The GSC models only contain static model information as they don't support skeletal and skinning data, the FNT files are the same way, except containing data used to map the texture to different characters. The GHG files can contain skeletal and skinning data, though this is not always the case, these files are mainly reserved for character models only.

PS2 HD variant of PS2 sub-engine
Only GHGs support skeletons, and they must be in the CHARS folder. The file size of a texture in TCS is denoted as a 32-bit integer by the 4 bytes preceding the DDS header (or other texture type). It is not known whether this is a signed or unsigned integer, but it doesn't matter. If it is signed, then the maximum file size would be 2,147,483,647 bytes, or a little under 2 GB, which is more than enough for a 4096x4096 compressed DDS or PNG texture (maximum size supported by DirectX 9).

https://cdn.discordapp.com/attachments/587344389068685317/655819039972786199/CLONE_PC.GHG https://discordapp.com/channels/539431629718945793/539440851441418250/655843324380446731

In LIJ1 and LB1, you modify the TST0 instead.

https://discordapp.com/channels/539431629718945793/668213999233531916/680228091083358266

More technical information for this file (LSW:TCS-specific) can be found in following document.

Useful tools

 * Use Noesis and place script.py in \plugins\python\ to view GHG models for PS2 HD sub-variant titles without extracting.
 * Use ExtractPCGHG to extract PS2 HD sub-variant titles.
 * Use LEGO Star Wars PLY Model Importer to import new models into PS2 HD sub-variant GHG models.
 * Use ExtractNXGMesh for NXG variant titles that don't use DirectX 11.
 * Use ExtractDX11Mesh for NXG titles that do use DirectX11.