AsteroidApp - Flash Browser Source for Habbo (MacOS/Windows 7/8/10 x32/x64)

Nigo

New Member
Jun 25, 2020
5
9
Hi,

Since Flash will stop soon I've decided to release this electron application to make sure people can still play your retro until the HTML5/Unity Client is fully working. This works for Windows 7/8/10 32/64bits & MacOS.
 
Last edited:

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Great release.

Particularly like that you've covered the OSX notarization - that's very helpful, thanks!
 

Kalee

Member
Nov 13, 2019
38
14
Hi,

Since Flash will stop soon I've decided to release this electron application to make sure people can still play your retro until the HTML5/Unity Client is fully working. This works for Windows 7/8/10 32/64bits & MacOS.

Source:

Screens:



Credits:
Leet Asteroid, SD & Electron

How to install?
  1. Download NodeJS:
  2. Open Command Prompt and make sure you are in the same location as the AsteroidApp.
  3. Install the dependencies by execute the command: npm install
  4. Make sure the file package.json is set up as desired.
    • productName = Hotel name
    • appId = nl.hotelname.appname (also in Main.js!)
  5. Open the configuration file config.env and put your link here like this:
    URL =
    SHORT_URL = habbo.com
  6. Translate/edit the file views/home.html
  7. Open Command Prompt again and execute the command: npm start
  8. Yay congrats! Your app should be up and running. If everything is okay you can make it a .exe or a .dmg
  9. Open Command Prompt again and execute one of these commands:
    • npm run windows - For Windows
    • npm run mac - For Mac
  10. Yay! your app is ready for publishing! Go to the folder dist and your .exe / .dmg should be there!



Depending on your/your players security settings you may receive a message warning you that the application is from an unknown (untrusted) publisher.
Windows instructions:
MacOS instructions:

You must purchase a Windows and / or Mac signing certificate to avoid a warning message.


  1. Find in package.json:
    "extraResources": [
    {
    "from": "./plugins/",
    "to": "../plugins"
    }
    ],
  2. Replace with:
    "files": "!src/SignHook.js",
    "extraResources": [
    {
    "from": "./plugins/",
    "to": "../plugins"
    }
    ],
    "afterSign": "src/SignHook.js",
  3. Open src/SignHook.js and change the appleId/appleIdPassword to yours.
    appleId: '[email protected]',
    appleIdPassword: '123-321-ab23-m4d',
  4. Open Command Prompt again and execute the command: npm run mac

It can take some minutes because this will notarize and create the application.


Actually, a Windows signing certificate is not necessary as long as people 'allow the app' to run. It builds an 'app reputation' which means the warning messages will disappear in a few days / months. Since most people don't pay $ 700 + / - for a Windows signing certificate, I won't include a tutorial for this, but a cheaper solution would be to publish the application in the Windows App Store. If anyone is interested in this, you can always contact me for help.
I've tested the application, the only thing I'd say is that bugs me... is that you can't open any sub-domains within the app, Or open new windows, for example clicking daily reward, doesn't allow the pop-up window to open.
 

LouisJW

Active Member
May 20, 2020
139
53
I've tested the application, the only thing I'd say is that bugs me... is that you can't open any sub-domains within the app, Or open new windows, for example clicking daily reward, doesn't allow the pop-up window to open.

Maybe if he continued to update this, he would push said updates to make your requests possible. However, for now, it is an alternative and without the likes of these browsers/applications a lot of people would be stuck, so let's be grateful for that.

I like how detailed the explanations are, making it as simple as possible for the new guys, don't think I'd need it for any project of my own, but this will help if I'd like to support a friends hotel/project.

Great release, detailed notarizations.

Thank you.
 

SageSaga

SageSaga#5065
Aug 30, 2020
45
23
Hi,

Since Flash will stop soon I've decided to release this electron application to make sure people can still play your retro until the HTML5/Unity Client is fully working. This works for Windows 7/8/10 32/64bits & MacOS.

Source:

Screens:



Credits:
Leet Asteroid, SD & Electron

How to install?
  1. Download NodeJS:
  2. Open Command Prompt and make sure you are in the same location as the AsteroidApp.
  3. Install the dependencies by execute the command: npm install
  4. Make sure the file package.json is set up as desired.
    • productName = Hotel name
    • appId = nl.hotelname.appname (also in Main.js!)
  5. Open the configuration file config.env and put your link here like this:
    URL =
    SHORT_URL = habbo.com
  6. Translate/edit the file views/home.html
  7. Open Command Prompt again and execute the command: npm start
  8. Yay congrats! Your app should be up and running. If everything is okay you can make it a .exe or a .dmg
  9. Open Command Prompt again and execute one of these commands:
    • npm run windows - For Windows
    • npm run mac - For Mac
  10. Yay! your app is ready for publishing! Go to the folder dist and your .exe / .dmg should be there!



Depending on your/your players security settings you may receive a message warning you that the application is from an unknown (untrusted) publisher.
Windows instructions:
MacOS instructions:

You must purchase a Windows and / or Mac signing certificate to avoid a warning message.


  1. Find in package.json:
    "extraResources": [
    {
    "from": "./plugins/",
    "to": "../plugins"
    }
    ],
  2. Replace with:
    "files": "!src/SignHook.js",
    "extraResources": [
    {
    "from": "./plugins/",
    "to": "../plugins"
    }
    ],
    "afterSign": "src/SignHook.js",
  3. Open src/SignHook.js and change the appleId/appleIdPassword to yours.
    appleId: '[email protected]',
    appleIdPassword: '123-321-ab23-m4d',
  4. Open Command Prompt again and execute the command: npm run mac

It can take some minutes because this will notarize and create the application.


Actually, a Windows signing certificate is not necessary as long as people 'allow the app' to run. It builds an 'app reputation' which means the warning messages will disappear in a few days / months. Since most people don't pay $ 700 + / - for a Windows signing certificate, I won't include a tutorial for this, but a cheaper solution would be to publish the application in the Windows App Store. If anyone is interested in this, you can always contact me for help.
Can this be developed on a seperate VPS or it has to be on the same VPS?
 

Shxrty

Shorty#1960
Mar 31, 2018
629
163
Can this be developed on a seperate VPS or it has to be on the same VPS?
What are you asking exactly?

If im not mistaken your asking does it have to be developed on a separate VPS as your retro? No, You can develop the application on the same VPS as your retro.
 

Bitpiece

New Member
Jul 10, 2020
3
0
The app seems really cool but i have two issues and as a non-coder it's hard to fix them when no one have explained how to.

My first issue is the home button, i've been looking for some hours to fix it and make it works to redirect to localhost/me

My second issue is the app icon, impossible to change.

The first issue is the most important if anyone has an idea how to change/fix the home button please help
 

Users who are viewing this thread

Top