Skip to content

Commit

Permalink
v14.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Admentus64 committed Jul 15, 2021
1 parent fbb444b commit 1635756
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
11 changes: 5 additions & 6 deletions Files/Scripts/Common.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,6 @@ function ChangeGameRev() {
if (IsSet $GameRev.script) { $GameFiles.script = ($Paths.Scripts + "\Options\" + $GameRev.script + ".psm1") }
else { $GameFiles.script = ($Paths.Scripts + "\Options\" + $GameType.mode + ".psm1") }

if (TestFile $GameFiles.script) {
Import-Module -Name $GameFiles.script -Global
LoadAdditionalOptions
}

ChangePatchPanel
$global:IsActiveGameField = $True

Expand All @@ -364,8 +359,12 @@ function ChangePatch() {
$PatchToolTip.SetToolTip($Patches.Button, ([string]::Format($item.tooltip, [Environment]::NewLine)))
GetHeader
GetRegion
if (Get-Command "AdjustGUI" -errorAction SilentlyContinue) { iex "AdjustGUI" }
DisablePatches
if ( (TestFile $GameFiles.script) -and $GamePatch.options -eq 1) {
Import-Module -Name $GameFiles.script -Global
LoadAdditionalOptions
if (Get-Command "AdjustGUI" -errorAction SilentlyContinue) { iex "AdjustGUI" }
}
break
}
}
Expand Down
4 changes: 2 additions & 2 deletions Files/Scripts/Options/Majora's Mask.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ function CreateTabLanguage() {
$Redux.Box.Text = CreateReduxGroup -Tag "Script" -Text "Other Text Options"
CreateReduxCheckBox -Name "RenameTatl" -Text "Rename Tatl" -Info "Rename Tatl to Taya (English) or Taya to Tatl (German, French or Spanish)" -Credits "Admentus & GhostlyDark"
CreateReduxCheckBox -Name "Comma" -Text "Better Comma" -Info "Make the comma not look as awful" -Credits "ShadowOne333"
CreateReduxCheckBox -Name "AutoSkip" -Text "Auto Skip Dialogue" -Info "Automaticially advance to the next line or end it during dialogues " -Credits "Marcelo20XX" -Warning "This option is recommended for speedrunners or experienced players only"
CreateReduxCheckBox -Name "AutoSkip" -Text "Auto Skip Dialogue" -Info "Automatically advance to the next line or end it during dialogues " -Credits "Marcelo20XX" -Warning "This option is recommended for speedrunners or experienced players only"

$Redux.Text.Restore.Add_CheckedChanged({ EnableElem -Elem $Redux.Text.OcarinaIcons -Active $this.checked })
foreach ($i in 0.. ($Files.json.languages.length-1)) { $Redux.Language[$i].Add_CheckedChanged({ UnlockLanguageContent }) }
Expand Down Expand Up @@ -1097,7 +1097,7 @@ function CreateTabDifficulty() {

# EASY MODE #
CreateReduxGroup -Tag "EasyMode" -Text "Easy Mode"
CreateReduxCheckbox -Name "NoBlueBubbleRespawn" -Text "No Blue Bubble Respawn" -Info "Removes the respawn of the Blue Bubble monsters (until you re-enter the room)" -Credits "Garoh-Mastah"
CreateReduxCheckbox -Name "NoBlueBubbleRespawn" -Text "No Blue Bubble Respawn" -Info "Removes the respawn of the Blue Bubble monsters (until you re-enter the room)" -Credits "Garo-Mastah"

}

Expand Down
8 changes: 7 additions & 1 deletion Files/Scripts/Patch.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -995,8 +995,14 @@ function IsReduxOnly() {

#==============================================================================================================================================================================================
function GetROMVersion() {

foreach ($item in $GameType.version) {
if ($ROMHashSum -eq $item.hash) {
if ( (IsSet $item.file) -and $CurrentGame.Rev.SelectedIndex -eq 0) { return $GameRev }
elseif ($item.list -eq $GameRev.list) { return $item }
}
}

foreach ($item in $GameType.version) { if ($ROMHashSum -eq $item.hash -and $item.list -eq $GameRev.list) { return $item } }
return $null

}
Expand Down
5 changes: 5 additions & 0 deletions Info/Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v14.2.1
- Fixed several typos
- Fixed Redux options not showing up
- Fixed ROM not downgrading

v14.2.0
- Added support for patching multiple revisions
- Added three debug revisions for OoT with "Additional Options" support
Expand Down
4 changes: 2 additions & 2 deletions Patcher64+ Tool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Add-Type -AssemblyName 'System.Drawing'
# Setup global variables

$global:ScriptName = "Patcher64+ Tool"
$global:VersionDate = "2021-07-14"
$global:Version = "v14.2.0"
$global:VersionDate = "2021-07-15"
$global:Version = "v14.2.1"
$global:SystemDate = Get-Date -Format yyyy-MM-dd-HH-mm-ss

$global:CommandType = $MyInvocation.MyCommand.CommandType.ToString()
Expand Down

0 comments on commit 1635756

Please sign in to comment.