Chroma (Greek word χρώμα for paint) a furniture renderer for the Habbo SWF's
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
The latest builds for Linux and Windows are found on the latest tag.
OS | Download |
---|---|
Linux (64-bit) | Chroma-linux-x64.zip |
Windows (64-bit) | Chroma-win-x64.zip |
To run Chroma, you need to install .NET 8 runtime 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
header ('Content-Type: image/png');
echo file_get_contents("http://127.0.0.1:8090/?" . $_SERVER['QUERY_STRING']);
?>
And it should work like so, for example, using the furni imager hosted on Classic Habbo.
You can see the arguments used above to change how such furniture should be rendered to image.
- higoka
- Scottstamp
- Arachis
- Speaqer
- Parsnip
- Billsonnn