City of Heroes on Steam Deck: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(→‎Alternate Method: Removed content that is extraneous; GE modded content doesn't work on OpenGL titles.)
Line 11: Line 11:
{{hidden|Click to Read|bg1=brown|
{{hidden|Click to Read|bg1=brown|
=== Conventions Made ===
=== Conventions Made ===
Use of Flatpak is recommended to ensure that your Homecoming installation survives updates from SteamOS Holo. SteamOS overwrites any packages installed by Pacman or using a Shell script outside of userspace on a major update. 
Everything is GUI-based and accessible to non-technical users.
Everything is GUI-based and accessible to non-technical users.


Line 30: Line 28:
=== Additional Help ===
=== Additional Help ===
==== In-Game Adjustments ====
==== In-Game Adjustments ====
You may need to reconsider things as the 1280x800 Low DPI viewport is going to make UI components a bit cramped by today's High Definition display standards.  After logging in, open the Menu, click on Options, then in the Windows tab, set the following:
After logging in, open the Menu, click on Options, then in the Windows tab, set the following:
# In "User Interface" up top, disabling Automatic UI Scale and adjust the UI Scale down manually to make more room for trays and windows you need to see.
# In "User Interface" up top, disabling Automatic UI Scale and adjust the UI Scale down manually to preference.
# In "Chat", change the Chat Font Size to something that is visible, yet allows you to see enough text to read a message.  Also resize the Chat window to fit the new font size as needed.
# In "Chat", change the Chat Font Size to something that is visible.  Also resize the Chat window to fit the new font size as needed.
# Finally, arrange your UI how you like it (including all of the pop-up windows from the Nav, Chat and Power trays, which may need consideration) then:
# Finally, arrange your UI, then:
##At the bottom section "Windows Setting File", click "Save to Default File". (You can do the same with Chat, but that saves Global Channels and Tab setup, not Window positions.)
##At the bottom section "Windows Setting File", click "Save to Default File". (You can do the same with Chat, but that saves Global Channels and Tab setup, not Window positions.)
##In chat, create a macro to restore your saved defaults on your toons.  Copy and paste the following into Chat:  
##In chat, create a macro to restore your saved defaults on your toons.  Copy and paste the following into Chat:  
  <nowiki>/Macro Fix "optionload$$wdwload"</nowiki>
  <nowiki>/</nowiki>Macro Fix "optionload$$wdwload"
:::: When loading the game, if positions are messed up, click the "Fix" button to restore defaults.  Move it into a clear position on your power bar to help with subsequent loads.  Paste the above line into any of your alts for the same button to follow each character you play.
:::: When loading the game, if positions are messed up, click the "Fix" button to restore defaults.  Move it into a clear position on your power bar to help with subsequent loads.  Paste the above line into any of your alts for the same button to follow each character you play.


Line 42: Line 40:


{{EdNote|note=Certain windows will not obey default positions, such as Inspirations and the Macro window (if you use it.)  These are long-standing bugs, and the Fix button can put them back when needed.}}
{{EdNote|note=Certain windows will not obey default positions, such as Inspirations and the Macro window (if you use it.)  These are long-standing bugs, and the Fix button can put them back when needed.}}
==== Desktop vs. Gaming Mode ====
The end result is being able to start City of Heroes, patch it, and get playing without leaving Gaming Mode. All of the STEAM+Button combos for Keyboard and Screenshots, Options and Quick Access Menu buttons are fully functional even if some options don't apply to COH because it's not a Steam title.
Gaming Mode does have some limitations:
*Clicking on any buttons in HC Launcher that invoke a web browser (including logging into HC Launcher, or touching Forums or Discord Server links in the launcher) will fail while in Gaming Mode.  Use Desktop Mode to do any of that first if needed. 
*Gaming Mode will only operate the launcher to patch the client, and the game client itself, nothing else. 
**If you use Mods that run parallel with the game consider switching to Desktop Mode to use them instead.  Mods that only rely on the Game Client should work in Gaming Mode just fine without any other setup (once they work in Desktop Mode first.)
**Also, without Desktop Mode, you're limited to the Soundtrack features in Steam UI to listen to music other than the game, such as soundtracks bought in your Steam Library.
Gaming Mode is emphasized in the setup above to speed up getting started when powering on the device.  Whichever mode you prefer the same installation works on either.


==== Reconfiguring Post-Install ====  
==== Reconfiguring Post-Install ====  
Changes to the HC Launcher on startup should be done on Desktop Mode by the Lutris Launcher. (Right click "City of Heroes", choose "Configure..."  Change the settings there.)  You can also highlight City of Heroes and click the Up Arrow next to the Wine Icon on the bottom to access tools such as Winetricks and Winecfg if you wish.  Anything that works in Desktop Mode without additional apps running simultaneously will work in Gaming Mode.
Changes to the HC Launcher on startup should be done on Desktop Mode by the Lutris Launcher. Changing Properties in Gaming Mode for City of Heroes may prevent your game from starting (such as changing the launcher path or arguments, don't change those.) YOU CAN rename the title here if you wish. However, this does not write-back to Lutris in Desktop Mode.  (Lutris ID's games in the file system with a number shortcut in the order they were installed.  Name changes do not affect a launch either in Lutris or Steam.)
 
Changing Properties in Gaming Mode for City of Heroes may prevent your game from starting (such as changing the launcher path or arguments, don't change those.) YOU CAN rename the title here if you wish. "Homecoming" works if you use other servers and want to keep launcher shortcuts separate in Gaming Mode. However, this does not write-back to Lutris in Desktop Mode.  It'll still remain "City of Heroes" on there. (Lutris ID's games in the file system with a number shortcut in the order they were installed.  Name changes do not affect a launch either in Lutris or Steam.)
 
==== Using a Custom Wine library ====
You may wish to use GE-Proton (GloriousEggroll Proton) with your installation, which can be done by installing "ProtonUp-Qt" in the Discover app. Install it then follow these instructions:
# Run ProtonUp-Qt in the Gaming menu, then click "Add Version" to find a GE-Proton release in the "Wine-GE Library". (The numbering matches the major releases of Wine: GE-Proton 8.12 is Wine 8 equivalent, for example.) Click OK and let the app download the library. 
# Once installed, return to Lutris, right click "City of Heroes", choose "Configure" then click "Runner Options".  Change the Wine Version to use GE-Proton instead and Save.
# Restart the Steam Deck.
 
You can see that this worked the next time you run ProtonUp-Qt and double clicking the Library you want to check. Lutris games using the custom library will appear in the list.
 
'''Is there an advantage to this?'''
GE-Proton has several changes done by "GloriousEggroll" for a number of games.  Specifically it is made to add custom support for a list of games and general fixes for everything else.  (Homecoming is not one of those titles with custom fixes, therefore GE offers zero support when using it.) It is an option for users looking to tinker with details like "Fake FSR" output (which matters more for TV: COH does not natively output 640x400 to enable FSR to work in Gaming Mode) or turning on/off DXVK support per-game dynamically.  (Further info: [https://github.com/gloriouseggroll/proton-ge-custom GloriousEggroll Github Page])


=== Troubleshooting ===
=== Troubleshooting ===

Revision as of 01:40, 17 August 2023

You can take the following steps instead of following City of Heroes on Linux instructions to install Homecoming: City of Heroes on your Steam Deck.

Install Script

Assembled by HC Developer Faultline, just run one command in a Terminal window:

bash <(curl -s https://raw.githubusercontent.com/FaultlineHC/LinuxHC/main/hc-install.sh)

Once installed, right click on the Desktop Shortcut and pick "Add to Steam" to make the launcher available in Gaming Mode.

Alternate Method