diff --git a/src/open_samus_returns_rando/files/custom/sprites_splashes.lua b/src/open_samus_returns_rando/files/custom/sprites_splashes.lua new file mode 100644 index 0000000..eed2656 --- /dev/null +++ b/src/open_samus_returns_rando/files/custom/sprites_splashes.lua @@ -0,0 +1,96 @@ +GUI.AddSpriteSheetItem("splashxbla", "gui/textures/texturesplashlivearcade.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashlegalps3eng", "gui/textures/texturesplashlegalps3eng.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashlegalps3jap", "gui/textures/texturesplashlegalps3jap.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashlegalxboxeng", "gui/textures/texturesplashlegalxboxeng.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashlegalxboxjap", "gui/textures/texturesplashlegalxboxjap.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashlegal", "gui/textures/texturesplashlegal.bctex", { + TextureWidth = "512", + TextureHeight = "256", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "400", + VPixelScale = "240" +}) +GUI.AddSpriteSheetItem("splashkonami", "gui/textures/texturesplashkonami.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashengine", "gui/textures/texturesplashengine.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashantipiracyjap", "gui/textures/texturesplashantipiracyjap.bctex", { + TextureWidth = "2048", + TextureHeight = "1024", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "1280", + VPixelScale = "720" +}) +GUI.AddSpriteSheetItem("splashgamelogo", "gui/textures/gamelogo.bctex", { + TextureWidth = "512", + TextureHeight = "256", + UPixelOffset = "0", + VPixelOffset = "0", + UPixelScale = "350", + VPixelScale = "155" +}) +GUI.AddSpriteSheetItem("splashgamelogoflare", "gui/textures/gamelogo.bctex", { + TextureWidth = "512", + TextureHeight = "256", + UPixelOffset = "261", + VPixelOffset = "186", + UPixelScale = "251", + VPixelScale = "115" +}) +GUI.AddSpriteSheetItem("splashgamelogocopyright", "gui/textures/gamelogo.bctex", { + TextureWidth = "512", + TextureHeight = "256", + UPixelOffset = "0", + VPixelOffset = "245", + UPixelScale = "90", + VPixelScale = "11" +}) \ No newline at end of file diff --git a/src/open_samus_returns_rando/files/romfs/gui/textures/gamelogo.bctex b/src/open_samus_returns_rando/files/romfs/gui/textures/gamelogo.bctex new file mode 100644 index 0000000..7f2b319 Binary files /dev/null and b/src/open_samus_returns_rando/files/romfs/gui/textures/gamelogo.bctex differ diff --git a/src/open_samus_returns_rando/lua_editor.py b/src/open_samus_returns_rando/lua_editor.py index 8e42777..c612f45 100644 --- a/src/open_samus_returns_rando/lua_editor.py +++ b/src/open_samus_returns_rando/lua_editor.py @@ -278,6 +278,7 @@ def _add_replacement_files(self, editor: PatcherEditor, configuration: dict): lua_util.replace_script(editor, "actors/props/samusship/scripts/samusship", "custom/ship.lua") lua_util.replace_script(editor, "actors/props/savestation/scripts/savestation", "custom/savestation.lua") lua_util.replace_script(editor, "actors/props/heatzone/scripts/heatzone", "custom/heatzone.lua") + lua_util.replace_script(editor, "gui/scripts/sprites_splashes", "custom/sprites_splashes.lua") def save_modifications(self, editor: PatcherEditor, configuration: dict): self._add_replacement_files(editor, configuration)