Adobe AIR SDK - Client

Status
Not open for further replies.

Damien

Don't need glasses if you can C#
Feb 26, 2012
434
647
Does anyone know how to create a client on your desktop with Adobe AIR SDK?
 
Solution
I was curious, so I had ago at this and it seems quite easy.

I'm on Windows, so I downloaded Adobe AIR SDK from here:


(50.2.2.5 - first option, Full AIR SDK with new ActionScript Compiler)

Next:
  1. I made a folder on my desktop 'Air', I made a new folder inside 'SDK' and dragged the zip in.
  2. I made a folder called 'App' and started pulling in Habbo's assets from the local files its app has
  3. Made app.xml file inside of the App folder, with the following contents:
XML:
<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/50.2">
    <id>com.habboon.habboair</id>
    <filename>Habboon</filename>
    <name>Habboon</name>...

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
I was curious, so I had ago at this and it seems quite easy.

I'm on Windows, so I downloaded Adobe AIR SDK from here:


(50.2.2.5 - first option, Full AIR SDK with new ActionScript Compiler)

Next:
  1. I made a folder on my desktop 'Air', I made a new folder inside 'SDK' and dragged the zip in.
  2. I made a folder called 'App' and started pulling in Habbo's assets from the local files its app has
  3. Made app.xml file inside of the App folder, with the following contents:
XML:
<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/50.2">
    <id>com.habboon.habboair</id>
    <filename>Habboon</filename>
    <name>Habboon</name>
    <versionLabel>0.0.1</versionLabel>
    <versionNumber>0.0.1</versionNumber>
    <copyright></copyright>
    <allowMultipleInstances>true</allowMultipleInstances>
    <initialWindow>
        <content>HabboAir.swf</content>
        <title>Habboon</title>
        <visible>true</visible>
        <fullScreen>true</fullScreen>
        <autoOrients>true</autoOrients>
        <renderMode>cpu</renderMode>
        <aspectRatio>landscape</aspectRatio>
        <width>1024</width>
        <height>768</height>
        <resizable>true</resizable>
        <allowLowQuality>true</allowLowQuality>
    </initialWindow>
    <icon>
        <image16x16>icon16.png</image16x16>
        <image32x32>icon32.png</image32x32>
        <image48x48>icon48.png</image48x48>
        <image128x128>icon128.png</image128x128>
    </icon>
</application>

Next we have to run a couple of commands, first we need to make a self signed certificate, you can do that running this command:

Code:
C:\Users\csled\Desktop\Air\SDK\bin\adt.bat -certificate -cn SelfSigned 2048-RSA sampleCert.pfx password

The password at the end is assigned to the certificate and will be needed on the next build command.

And now you can run the build command, this command was a bit of a pain, you have to order it in the right format, then have all your includes at the end:

Code:
C:\Users\csled\Desktop\Air\SDK\bin\adt.bat -package -storetype pkcs12 -keystore sampleCert.pfx -target bundle Habboon.exe app.xml HabboAir.swf icon16.png icon32.png icon48.png icon128.png local_include/HabboRoomContent.swf local_include/PlaceHolderFurniture.swf local_include/PlaceHolderPet.swf local_include/PlaceHolderWallItem.swf local_include/SelectionArrow.swf local_include/TileCursor.swf

You end up with your folder looking like this:

You must be registered for see images attach


After buiild you'll have a new folder, in my case 'Habboon.exe', which has the bundle - I chose bundle in the build command rather than native, as it includes the runtime.

You must be registered for see images attach


You can then run your .exe file:

You must be registered for see images attach


It'll come up with the little Harman / Samsung popup thing, I assume that's because we have no license, but that was actually a lot easier than I thought. Next you obviously have to modify the SWF & rebuild it etc.
 
Solution
Status
Not open for further replies.

Users who are viewing this thread

Top