8000 GitHub - Quackster/Chroma: Chroma (Greek χρώμα for paint) a furniture renderer for the Habbo SWF's
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Quackster/Chroma

Repository files navigation

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 tag.

OS Download
Linux (64-bit) Chroma-linux-x64.zip
Windows (64-bit) Chroma-win-x64.zip

Setup

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:

image

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.

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

About

Chroma (Greek χρώμα for paint) a furniture renderer for the Habbo SWF's

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0