Thursday, February 11, 2010

Cedega Install: City of Heroes

Another guide I've been meaning to remake for a while. Here's installing City of Heroes atop Cedega under Mepis 8.5 Beta 4. As shown in the Cedega Install, my original platform was a 64bit version of Mepis 8.5 Beta 4, and Cedega has issues with properly detecting hardware under 64bit system. Granted, the detection issues are not as severe as the play issues with 64bit Nvidia drivers, so we'll be sticking with ATi hardware for the game install, but dropping to a 32bit OS base.

1: If you don't already have the City of Heroes installer, it is available for download from the NCSoft site.

Left Click on Download PC Client



2: Wait for the download to complete...



3: Then locate the downloaded file: CoH_NA_Setup.exe

Here, Firefox is set to save to /home/(username)/Downloads



4: Okay, lets go to Cedega and left click on Install



5: A new window will pop up. Left Click on Browse



6: By default Cedega looks in the CD/DVD drive first...



7: So you'll need to navigate to your download folder.

Left Click on CoH_NA_Setup.exe, then Left Click on OK.



8: We should now be back to the Install Window.

The Program line should be filled in with our CoH_NA_Setup.exe file.



9: Left Click on Advanced



10: in Advanced there is an option for Run in Window.

Left Click in the drop box.



11: Left Click on your Desktop Resolution.

Since mine is 1280*1024, I'm going to select 1280*1024.



12: With a resolution set, Left Click on OK.



13: Don't forget to put a name under Game Folder. Here I've gone with CoH

With the Game Folder filled in, Left Click on Install.



14: Here's one of the reasons we needed to be in windowed mode. If you try to do the install without a window, these boxes may or may not show. Remember, City of Heroes is Licensed Software.



15: If you agree with the license, Left Click on I agree.



16: We shouldn't need to make any changes to the install.

Left Click on Next.



17: Left Click on Next.



18: Left Click on Next.



19: Now this pop-up window won't show at all if you try the install outside of Windowed mode. If you don't already have an account for City of Heroes, you'll need to go to NCSoft.com and purchase an account.

Since I already have an account, I'm going to Left Click on No.



20: The installer is finished, so Left Click on Finish

Here, I've left the automatically run updater checked in.



21: The City of Heroes updater should launch at this point.



22: Now, since I really don't feel like waiting for the entire game to download and install, I'm going to cheat. After giving the game a few minutes to get the base files in place, I'm going to use Cedega to Halt the install.



23: Here we see one of KDE4's tools, a dedicated Widget for plugged in flash drives.

Left Clicking on the Flash Drive should cause it to automatically open up in Dolphin.



24: In the flash drive I have a copy from a Windows Install of City of Heroes. Inside the City of Heroes folder, I'm looking for the folder named: piggs.



25: I'm going to copy the piggs folder.



26: Then open up a new tab



27: In the new tab I'm going to Left Click on Home from the left hand bar.



28: You'll need to enable View Hidden Folders under the View Menu from the Top Bar.

Here, I have the hidden folder .cedega



29: Under .cedega I have the folder CoH that was created earlier.



30: Under CoH I have the folder c_drive



31: Now we have something that resembles a Windows Directory structure, with Program Files.



32: Under Program Files there is City of Heroes



33: Finally, under /home/(username)/.cedega/CoH/c_drive/Program Files/City of Heroes... we've arrived.

Paste the copied piggs folder.



34: What we are doing here is copying over the vast bulk of the actual game files. All of the texture, polygon, sound, and other data needed for the game is contained in the piggs.



35: With the piggs file copied, we can go back to Cedega.



36: Here we can see multiple entries for City of Heroes.

For now, Left Click on Play.



37: The installer should fire up and begin work on processing the game files.



38: Even if you cheated and copied over files from a pre-existing install, the update process can still take a while.

Here though, it's finished, and we can enter the game.



39: Now, if you get the login-screen... great.

Chances are though, if you are using an LCD panel, you didn't get a login screen. You probably got something that was graphicall corrupted or off center.



40: If you didn't get a login screen you should be able to alt-tab out of the game, even with ATi hardware. (more on that in a bit)

We can use Cedega to halt the game with Stop All.



41: When we are click into the CoH folder, there are some tabs on the lower half of the Cedega interface.

Left Click on the Settings Tab.



42: Here we can set our Run in Window resolution.



43: With your desktop resolution set, Left Click on Apply.



44: Try to Play the game again...



45: This time the launcher should be framed in a windowed box...



46: The Login screen should display correctly now, although it's at a lower resolution than was specified.



47: Now, if you are using ATi hardware, you do have to come to terms with some issues the game currently has. These issues are largely two-fold as I understand them.

A: Nvidia helped write / create some of the advanced shader affects for the City of Heroes game, so all other vendors hardware support was sabotaged at the game's code level years ago.

B: In the past, Transgaming has openly optimized for Nvidia hardware, treating ATi users as distinctly second-class citizens.

With this in mind, features like Full Screen Alt-Tab that work fine on Nvidia 32bit drivers, don't work on ATi drivers, 32bit or 64bit. You'll also, more than likely, load into City of Heroes with a screen that looks somewhat like this one:



48: Getting out of this display corruption is actually pretty easy. The game still follows a window display hierarchy, so new windows will layer on top of existing displays.

Left Click on Menu. (on my screen it's in the top right hand corner)



49: Left Click on Options.



50: Left Click on the tab Graphics and Audio



51: Now, existing guides will tell you to drop the recommended settings. We don't need to do that.



52: Left Click on Advanced Graphics Settings

This should Enable separate control of graphics features.



53: Scroll down and Left Click on Water Effects TWICE.



54: This should change Water Effects to None.



55: Left Click on Apply Now.



56: The screen corruption should clear right up.

Now, what's interesting about this, and I'll show it in the next guide, is that Water Effects are disabled on equivalent Nvidia hardware.



57: Now we can work on changing our resolution.



58: Select your desktop resolution...



59: Left Click on Apply Now once your resolution is selected...



60: City of Heroes will issue a warning that you'll need to quit and restart to see the changes.



61: So lets Quit



62: However, we need to Quit to Login Screen.

Do not Quit to Desktop. For some reason, resolution changes don't always apply if you quit straight to the desktop.



63: Once at the login screen, Left Click on Exit.



64: Now, when we go to Play the game again...



65: We should now find that the game is in full resolution.



66: If you want to, you can take the game out of windowed mode now.



67: Just use the Cedega Run in Window setting with No to go to a Full Screen mode.


Okay. In all fairness, some of the issues seen in this guide are expected to be fixed / addressed in the coming months. Paragon Studios, the developers behind City of Heroes, have a new graphics engine purportedly based on OpenGL 3.0 arriving in April. The branded Ultra Mode graphics engine also brings fixes to the existing graphics engine currently in use. Reportedly the graphics issues specific to all Non-Nvidia hardware have been addressed at the code level in the graphics engine, with the older Nvidia developed sabotaging shaders replaced with shaders that should work across all OpenGL enabled hardware. So, in theory, as long as your graphics card supports OpenGL 1.4, 1.5, 2.x, or 3.x, you should have the exact same image regardless of who the graphics vendor is.

Transgaming also has a new proprietary Cedega engine in development, which reportedly is not as optimized for one graphics vendor alone. Reportedly Transgaming has also been working closely with the Khronos Group, who manages OpenGL. Theoretically then, the upcoming Cedega 8 engine should fix the Cedega specific issues, such as lack of Full Screen Alt-Tab on ATi hardware, and fix the advanced shader features that are exposed as options to the end user. There is hope then that within the next few months, ATi users won't be second class Linux Citizens that they are in some games now.

***

As a special note, I do need to extend thanks to Intel. The processor used for this guide system is one of their I7 Engineering Samples.

Wednesday, February 10, 2010

Cedega Install: KDE4

Been meaning to do this for a while. Here's a walkthrough of install Cedega atop a KDE4 desktop. As a precursor note, Cedega does not yet actually work on the hardware platform I used to write this guide. There's an issue with Cedega's hardware identification failing to recognize a mobile RadeonHD 2600 with Catalyst 10.1 atop a 2.6.32 kernel. Native OpenGL titles like QuakeLive and WarSow work fine, so there's no issue with the installed software. However, Cedega's support team was caught with their pants hanging down feeding junk answers to users with this particular problem, and so far, at the time of this posting, Cedega's staff has not responded to provide a date on when their software will be fixed.

1: Starting with the cedega install file already downloaded.

Left Click on the file in Dolphin



2: Kpackage should automatically open up.

Left Click on the Install button in the lower right hand corner.



3: Now Kpackages second Window will pop up.

Left Click on the Install button in the lower left hand corner.



4: Kpackage will now ask for the root password.



5: Here in Mepis 8.5 beta we've come across our first error. Parts of python are not installed. Under KDE3 we could use apt-get install -f to complete the install, but sadly this method no longer works under KDE4. We'll need to go get the Python files manually.



6: Open up Synaptic Package Manager

Here in Mepis 8.5 Beta 4, it's on the menu bar by default.



7: Synpatic will ask for the root password. Enter the password.



8: Synaptic has gotten a bit of a make over from the KDE3 edition.

The Search icon is now indicated by a pair of Binoculars on the upper bar.



9: Left Click on the Binoculars to initate a search



10: In the search box typ in the term: python-gtk

Then Left Click on Search.



11: We have quite a few python options, but the one we want is close to the top.



12: Right Click on the python-gtk2 package.



13: Then Left Click on Mark for Installation.



14: Python will ask for a couple of depencies.



15: Left Click on Mark.



16: Getting a little ahead of myself here. I also know that Cedega will ask for python-glade, so left click on the Binoculars to search again.

Enter the term python-glade then Left Click on Search.



17: Same thing as before. Right Click on the python-glade2 package...

Then Left Click on Mark for Installation.



18: Now with our Python files marked, Left Click on the Green Checkmark.

This will apply all marked changes.



19: Left Click on the Apply button.



20: Sit back and get comfy, this part could take a while.



21: The Python files shouldn't require any more user-intervention, so once Synaptic finishes, go ahead and Close Synaptic.



22: Go back to the Kpackage Windows.

Left Click on the Install button in the lower left hand corner again.



23: This time the install completed, so we can Close Kpackage.



24: In most cases there should be a menu entry for under Cedega Gaming Service under Games in the Kmenu.



25: At this point I began to regret sticking with 800*600 for a capture resolution.

There's an Accept button in the lower right hand corner. Left Click the button.



26: At this point you'll either need to agree to the trial or purchase an account.



27: The next part of the installer will ask which type of install to use.

For most users the Single-user install is fine, so Left Click on Continue.



28: Cedega will begin checking for updates.



29: Remember, Cedega uses non open-source licensed software and fonts to maintain better compatibility.

This license agreement also has an Accept button in the lower right hand corner.



30: Get comfy again as Cedega starts to download the support files.



31: Cedega is now installed and ready to run... or is it?



32: As I mentioned, Cedega has issues with the latest ATi drivers and the 64bit 2.6.32 kernel combination as the Cedega System specs show.



33: It's also not due to lack of proper OpenGL support either. As shown here, the Catalyst control center shows the hardware and driver are installed and operational...


And games such as QuakeLive, UT2k4, and WarSow work pretty much flawlessly.

QuakeLive KDE-4 2.6.32 Kernel 64bit - Catalyst 10.1



QuakeLive KDE-4 2.6.32 Kernel 64bit - Catalyst 10.1



The problem appears to be limited to 2.6.32 64bit installs as the following installs show:

KDE4 - Nvidia Beta Driver - 2.6.32 Kernel 32bit




KDE4 - Catalyst 10.1 - 2.6.32 32bit kernel



KDE3 - Catalyst 10.1 - 2.6.27 32bit kernel



However, the detection problem rears it's head again with another system I have on hand. I had been testing one of the RadeonHD 4850's on an Intel D975XBX motherboard before swapping out and dropping down to an x1950 Pro. As shown, Cedega is still convinced that the RadeonHD 4800 series card is installed... while Catalyst Control Center shows the card actually in use, an x1950.

KDE3 - Catalyst 9.3 - 2.6.27 64bit kernel



So no, things aren't "perfect" in the Cedega world. Their 64bit hardware detection needs some work.