Jaideno Posted July 28, 2018 Share Posted July 28, 2018 I was adding hidden characters in Lego Jurassic World in the collection.txt. When I played the game to test the characters, I noticed that they don't have their icons (The icons are pictures of the characters face). I really want to fix this but I don't know how! Someone help please! Link to comment Share on other sites More sharing options...
RaveV Posted August 1, 2018 Share Posted August 1, 2018 Some hidden characters don't have icons as they weren't made to be playable characters (at least that's what I think) Link to comment Share on other sites More sharing options...
Jaideno Posted August 4, 2018 Author Share Posted August 4, 2018 Then how come if I go to STUFF > ICONS > CHARACTERS, the hidden characters do have icons but they are not showing up in the game. Link to comment Share on other sites More sharing options...
tzizi Posted August 7, 2018 Share Posted August 7, 2018 Under SWC, the engine loads stuff\icons\starwars_icons_all_pc.gsc. Under very quick inspection, it doesn't appear to load the other files, although that could be wrong. If it is indeed the case, you'd have to edit the GSC file itself, and so far, I don't believe there are any tools available to do that. I'm planning to make one at some point, but right now I'm still very early in trying to understand the format, so it will be a while. Link to comment Share on other sites More sharing options...
5h3i1ah Posted February 25, 2019 Share Posted February 25, 2019 On 8/7/2018 at 10:11 AM, tzizi said: Under SWC, the engine loads stuff\icons\starwars_icons_all_pc.gsc. Under very quick inspection, it doesn't appear to load the other files, although that could be wrong. If it is indeed the case, you'd have to edit the GSC file itself, and so far, I don't believe there are any tools available to do that. I'm planning to make one at some point, but right now I'm still very early in trying to understand the format, so it will be a while. At least for LSW TCS, it appears that both are used. STARWARS_ICONS_ALL_PC.GSC appears to be what's initially loaded, as removing it makes each character icon in the shop empty unless you load that icon by playing as the character, and all character icons I add exhibit the same behavior since I'm not adding them to STARWARS_ICONS_ALL_PC.GSC, only as their own files. As for tools for editing the format, yeah, there are none. However, the way GSCs store textures is incredibly simple. You can open up the GSC file and your desired character icon (preferably a 256x256 DXT5 DDS file with mipmaps, but I've had success with a PNG, a JPEG, and even a JPNG, an image format used by Bloons TD5 that's essentially JPEG + transparency. The image has to be no larger in file size than the original though) in a hex editor. Copy the character icon, then paste write it over the image file in the GSC file (the image starts where the text "DDS |" appears). If the icon has a smaller file size than the original DDS, then just null out the remaining image data in the GSC file. This texture editing method can't be used to add more textures to a file, at least to my knowledge (someone can test that if they want), however it can be used to add new files with models identical to other files but using custom textures. Link to comment Share on other sites More sharing options...
Recommended Posts