Jump to content

Gal*Gun Returns Partial 21:9/32:9 Fix [GGResturn]


5 Screenshots

About This File

This mod/fix modifies the aspect ratio values for VN dialogue, shoot-em-up, and DokiDoki sequences. This required searching for opcodes/functions that determine the horizontal aspect ratio (As the game has separate vertical and horizontal aspect ratio values which can cause zooming when not carefully modified), and modifying those to the desired aspect ratio.

There wasn't much time (or having experience with assembly) to figure out how the hardcoded resolutions and pillarboxing (Outside of running in 2560x1080) are being handled, so this is a rather basic aspect ratio modification. This comes at the expense of resolution and stretched UI. A GitLab repository link for the source code will be up soon (For those who are rightfully paranoid about running random code, and for those who are interested in maintaining or contributing). Once the source code is up, this page will be updated accordingly to link to it. Apologies if it's half-baked (or a hack-job) compared to other solutions. This fix may break if game updates/patches release.

Instructions:

  1. Download the "GGResturn.7z" archive, and extract it with 7Zip or WinRAR (The password used is "pcgw"), making sure to have the plugins folder and dinput8.dll in the game's directory (This is usually "C:\Program Files (x86)\Steam\steamapps\common\GalGun Returns").
  2. Go into the plugins folder that was extracted to the game's directory and open "config.ini" in a text editor.
  3. In the text editor, change "horizontalResolution" and "verticalResolution" to your desired resolution, making sure to save the file afterwards. The aspect ratio is calculated this way at the moment.

NOTES:
If the ImageScale related variables in the config.ini don't work, download Reshade, and during setup, select the "Legacy Standard Effects" package, make sure the "AspectRatio.fx" file is selected, run Reshade, enable the "AspectRatio.fx" effect, and play around with the scale value.

If the ImageScale doesn't fit the image onto the screen automatically, set "UseImageScale" to 1, and mess with the "ImageScale" and "ImageHorizontalScale" float values.

This mod/fix requires Visual C++ Redistributables for Visual Studio 2015-2019. Please install those from here before launching the game, and especially before reporting any errors or bugs: https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0

Known issues:

  • The character select screen upon starting a new game doesn't have a proper value that controls the horizontal aspect ratio (after hours of searching in Cheat Engine's disassembler). As a result, this screen may appear stretched.

What's New in Version 1.0.7 Update   See changelog

Released

Fixes the crashing due to Update 1.0.7.

Changed the aspect ratio option to use a Horizontal and Vertical resolution value instead (Which needs to be configured in config.ini).

Work is being made to detect the current window resolution, but there are odd crashes with that at the moment, hence why there's a Horizontal and Vertical Resolution config value now to compensate.

Make sure to replace the config.ini with this update, as the old Aspect Ratio values are no longer relevant.





User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Found PCGamingWiki useful? Please consider making a Donation or visiting our Patreon.
  • Who's Online   1 Member, 0 Anonymous, 325 Guests (See full list)

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Member Statistics

    11,398
    Total Members
    3,870
    Most Online
    handsomestrife
    Newest Member
    handsomestrife
    Joined
×
×
  • Create New...