


enable virtual desktop through protontricks to get the game working

PROTON_USE_WINED3D
Use Protontricks to open winecfg and go to Graphics > Use virtual desktop and tick it.
because of the virtual desktop
Only worked with tinkering

1.You have go into fullscreen manually with Alt+Enter 2. You cant Switch Tabs when running OOTB
The game breaks when finishing the first level,the person next to crates wont have dialog box working and "undefined" will be on screen, also the same person next to the crates will keep yapping. https://i.imgur.com/fc45vjh.jpg
I used other guides under this post to get this working on linux.

The game forces to Full screen, and usually fails when it can't.
Mouse cursor was not restricted to within the Wine virtual desktop window. In fact, that's good in general, but still mildly annoying while playing.
This is a Flash game. Launching from within Steam is borked, it complains it can't enter Full Screen mode.
Instead, I used the Wine installation I already had. I ran winecfg
, then enabled "Emulate a virtual desktop" under the "Graphics" tab. Afterwards, I could just run wine cg.exe
after locating the game installation directory Steam/steamapps/common/Codename Gordon/
.
PROTON_USE_WINED3D=1 %command% -w 800 -h 600
can't fullscreen or the screen cuts in half
First open your Steam Launch and add this "PROTON_USE_WINED3D=1 %command% -w 800 -h 600"
If you are going to play with Wine i recommend using "wine explorer /desktop=name,800x600 (add your game .exe location here)" and put this in the Terminal and you good to go, have fun!
so far i have not found a way to increase the resolution because this game cuts the screen so the only fix i have is playing on the 800x600 resolution
read the other guides posted here. have to go to desktop mode and do some copying around to get it working. never tried to make it fullscreen because i didn't care
didn't try tinkering but it's a literal flash game it's not much of an issue. no problems with cursor leaving the window or anything like that
died on the final boss and didn't feel like playing all the way through again :( but unless there's a glitch after that any bugs or weirdness besides the fullscreen thing are just from it being a literal flash game
Install by pasting "steam://install/92" (without quotes) into a web browser. Careful not to accidentally "search."
In Desktop Mode in your Linux Distro (I was using SteamOS3 on Steam Deck), run the game. A window will appear and disappear and you'll hear music. Ignore it.
Open a task manager such as HTOP and locate the game running. It should be the top entry.
In a file browser (I used Dolphin) go to the location of the game you see in HTOP. There find "codenamegordon.exe" and copy it to someplace safe. Like your HOME folder or something.
Close the game via Steam. (Music should stop)
In Steam: Right-click Codename Gordon and select: Properties -> Local Files Tab -> Browse This should open your folder in a file browser.
Rename cg.exe to something else. (I renamed to cg_org.exe)
Copy the "codenamegordon.exe" file you saved earlier into this folder.
Rename "codenamegordon.exe" to "cg.exe"
Close all, and you can now run the game, no problem.
Moved Jump to a trigger Add button bind for "Alt+Enter" to toggle real fullscreen
Text is small and could be difficult for some to read
Must manually fullscreen (make a control customization for Alt+Enter)
Custom Proton: Luxtorpeda (Else full screen Alt+Enter will NOT work)
Hopefully these steps help you out, prior instructions were hard to read, and my extra details are good for the Deck Gang. :)

Install by pasting "steam://install/92" (without quotes) into a web browser. Careful not to accidentally "search."
In Desktop Mode in your Linux Distro (I was using SteamOS3 on Steam Deck), run the game. A window will appear and disappear and you'll hear music. Ignore it.
Open a task manager such as HTOP and locate the game running. It should be the top entry.
In a file browser (I used Dolphin) go to the location of the game you see in HTOP. There find "codenamegordon.exe" and copy it to someplace safe. Like your HOME folder or something.
Close the game via Steam. (Music should stop)
In Steam: Right-click Codename Gordon and select: Properties -> Local Files Tab -> Browse This should open your folder in a file browser.
Rename cg.exe to something else. (I renamed to cg_org.exe)
Copy the "codenamegordon.exe" file you saved earlier into this folder.
Rename "codenamegordon.exe" to "cg.exe"
Close all, and you can now run the game, no problem.
Small text

Works after taking steps outlined by Alby below my report (You can read my steps below this title, if it's tl:dr, follow Alby's steps)
You can install it by first enabling Steam Play for other games in your Steam settings (only temp, you can change it back later) and then after that's done, put "steam://install/92" (remove the quotes) in your browser's URL bar and hit enter and it will prompt you to open the link in Steam to install it, that is the easy part done, to get it to run you..... takes large breath need to try to start it after it's done installing and you will (maybe) see a window pop up then go away, then you should just hear the game music with no window (believe it or not this is good), now while keeping the game open (the music should still be playing and Steam saying it's running) open your task manager of choice (I'm using gnome's) and find the process that the game is trying to run out of, it can very with what the name of that process may be, I found mine using the "View open files" function of my task manager and looked for an open file called "codenamegordon.exe", once you have the location of that exe file, find it, copy it to a safe place (e.g. your home folder) and then stop the game though Steam (the music should stop), now right click on Codename Gordon in Steam and open the "Properties..." menu and click on "Local Files", now hit browse and you should see your file manager pop up with a folder that should have a file called "cg.exe", Rename it, delete it or what ever you want to do with it as long as it's not named "cg.exe" (I just moved mine to the trash) and now keep this folder open and open a new window/tab to the place you put the file you copied before ("codenamegordon.exe") and move it in to the folder you just deleted/renamed "cg.exe" in, now rename "codenamegordon.exe" to be named "cg.exe" (this is so Steam will launch the right thing), Now, after all that, you can go back to Steam and launch Codename Gordon, now you should get a window that has a cute little pixel Gordon running to the words loading!

Run the game. You will not see a window, but you will hear background music. Use your task manager (e.g. htop) to find out where this extracted executable is being run from. (I would just tell you where to navigate, but the generated folder has a random name every time you run the game, sorry). Copy that executable to the Codename Gordon folder. rename cg.exe to something else, and the copied executable to cg.exe and you should be able to run the self-contained flash player.
An internet search suggests you could use a swf extraction tool, or just download a version from moddb.com with an already extracted swf and a newer flash player. I tried the moddb swf with the included Flash v27, and then a swf extractor (written in Python) followed by running the game with a Flash v32 I downloaded myself, and in both cases I could only jump with the s key and was unable to move down, and the game did not respect rebinding the keys in options. For all keys to work running the ancient Macromedia Flash Player in Proton seems to be the best method for me. You might have better luck trying native flash players if you wish to try it. Also, can someone explain to me why there's a launcher that extracts an executable that was self-contained to begin with? (looking at the filesizes, it's not like there's any decompression going on).

proton no es capaz de ejecutarlo y no se porque wine si lo logra, requerira un ajuste de Valve.
Abran el Archivo con Wine yo use la 5.0.2 esta aqui el archivo: /home/josefu/.steam/debian-installation/steamapps/compatdata/92/pfx/drive_c/users/steamuser/Temp/0QG6WTMP/ , el nombre de la carpeta puede variar pero dentro ejecutan con wine el achivo codenamegordon.exe y listo.
lo puedo estirar pero como tal no me agarra la pantalla completa y tiene bordes negros.
si tocas mucho la configuracion de flash player se crashea pero mientras no toques nada bien

No video
you can heard the miusic but it didn't creates a windows
What works
- Installation
- Sound
What does not
- There is no video
- The game is unplayable
Just like the WineHQ entry says: https://appdb.winehq.org/objectManager.php?sClass=version&iId=8791
(To install, simply go to steam://install/92 in your browser and it will prompt you to open the link with Steam.)


won't start. steam shows the game as running and I can hear the sound, but it doesn't even open a window



Starts but the window becomes invisible. Sound plays but no way to switch to the game
