Skip to content

Habbo badge imager, written in .NET 8. Supports both old style badges, and 2012+ badges.

Notifications You must be signed in to change notification settings

Quackster/Badger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badger

Habbo badge imager library.

How to Use

Extract badges.zip in the folder that the app is running.

Shockwave badges - v18 - v31+

Will automatically export as .gif

var badge = GetFromServer.ParseBadgeData(new BadgeSettings
{
    IsShockwaveBadge = false
}, "b00534Xs317315s321324s317313");

var badgeRendered = badge.Render();

if (badgeRendered != null)
{
    File.WriteAllBytes("badge_shockwave.gif", badgeRendered);
}

Guild badge support

Will automatically export as .png

You will need to re-export badge.resource.json from the database with the columns matching if you wish to support the specific emulator being used, as some of these badge resource guild data structures are different depending on the emulator.

var badge = GetFromServer.ParseBadgeData(new BadgeSettings
{
    IsShockwaveBadge = true
}, "b10074s170011s139196s29168");
File.WriteAllBytes("badge_flash.png", badge.Render());

Available on NuGet

NuGet link: https://www.nuget.org/packages/Badger-Imager/1.0.0

Package:

NuGet\Install-Package Badger-Imager -Version 1.0.0

As a web server?

See: https://github.com/Quackster/Minerva

About

Habbo badge imager, written in .NET 8. Supports both old style badges, and 2012+ badges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages