diff --git a/Loader.cpp b/Loader.cpp index 4d50c02..d0bd9fb 100644 --- a/Loader.cpp +++ b/Loader.cpp @@ -13,7 +13,11 @@ #include "patches/nointro.h" #include "patches/enumalldisplay.h" #include "patches/noexclusiveinput.h" -#include "patches/timefix.h" +#include "patches/fixwindowed.h" +#include "patches/onetimealttab.h" +#include "patches/menuinstantcamera.h" +//#include "patches/correctaspectratiocc.h" +//#include "patches/timefix.h" bool Loader::Init() { @@ -313,6 +317,27 @@ void Loader::ApplyInitPatch() { auto globals = Globals::Get(); + ApplyFIXWINDOWED(); +#ifdef _DEBUG + printf("[LOADER] Applied FIXWINDOWED patch\n"); +#endif + + ApplyONETIMEALTTAB(); +#ifdef _DEBUG + printf("[LOADER] Applied ONETIMEALTTAB patch\n"); +#endif + + ApplyMENUINSTANTCAMERA(); +#ifdef _DEBUG + printf("[LOADER] Applied MENUINSTANTCAMERA patch\n"); +#endif + +/* ApplyCORRECTASPECTRATIOCC(); +#ifdef _DEBUG + printf("[LOADER] Applied CORRECTASPECTRATIOCC patch\n"); +#endif +*/ + if (!globals->LoaderUseFullFunctions) return; diff --git a/ffloader.vcxproj b/ffloader.vcxproj index 95109ff..32e269f 100644 --- a/ffloader.vcxproj +++ b/ffloader.vcxproj @@ -1,154 +1,160 @@ - - - - - - Debug - Win32 - - - Release - Win32 - - - - - - - - NotUsing - NotUsing - - - - - - - - - Create - Create - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 16.0 - Win32Proj - {4537d70a-9a17-400d-9a1d-ae7be7c854b4} - ffloader - 10.0 - - - - DynamicLibrary - true - v143 - Unicode - - - DynamicLibrary - false - v143 - true - Unicode - - - - - - - - - - - - - - - true - H:\Fur Fighters\ - NetLib - - - false - H:\Fur Fighters\ - NetLib - - - - Level3 - true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - Use - $(DX8SDK_DIR)\include;%(AdditionalIncludeDirectories) - - - Windows - true - $(DX8SDK_DIR)\lib;%(AdditionalLibraryDirectories) - ddraw.lib;Rpcrt4.lib;%(AdditionalDependencies) - true - $(OutDir)$(TargetName).map - true - true - - - - - Level3 - true - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - Use - $(DX8SDK_DIR)\include;%(AdditionalIncludeDirectories) - - - Windows - true - true - true - $(DX8SDK_DIR)\lib;%(AdditionalLibraryDirectories) - ddraw.lib;Rpcrt4.lib;%(AdditionalDependencies) - - - - - - - - - - Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}. - - - - - + + + + + + Debug + Win32 + + + Release + Win32 + + + + + + + + NotUsing + NotUsing + + + + + + + + + Create + Create + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 16.0 + Win32Proj + {4537d70a-9a17-400d-9a1d-ae7be7c854b4} + ffloader + 10.0 + + + + DynamicLibrary + true + v143 + Unicode + + + DynamicLibrary + false + v143 + true + Unicode + + + + + + + + + + + + + + + true + ..\..\Games\Fur Fighters + NetLib + + + false + ..\..\Games\Fur Fighters + NetLib + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + Use + C:\1reps\ffloader\DXSDK\include;%(AdditionalIncludeDirectories) + + + Windows + true + $(DX8SDK_DIR)\lib;%(AdditionalLibraryDirectories) + ddraw.lib;Rpcrt4.lib;%(AdditionalDependencies) + true + $(OutDir)$(TargetName).map + true + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + Use + C:\1reps\ffloader\DXSDK\include;%(AdditionalIncludeDirectories) + + + Windows + true + true + true + $(DX8SDK_DIR)\lib;%(AdditionalLibraryDirectories) + ddraw.lib;Rpcrt4.lib;%(AdditionalDependencies) + + + + + + + + + + Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}. + + + + + \ No newline at end of file diff --git a/ffloader.vcxproj.filters b/ffloader.vcxproj.filters index 30d7ad6..fdd72e7 100644 --- a/ffloader.vcxproj.filters +++ b/ffloader.vcxproj.filters @@ -86,6 +86,20 @@ Patches + + Patches + + + Patches + + + Patches + + File di intestazione diff --git a/patches/correctaspectratiocc/correctaspectratiocc.1337 b/patches/correctaspectratiocc/correctaspectratiocc.1337 new file mode 100644 index 0000000..a894758 --- /dev/null +++ b/patches/correctaspectratiocc/correctaspectratiocc.1337 @@ -0,0 +1,44 @@ +>furfighters.exe +0014FF56:8B->E9 +0014FF57:45->8F +0014FF58:08->32 +0014FF59:A3->04 +0014FF5A:60->00 +0014FF5B:85->90 +0014FF5C:65->90 +0014FF5D:00->90 +0014FF5E:8B->90 +0014FF5F:4D->90 +0014FF60:0C->90 +0014FF61:89->90 +0014FF62:0D->90 +0014FF63:64->90 +0014FF64:85->90 +0014FF65:65->90 +0014FF66:00->90 +001931EA:00->8B +001931EB:00->45 +001931EC:00->08 +001931ED:00->C7 +001931EE:00->05 +001931EF:00->60 +001931F0:00->85 +001931F1:00->65 +001931F5:00->48 +001931F6:00->44 +001931F7:00->8B +001931F8:00->4D +001931F9:00->0C +001931FA:00->C7 +001931FB:00->05 +001931FC:00->64 +001931FD:00->85 +001931FE:00->65 +00193202:00->16 +00193203:00->44 +00193204:00->E9 +00193205:00->5E +00193206:00->CD +00193207:00->FB +00193208:00->FF +00193209:00->90 \ No newline at end of file diff --git a/patches/fixwindowed/fixwindowed.1337 b/patches/fixwindowed/fixwindowed.1337 new file mode 100644 index 0000000..e8547fb --- /dev/null +++ b/patches/fixwindowed/fixwindowed.1337 @@ -0,0 +1,128 @@ +>furfighters.exe +0011A6C0:00->01 +001756AC:83->90 +001756AD:7D->90 +001756AE:D8->90 +001756AF:00->90 +001756B0:75->90 +001756B1:0A->90 +001756B2:C7->90 +001756B3:05->90 +001756B4:40->90 +001756B5:20->90 +001756B6:62->90 +001756B7:00->90 +001756B8:01->90 +001756B9:00->90 +001756BA:00->90 +001756BB:00->90 +001756BC:A1->90 +001756BD:08->90 +001756BE:04->90 +001756BF:61->90 +001756C0:00->90 +001756C1:03->90 +001756C2:05->90 +001756C3:10->90 +001756C4:04->90 +001756C5:61->90 +001756C6:00->90 +001756C7:99->90 +001756C8:2B->90 +001756C9:C2->90 +001756CA:D1->90 +001756CB:F8->90 +001756CC:89->90 +001756CD:45->90 +001756CE:F4->90 +001756CF:A1->90 +001756D0:0C->90 +001756D1:04->90 +001756D2:61->90 +001756D3:00->90 +001756D4:03->90 +001756D5:05->90 +001756D6:14->90 +001756D7:04->90 +001756D8:61->90 +001756D9:00->90 +001756DA:99->90 +001756DB:2B->90 +001756DC:C2->90 +001756DD:D1->90 +001756DE:F8->90 +001756DF:89->90 +001756E0:45->90 +001756E1:F8->90 +001756E2:8D->90 +001756E3:45->90 +001756E4:F4->90 +001756E5:50->90 +001756E6:8B->90 +001756E7:0D->90 +001756E8:04->90 +001756E9:7E->90 +001756EA:66->90 +001756EB:00->90 +001756EC:51->90 +001756ED:FF->90 +001756EE:15->90 +001756EF:00->90 +001756F0:43->90 +001756F1:59->90 +001756F2:00->90 +001756F3:8B->90 +001756F4:55->90 +001756F5:F8->90 +001756F6:52->90 +001756F7:8B->90 +001756F8:45->90 +001756F9:F4->90 +001756FA:50->90 +001756FB:FF->90 +001756FC:15->90 +001756FD:D8->90 +001756FE:42->90 +001756FF:59->90 +00175700:00->90 +00175701:8D->90 +00175702:4D->90 +00175703:E4->90 +00175704:51->90 +00175705:6A->90 +00175706:10->90 +00175707:8B->90 +00175708:15->90 +00175709:2C->90 +0017570A:23->90 +0017570B:62->90 +0017570C:00->90 +0017570D:52->90 +0017570E:A1->90 +0017570F:2C->90 +00175710:23->90 +00175711:62->90 +00175712:00->90 +00175713:8B->90 +00175714:08->90 +00175715:FF->90 +00175716:51->90 +00175717:24->90 +00175718:89->90 +00175719:45->90 +0017571A:FC->90 +0017571B:83->90 +0017571C:7D->90 +0017571D:FC->90 +0017571E:00->90 +0017571F:74->90 +00175720:38->90 +00175721:81->90 +00175722:7D->90 +00175723:FC->90 +00175724:1E->90 +00175725:00->90 +00175726:07->90 +00175727:80->90 +00175728:75->90 +00175729:2F->90 \ No newline at end of file diff --git a/patches/menuinstantcamera/menuinstantcamera.1337 b/patches/menuinstantcamera/menuinstantcamera.1337 new file mode 100644 index 0000000..5071cf4 --- /dev/null +++ b/patches/menuinstantcamera/menuinstantcamera.1337 @@ -0,0 +1,26 @@ +>furfighters.exe +00040FEC:75->EB +00041323:DC->90 +00041324:35->90 +00041325:28->90 +00041326:47->90 +00041327:59->90 +00041328:00->90 +00041329:D8->90 +0004132A:0D->90 +0004132B:28->90 +0004132C:87->90 +0004132D:66->90 +0004132E:00->90 +0004133E:DC->90 +0004133F:35->90 +00041340:20->90 +00041341:47->90 +00041342:59->90 +00041343:00->90 +00041344:D8->90 +00041345:0D->90 +00041346:28->90 +00041347:87->90 +00041348:66->90 +00041349:00->90 \ No newline at end of file diff --git a/patches/onetimealttab/onetimealttab.1337 b/patches/onetimealttab/onetimealttab.1337 new file mode 100644 index 0000000..2e3f52d --- /dev/null +++ b/patches/onetimealttab/onetimealttab.1337 @@ -0,0 +1,6 @@ +>furfighters.exe +0011A6B4:0F->E9 +0011A6B5:85->3F +0011A6B6:3E->01 +0011A6B7:01->00 +0011A6B9:00->90 \ No newline at end of file