-
Notifications
You must be signed in to change notification settings - Fork 0
Tutorial: Manually creating a settings menu image
Clone the "Images_Example" export from the GUI_MOD_TemplateMod.pcc file in the template settings mod into your images file. You must clone the GfxMovieInfo export. This will pull the associated Texture2D export along with it.
Each image must have a unique name, and it must match the export name of the Texture2D. Rename both exports, you must leave the "_I1" after the name of the Texture2D. At this point, you can replace the texture with your desired image. Images must be in a 1024x512 resolution and be stored in DXT1 format.
Next, open the GfxMovieInfo export through the Scaleform tab. Go to ExporterInfo
under the others folder and click edit at the bottom right. Change the swfName property to exactly match the name of your GfxMovieInfo export. Press save.
Go to the DefineExternalImage2
item under the images folder. Right click, and go into Raw Edit. Change the fileName property to exactly match the name of your Texture2D export. You must leave the ".tga" at the end. Press save. Hopefully the image will now show up within JPEXS, but it may still work if it does not.
At this point, you can save the swf file and re-import it back into your package file with the "Import Saved File" button in LEX. With any luck, your image will be properly referenceable in your menu item.