Posts tagged "runtime"

Issues while downgrading from AIR 20 to a lower version on Mac OS X

air_3_icon_rgb

By Eric Simenel

This tech note addresses the problems that you may face when attempting to downgrade from AIR version 20 to an older AIR version. Prior to AIR version 20, AIR was provided as a 32-bit Runtime dynamic Library for Mac OS X. However, with the release of AIR 20, only a 64-bit Runtime dynamic Library is provided on Mac OS X. See AIR 20 release notes for details.

Certain users who are running apps that require 32-bit ANEs may want to downgrade to a lower AIR version that supports a 32-bit Runtime dynamic Library. Prior to AIR 20, downgrading AIR to a previous version (let’s say AIR 19) is a simple process:

  1. Download AIR 19 runtime. For downloading any other versions, see Archived Adobe AIR SDK versions.
  2. Uninstall AIR 20 runtime. See Removing Adobe AIR for details.
  3. Install AIR 19 runtime. See Installing Adobe AIR for details.
  4. Run AIR Settings manager utility to disable further updates of the runtime.

However, these steps will not suffice when you are downgrading from AIR 20 to a previous AIR version as there are some additional steps required in this case. To meet this requirement, the additional steps or the solutions are explained below.

Downgrading from AIR 20

Starting with AIR 20, which is a now 64-bit Runtime (instead of the previous 32 bit AIR runtime), the process for downgrading is the same as mentioned above. But there are certain points, which require attention when attempting to downgrade.

After you install AIR 20, any previously installed AIR app using the Shared Runtime that is launched gets updated. So the app’s launcher code will now be a 64-bit binary. The previously used 32-bit launcher gets renamed with a ‘_32’ suffix.

Note: AIR Captive Runtime Apps are unaffected by this upgrade to AIR 20. See AIR 64-bit on Mac OS X for more details.

Issue

If you go back to a previous AIR version, for example, AIR 19, then after uninstalling AIR 20 and installing AIR 19, an attempt to launch the updated AIR app fails because the new 64-bit launcher is unable to find the 64-bit AIR Runtime.

This problem occurs only when attempting to downgrade to an older version.

Solution

You can use either of the three solutions to resolve this issue:

Solution 1: Move the application to the Trash, empty the Trash, and reinstall it from its .air package or custom installer as you did when you installed it the first time.

Solution 2: Rename the launchers at <AIR application>/Contents/MacOS/.

  1. For the launcher with no suffix, add a ‘_64’ suffix.
  2. For the launcher with the ‘_32’ suffix, remove this suffix.

Note: Here launcher refers to the name of your <AIR application>.

Solution 3: Edit the contents of the info.plist file so that its CFBundleExecutable key has the ‘_32’ suffix. The info.plist file is present at <AIR application>/Contents/.

Downgrading after an initial AIR 20 installation from a SideCar

There is another issue that a few users may face — specifically, those who install an AIR application with a SideCar AIR 20 installation; having never before installed an AIR shared runtime and then downgrading from AIR 20.

Note: An AIR SideCar Installation is one where an .air package is distributed alongside the AIR installer so that both AIR and this application are installed at the same time.

After an Initial AIR 20 installation from a SideCar, launching the .air package results in Mac OS X “blessing” the Adobe AIR Installer that sits next to it. Hence forward, Mac OS X remembers this application as the default launcher for an .air package. If you do not delete this directory after installing, then anytime you launch an .air package, this Adobe AIR Installer is launched. Checking that the AIR Runtime is now present, it goes on with the standard AIR App installation that is done by the AIR Runtime.

Issue

Now when you uninstall AIR 20, install AIR 19, and then try to launch an .air package, this attempt fails because the Adobe AIR Installer that is a 64-bit binary is unable to load the AIR Runtime that is now a 32-bit binary again. That Adobe AIR Installer (version 20) keeps its precedence over the Adobe AIR Application Installer (version 19) that is present at /Applications/Utilities because the Adobe AIR Application Installer has not been launched yet and is “invisible” to Mac OS X.

Solution

The solution to this issue is to simply delete the directory that contains the SideCar .air package and Adobe AIR Installer so that this 64-bit binary longer exists. Thus, it will not be launched by Mac OS X when .air launches. Instead, the 32-bit Adobe AIR Application Installer will be launched.

References

Flash Player and AIR Pave Way For New Games

Today, we released the latest version of the Flash and AIR runtimes with Flash Player 11.4 and AIR 3.4. These new builds feature a few great features that gaming fans will be excited about; most importantly, we’re increasing the devices that can take advantage of hardware acceleration so game developers can give more gaming fans smoother and more exciting game play.

Along  with adding constrained Stage 3D, we’ve also provided added support for iOS application development, and introduced concurrency, which helps improve game responsiveness. Gaming evangelist Lee Brimelow will be walking users through the new features and upcoming tooling updates in a demo on August 23.

We’ve been laying some groundwork this year for increasing the speed at which updates to the Flash Player are adopted. Flash Player 11.2 introduced background updating, and over 400 million people opted in to use it. That means that with any new release of the runtime, 400 million users can be updated to the latest version of Flash Player in about 48 hours. To put this in perspective, 400 million is about six times the number of Xbox360’s sold since 2005. Game developers can now quickly embrace new features knowing there’s a huge audience waiting for them.

We’re also working closely with partners to help extend the reach of the Flash Player. This week, the gaming team is at the Unity Unite conference in Amsterdam, where we will be talking about Premium Features for Flash Player and showing off some great new games that were developed using a Unity workflow – Madfinger’s Shadowgun and Nickelodeon’s Teenage Mutant Ninja Turtles. These are just two in the upcoming lineup of new games targeting the Flash Player, and the gaming team is really looking forward to talking with developers at Unite and learning more about their plans and creations. To hear more, check back in later this week, and take a look at the current showcase of games at http://gaming.adobe.com/.

It’s a busy week for events, and you can also find members of the Adobe gaming team speaking at CEDEC in Japan, where GREE will be talking about developing MONPLA SMASH, the newly-released free-to-play RPG action battle game – its first mobile social game built on Adobe AIR and now available on the iOS AppStore.

And finally, you’ve got to be in it to win it! PlayerScale’s Player.io, in cooperation with Epic Game Ads, has announced their first Epic Flash Game Contest with some sizable payouts (total cash prizes worth $150,000US). This contest is for multi-player games targeting Flash Player, and you can see the rules and start building your Flash games today – http://office.playerio.com/competitions/ega2012/#register.

We can’t wait to see what you build!

 

Adobe Introduces Premium Features for Gaming with Flash Player 11.2; Announces Collaboration with Unity Technologies

Gaming is experiencing an unprecedented period of innovation and growth, with online and mobile gaming attracting new users, enabling innovative game play and driving new business and distribution models. Social and casual games on the Web are fueling global growth in gaming, with worldwide social gaming projected to grow from $4.94B in 2011 to $8.64B in 2014 according to the Casual Games Association. With unparalleled reach to over 1.3 billion PCs, Adobe Flash Player is a catalyst for this growth by providing a consistent, powerful, and innovative gaming platform – the game console for the Web. Adobe is investing in Flash technologies for gaming, allowing developers to deliver console quality games across browsers and devices. We are investing not only in improving game development, but also in new features and services for game developers to help them reach new markets and build successful gaming businesses.

Today we’re announcing premium features for gaming with Flash Player 11.2. These will allow game developers to publish advanced games with console quality experiences to Flash Player. We’re also excited to announce that we are collaborating with Unity Technologies to enable Unity customers to publish web-based 3D games, like Madfinger’s Shadowgun, to Flash Player using the premium features from directly within Unity’s tools.

Rich online and social gaming experiences are attracting consumers from traditional consoles to the Web, creating opportunities for developers to introduce new genres and types of game play. Game developers are also committed to increasing production values for their online games by tapping into a broad ecosystem of game development tools. Adobe is enabling third party tools and gaming middleware partners, like Unity, to target Flash Player by taking advantage of premium gaming features designed to enable console quality playback of the most advanced games. In addition to premium features, we’ll also be working closely with Unity to integrate future Adobe Digital Marketing services for game developers into the Unity tools to help them more easily build successful gaming businesses.

Premium feature APIs in Flash Player 11.2 will benefit graphically demanding games by giving developers access to hardware accelerated graphics rendering in combination with domain memory, which is used by C/C++ cross compilers such as Codename “Alchemy“. Developers can use the premium features to publish games for Flash Player across PC browsers and as natively packaged mobile apps using Adobe AIR for distribution through the Apple iTunes App Store, Google Play Store, Amazon Appstore for Android and other mobile app markets. Many great games are not expected to require these premium features, and will rely only on the rich core platform capabilities of Flash Player. We will continue to advance the core platform as well as introduce new and exciting premium features and services to provide a foundation that allows any game developer to deliver rich games and experiences more easily to more people than any other platform.

With today’s release of Flash Player 11.2, we are making premium features available free of charge for content published prior to August 1. Starting August 1, these features will be licensed for commercial use, and there is no charge for the first $50K in application revenues. The use of premium features within Adobe AIR, including for mobile applications for iOS and Android, will be royalty free.

We’ve designed this pricing to encourage the kind of innovation and experimentation that often helps to spark inspired and inventive games. This also enables us to invest in and support innovation in Flash technologies that will benefit the ecosystem of popular game middleware and development tools, beyond Adobe’s first party tools. For more details about Adobe’s licensing program and premium features, visit www.adobe.com/go/fpl.

Every day millions of users enjoy popular online games through Flash Player, such as Rovio’s Angry Birds, Zynga’s Farmville and EA’s Sims Social on Facebook, along with Gamegoo’s Qi-Xiong Hegemony, one of China’s top ten online games. And we’re already seeing some great AIR games that use the new Stage3D capabilities of AIR 3.2 appearing in markets, such as Winter on Whale Island, Rivers of Olympus, Spaced Away and ApexVJ. Games continuously push technology boundaries, and Flash technologies allow Adobe to deliver new capabilities faster and make innovative features instantly accessible to more users than any other technology. Today we’re also detailing how developers can realize these benefits with the releases of Flash Player 11.2 and AIR 3.2. We expect to see games continue to push the boundaries of the Web and mobile and Adobe will be there to innovate and deliver technologies and services that enable developers, publishers and our partners to create and distribute amazing experiences to their users, regardless of genre, platform or location.

Visit gaming.adobe.com to get the latest gaming information and to see a showcase of the latest games built using Adobe technologies.

What our partners are saying:

“We’re thrilled to offer the 260,000 active developers making great games and applications with Unity the opportunity to take advantage of the unprecedented reach of Adobe Flash Player across all major desktop browsers on more than a billion PCs,” said David Helgason, CEO, Unity Technologies. “Unity developers will be able to take advantage of the stunning performance offered by the addition of hardware accelerated graphics rendering through Stage3D in Flash Player.”

“Kabam pioneered and continues to lead the way in the development of free-to-play, MMO-style social strategy and RPG games for the core audience, so we’re very excited with the tools Adobe is bringing to browser-based games,” said Kevin Chou, CEO and Co-founder of Kabam. “We rely on Flash Player’s enormous installed consumer base to reach legions of core gamers, and the outstanding fidelity levels achievable with Stage 3D acceleration means we can deliver the kind of immersive game experience our gamers want and deserve. That’s what we live for as a company. You’ll see this technology and enhanced game quality this year in our upcoming slate of high performance, next gen games.”

“As the leader in competitive online strategy and combat games, KIXEYE is always on the hunt for new tools that will allow us to continue to deliver the most fun and mind-blowing browser-based game experiences on the planet,” said Will Harbin, CEO of KIXEYE.  “Flash Player and Alchemy 2 will help us ensure that our highly performant, hyper-accessible games operate flawlessly in stunning 3D. We plan to utilize the technology’s full capabilities in our line-up of next generation RPG titles scheduled to launch this fall.”

“As a multiplatform and leading Flash developer, we’ve never seen a greater opportunity to produce high-caliber games – on the Web and on Facebook – that are artistically and technically outstanding,” said Steve Couture, CEO of Frima Studio. “With more than a billion installs, no other technology comes close to Flash’s reach and performance capabilities. We look forward to utilizing this technology to bring gamers a level of quality and performance that they have never seen before in browser based games.”

Learn more about the exciting new features and capabilities introduced today in Adobe AIR 3.2 and Flash Player 11.2.


Mobile Gaming Gets a Performance Boost: Adobe AIR 3.2 with 2D and 3D Hardware Acceleration Announced

Over the last year, we’ve seen a 7x increase in the availability of Adobe AIR apps in mobile marketplaces, including the Apple AppStore, with no signs of slowing down. With AIR, game developers and publishers can deliver their apps across 6 platforms on more than 500 million smartphones and tablets with stunning graphics and intricate gameplay. Creating amazingly detailed games like Machinarium, which claimed the spot as the #1 iPad app in 12 countries last year, is becoming easier than ever.

Just as Machinarium first debuted as a desktop game, publishers and developers today are looking to easily take their games and deliver them to app stores on a host of mobile devices across the globe. With the availability of AIR 3.2, we’re excited to help users push the envelope of mobile game development with new hardware accelerated 2D and 3D graphics rendering (Stage 3D) to enable significant performance gains in mobile gaming apps. Hardware accelerated 2D and 3D graphics will help ring in a new class of social and casual games running at 60 frames per second on mobile devices and tablets. Developers can download a release candidate of AIR 3.2 today and start packaging up apps for delivery to mobile marketplaces immediately, with general availability of AIR 3.2 and Flash Player 11.2 in March.

Hardware accelerated 2D and 3D support, released in Flash Player 11 last year, spurred a new class of features for existing games, including Rovio’s Angry Birds for Facebook, now available with special power up features and enhanced graphics. The global gaming community has shown great adoption of this new technology, boasting a host of titles from Renren, Gamegoo and Disney, and we anticipate that many existing PC games will be ported to mobile using AIR 3.2 in the coming months. Falanxia’s Spaced Away as well as Pamakids Tech’s Winter on Whale Island will be some of the first. Also, we recently learned that the top 9 Flash based games in China generate more than $70 million per month! Now that shows rapid adoption.

All of these innovative developments (with more to come soon!) demonstrate our focus on creating value for our gaming customers. By delivering new features to advance gameplay, increase fun and provide added support for productized features within the runtimes, gaming at Adobe will continue to grow by leaps and bounds. The future has never looked brighter.

Check out some of the great new features that are available with Flash Player 11.2 and AIR 3.2.

Flash Player 11.2

AIR 3.2

Read why our partners are excited about 2D and 3D hardware acceleration with AIR 3.2:

“Earlier this month, Rovio launched the first ever version of Angry Birds for Facebook to huge fanfare using Adobe 2D accelerated graphics,” said Andrew Stalbow, GM of Rovio North America. “Building a game that runs smoothly at 60 frames per second with five times more particles in our explosions and special effects is critical for delivering the most brilliant gaming experiences to our customers. We’re excited to see how Stage 3D accelerated graphics with Adobe AIR 3.2 will take these features to mobile devices and hopefully we can take advantage of this capability down the road.”

“We are thrilled to be the first mobile gaming company to take advantage of the AIR 3.2 release candidate to deliver AIR versions of our social games to our users,” said Masaki Fujimoto, CTO, GREE, Inc. “Flash Player and AIR help us push the limit of what can be created across the web and delivered as standalone apps on mobile devices. As we expand into global markets, Adobe technology is helping us take advantage of our market leadership in Japan to build success around the world.”

“As Flash based game developers, we are excited to use AIR 3.2 to make our visually appealing games stand out even more with the tools we already know,” said Jakub Svoboda, Game Producer, Falanxia. “Adobe helps us to bring our award winning games, like Spaced Away, to more iOS gamers than ever before. Good job Adobe!”

Flare3D Studio is leveraging the enhanced features in AIR 3.2 to create a very powerful Stage 3D IDE,” said Adrian Simonovich, CEO, Flare3D. “Adobe AIR has been, and will continue to be, a very important and powerful tool to bring hardware accelerated 3D support for mobile devices and allow Flare3D’s developers to create amazing 3D accelerated experiences and reach a much larger audience.”

“Since investing in AIR, we no longer have to worry about weighing different platforms and developer tools to reach our audience,” said Yifei Xu, CEO, Pamakids Tech. “AIR is the tool we rely on to avoid the clutter and just laser focus on what really matters – delivering the best games and apps to kids and parents.”

“We have chosen to develop with Flash because it is widely used, does not require installations, and games can be played instantly by simply clicking on a link,” said Filip Kuna, CEO, CUKETA. “Thanks to Adobe AIR, we were able to port our game, Age of Defenders, to different devices including Android tablets and iPad2 which allows us to appeal to a wider range of customers at a minimal cost.”

“NVIDIA’s been working closely with Adobe to bring increasing amounts of GPU acceleration to several generations of Flash Player and AIR,” said Neil Trevett, Vice President, Mobile Content at NVIDIA. “Now, Stage 3D in Flash Player 11.2 and AIR 3.2 can fully exploit the power of GPU acceleration to enable rich, real-time 3D games and content that is portable across multiple desktop and mobile platforms. NVIDIA is committed to ensuring that Stage 3D continues to be highly optimized for multi-core Tegra-based mobile devices.”