Skip to content

Commit

Permalink
Added build automation to VshFpsCounter (#937)
Browse files Browse the repository at this point in the history
* add scetool to /vendor directory

* add post build event to sign prx
  • Loading branch information
TheRouletteBoi authored Aug 28, 2023
1 parent fc1f8c7 commit 4f9edb3
Show file tree
Hide file tree
Showing 6 changed files with 932 additions and 1 deletion.
17 changes: 16 additions & 1 deletion _Projects_/VshFpsCounter/src/RouLetteVshMenu.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@
<IntDir>$(SolutionDir)bin-int\$(Configuration)-$(Platform)\$(ProjectName)\</IntDir>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<TargetName>VshFpsCounter</TargetName>
<TargetExt>.prx</TargetExt>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">
<OutDir>$(SolutionDir)bin\$(Configuration)-$(Platform)\</OutDir>
<IntDir>$(SolutionDir)bin-int\$(Configuration)-$(Platform)\$(ProjectName)\</IntDir>
<IgnoreImportLibrary>true</IgnoreImportLibrary>
<TargetName>VshFpsCounter</TargetName>
<TargetExt>.prx</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PS3'">
<ClCompile>
Expand All @@ -72,8 +74,15 @@
</Link>
<Link>
<GenerateSnMapFile>FullMapFile</GenerateSnMapFile>
<AdditionalLibraryDirectories>..\..\..\lib;$(SolutionDir)vendor\VirtualShell\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories>$(SolutionDir)vendor\VirtualShell\lib;..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<OutputFormat>PRXFile</OutputFormat>
</Link>
<PostBuildEvent>
<Command>cd "$(SolutionDir)vendor\scetool\"
scetool.exe -0 SELF -1 TRUE -s FALSE -2 0A -3 1070000052000001 -4 01000002 -5 APP -6 0003004000000000 -A 0001000000000000 --self-ctrl-flags 4000000000000000000000000000000000000000000000000000000000000002 -e "$(TargetDir)$(TargetName)$(TargetExt)" "$(TargetDir)$(TargetName).sprx" 2&gt;&amp;1</Command>
<Message>Signing PRX (scetool)</Message>
</PostBuildEvent>
<CustomBuildStep />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|PS3'">
<ClCompile>
Expand All @@ -92,7 +101,13 @@
<InfoStripping>StripSymsAndDebug</InfoStripping>
<DataStripping>StripFuncsAndData</DataStripping>
<AdditionalLibraryDirectories>$(SolutionDir)vendor\VirtualShell\lib;..\..\..\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<OutputFormat>PRXFile</OutputFormat>
</Link>
<PostBuildEvent>
<Command>cd "$(SolutionDir)vendor\scetool\"
scetool.exe -0 SELF -1 TRUE -s FALSE -2 0A -3 1070000052000001 -4 01000002 -5 APP -6 0003004000000000 -A 0001000000000000 --self-ctrl-flags 4000000000000000000000000000000000000000000000000000000000000002 -e "$(TargetDir)$(TargetName)$(TargetExt)" "$(TargetDir)$(TargetName).sprx" 2&gt;&amp;1</Command>
<Message>Signing PRX (scetool)</Message>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Core\Configuration.cpp" />
Expand Down
Loading

0 comments on commit 4f9edb3

Please sign in to comment.