forked from farbrausch/fr_public
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
284 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Debug/ | ||
Release/ | ||
ipch/ | ||
*.suo | ||
*.sln.old | ||
*.sdf | ||
*.opensdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
If you have VC 2010 installed and YASM in your path, you should be able to compile | ||
kkrunchy out of the box. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
Microsoft Visual Studio Solution File, Format Version 8.00 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kkrunchy", "kkrunchy.vcproj", "{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}" | ||
ProjectSection(ProjectDependencies) = postProject | ||
EndProjectSection | ||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kkrunchy", "kkrunchy.vcxproj", "{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfiguration) = preSolution | ||
Debug = Debug | ||
Release = Release | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Win32 = Debug|Win32 | ||
Release|Win32 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfiguration) = postSolution | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Debug.ActiveCfg = Debug|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Debug.Build.0 = Debug|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Release.ActiveCfg = Release|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Release.Build.0 = Release|Win32 | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Debug|Win32.Build.0 = Debug|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Release|Win32.ActiveCfg = Release|Win32 | ||
{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}.Release|Win32.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityAddIns) = postSolution | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,168 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|Win32"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{DBA4BA9A-8A3D-4298-98E4-FD67B9B0D56A}</ProjectGuid> | ||
<RootNamespace>kkrunchy</RootNamespace> | ||
<Keyword>Win32Proj</Keyword> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<CharacterSet>MultiByte</CharacterSet> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
</ImportGroup> | ||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup> | ||
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion> | ||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir> | ||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir> | ||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> | ||
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir> | ||
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir> | ||
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<Optimization>Disabled</Optimization> | ||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<MinimalRebuild>true</MinimalRebuild> | ||
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> | ||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | ||
<PrecompiledHeader> | ||
</PrecompiledHeader> | ||
<WarningLevel>Level3</WarningLevel> | ||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat> | ||
</ClCompile> | ||
<Link> | ||
<OutputFile>$(OutDir)kkrunchy.exe</OutputFile> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<ProgramDatabaseFile>$(OutDir)kkrunchy.pdb</ProgramDatabaseFile> | ||
<SubSystem>Console</SubSystem> | ||
<TargetMachine>MachineX86</TargetMachine> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ClCompile> | ||
<Optimization>MaxSpeed</Optimization> | ||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> | ||
<OmitFramePointers>true</OmitFramePointers> | ||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<StringPooling>true</StringPooling> | ||
<ExceptionHandling> | ||
</ExceptionHandling> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
<BufferSecurityCheck>false</BufferSecurityCheck> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<PrecompiledHeader> | ||
</PrecompiledHeader> | ||
<WarningLevel>Level3</WarningLevel> | ||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | ||
</ClCompile> | ||
<Link> | ||
<OutputFile>$(OutDir)kkrunchy.exe</OutputFile> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<GenerateMapFile>true</GenerateMapFile> | ||
<MapExports>true</MapExports> | ||
<SubSystem>Console</SubSystem> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<BaseAddress>0x600000</BaseAddress> | ||
<TargetMachine>MachineX86</TargetMachine> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClInclude Include="_config.hpp" /> | ||
<ClInclude Include="_startconsole.hpp" /> | ||
<ClInclude Include="_types.hpp" /> | ||
<ClInclude Include="debuginfo.hpp" /> | ||
<ClInclude Include="depacker.hpp" /> | ||
<ClInclude Include="dis.hpp" /> | ||
<ClInclude Include="exepacker.hpp" /> | ||
<ClInclude Include="mapfile.hpp" /> | ||
<ClInclude Include="packer.hpp" /> | ||
<ClInclude Include="pdbfile.hpp" /> | ||
<ClInclude Include="resource.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="_startconsole.cpp" /> | ||
<ClCompile Include="_types.cpp" /> | ||
<ClCompile Include="debuginfo.cpp" /> | ||
<ClCompile Include="depacker.cpp" /> | ||
<ClCompile Include="dis.cpp" /> | ||
<ClCompile Include="exepacker.cpp" /> | ||
<ClCompile Include="main.cpp" /> | ||
<ClCompile Include="mapfile.cpp" /> | ||
<ClCompile Include="packer.cpp" /> | ||
<ClCompile Include="pdbfile.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<CustomBuild Include="depack2.asm"> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).bin;%(Outputs)</Outputs> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).bin;%(Outputs)</Outputs> | ||
</CustomBuild> | ||
<CustomBuild Include="depacker.asm"> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).bin;%(Outputs)</Outputs> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f bin -o $(OutDir)%(Filename).bin %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).bin;%(Outputs)</Outputs> | ||
</CustomBuild> | ||
<CustomBuild Include="depacker_a.asm"> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).obj;%(Outputs)</Outputs> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath)</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) | ||
</Command> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).obj;%(Outputs)</Outputs> | ||
</CustomBuild> | ||
<CustomBuild Include="incdata.asm"> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) -DPACKNAME="\"$(OutDir)depacker.bin\"" -DPACKNAME2="\"$(OutDir)depack2.bin\""</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) -DPACKNAME="\"$(OutDir)depacker.bin\"" -DPACKNAME2="\"$(OutDir)depack2.bin\"" | ||
</Command> | ||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)depacker.bin;$(OutDir)depack2.bin;%(AdditionalInputs)</AdditionalInputs> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).obj;%(Outputs)</Outputs> | ||
<Message Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) -DPACKNAME="\"$(OutDir)depacker.bin\"" -DPACKNAME2="\"$(OutDir)depack2.bin\""</Message> | ||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">yasm -f win32 -o $(OutDir)%(Filename).obj %(FullPath) -DPACKNAME="\"$(OutDir)depacker.bin\"" -DPACKNAME2="\"$(OutDir)depack2.bin\"" | ||
</Command> | ||
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)depacker.bin;$(OutDir)depack2.bin;%(AdditionalInputs)</AdditionalInputs> | ||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).obj;%(Outputs)</Outputs> | ||
</CustomBuild> | ||
<None Include="fvs32.ico" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="Source Files"> | ||
<UniqueIdentifier>{0a3462b1-16ee-47a1-a06f-39e07d440016}</UniqueIdentifier> | ||
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="_config.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="_startconsole.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="_types.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="debuginfo.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="depacker.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="dis.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="exepacker.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="mapfile.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="packer.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="pdbfile.hpp"> | ||
<Filter>Source Files</Filter> | ||
</ClInclude> | ||
<ClInclude Include="resource.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="_startconsole.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="_types.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="debuginfo.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="depacker.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="dis.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="exepacker.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="main.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="mapfile.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="packer.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="pdbfile.cpp"> | ||
<Filter>Source Files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="fvs32.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<CustomBuild Include="depack2.asm"> | ||
<Filter>Source Files</Filter> | ||
</CustomBuild> | ||
<CustomBuild Include="depacker.asm"> | ||
<Filter>Source Files</Filter> | ||
</CustomBuild> | ||
<CustomBuild Include="depacker_a.asm"> | ||
<Filter>Source Files</Filter> | ||
</CustomBuild> | ||
<CustomBuild Include="incdata.asm"> | ||
<Filter>Source Files</Filter> | ||
</CustomBuild> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
</Project> |