Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BourgeoisDirk committed Sep 6, 2021
1 parent 27c9b9a commit 2dbe0bb
Show file tree
Hide file tree
Showing 65 changed files with 22,119 additions and 403 deletions.
Binary file modified .vs/PS2 ISO Helper/v16/.suo
Binary file not shown.
7 changes: 6 additions & 1 deletion Codex/Identifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -497,12 +497,17 @@ private string GetNewFilename(Dictionary<string, List<string>> mapping, string g
name = name.Substring(12);
}

var mapused = false;
if (mapping.ContainsKey(gameId)) {
string mapped = mapping[gameId][1];
if (!string.IsNullOrEmpty(mapped))
{
name = mapped;
mapused = true;
}
}
else

if (!mapused)
{
if (LimitCharacters)
name = Functions.LimitToAllowedCharacters(name);
Expand Down
298 changes: 149 additions & 149 deletions Codex/bin/Debug/GameMapping.csv

Large diffs are not rendered by default.

Binary file modified Codex/bin/Debug/PS2 Codex.dll
Binary file not shown.
Binary file modified Codex/bin/Debug/PS2 Codex.pdb
Binary file not shown.
Binary file modified Codex/obj/Debug/Codex.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified Codex/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
Binary file modified Codex/obj/Debug/PS2 Codex.dll
Binary file not shown.
Binary file modified Codex/obj/Debug/PS2 Codex.pdb
Binary file not shown.
Binary file modified Codex/obj/Release/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
3 changes: 2 additions & 1 deletion GUI/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
<CheckBox x:Name="LimitCharacters_CheckBox" Content="Limit Characters to &quot; abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_()[]&quot;" HorizontalAlignment="Left" Margin="34,102,0,0" VerticalAlignment="Top" IsChecked="True"/>
<CheckBox x:Name="RemoveBracketContent_CheckBox" Content="Remove Brackets &quot;(&quot; and &quot;)&quot; with Content" HorizontalAlignment="Left" Margin="34,117,0,0" VerticalAlignment="Top" IsChecked="True"/>
<CheckBox x:Name="ShortenTo32Characters_CheckBox" Content="Force-Cut the Game Name to 32 Characters" HorizontalAlignment="Left" Margin="34,132,0,0" VerticalAlignment="Top"/>
<CheckBox x:Name="RunOplHelper_CheckBox" Content="Run OPL Helper when Done" HorizontalAlignment="Left" Margin="13,152,0,0" VerticalAlignment="Top" IsChecked="True"/>
<CheckBox x:Name="RunOplHelper_CheckBox" Content="Run OPL Helper when Done" HorizontalAlignment="Left" Margin="524,154,0,0" VerticalAlignment="Top" IsChecked="True" FlowDirection="RightToLeft"/>

<Button x:Name="OPL_Button" Content="OPL Helper" Margin="707,151,13,0" VerticalAlignment="Top" Click="OPL_Button_Click" />

<TextBlock x:Name="Status_TextBlock" HorizontalAlignment="Left" Margin="10,183,0,0" TextWrapping="Wrap" Text="Status" VerticalAlignment="Top" Width="261" Height="20" FontSize="10"/>
Expand Down
Loading

0 comments on commit 2dbe0bb

Please sign in to comment.