From 7e64f0990d4363200ab96a3ece0376f510a3fb42 Mon Sep 17 00:00:00 2001 From: Sui Date: Thu, 27 Oct 2016 17:17:53 +0200 Subject: [PATCH] ddd --- AVPPH_CustomLauncher.sdf | Bin 37289984 -> 37289984 bytes GameHack.cs | 10 +- Properties/AssemblyInfo.cs | 4 +- README.md | 14 +- Release/AVP2PH_CustomLauncher.exe | Bin 323584 -> 325120 bytes Release/widescreenfix.dll | Bin 12800 -> 12800 bytes SettingsForms/GameSettingsForm.cs | 310 +++++++++++++++++------------- 7 files changed, 197 insertions(+), 141 deletions(-) diff --git a/AVPPH_CustomLauncher.sdf b/AVPPH_CustomLauncher.sdf index a54dc1a10fa9c69b7d574d4c42e0e42c0ab035d9..9c1fa8e2438a6a3e6f5654d52a497b8ffc1ef1af 100644 GIT binary patch delta 2859 zcmYk+36PIv9KiAS|F>(sSk}4gUh8JDYguq(c<5=)eVE7ZC-jbv1E@i zm4n!hGuQ3x*r;&on$xXg{_jlg9G#z#kho;j$z{D`vVu}czBCA8W73jhMy3=bCLfFB z<<`w8Jd>ZgD!y8{HxkV}9*Ndi8xsvyM55gjCuKx~K{)Cl_UGJL{_U}L) zsS|ak^XPoaqAt{xE}(AIoqEuP)RTJAMbw)vrat5|`%!-yK$p;^bQuk#%jpWblCGkw z=^7eD*V1)#Jq@NC=tjDUZl+sk2;E9U={6ch!)XNFPIu6qG?MP3yXhVpMWg9nx{vOs z2WSjENDt9idYHyhHa$X*(s-Ic6KN9V&|~yCJwcOc3Oz|rQ7%oTY4kMZ(K9riX3$KU zMYHKydXAo_IW(7Epn3En&8G#lkQUKmdWl}9SLjuGjh4_-T1Lxh1?AK0R6r}~4O&Ho zw3^2EqiXD5gKBe^6|DIqZuDPVG)b3Mk|C|7 zjbut&X(#QagLITm(pk=v^Ce5VNLRT)x=DBGAs0$d=_MCQZ@F0dNMGqE=l;h4r%U8g zxl9Ji<#L5wDObtWa*Yg(@OC3p;x{@OGq`owehSEqHOA~1-%_LQt cOABc!X_79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ack.cs b/GameHack.cs index f447cba..4363f6f 100644 --- a/GameHack.cs +++ b/GameHack.cs @@ -39,7 +39,8 @@ class GameHack int[] offsetFovY = new int[] { 0x4, 0xC8 }; int bgScalingAddress = 0x001F70C4; - int[] bgScalingOffsets = new int[] { 0x2BC, 0x1c4 }; + int[] bgScalingOffsetsX = new int[] { 0x2BC, 0x1c0 }; + int[] bgScalingOffsetsY = new int[] { 0x2BC, 0x1c4 }; public void DoWork() { @@ -86,7 +87,7 @@ public void DoWork() { ReadFovX = Trainer.ReadPointerFloat(myProcess, cshellBaseAdress + fovAddress, offsetFovX); ReadFovY = Trainer.ReadPointerFloat(myProcess, cshellBaseAdress + fovAddress, offsetFovY); - readBgValue = Trainer.ReadPointerFloat(myProcess, cshellBaseAdress + bgScalingAddress, bgScalingOffsets); + readBgValue = Trainer.ReadPointerFloat(myProcess, cshellBaseAdress + bgScalingAddress, bgScalingOffsetsY); @@ -96,7 +97,10 @@ public void DoWork() Trainer.WritePointerFloat(myProcess, cshellBaseAdress + fovAddress, offsetFovY, fovY); if (readBgValue != bgCorrectedValue && readBgValue != 0x0000000) - Trainer.WritePointerFloat(myProcess, cshellBaseAdress + bgScalingAddress, bgScalingOffsets, bgCorrectedValue); + { + Trainer.WritePointerFloat(myProcess, cshellBaseAdress + bgScalingAddress, bgScalingOffsetsX, 1.570796f); + Trainer.WritePointerFloat(myProcess, cshellBaseAdress + bgScalingAddress, bgScalingOffsetsY, bgCorrectedValue); + } if (!dllInjected && LithTechBaseAdress != 0x0 && cshellBaseAdress != 0x0 && d3dren != 0x0) { diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 7a716e4..d166840 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.6.3.0")] -[assembly: AssemblyFileVersion("0.6.3.0")] +[assembly: AssemblyVersion("0.6.4.0")] +[assembly: AssemblyFileVersion("0.6.4.0")] diff --git a/README.md b/README.md index ac438b7..0657c18 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ Features * Built in aspect ratio hack for easy access to widescreen resolutions. * Built in FOV changer, tied directly to aspect ratio hack (calculated as the most common Horizontal+ FOV). +Requirements +------- + * Aliens vs. Predator 2: Primal Hunt + * Windows Vista / 7 / 8 / 10 + * [Microsoft .NET Framework 4.5](https://www.microsoft.com/en-US/download/details.aspx?id=30653) + * [Visual C++ Redistributable for Visual Studio 2015](https://www.microsoft.com/en-US/download/details.aspx?id=48145) 32-bit + * Administrator rights on the system (due to writting to memory of other program / injecting DLL libraries etc.) + Installation ------- Patch the game if you haven't already. Download the program from [releases page](https://github.com/SuiMachine/AVP2PH-Custom-Launcher/releases). Copy it to AVP2 directory. To get rid of annoying question from Windows about download files, right click on **AVP_CustomLauncher.exe**, and choose Properties. In the General tab, click Unlock. @@ -18,6 +26,10 @@ Patch the game if you haven't already. Download the program from [releases page] **Note 2**: For running the game on resolutions wider than 2048px you'll need "special" D3DIM700.DLL by jackfuste. It can be found [here](http://www.wsgf.org/forums/viewtopic.php?p=155982#p155982). +**Note 3**: While it may be surprising some some people, I have not tested the launcher with multiplayer. With the master servers being dead for a long time and projects to restore them having suspecious files (says the one, who literally injects DLLs into memory), for me, it's dead. + Credits ------- -* [SuicideMachine](http://www.twitch.tv/suicidemachine/) \ No newline at end of file +* [SuicideMachine](http://www.twitch.tv/suicidemachine/) +* evolution536 - who wrote the DLL injector class +* Cless - who wrote the trainer class \ No newline at end of file diff --git a/Release/AVP2PH_CustomLauncher.exe b/Release/AVP2PH_CustomLauncher.exe index b1b3182ea1cd73d0ba2f5973f68c1c2a38623486..2a95f791c90cd25d3bf59332b9486d36e5130f85 100644 GIT binary patch delta 17043 zcmcJ1349b)w)d&(>gpv)C!M7`-3fHqn{4c>CaR`DXOFd@`f({m-fDB?M=F@Atmf`Q_ZRpL5S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#}@JzK1v(AI7HLTkhA!7sFd9$a79jvUQJ zUuwq{rCW3UAG8P2u6yQdt*5se-g9?`SW}z-_O+Jb_q?NF-V^$^fNT*U&H>8hAmk?Z e%XSKE=+HL$?K;D0ie=y|^D8Bsn>FNa2m=7~S`wlF delta 101 zcmZojX-HYX$b3SRZ!--@-Z 2048 && notificationToBig == false) + { + notificationToBig = true; + if (!File.Exists("D3DIM700.DLL")) + { + DialogResult result = MessageBox.Show("For resolutions wider than 2048 you'll need jackfuste's D3DIM700.dll wrapper. Running the game without it, will either crash the game or cause it to start in 640x480. Do you wish to download it?", "Notification", MessageBoxButtons.YesNo, MessageBoxIcon.Question); + if (result == DialogResult.Yes) + { + System.Diagnostics.Process.Start("http://www.wsgf.org/forums/viewtopic.php?p=155982#p155982"); + } + } + } + } + } + + private void T_ResolutionY_TextChanged(object sender, EventArgs e) + { + var res = 720; + if (int.TryParse(T_ResolutionY.Text, out res)) + { + ResolutionY = res; + + if (ResolutionY > 2048 && notificationToBig == false) + { + notificationToBig = true; + if (!File.Exists("D3DIM700.DLL")) + { + DialogResult result = MessageBox.Show("For resolutions wider than 2048 you'll need jackfuste's D3DIM700.dll wrapper. Running the game without it, will either crash the game or cause it to start in 640x480. Do you wish to download it?", "Notification", MessageBoxButtons.YesNo, MessageBoxIcon.Question); + if (result == DialogResult.Yes) + { + System.Diagnostics.Process.Start("http://www.wsgf.org/forums/viewtopic.php?p=155982#p155982"); + } + } + } + } + } + + private void C_Windowed_CheckedChanged(object sender, EventArgs e) + { + if (C_Windowed.Checked) + { + windowed = true; + if (!notificationWindowed) + { + notificationWindowed = true; + MessageBox.Show("Warning: The game uses V-sync to limit its framerate and has some unintended behaviours when the framerate is uncapped.\n\nSince V-sync doesn't work in windowed mode, make sure to use either GPU control panel setting or external application (like Dxtory) to limit your framerate.", "Notification", MessageBoxButtons.OK, MessageBoxIcon.Information); + } + } + else + windowed = false; + } + + private void C_EnableAspectRatioMemoryWrite_CheckedChanged(object sender, EventArgs e) + { + if (C_EnableAspectRatioMemoryWrite.Checked) + { + aspectratiohack = true; + TB_FOV.Enabled = true; + } + else + { + aspectratiohack = false; + TB_FOV.Enabled = false; + } + + } + + private void C_32color_CheckedChanged(object sender, EventArgs e) + { + if (C_32color.Checked) + GameBitDepth = true; + else + GameBitDepth = false; + } + + private void TB_FOV_TextChanged(object sender, EventArgs e) + { + var res = 90.0f; + if (float.TryParse(TB_FOV.Text, out res)) + { + fov = res; + } + } + + private void B_ManualEdit_TextChanged(object sender, EventArgs e) + { + text = B_ManualEdit.Text; + } + + private void B_SaveAndClose_Click(object sender, EventArgs e) + { + savecustomconfig(); + savefile(); + Close(); + } + + private void B_Cancel_Click(object sender, EventArgs e) + { + Close(); + } + + private void C_DisableSound_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableSound.Checked) + disablesound = true; + else + disablesound = false; + } + + private void C_DisableMusic_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableMusic.Checked) + disablemusic = true; + else + disablemusic = false; + } + + private void C_DisableLogos_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableLogos.Checked) + disablelogos = true; + else + disablelogos = false; + } + + private void C_DisableTripleBuffering_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableTripleBuffering.Checked) + disabletripplebuffering = true; + else + disabletripplebuffering = false; + } + + private void C_DisableJoystick_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableJoystick.Checked) + disablejoystick = true; + else + disablejoystick = false; + } + + private void C_DisableHardwareCursor_CheckedChanged(object sender, EventArgs e) + { + if (C_DisableHardwareCursor.Checked) + disablehardwarecursor = true; + else + disablehardwarecursor = false; + } + + private void T_CommandLine_TextChanged(object sender, EventArgs e) + { + } + #endregion + + #region readFunctions public void readcustomconfig() { StreamReader SR = new StreamReader(customConfig); @@ -245,75 +411,17 @@ public void readfile() B_ManualEdit.Text = text; SR.Close(); SR.Dispose(); + notificationToBig = false; + notificationWindowed = false; } + #endregion - private void T_ResolutionX_TextChanged(object sender, EventArgs e) - { - var res = 1280; - if(int.TryParse(T_ResolutionX.Text, out res)) - { - ResolutionX = res; - } - } - - private void T_ResolutionY_TextChanged(object sender, EventArgs e) - { - var res = 720; - if (int.TryParse(T_ResolutionY.Text, out res)) - { - ResolutionY = res; - } - } - - private void C_Windowed_CheckedChanged(object sender, EventArgs e) - { - if (C_Windowed.Checked) - { - windowed = true; - //MessageBox.Show("Warning: The game uses V-sync to limit its framerate and has some unintended behaviours when the framerate is uncapped.\n\nSince V-sync doesn't work in windowed mode, make sure to use either GPU control panel setting or external application (like Dxtory) to limit your framerate.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); - } - - else - windowed = false; - } - - private void C_EnableAspectRatioMemoryWrite_CheckedChanged(object sender, EventArgs e) - { - if (C_EnableAspectRatioMemoryWrite.Checked) - { - aspectratiohack = true; - TB_FOV.Enabled = true; - } - else - { - aspectratiohack = false; - TB_FOV.Enabled = false; - } - - } - - private void C_32color_CheckedChanged(object sender, EventArgs e) - { - if (C_32color.Checked) - GameBitDepth = true; - else - GameBitDepth = false; - } - - private void TB_FOV_TextChanged(object sender, EventArgs e) - { - var res = 90.0f; - if(float.TryParse(TB_FOV.Text, out res)) - { - fov = res; - } - } - + #region saveFunctions private void savecustomconfig() { string output = ""; output += "Windowed:" + windowed.ToString() + "\n"; - output += "DisableSound:" + disablesound.ToString() + "\n"; + output += "DisableSound:" + disablesound.ToString() + "\n"; output += "DisableMusic:" + disablemusic.ToString() + "\n"; output += "DisableLogos:" + disablelogos.ToString() + "\n"; output += "DisableTrippleBuffering:" + disabletripplebuffering.ToString() + "\n"; @@ -333,12 +441,12 @@ private void savefile() output += "\"SCREENHEIGHT\" \"" + ResolutionY.ToString() + "\"\n"; output += "\"GameScreenHeight\" \"" + ResolutionY.ToString() + "\"\n"; - if(GameBitDepth) + if (GameBitDepth) output += "\"GameBitDepth\" \"32\"\n"; else output += "\"GameBitDepth\" \"16\"\n"; - if(FixTJunc) + if (FixTJunc) output += "\"FixTJunc\" \"1\"\n"; else output += "\"FixTJunc\" \"0\"\n"; @@ -346,74 +454,6 @@ private void savefile() output += text; File.WriteAllText(autoexecfile, output); } - - private void B_ManualEdit_TextChanged(object sender, EventArgs e) - { - text = B_ManualEdit.Text; - } - - private void B_SaveAndClose_Click(object sender, EventArgs e) - { - savecustomconfig(); - savefile(); - Close(); - } - - private void B_Cancel_Click(object sender, EventArgs e) - { - Close(); - } - - private void C_DisableSound_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableSound.Checked) - disablesound = true; - else - disablesound = false; - } - - private void C_DisableMusic_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableMusic.Checked) - disablemusic = true; - else - disablemusic = false; - } - - private void C_DisableLogos_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableLogos.Checked) - disablelogos = true; - else - disablelogos = false; - } - - private void C_DisableTripleBuffering_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableTripleBuffering.Checked) - disabletripplebuffering = true; - else - disabletripplebuffering = false; - } - - private void C_DisableJoystick_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableJoystick.Checked) - disablejoystick = true; - else - disablejoystick = false; - } - - private void C_DisableHardwareCursor_CheckedChanged(object sender, EventArgs e) - { - if (C_DisableHardwareCursor.Checked) - disablehardwarecursor = true; - else - disablehardwarecursor = false; - } - - private void T_CommandLine_TextChanged(object sender, EventArgs e) - { - } + #endregion } }