COCOON
 This topic has been pinned, so it's probably important
Ultrawide Fix Here
Unfortunately Cocoon does not natively support ultrawide out of the box.

Although I'd love to see the developer include these resolutions in the future I did manage to find a fix to get ultrawide working in the interim. I'm only at the opening stage (so I'm unsure if this breaks any visuals down the line!) but so far I've not noticed anything distracting and it looks awesome!

Here's what you need to do:

Download HxD and Borderless Gaming

--> Open HxD
--> Press Control O
--> Choose the Unity DLL File (''UnityPlayer.dll'' in steamapps/common/Cocoon)
--> Press Control R
--> Go to Hex Values (on top)
--> Search for 39 8E E3 3F and change it with 8E E3 18 40 for 3440x1440 (or other resolutions)***
--> Activate Search direction all
--> Press Change everything (bottom middle)
--> (should change two values) Now go to the top left and save it where the normal DLL File is, changing it with the old one. If you have problems, just repair the game via Steam.
--> Open Cocoon
--> Pause - Settings - Graphics - Fullscreen - Windowed
--> Open Borderless Gaming
--> Select Cocoon Executable (universe.exe)
--> Choose third icon in the middle that says "Makes the currently selected application borderless."

Cocoon should now be running in ultrawide!

Hope this helps
:)



***
00 00 A0 3F [instead of 8E E3 18 40] for 1280x1024;
26 B4 17 40 [instead of 8E E3 18 40] for 2560x1080;
39 8E 63 40 [instead of 8E E3 18 40] for 3840x1080;
9A 99 19 40 [instead of 8E E3 18 40] for 3840x1600;
AE 47 A1 40 [instead of 8E E3 18 40] for 5292x1050;
AB AA AA 40 [instead of 8E E3 18 40] for 7680x1440.
Originally posted by Annexuo:
Not sure if this helps anybody, but here (on a 3440x1440 monitor) I was able to get COCOON running in ultra-wide without any HEX editing or external applications, and it could work for other resolutions as well. If you get the game to run in borderless fullscreen, which the title seems to default to, the command arguments
-screen-width 3440 -screen-height 1440
will render the game with Hor+ visuals in the 3D space, but cut off the bottom in the HUD elements. To do this, you right-click COCOON in your Steam Library, go to "properties", and paste the launch option I put in quotes with whatever resolution you're using. I also tried 1920x1440 (4:3) and the resulting image was perfect for my CRT display. The most extreme resolution I tested was 3840x720 ('16:3') and while I did notice some culling, plus the "Continue" text in the menu didn't even show up, the game rendered just fine. I'll try the HEX edit as well, but I did want to share that with my sub-hour with the game, this method worked just fine.

Edit: Also try
-window-mode borderless
in the launch options if the game is using Exclusive Fullscreen for some reason.
< >
Showing 1-15 of 39 comments
Can confirm it worked, thanks!
We'll look into UW support, but thank you so much for helping people with a workaround in the meantime. If anyone has issues with this method, please let us know in this thread.
Originally posted by Sam:
We're looking into official UW support, but thank you so much for helping people with a workaround in the meantime. If anyone has issues with this method, please let us know in this thread.

Users sould not have to make this whole process to play the game at UW, i would love to buy the game nut with proper support, any ETA for UW patch?
Yep, works. Thanks for this!
This has seemed to work fine for me on the Game Pass version, thanks very much.

If it's not too much trouble, I'm curious how this works. I assume we're changing a Unity flag? Would this also theoretically work with other Unity engine games?
Doesnt work for 2560/1080. Offers 16/10 resolutions
Originally posted by Oxotnik:
Doesnt work for 2560/1080. Offers 16/10 resolutions

Just to verify - are you using the alternate hex for your resolution? You will be changing two instances of [39 8E E3 3F] with [26 B4 17 40].

Also, you won't need to worry at all about the resolution/aspect ratio settings in game because you will technically be running the game in windowed mode.
Do you know the Hex for 5760x1080?
Hi, I have a 3:2 aspect ratio (2160x1440), what value would I edit in ?
Or how do I convert the value ?

Been trying to some hex conversion and not had much luck for now.
Originally posted by PaulyP:
This has seemed to work fine for me on the Game Pass version, thanks very much.

If it's not too much trouble, I'm curious how this works. I assume we're changing a Unity flag? Would this also theoretically work with other Unity engine games?

I believe we're just changing the viewport sizing within Unity. The reason it works so well in this game specifically is due to the game having minimal to no HUD and/or UI elements which could cause scaling issues.

You're correct that this edit can be used in many Unity projects and often does work quite well, but again, your mileage may vary due to UI scaling issues that could require more work than just this relatively simple hex edit.
Originally posted by EVIL NEON:
Do you know the Hex for 5760x1080?

AB AA AA 40
Originally posted by fiduciam:
Hi, I have a 3:2 aspect ratio (2160x1440), what value would I edit in ?
Or how do I convert the value ?

Been trying to some hex conversion and not had much luck for now.

Try this:

00 00 C0 3F
Which value for 5120x1440?
Originally posted by Pluto:
Which value for 5120x1440?

39 8E 63 40
A developer of this app has indicated that this post answers the original topic.
Sep 29, 2023 @ 7:11pm 
Not sure if this helps anybody, but here (on a 3440x1440 monitor) I was able to get COCOON running in ultra-wide without any HEX editing or external applications, and it could work for other resolutions as well. If you get the game to run in borderless fullscreen, which the title seems to default to, the command arguments
-screen-width 3440 -screen-height 1440
will render the game with Hor+ visuals in the 3D space, but cut off the bottom in the HUD elements. To do this, you right-click COCOON in your Steam Library, go to "properties", and paste the launch option I put in quotes with whatever resolution you're using. I also tried 1920x1440 (4:3) and the resulting image was perfect for my CRT display. The most extreme resolution I tested was 3840x720 ('16:3') and while I did notice some culling, plus the "Continue" text in the menu didn't even show up, the game rendered just fine. I'll try the HEX edit as well, but I did want to share that with my sub-hour with the game, this method worked just fine.

Edit: Also try
-window-mode borderless
in the launch options if the game is using Exclusive Fullscreen for some reason.
< >
Showing 1-15 of 39 comments
Per page: 1530 50