1
Fork 0
mirror of https://github.com/Quackster/Minerva.git synced 2025-06-29 12:57:45 +00:00
Imager for Habbo Hotel versions in Shockwave and Flash written in C# .NET 8. Also supports badge imaging.
Find a file
2023-01-14 14:36:33 +10:00
.github/workflows Create pre-release.yml 2023-01-14 14:36:33 +10:00
Avatara@6e7c9a54c5 update to support avatara with fixed asset loading 2023-01-13 19:45:03 +10:00
Badger@93c8ae82c6 Fix badge-fill path 2023-01-14 11:10:33 +10:00
Minerva Fix badge-fill path 2023-01-14 11:10:33 +10:00
tools move files 2023-01-11 23:19:09 +10:00
.gitattributes Initial commit 2023-01-09 21:54:46 +10:00
.gitignore Initial commit 2023-01-09 21:54:46 +10:00
.gitmodules remove flazzy dependency 2023-01-12 22:10:59 +10:00
Minerva.sln add readme updates... again 2023-01-13 08:54:32 +10:00
README.md add readme updates... again 2023-01-13 08:54:32 +10:00

Minerva

Imager for Habbo Hotel releases Shockwave and Flash. It uses the two projects (Badger, and Avatara) as libraries combined into one, to make the web server.

Installing

Locate the .zip files in /tools/

Extract in same directory as what the project is running on.

Extract figuredata-shockwave.zip if you plan to use 2012-2007 era clothing.

Extract figuredata-2013.zip if you plan to use 2013 era clothing.

You can add your own SWFs by simply replacing the SWFS in /figuredata/compiled/ and also replace the figuredata.xml.

If the xml and images folder doesn't exist, Avatara will automatically create the folders and extract the SWFs on first run, so that each subsequent run is quicker.

Run the project.

(On Linux for example)

./Minerva --urls=http://*:8090/

(On Windows for example)

Minerva.exe --urls=http://*:8090/

The endpoints will be available:

/habbo-imaging/avatarimage

/habbo-imaging/badge/{badge-code}.gif

/habbo-imaging/badge-fill/{badge-code}.gif

How do I use it for my site?

You can proxy it.

An example in PHP:

<?php
header ('Content-Type: image/png');
echo file_get_contents("http://127.0.0.1:8090/?" . $_SERVER['QUERY_STRING']);
?>

Cloning this repository

$ git clone --recursive https://github.com/Quackster/Minerva

or

$ git clone https://github.com/Quackster/Minerva
$ git submodule update --init --recursive