Results 1 to 15 of 38

Threaded View

  1. #1
    aresdGHERhgerdherhrh's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Posts
    107
    Reputation
    30
    Thanks
    527

    Exclamation [MWR] MWR FoV & FPS Changer Updated

    Ay guys I didn't like having 90 fps so I made this, its pretty sketchy but it works so ye. No idea if it will be detected so use at your own risk.

    This works on SP and MP.

    To set it up place Config.txt in your MWR steam folder. Config line 1 is FoV, line 2 is FoVScale, line 3 is your gun position. Change these values to whatever suits you.

    Make sure you have the 64bit version VC++ Redistributible: https://www.microsof*****m/en-gb/down....aspx?id=48145

    To use just inject it into MWR SP or MP, I suggest doing it during the main menu. Once it is injected it will automatically change the stuff for you. Use hotkeys to change your maxFPS:
    v key = 125 fps
    b key = 250 fps
    n key = 333 fps



     

    Code:
    // MWR FPS Changer.cpp : Defines the exported functions for the DLL application.
    //
    
    #include "stdafx.h"
    #include <stdio.h>
    #include <string>
    #include <iostream>
    #include <fstream>
    
    typedef int(__cdecl Cbuf_AddText_T)(int localClientNum, const char *Command); //Send command to console
    Cbuf_AddText_T Cbuf_AddText_MP = (Cbuf_AddText_T)0x00000001404033B0;
    Cbuf_AddText_T Cbuf_AddText_SP = (Cbuf_AddText_T)0x0000000140342EB0;
    
    unsigned long long com_maxFps = 0, cg_fov = 0, cg_fovScale = 0, cg_gun_x = 0; //Vars to hold dvar addresses
    int fpsVal = 125;
    float fovVal = 65, fovScaleVal = 1, gun_xVal = 0;
    
    DWORD WINAPI Main(LPVOID threadArgs)
    {
     std::string input;
     std::ifstream infile;
     infile.open("Config.txt");
     for (int i = 0; i < 3; i++)
     {
      std::getline(infile, input);
      if (i == 0) fovVal = std::stof(input);
      if (i == 1) fovScaleVal = std::stof(input);
      if (i == 2) gun_xVal = std::stof(input);
     }
     infile.close();
    
     if (GetModuleHandleA("h1_mp64_ship.exe") != NULL)
     {
      unsigned long long currentMPBase = 0x000000014D064D00;
    
      do
      {
       Sleep(1000);
       currentMPBase = 0x000000014D064D00;
       for (int i = 0; i < *(int*)0x000000014D064CF4; i++)
       {
        currentMPBase += 0x60;
        if (*(int*)currentMPBase == 0xF264C46C) com_maxFps = currentMPBase;
        if (*(int*)currentMPBase == 0x8572B2C7) cg_fov = currentMPBase;
        if (*(int*)currentMPBase == 0x79A1090F) cg_fovScale = currentMPBase;
        if (*(int*)currentMPBase == 0x07AC182B) cg_gun_x = currentMPBase;
       }
      } while (com_maxFps == 0 || cg_fov == 0 || cg_fovScale == 0 || cg_gun_x == 0);
    
      while (true)
      {
       *(int*)(com_maxFps + 0x50) = 0x0;
       *(int*)(cg_fov + 0x50) = 0x0;
       *(int*)(cg_fovScale + 0x50) = 0x0;
       *(int*)(cg_gun_x + 0x50) = 0x0;
    
       *(int*)(com_maxFps + 0x10) = fpsVal;
       *(float*)(cg_fov + 0x10) = fovVal;
       *(float*)(cg_fovScale + 0x10) = fovScaleVal;
       *(float*)(cg_gun_x + 0x10) = gun_xVal;
    
       Sleep(1000);
      }
     }
    
     else if (GetModuleHandleA("h1_sp64_ship.exe") != NULL)
     {
      unsigned long long currentSPBase = 0x000000014C217D20;
    
      do
      {
       Sleep(1000);
       currentSPBase = 0x000000014C217D20;
       for (int i = 0; i < *(int*)0x000000014C217D10; i++)
       {
        currentSPBase += 0x60;
        if (*(int*)currentSPBase == 0xF264C46C) com_maxFps = currentSPBase;
        if (*(int*)currentSPBase == 0x8572B2C7) cg_fov = currentSPBase;
        if (*(int*)currentSPBase == 0x79A1090F) cg_fovScale = currentSPBase;
        if (*(int*)currentSPBase == 0x07AC182B) cg_gun_x = currentSPBase;
       }
      } while (com_maxFps == 0 || cg_fov == 0 || cg_fovScale == 0 || cg_gun_x == 0);
    
      while (true)
      {
       *(int*)(com_maxFps + 0x50) = 0x0;
       *(int*)(cg_fov + 0x50) = 0x0;
       *(int*)(cg_fovScale + 0x50) = 0x0;
       *(int*)(cg_gun_x + 0x50) = 0x0;
    
       *(int*)(com_maxFps + 0x10) = fpsVal;
       *(float*)(cg_fov + 0x10) = fovVal;
       *(float*)(cg_fovScale + 0x10) = fovScaleVal;
       *(float*)(cg_gun_x + 0x10) = gun_xVal;
    
       Sleep(1000);
      }
     }
     return 0;
    }
    
    DWORD WINAPI Keys(LPVOID threadArgs)
    {
     while (true)
     {
      if (GetAsyncKeyState(0x56)) fpsVal = 125; //V = 125
      if (GetAsyncKeyState(0x42)) fpsVal = 250; //B = 250
      if (GetAsyncKeyState(0x4E)) fpsVal = 333; //N = 333
    
      Sleep(20);
     }
     return 0;
    }
    
    BOOL APIENTRY DllMain(HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
    {
     DWORD threadID;
     switch (dwReason)
     {
     case DLL_PROCESS_ATTACH:
      CreateThread(NULL, 0, Main, NULL, 0, &threadID);
      CreateThread(NULL, 0, Keys, NULL, 0, &threadID);
     case DLL_THREAD_ATTACH:
     case DLL_THREAD_DETACH:
     case DLL_PROCESS_DETACH:
      break;
     }
     return TRUE;
    }


    <b>Downloadable Files</b> Downloadable Files

  2. The Following 61 Users Say Thank You to aresdGHERhgerdherhrh For This Useful Post:

    147258369kK (12-05-2021),adam13-37 (07-24-2017),allen2020 (12-29-2021),aogap1 (03-07-2023),aqulameow (12-26-2023),Arcaane (05-03-2017),ayylmaojake (10-28-2019),bazingahackz (09-27-2022),c0l3hd (11-19-2016),CarlosDanger696969 (4 Weeks Ago),chonggonglong (06-27-2018),chujmujdzikiwaz (09-11-2022),Dee (11-15-2016),DoritoBacon (03-17-2022),FatNobz (03-10-2022),Fear1ess (12-03-2016),felipecamposap (06-11-2019),gabrielkill307 (11-19-2019),gamerxpro_17 (09-13-2017),Getraw (01-24-2020),gladius0001 (01-15-2017),greenfishs (07-27-2017),gtboss12 (11-11-2016),hamze1991 (05-22-2020),JhonWK (08-04-2023),kazmierczak (07-09-2018),Keanubado2002 (11-20-2016),kecctrjb (05-30-2022),kentrez.zadkiel (03-30-2022),Lakiana (10-10-2023),layers1234 (11-10-2023),Lexignis (06-03-2019),MACOLAA (08-09-2019),marrrzy (11-10-2016),mjdkw (12-03-2022),montimen79 (05-11-2018),moodymk (04-07-2017),nothankyou1 (04-18-2017),PoorSoul (11-26-2016),propedits (11-09-2016),rasdasfds (09-07-2023),Roefler (08-03-2022),silverhand1111 (04-25-2024),smanderz (10-26-2022),spyboy (06-22-2017),stufferer (01-06-2022),taker69 (06-29-2023),TaZeSvK1 (10-30-2017),twindonger (11-11-2016),Urmom4200 (03-17-2022),V4nda1 (07-14-2018),vladis24 (02-17-2019),vvvvvv123 (11-23-2023),wail0518 (07-17-2023),X-1138 (01-23-2022),xDasEinhorn (01-17-2022),yayax97351 (12-27-2016),yervasio (2 Days Ago),zainer1 (07-20-2020),zalupa_konskaya (08-18-2022),ZeubyX (11-09-2016)

Similar Threads

  1. [Outdated] [MWR] MWR FoV & FPS Changer
    By aresdGHERhgerdherhrh in forum Call of Duty 4 - Modern Warfare Remastered
    Replies: 14
    Last Post: 11-06-2016, 01:09 PM
  2. [Solved] I used Sensor FOV-FPS changer. Game crashed and now FOV is opposite.
    By DunHateJustLove in forum Call of Duty Advanced Warfare Help
    Replies: 5
    Last Post: 03-17-2015, 04:55 AM
  3. [Detected] AVA Name and rank changer - UPDATE - (Jan. 7 2013 GERMAN TIME)
    By ccman32 in forum Alliance of Valiant Arms (AVA) Hacks & Cheats
    Replies: 30
    Last Post: 01-27-2013, 03:02 AM
  4. [Release] [FPS]Injector[Updated]
    By Sprite in forum CrossFire Spammers, Injectors and Multi Tools
    Replies: 12
    Last Post: 12-04-2011, 02:02 AM
  5. [Gamestudio - Preview]Multiplayer FPS Shooter Update#2
    By OBrozz in forum Unity / UDK / GameStudio / CryEngine Development
    Replies: 5
    Last Post: 07-28-2011, 12:44 PM

Tags for this Thread