 1cee8de707
			
		
	
	1cee8de707
	
	
	
		
			
			- Create complete VS2022 solution with 3 projects: * V2GDecoder: Main EXI decoder with debugging support * HexToBinary: Hex string to binary utility * HexDumpToBinary: Hex dump to binary utility - Copy all source files locally for Windows compilation: * Added Windows compatibility for unistd.h, fstat, S_ISREG * Fixed VLA issues in EncoderChannel.c with macro definitions * Include all required modules: codec, iso1, iso2, din, appHandshake - Build configuration: * Support Debug/Release x86/x64 configurations * Proper include directories and preprocessor definitions * Windows-specific compiler flags (_WIN32, __STDC_NO_VLA__) - Verification: * Both test4.exi and test5.exi decode/encode perfectly * 100% binary compatibility: original ↔ XML ↔ reencoded * Ready for step-by-step debugging in Visual Studio 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			159 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			159 lines
		
	
	
		
			7.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="utf-8"?>
 | |
| <Project DefaultTargets="Build" 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>
 | |
|     <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>17.0</VCProjectVersion>
 | |
|     <Keyword>Win32Proj</Keyword>
 | |
|     <ProjectGuid>{C9F9D9F3-4D5E-6F7A-AB1C-3D4E5F6A7B8C}</ProjectGuid>
 | |
|     <RootNamespace>HexDumpToBinary</RootNamespace>
 | |
|     <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
 | |
|   </PropertyGroup>
 | |
|   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <UseDebugLibraries>true</UseDebugLibraries>
 | |
|     <PlatformToolset>v143</PlatformToolset>
 | |
|     <CharacterSet>Unicode</CharacterSet>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <UseDebugLibraries>false</UseDebugLibraries>
 | |
|     <PlatformToolset>v143</PlatformToolset>
 | |
|     <WholeProgramOptimization>true</WholeProgramOptimization>
 | |
|     <CharacterSet>Unicode</CharacterSet>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <UseDebugLibraries>true</UseDebugLibraries>
 | |
|     <PlatformToolset>v143</PlatformToolset>
 | |
|     <CharacterSet>Unicode</CharacterSet>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
 | |
|     <ConfigurationType>Application</ConfigurationType>
 | |
|     <UseDebugLibraries>false</UseDebugLibraries>
 | |
|     <PlatformToolset>v143</PlatformToolset>
 | |
|     <WholeProgramOptimization>true</WholeProgramOptimization>
 | |
|     <CharacterSet>Unicode</CharacterSet>
 | |
|   </PropertyGroup>
 | |
|   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
 | |
|   <ImportGroup Label="ExtensionSettings">
 | |
|   </ImportGroup>
 | |
|   <ImportGroup Label="Shared">
 | |
|   </ImportGroup>
 | |
|   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 | |
|     <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|Win32'">
 | |
|     <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>
 | |
|   <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>
 | |
|   <PropertyGroup Label="UserMacros" />
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 | |
|     <LinkIncremental>true</LinkIncremental>
 | |
|     <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
 | |
|     <IntDir>$(SolutionDir)obj\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 | |
|     <LinkIncremental>false</LinkIncremental>
 | |
|     <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
 | |
|     <IntDir>$(SolutionDir)obj\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 | |
|     <LinkIncremental>true</LinkIncremental>
 | |
|     <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
 | |
|     <IntDir>$(SolutionDir)obj\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
 | |
|   </PropertyGroup>
 | |
|   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 | |
|     <LinkIncremental>false</LinkIncremental>
 | |
|     <OutDir>$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutDir>
 | |
|     <IntDir>$(SolutionDir)obj\$(ProjectName)\$(Platform)\$(Configuration)\</IntDir>
 | |
|   </PropertyGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 | |
|     <ClCompile>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <SDLCheck>true</SDLCheck>
 | |
|       <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <ConformanceMode>true</ConformanceMode>
 | |
|       <CompileAs>CompileAsC</CompileAs>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
 | |
|     <ClCompile>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <FunctionLevelLinking>true</FunctionLevelLinking>
 | |
|       <IntrinsicFunctions>true</IntrinsicFunctions>
 | |
|       <SDLCheck>true</SDLCheck>
 | |
|       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <ConformanceMode>true</ConformanceMode>
 | |
|       <CompileAs>CompileAsC</CompileAs>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | |
|       <OptimizeReferences>true</OptimizeReferences>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 | |
|     <ClCompile>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <SDLCheck>true</SDLCheck>
 | |
|       <PreprocessorDefinitions>_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <ConformanceMode>true</ConformanceMode>
 | |
|       <CompileAs>CompileAsC</CompileAs>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 | |
|     <ClCompile>
 | |
|       <WarningLevel>Level3</WarningLevel>
 | |
|       <FunctionLevelLinking>true</FunctionLevelLinking>
 | |
|       <IntrinsicFunctions>true</IntrinsicFunctions>
 | |
|       <SDLCheck>true</SDLCheck>
 | |
|       <PreprocessorDefinitions>NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
 | |
|       <ConformanceMode>true</ConformanceMode>
 | |
|       <CompileAs>CompileAsC</CompileAs>
 | |
|     </ClCompile>
 | |
|     <Link>
 | |
|       <SubSystem>Console</SubSystem>
 | |
|       <EnableCOMDATFolding>true</EnableCOMDATFolding>
 | |
|       <OptimizeReferences>true</OptimizeReferences>
 | |
|       <GenerateDebugInformation>true</GenerateDebugInformation>
 | |
|     </Link>
 | |
|   </ItemDefinitionGroup>
 | |
|   <ItemGroup>
 | |
|     <ClCompile Include="..\hex_dump_to_binary.c" />
 | |
|   </ItemGroup>
 | |
|   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
 | |
|   <ImportGroup Label="ExtensionTargets">
 | |
|   </ImportGroup>
 | |
| </Project> |