The Habbo Catalog Generator automates catalog creation for Arcturus Morningstar. This user-friendly tool offers options to generate the entire catalog or specific components such as clothing, items, walls, and pages. It provides instant generation of queries and is accessible for users with minimal experience.
-
Place the
furnidata.json
file: Insert afurnidata.json
file into thefurnidata
folder. -
Run the
python generator.py
script: Execute thegenerator.py
script to access the catalog generation interface.
-
Catalog Clothing: Generates SQL queries for clothing items to populate the
catalog_clothing
table. -
Catalog Items: Generates SQL queries for items to populate the
catalog_items
table. -
Wall Catalog Items: Generates SQL queries for wall items to populate the
catalog_items
table. -
Catalog Pages: Generates SQL queries for catalog pages to populate the
catalog_pages
table. -
Items Base: Generates SQL queries for general items to populate the
items_base
table. -
Wall Items Base: Generates SQL queries for wall items to populate the
items_base
table.
The Habbo Catalog Generator provides two interface options:
-
Generate Catalog: Executes all the scripts located in the
scripts
folder to generate the catalog data. Before running this option, configure the correct ID ranges in each script file based on yourfurnidata.json
. -
Run Specific Script: Allows you to run a specific script individually. This option provides a list of available scripts, and you can select the script you want to run.
If you are creating a catalog from scratch, follow these steps to ensure a smooth catalog creation process:
-
Check the "database" folder in the root directory for a SQL file called
catalog_pages.sql
. This file contains all the default pages required for a catalog to function correctly. -
Import the
catalog_pages.sql
file into your database management system (e.g., MySQL) to create the necessary tables and populate them with the default catalog pages. -
Verify that the tables and catalog pages are successfully imported into your database.
-
Proceed with the catalog generation process using the instructions provided above.
-
After generating your
items_base
queries and running them in your database, please check the "database" folder for the following SQL files and run them in your database: "interaction_type_defaults.sql," "items_base_default_values.sql," and "multiheight_defaults.sql." It is important to note that these SQL files are not fully completed and may not be entirely accurate. However, they do offer a reliable foundation for fixing furniture until mid-2023.
Please note that you need to have a properly formatted furnidata.json
file for this script to work correctly. If you need assistance in formatting the furnidata.json
file, you can use the JSON Furnidata Formatter tool available on GitHub. This tool is specifically designed to format furnidata.json
files, ensuring correct JSON syntax and proper formatting. Follow the instructions provided in the tool's repository to format your furnidata.json
file using the tool.
Additionally, make sure to configure the script files properly before executing them to ensure the generated queries match your furnidata.json
file.
If you have any updated versions of the SQL files mentioned (e.g., "interaction_type_defaults.sql," "items_base_default_values.sql," and "multiheight_defaults.sql"), please feel free to send them to me. I would be more than happy to incorporate them and improve the accuracy of the provided SQL queries.
This collection of scripts was created by Gizmo.
Gizmo_1813 on Discord.