Is there going to be any development for a Linux version? I got it working using wine, but not perfectly by far, and since it emulates a gpu it does lag usually.
If anything, it doesn't even have to be like normal programs and can be like Chrome, where it is put in the /opt directory instead, and requires a lot less messing with Linux directories and such.
You should ask the question of Adobe. When they release AIR for Linux, then CW will run on it. :)
I think there's a topic about this here. http://knucklecracker.com/forums/index.php?topic=6877.0
There already is Air for Linux. I have it on my Ubuntu right now...
Future versions of AIR on linux may not happen (at least not from Adobe).
http://blogs.adobe.com/open/2011/06/focusing-on-the-next-linux-client.html
CW3 = html5 or Frostbite 4 :)
Quote from: cclloyd9785 on August 03, 2011, 04:09:02 PM
There already is Air for Linux. I have it on my Ubuntu right now...
Then I'm not sure I understand what you are asking for. there is no apecific version of CW for Windows or Mac, simply a version for AIR, yet you ask for a specific version for Linux? or what am I missing?
I do understand that in many environments, the open source drivers (for instance) for graphics cards perform worse than the manufacturer versions for Windows. Is this the problem that you are experiencing?
As it is now it is working for Linux, no problem there.
As of the 2.7 release of Adobe AIR, all Linux support has been dropped. This means that the most recent CW2 patch, which (at least as shipped) requires AIR 2.7, breaks for Linux users. I have attempted to run it using AIR 2.6 on Linux after editing the application.xml file to use that version, but that gives "error while loading initial content" and dies. As a result, if I update the latest version of CW2, I can no longer play it on my normal desktop (I use Linux almost exclusively, and the things I do that aren't on Linux are grudging).
I don't know if AIR for Windows will work properly under wine - that's my next thing to investigate, but unless CW2 can be rebuilt to run using AIR2.6, it looks like native Linux CW2 is no longer an option :(
Yeah, I had to move to the latest AIR to get the latest webkit browser for the custom maps. And as you have noted, Adobe has dropped support for Linux. In theory, it should work under Wine....
Is the latest webkit browser actually required by you virgil? surely you aren't making a robust webbrowser, but the sites it visit are already decided upon, so shouldn't be that hard to suit it to use the older webkit, or am i wrong? :)
You'd think.... but older versions of AIR with the slightly older webkit browser don't let me intercept link clicks and handle them manually (like when you click a download link on a custom map).
Quote from: virgilw on August 23, 2011, 04:31:47 PM
You'd think.... but older versions of AIR with the slightly older webkit browser don't let me intercept link clicks and handle them manually (like when you click a download link on a custom map).
This is an immense shame (for me) as I do not have any Windows machines. Since there is no official Linux version of CW2, there are unlikely to be any usage stats. Would you consider running a poll to count the number of Linux users to see if we are a large enough fraction of your customer base to make writing a workaround worthwhile?
I'd be happy with copying the map files to a suitable directory and restarting CW2. In fact, I already did that with the hacked up custom map which was posted a while ago...
I've greatly enjoyed CW1 and 2 and I've been looking forward to custom maps for a while.
Have you tried running under WINE? That would be the first step.
Base CW2 install ran fine under WINE (technically Crossover 10 Professional). However, if I try to upgrade to the 307 patch, the AIR updated tells me something is corrupted and the whole thing is borked (and won't even try to run again). The only way to even get CW2 reinstalled was to manually purge all traces of it and start over...
This is really disappointing, especially since Adobe fully supports AIR for Android, which is just Linux running on a different hardware achitecture...
You guys should go moan at Adobe. Virgil is not in a position to help with this. It speaks to the market-/mind-share of Linux after nearly 20 years of development. Great for servers, not so great for consumer desktops.
Here are Adobe's reasons:
(From http://kb2.adobe.com/cps/408/kb408084.html )
"Why did Adobe decide to discontinue further support for Adobe AIR for desktop Linux®?
As the market shifts to mobile devices, Adobe is investing in bringing its runtime technologies to new hardware and operating systems. Adobe is increasingly investing in mobile authoring. The recent Creative Suite 5.5 release is focused on enabling customers to deliver their experiences across devices using Adobe's technologies. Adobe has responded to the changing market trends by providing AIR support for a growing number of platforms. These platforms include Android, iOS and BlackBerry Tablet OS, televisions, and set-top boxes. Lifetime AIR for Linux desktop downloads represent less than 0.5% of total AIR desktop downloads, which number over 450 million. Therefore, Adobe has decided to change the distribution model for Linux and direct these resources toward its mobile efforts. Adobe's efforts are focused on supporting operating systems that are most important to its customers, and that demonstrate the greatest opportunity for future growth for its partners and developers. Adobe continues to provide partners the opportunity to license source code through the Open Screen Project. You can download AIR 2.6, the last version to support Linux, at the archive build page.
Adobe no longer supports the full AIR developer SDK for desktop Linux implementations. And, the AIR Debug Launcher (ADL) is no longer supported in the SDK."
Quote from: Grauniad on August 24, 2011, 01:33:08 PM
Have you tried running under WINE? That would be the first step.
I have now tried. I downloaded and installed the latest version of Adobe Air (version 2.7.1) and it installed.
After several hours and an immense amount of fiddling and trying variations, I eventually got it to install. The only way it works is to simply blow away .wine, reinstall adobe air then install the 0307 "patch" directly. If it has seen CW2 before, then the patch won't install.
It seems to run, but the kicker is that the "find maps online" feature doesn't work. :(
Out of curiosity, what does the "find maps online" do?
Quote from: offsides on August 24, 2011, 03:15:13 PM
Base CW2 install ran fine under WINE (technically Crossover 10 Professional). However, if I try to upgrade to the 307 patch, the AIR updated tells me something is corrupted and the whole thing is borked (and won't even try to run again). The only way to even get CW2 reinstalled was to manually purge all traces of it and start over...
This is really disappointing, especially since Adobe fully supports AIR for Android, which is just Linux running on a different hardware achitecture...
This worked for me:
erase .wine, destroying everything installed under wine
Install adobe air.
then execute cw2PATCH-0307.air
If you have already installed another version of CW2, then the patch won't install.
Quote from: Karsten75 on August 24, 2011, 03:28:05 PM
You guys should go moan at Adobe. Virgil is not in a position to help with this. It speaks to the market-/mind-share of Linux after nearly 20 years of development. Great for servers, not so great for consumer desktops.
Well, Adobe won't listen. Virgil will at least find out if Linux users are a significant enough portion of his customers to worry about. If not then bad for us, but OK for Virgil.
Quote from: virgilw on August 24, 2011, 04:12:47 PM
Out of curiosity, what does the "find maps online" do?
A large white box appears in the widget area below the buttons. It looks like a widget of some sort has popped up, then failed to execute.
Quote from: virgilw on August 24, 2011, 04:12:47 PM
Out of curiosity, what does the "find maps online" do?
Also, there are several more bugs (probably wine specific).
CW2 doesn't remember which maps have been played, so the list of maps and times is always empty.
If you have quick-saved a custom map, then restart jumps to the quicksave point.
Quote from: jkljkljkljkl on August 25, 2011, 07:09:29 AM
Quote from: virgilw on August 24, 2011, 04:12:47 PM
Out of curiosity, what does the "find maps online" do?
Also, there are several more bugs (probably wine specific).
CW2 doesn't remember which maps have been played, so the list of maps and times is always empty.
If you have quick-saved a custom map, then restart jumps to the quicksave point.
Strange. This was the behavior of Restart at one point in the game development. Are you sure you're running a latest version?
Quote from: Grauniad on August 25, 2011, 09:39:14 AM
Quote from: jkljkljkljkl on August 25, 2011, 07:09:29 AM
Quote from: virgilw on August 24, 2011, 04:12:47 PM
Out of curiosity, what does the "find maps online" do?
Also, there are several more bugs (probably wine specific).
CW2 doesn't remember which maps have been played, so the list of maps and times is always empty.
If you have quick-saved a custom map, then restart jumps to the quicksave point.
Strange. This was the behavior of Restart at one point in the game development. Are you sure you're running a latest version?
Certainly - the custom maps button works. Having investigated it further, it bugs out when there are no games saved in the main slots, and doesn't seem to when some (not investigated fully) games have been saved.
Seems a shame that the new update isn't compatible :/. I was looking forward to custom maps.
Try Wine?
I did, but I can't get the game to install at all. Air gives the utterly useless message "Something went wrong trying to install this application. Please install the latest version of Adober AIR from ... and then try again.", which won't really help anything, as this is a fresh .wine directory and the latest version of AIR.
I'd hate to have to go back to running a VM for creeper world :/
Try getting the actual AIR install from the Adobe site.
Then extract the CW2 .AIR package from the .exe file you download and see if that will install... Just an idea, not sure it will help any.
That's exactly what I did. I get the same error using either the first installer or the patch.
wine airappinstaller.exe /path/to/cw2.air
Quote from: krazykit on September 05, 2011, 12:53:27 AM
That's exactly what I did. I get the same error using either the first installer or the patch.
wine airappinstaller.exe /path/to/cw2.air
I got it to install under Wine and it works, for moderate values of "works". I posted instructions earlier in the thread.
If there is _any_ trace of CW2, then the patch won't install. I found the easiest way was to blow away .wine (rm -r) and install from scratch.
THIS WILL DESTROY ALL YOUR WINE DATA so don't do it if you already use wine.
You can play custom maps, but the interface is broken. The following things are bad:
- The "find custom maps" HTML widget is broken. You have to download them all by hand using a normal browser
- Your list of maps played and times will remain forever empty.
- You have to open CW2 files "by hand" each time
- If you have saved, then restarting will take you back to the save point. So, I always save at 0:00 so I can restart easily
You can also play most custom maps natively with the older version of CW2. Simply copy your .cw2 file to
~/.appdata/CreeperWorld2/slot0.cw2 and then load the first savegame slot. This mostly works, though some maps don't work properly. The space-invaders map, for instance completes instantly.
Quote from: Grauniad on September 04, 2011, 09:43:39 PM
Try Wine?
Grauniad, do you know if anyone has had more success under wine? Admittedly, my version is quite old, so the bugs may just be due to that.