question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MacOS: Failed to apply 'viewport' patch

See original GitHub issue

Unfortunately, hephaistos fails to apply the patch on my Macbook.

I moved hephaistos to /Users/marcel/Library/Application Support/Steam/steamapps/common/Hades:

~/Library/Application Support/Steam/steamapps/common/Hades
❯ ll
total 6.9M
drwxr-xr-x 3 marcel staff   96 Apr  7 21:18 Game.macOS.app
drwxr-xr-x 4 marcel staff  128 Apr  8 18:55 hephaistos-data
-rwxr-xr-x 1 marcel staff 6.9M Feb 28 16:29 hephaistos

I executed the patching process in this directory using ./hephaistos.

The log I get from the Terminal:

Hi! This interactive wizard will help you to set up Hephaistos.
Note: while Hephaistos can be used in interactive mode for basic usage, you will need to switch to non-interactive mode for any advanced usage. See the README for more details.

Current version: v1.6.3
Latest version: could not check latest version -- perhaps no Internet connection is available?

Pick an option:
1. Patch Hades using Hephaistos
2. Restore Hades to its pre-Hephaistos state
3. Check current Hades / Hephaistos status
4. Exit
Choice: 1

Pick an option:
1. Select from common 21:9 resolutions
2. Select from common 32:9 resolutions
3. Select from common 48:9 / triple screen resolutions
4. Input resolution manually
5. Cancel
Choice: 2

Select resolution:
1. 3840 x 1080
2. 5120 x 1440
3. Cancel
Choice: 2

Select HUD preference (for 32:9, try out both options and see what you prefer!):
1. Expand HUD horizontally (recommended for 21:9)
2. Keep HUD in the center (recommended for 48:9 / triple screen)
3. Cancel
Choice: 2

INFO:hephaistos:Using resolution: (5120, 1440)
INFO:hephaistos:Using '--scaling=hor+': computed patch viewport (3840, 1080)
INFO:hephaistos:Using '--hud=center': HUD will be kept in the center of the screen
ERROR:hephaistos:Failed to apply 'viewport' patch in 'Game.macOS.app/Contents/MacOS/Game.macOS' (no occurrences found)

I checked the printed directory Game.macOS.app/Contents/MacOS/Game.macOS and the Game.macOS file is present.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nbusseneaucommented, Apr 9, 2022

This should be fixed by eb6e687183247f3e0be7d9c500fb3c436fef5ee2, test build here: hephaistos-macos.zip

0reactions
nbusseneaucommented, Apr 10, 2022

Released in v1.6.4.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
Linux/Mac compatibility of multi-viewports · Issue #2117 - GitHub
The following message is to report the macOS compatibility of the viewport branch using the example_glfw_opengl3 binary. OS: macOS 10.12.6 ...
Read more >
Fix macOS “Installation failed, An error occurred while ...
Some Mac users have run into an error when attempting to download or install system software updates that says “Installation failed, ...
Read more >
Why does Cinema 4D's viewport on my Mac glitch?
We've discovered a Mac Display setting called ProMotion may be causing the viewport to glitch on some Mac systems. Not all Mac systems...
Read more >
What to do if your Ventura update is stuck - Macworld
Here's what to do if your Mac appears to freeze while you are downloading or installing macOS Ventura or if you get an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found