Files
Presets/tweaks/Extended Boundaries.xml
2025-12-19 13:08:37 +01:00

57 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<m64tweak name="Extended Boundaries" description="" version="1.0.0.0">
<patch name="Extend Boundaries" description="Applies Skelux's Boundaries Patch." type="1" references="">Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.IO
Imports System.Linq
Imports System.Windows.Forms
Imports SM64Lib
Module Script
Sub Main(params as IReadOnlyDictionary(Of String, Object))
Dim tweakDir as String = Path.GetDirectoryName(params("profilepath"))
Dim patchFile as String = Path.Combine(tweakDir, "apply ext bounds.ppf")
General.PatchClass.ApplyPPF(params("romfile"), patchFile)
End Sub
End Module
</patch>
<patch name="Reset Boundaries" description="Removes Skelux' boundaries patch." type="1" references="">Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.IO
Imports System.Linq
Imports System.Windows.Forms
Imports SM64Lib
Module Script
Sub Main(params as IReadOnlyDictionary(Of String, Object))
Dim tweakDir as String = Path.GetDirectoryName(params("profilepath"))
Dim patchFile as String = Path.Combine(tweakDir, "remove ext bound.ppf")
General.PatchClass.ApplyPPF(params("romfile"), patchFile)
End Sub
End Module
</patch>
<patch name="Remove pre-patched extended boundaries patch" description="This removes the boundaries patch that was patched while opening the ROM in this tool the first time." type="1" references="">Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.IO
Imports System.Linq
Imports System.Windows.Forms
Imports SM64Lib
Module Script
Sub Main(params as IReadOnlyDictionary(Of String, Object))
Dim tweakDir as String = Path.GetDirectoryName(params("profilepath"))
Dim patchFile as String = Path.Combine(tweakDir, "remove pre patched.ppf")
General.PatchClass.ApplyPPF(params("romfile"), patchFile)
End Sub
End Module
</patch>
</m64tweak>