Skip to content

More patches #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion Loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down Expand Up @@ -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;

Expand Down
312 changes: 159 additions & 153 deletions ffloader.vcxproj

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions ffloader.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@
<ClInclude Include="patches\noexclusiveinput.h">
<Filter>Patches</Filter>
</ClInclude>
<ClInclude Include="patches\fixwindowed.h">
<Filter>Patches</Filter>
</ClInclude>
<ClInclude Include="patches\onetimealttab.h">
<Filter>Patches</Filter>
</ClInclude>
<ClInclude Include="patches\menuinstantcamera.h">
<Filter>Patches</Filter>
</ClInclude>
<!--
<ClInclude Include="patches\correctaspectratiocc.h">
<Filter>Patches</Filter>
</ClInclude>
-->
<ClInclude Include="enet.h">
<Filter>File di intestazione</Filter>
</ClInclude>
Expand Down
44 changes: 44 additions & 0 deletions patches/correctaspectratiocc/correctaspectratiocc.1337
Original file line number Diff line number Diff line change
@@ -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
128 changes: 128 additions & 0 deletions patches/fixwindowed/fixwindowed.1337
Original file line number Diff line number Diff line change
@@ -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
26 changes: 26 additions & 0 deletions patches/menuinstantcamera/menuinstantcamera.1337
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions patches/onetimealttab/onetimealttab.1337
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
>furfighters.exe
0011A6B4:0F->E9
0011A6B5:85->3F
0011A6B6:3E->01
0011A6B7:01->00
0011A6B9:00->90