Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Build and Release
on: [ push, pull_request ]

jobs:
build-windows:
name: Build Windows binaries
runs-on: windows-latest

steps:
- name: Checkout source code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2

- name: Build and package VGMToolbox
run: |
$revision = $([int](git rev-list --count --first-parent HEAD) + 1040)
$appCfgPath = "VGMToolbox/App.config"
$asmNfoPath = "VGMToolbox/Properties/AssemblyInfo.cs"
(Get-Content ${appCfgPath} -Raw) -replace 'INSERT_REVISION_HERE \(INSERT_DATE_HERE INSERT_TIME_HERE\)', "${revision} ($((Get-Date).ToString('yyyy/MM/dd')))" | Set-Content ${appCfgPath} -NoNewline
(Get-Content ${asmNfoPath} -Raw) -replace '1\.0\.0\.0', "1.0.0.${revision}" | Set-Content ${asmNfoPath} -NoNewline
msbuild VGMToolbox.sln /p:Configuration=Release /p:Platform="x86"
Compress-Archive -Path VGMToolbox/bin/x86/Release/* -DestinationPath VGMToolbox_r${revision}_x86.zip

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: windows
path: |
VGMToolbox_r*_x86.zip

# This job takes care of creating a new release and upload the build
# artifacts if the last commit is associated to a tag.
create-release:
name: Create release
runs-on: ubuntu-latest
needs: [ build-windows ]

steps:
- name: Fetch build artifacts
if: ${{ github.ref_type == 'tag' }}
uses: actions/download-artifact@v4

- name: Publish release
if: ${{ github.ref_type == 'tag' }}
uses: softprops/action-gh-release@v2
with:
fail_on_unmatched_files: true
#generate_release_notes: true
files: |
windows/*
7 changes: 3 additions & 4 deletions 2sftimer/2sftimer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
Expand All @@ -67,7 +67,7 @@
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
Expand Down Expand Up @@ -139,8 +139,7 @@
<PropertyGroup>
<PostBuildEvent>move format.dll ".\lib\format.dll"
move vgmtutil.dll ".\lib\vgmtutil.dll"
move ICSharpCode.SharpZipLib.dll ".\lib\ICSharpCode.SharpZipLib.dll"
del *.pdb</PostBuildEvent>
move ICSharpCode.SharpZipLib.dll ".\lib\ICSharpCode.SharpZipLib.dll"</PostBuildEvent>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
Expand Down
24 changes: 12 additions & 12 deletions VGMToolbox.sln
Original file line number Diff line number Diff line change
Expand Up @@ -199,28 +199,28 @@ Global
{3010B9D8-DDFC-4041-AD19-8CA9B93A5596}.Release|x86.Build.0 = Release|x86
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|x86.ActiveCfg = Debug|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|x86.Build.0 = Debug|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|x86.ActiveCfg = Debug|x86
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Debug|x86.Build.0 = Debug|x86
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|Any CPU.Build.0 = Release|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|x86.ActiveCfg = Release|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|x86.Build.0 = Release|Any CPU
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|x86.ActiveCfg = Release|x86
{8E148500-6DD6-471D-881C-2BC0BB7AB19C}.Release|x86.Build.0 = Release|x86
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|x86.ActiveCfg = Debug|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|x86.Build.0 = Debug|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|x86.ActiveCfg = Debug|x86
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Debug|x86.Build.0 = Debug|x86
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|Any CPU.Build.0 = Release|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|x86.ActiveCfg = Release|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|x86.Build.0 = Release|Any CPU
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|x86.ActiveCfg = Release|x86
{D6796C2A-AC35-4CF7-815F-7CD2A10094CE}.Release|x86.Build.0 = Release|x86
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|x86.ActiveCfg = Debug|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|x86.Build.0 = Debug|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|x86.ActiveCfg = Debug|x86
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Debug|x86.Build.0 = Debug|x86
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|Any CPU.Build.0 = Release|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|x86.ActiveCfg = Release|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|x86.Build.0 = Release|Any CPU
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|x86.ActiveCfg = Release|x86
{9D0F24B2-E700-4F25-BA45-6FFCCD02E6D5}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
8 changes: 5 additions & 3 deletions VGMToolbox/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,9 @@ WARNING: Duplicate checking compares ALL files dropped. If checked, &quot;Move
<add key="Form_Bin2PsfFE_LblSourceFiles" value="Source Files"/>
<add key="Form_Bin2PsfFE_LblOutputFolder" value="Output Folder"/>
<add key="Form_Bin2PsfFE_LblPsfLibName" value="PSFLib Name"/>
<add key="Form_Bin2PsfFE_CheckBoxMinipsf" value="Create .psflib for VH/VB data"/>
<add key="Form_Bin2PsfFE_CheckBoxMinipsf" value="Create .psflib for Driver"/>
<add key="Form_Bin2PsfFE_LblVabLibName" value="VABLib Name"/>
<add key="Form_Bin2PsfFE_CheckBoxVabMinipsf" value="Create .psflib for VH/VB data"/>
<add key="Form_Bin2PsfFE_GroupOptions" value="Options"/>
<add key="Form_Bin2PsfFE_LblSeqOffset" value="SEQ Offset"/>
<add key="Form_Bin2PsfFE_LblVhOffset" value="VH Offset"/>
Expand All @@ -471,8 +473,8 @@ WARNING: Duplicate checking compares ALL files dropped. If checked, &quot;Move
<!-- Miscellaneous: xSF - PSF - PSF Stub Creator -->
<add key="Form_PsfStubCreator_Title" value="PSF Driver Stub Creator"/>
<add key="Form_PsfStubCreator_IntroText" value="PsyQ SDK must be installed.
Be sure to add your PSYQ and PSYQ\\BIN folders to your PATH environment variable.
Also please create a PSYQ_PATH environment variable pointing to the top level PSYQ folder."/>
Be sure to add your PSYQ\BIN folder to your PATH environment variable.
Also please create a PSYQ_PATH environment variable pointing to PSYQ\BIN folder."/>
<add key="Form_PsfStubCreator_GroupOptions" value="Options"/>
<add key="Form_PsfStubCreator_LblDriverText" value="Driver Text String"/>
<add key="Form_PsfStubCreator_ErrPsyQPath" value="PSYQ_PATH environment variable not found."/>
Expand Down
8 changes: 5 additions & 3 deletions VGMToolbox/VGMToolbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>false</Prefer32Bit>
Expand Down Expand Up @@ -63,14 +63,17 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<DebugType>none</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Resources\ToolBox-2.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="ICSharpCode.SharpZipLib, Version=0.85.4.369, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
<HintPath>3rd\ICSharpCode.SharpZipLib.dll</HintPath>
Expand Down Expand Up @@ -1456,7 +1459,6 @@ move ICSharpCode.SharpZipLib.dll ".\lib\ICSharpCode.SharpZipLib.dll"
move ICSharpCode.SharpZipLib.dll.COPYING.txt ".\lib\ICSharpCode.SharpZipLib.dll.COPYING.txt"
move System.Data.SQLite.dll ".\lib\System.Data.SQLite.dll"
move System.Data.SQLite.xml ".\lib\System.Data.SQLite.xml"
del *.pdb
del "Bass.Net.dll"
del "Bass.Net.xml"</PostBuildEvent>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion VGMToolbox/forms/AboutForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public AboutForm()
{
InitializeComponent();

this.linkLabelHomePage.Links.Add(0, this.linkLabelHomePage.Text.Length, "http://sourceforge.net/projects/vgmtoolbox/");
this.linkLabelHomePage.Links.Add(0, this.linkLabelHomePage.Text.Length, "https://github.com/snakemeat/VGMToolbox");
this.linkLabelSupport.Links.Add(0, this.linkLabelSupport.Text.Length, "http://hcs64.com/mboard/forum.php?showthread=22580");
}

Expand Down
2 changes: 1 addition & 1 deletion VGMToolbox/forms/extraction/IsoExtractorForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ private void extractRAWToToolStripMenuItem_Click(object sender, EventArgs e)

private void fileListView_ItemDrag(object sender, ItemDragEventArgs e)
{
int x = 1;
//int x = 1;
}
}
}
43 changes: 40 additions & 3 deletions VGMToolbox/forms/xsf/Bin2PsfFrontEndForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading