Skip to content
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

Switching to fullscreen mode causes the game to be inappropriately stretched #13

Open
jroyvde opened this issue Aug 6, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@jroyvde
Copy link

jroyvde commented Aug 6, 2024

Bug Information

Switching to fullscreen causes the game to be stretched horizontally, resulting in widened graphics and black bars at the top and bottom of the screen. Menus don't seem to be affected and will fill the whole screen. In addition, switching back to windowed mode from fullscreen causes the game's visuals to be frozen or stuck, needing a program restart to fix.

To reproduce: Change to fullscreen mode in the options.

Expected behavior: Everything should display correctly.

Install Information

The game: Higurashi When They Cry Hou+

The mod variant: Full

I installed the patch: Using the Installer

I bought the game at: MangaGamer

Mod Install Date: 6th August 2024

System Information

My operating system is: Linux (Fedora 40)

State anything "special" about your computer's setup: N/A

Screenshots

Screenshot_20240806_211935

@drojf
Copy link
Contributor

drojf commented Aug 6, 2024

If you have any previous chapters installed (ch1-9), does it happen on those chapters too? (From my testing a long time ago, it shouldn't happen on previous chapters)

@drojf drojf added the bug Something isn't working label Aug 6, 2024
@drojf drojf self-assigned this Aug 6, 2024
@drojf
Copy link
Contributor

drojf commented Aug 8, 2024

Actually never mind, I can confirm this issue happens on my side (Steam + Ubuntu)

Also, the unmodded game does not have this issue, so it is something to do with the mod.

@drojf
Copy link
Contributor

drojf commented Aug 11, 2024

@jroyvde I found/remembered we have a workaround if you just want to play the game for now

  1. Open the game
  2. Press F10 to open the mod menu
  3. Go to "Graphics" tab
  4. At the very bottom, there is a small section called "Fullscreen Resolution Override"
  5. Fill in your screen resolution for the "width" and "height" (I filled in Width: 1920, Height: 1080).
  6. Click the "Click repeatedly to override" button three or more times to save the value.
    • NOTE: this will save a value to a Unity config file somewhere on your computer, so it will be remembered even if you close the game
  7. Click "Go Fullscreen" button on the mod menu or on the main "Config" menu to go fullscreen
  8. Going back to "windowed" now also works (I don't understand why this fixes going fullscreen->windows lol)

I closed the game and opened it again and it was still "fixed". But I guess if you change monitors or sth you will need to update the fullscreen resolution.


Also on that section of the mod menu, you can see what resolution the game "thinks" is fullscreen. My game "thinks" fullscreen is 1400 x 1050 (when it should be 1080p), which is likely the cause this this problem.

@drojf
Copy link
Contributor

drojf commented Aug 12, 2024

I believe I've figured out this issue (and some other issues related to resolution too)

If you replace your HigurashiEp10_Data/Managed/Assembly-CSharp.dll file with the one in this archive it should fix it: Assembly-CSharp-linux-resolution-fix-2024-08-12.zip

See here for details: 07th-mod/higurashi-assembly#128

@drojf
Copy link
Contributor

drojf commented Sep 14, 2024

This issue is partially fixed now, as of release https://github.com/07th-mod/hou-plus/releases/tag/v1.1.0

But I noticed some bugs occuring on my machine which should be fixed:

  • When going directly from fullscreen to a windowed resolution (say 720p) using the normal menu buttons, the "wrong resolution set" detection activates. But going from fullscreen -> windowed, then changing resolution works. So either I need to increase the "check" delay, or I need to go windowed first, then change the resolution.
  • On the normal menu, you cannot click on the "fullscreen" button when in fullscreen mode, to toggle back to windowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants