https://github.com/quackster/chroma
Chroma (Greek χρώμα for paint) a furniture renderer for the Habbo SWF's
https://github.com/quackster/chroma
Last synced: about 1 year ago
JSON representation
Chroma (Greek χρώμα for paint) a furniture renderer for the Habbo SWF's
- Host: GitHub
- URL: https://github.com/quackster/chroma
- Owner: Quackster
- License: gpl-3.0
- Created: 2020-12-09T04:46:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-04T07:46:12.000Z (over 1 year ago)
- Last Synced: 2025-05-19T02:11:48.892Z (about 1 year ago)
- Language: C#
- Size: 248 KB
- Stars: 6
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Chroma
Chroma (Greek word χρώμα for paint) a furniture renderer for the Habbo SWF's
## How to use?
Compile the ChromaWebApp to the operating system of your choice (it runs on .NET 5 and works on Linux).
Put the swfs in the folder /swfs/hof_furni/ where the app is located, for example...
- chroma/
- ChromaWebApp.exe
- swfs/hof_furni/
- rare_dragonlamp.swf
## Download
The latest builds for Linux and Windows are found on the [latest](https://github.com/Quackster/Chroma/releases/tag/latest) tag.
| OS | Download |
|---|---|
| Linux (64-bit) | [Chroma-linux-x64.zip](https://github.com/Quackster/Chroma/releases/download/latest/Chroma-linux-x64.zip) |
| Windows (64-bit) | [Chroma-win-x64.zip](https://github.com/Quackster/Chroma/releases/download/latest/Chroma-win-x64.zip) |
## Setup
To run Chroma, you need to install .NET 8 [runtime](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) for your operating system.
Once downloaded, you may execute ``./ChromaWebApp`` (Linux) or ``ChromaWebApp.exe`` (Windows).
Once that's done, you should see the following console output.
```
info: Microsoft.Hosting.Lifetime[0]
Now listening on: http://localhost:5000
info: Microsoft.Hosting.Lifetime[0]
Now listening on: https://localhost:5001
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: [your working directory]
```
Run the app.
(On Linux for example)
``./ChromaWebApp --urls=http://*:8090/``
(On Windows for example)
``ChromaWebApp.exe --urls=http://*:8090/``
After adding a SWF file to the /swf/hof_furni folder as shown above, lets say "rare_parasol.swf", then heading over to this link
https://localhost:5001/?sprite=rare_parasol&color=0&direction=4&small=false&state=1
Should display:

Then proxy it through PHP.
```php
```
And it should work like so, for example, using the furni imager hosted on Classic Habbo.
https://cdn.classichabbo.com/habbo-imaging/furni?sprite=rare_dragonlamp&color=2&direction=0&small=false
You can see the arguments used above to change how such furniture should be rendered to image.

## A massive thanks to
- higoka
- Scottstamp
- Arachis
- Speaqer
- Parsnip
- Billsonnn