Skip to content

Commit

Permalink
DivaLZMA release
Browse files Browse the repository at this point in the history
  • Loading branch information
korenkonder committed Sep 11, 2023
1 parent 9f6c821 commit c5cb908
Show file tree
Hide file tree
Showing 38 changed files with 13,857 additions and 2 deletions.
6 changes: 6 additions & 0 deletions MMPlusMods.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenLyricLimit", "src\OpenL
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PotatoMM", "src\PotatoMM\PotatoMM.vcxproj", "{A3F8F8AD-4D09-45A3-936E-43C118D1AC93}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DivaLZMA", "src\DivaLZMA\DivaLZMA.vcxproj", "{108E115A-3012-436E-8DEF-758783DF7D8A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Expand All @@ -21,6 +23,10 @@ Global
{A3F8F8AD-4D09-45A3-936E-43C118D1AC93}.Debug|x64.Build.0 = Debug|x64
{A3F8F8AD-4D09-45A3-936E-43C118D1AC93}.Release|x64.ActiveCfg = Release|x64
{A3F8F8AD-4D09-45A3-936E-43C118D1AC93}.Release|x64.Build.0 = Release|x64
{108E115A-3012-436E-8DEF-758783DF7D8A}.Debug|x64.ActiveCfg = Debug|x64
{108E115A-3012-436E-8DEF-758783DF7D8A}.Debug|x64.Build.0 = Debug|x64
{108E115A-3012-436E-8DEF-758783DF7D8A}.Release|x64.ActiveCfg = Release|x64
{108E115A-3012-436E-8DEF-758783DF7D8A}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# MMPlusMods
Various mods for Hatsune Miku: Project DIVA Mega Mix+

## PotatoMM
Mod for potato PC users
## DivaLZMA
Adds support for LZMA compression alongside gzip compression

## OpenLyricLimit
Small patch that allows 1000 lines of lyrics

## PotatoMM
Mod for potato PC users
46 changes: 46 additions & 0 deletions src/DivaLZMA/DivaLZMA.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#define IDR_VERSION2 101

#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

#define APSTUDIO_READONLY_SYMBOLS
#include "winres.h"
#undef APSTUDIO_READONLY_SYMBOLS

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,03
PRODUCTVERSION 1,03
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x0L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "000904b0"
BEGIN
VALUE "FileDescription", "DivaLZMA"
VALUE "FileVersion", "1.03"
VALUE "InternalName", "DivaLZMA"
VALUE "LegalCopyright", "korenkonder (C) 2023"
VALUE "OriginalFilename", "DivaLZMA.dll"
VALUE "ProductName", "DivaLZMA"
VALUE "ProductVersion", "1.03"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x9, 1200
END
END
157 changes: 157 additions & 0 deletions src/DivaLZMA/DivaLZMA.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{108e115a-3012-436e-8def-758783df7d8a}</ProjectGuid>
<RootNamespace>DivaLZMA</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<IntDir>$(SolutionDir)obj\debug\DivaLZMA\</IntDir>
<TargetName>DivaLZMA</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)bin\</OutDir>
<IntDir>$(SolutionDir)obj\release\DivaLZMA\</IntDir>
<TargetName>DivaLZMA</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<OmitFramePointers>false</OmitFramePointers>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<CallingConvention>FastCall</CallingConvention>
<IntrinsicFunctions>true</IntrinsicFunctions>
<CompileAs>CompileAsCpp</CompileAs>
<ObjectFileName>$(IntDir)/%(RelativeDir)</ObjectFileName>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<UseFullPaths>false</UseFullPaths>
<AdditionalIncludeDirectories>$(SolutionDir)extern\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<TargetMachine>MachineX64</TargetMachine>
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>detours.lib;syelog.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>/ignore:4098 /ignore:4099 /ignore:4286 %(AdditionalOptions)</AdditionalOptions>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<AdditionalLibraryDirectories>$(SolutionDir)extern\lib\</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>WIN32;DINPUT8_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<OmitFramePointers>false</OmitFramePointers>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<CallingConvention>FastCall</CallingConvention>
<CompileAs>CompileAsCpp</CompileAs>
<ObjectFileName>$(IntDir)/%(RelativeDir)</ObjectFileName>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<UseFullPaths>false</UseFullPaths>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<DisableSpecificWarnings>26812</DisableSpecificWarnings>
<AdditionalIncludeDirectories>$(SolutionDir)extern\src</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<TargetMachine>MachineX64</TargetMachine>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<AdditionalDependencies>detours.lib;syelog.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalOptions>/ignore:4098 /ignore:4099 /ignore:4286 %(AdditionalOptions)</AdditionalOptions>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<AdditionalLibraryDirectories>$(SolutionDir)extern\lib\</AdditionalLibraryDirectories>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="DivaLZMA.rc" />
<ResourceCompile Include="LZMA\7zVersion.rc" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
<ClCompile Include="LZMA\7zCrc.c" />
<ClCompile Include="LZMA\7zCrcOpt.c" />
<ClCompile Include="LZMA\Alloc.c" />
<ClCompile Include="LZMA\CpuArch.c" />
<ClCompile Include="LZMA\LzFind.c" />
<ClCompile Include="LZMA\LzFindMt.c" />
<ClCompile Include="LZMA\LzFindOpt.c" />
<ClCompile Include="LZMA\LzmaDec.c" />
<ClCompile Include="LZMA\LzmaEnc.c" />
<ClCompile Include="LZMA\LzmaLib.c" />
<ClCompile Include="LZMA\Threads.c" />
<ClCompile Include="lzma_wrap.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="LZMA\7z.h" />
<ClInclude Include="LZMA\7zCrc.h" />
<ClInclude Include="LZMA\7zTypes.h" />
<ClInclude Include="LZMA\7zVersion.h" />
<ClInclude Include="LZMA\7zWindows.h" />
<ClInclude Include="LZMA\Alloc.h" />
<ClInclude Include="LZMA\Compiler.h" />
<ClInclude Include="LZMA\CpuArch.h" />
<ClInclude Include="LZMA\LzFind.h" />
<ClInclude Include="LZMA\LzFindMt.h" />
<ClInclude Include="LZMA\LzHash.h" />
<ClInclude Include="LZMA\LzmaDec.h" />
<ClInclude Include="LZMA\LzmaEnc.h" />
<ClInclude Include="LZMA\LzmaLib.h" />
<ClInclude Include="LZMA\Precomp.h" />
<ClInclude Include="LZMA\RotateDefs.h" />
<ClInclude Include="LZMA\Threads.h" />
<ClInclude Include="lzma_wrap.hpp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
6 changes: 6 additions & 0 deletions src/DivaLZMA/DivaLZMA.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ShowAllFiles>true</ShowAllFiles>
</PropertyGroup>
</Project>
Loading

0 comments on commit c5cb908

Please sign in to comment.