Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[PHP] Furni Icon Extractor

Junior Spellweaver
Joined
Nov 5, 2013
Messages
147
Reaction score
57
Hi, Rage!

I want to share with you my furni extractor written in PHP!
cabeludo007 - [PHP] Furni Icon Extractor - RaGEZONE Forums

How do this works?
- The PHP read your furnidata XML and get from them all the furnis, then go to your hof_furni and get from them the furni swfs, parse that and save a cache for when that same swf be called again.
- The furni sprites are colored according the partcolors element into the furnidata properties.
- The furni sprites are mounted with their coords and then is saved into the output path.

How do i set it up and run?
There is 6 items that you need to change:
cabeludo007 - [PHP] Furni Icon Extractor - RaGEZONE Forums

HOFFURNI_PATH: the path of your hof_furni folder
FURNIDATA_FILENAME: The path of your furnidata.xml
REVISION_FOLDER: if your swf file path is like hof_furni/49504/furni.swf, Set it true, else, false
OUTPUT_FILE_FORMAT: The format of the name where your png icon will be saved
OUTPUT_PATH: The output path of your png icon
MODELS_PATH:This is the folder where the icon model will to be cached. My advice is: create a folder in anywhere you want and set the MODELS_PATH value as that folder path.


This little app were made with a library that i'm slowly making.
If you want to use that library for anything you want, ok. if you release some project using this library and keep my credits, thanks :love:. Otherwise, you are a coward:wink:.

[UPDATE]
Requirements:
PHP 5.5.4
Knowledge with PHP

Download: https://mega.nz/#!QktmxCoQ!zOVEKKwuJSeHOuqoUibTwOr2dSoS-kJQEliSX1JAY40

VS:
 
Last edited:
Newbie Spellweaver
Joined
Mar 22, 2013
Messages
56
Reaction score
9
Hi, Rage!

I want to share with you my furni extractor written in PHP!
cabeludo007 - [PHP] Furni Icon Extractor - RaGEZONE Forums

How do this works?
- The PHP read your furnidata XML and get from them all the furnis, then go to your hof_furni and get from them the furni swfs, parse that and save a cache for when that same swf be called again.
- The furni sprites are colored according the partcolors element into the furnidata properties.
- The furni sprites are mounted with their coords and then is saved into the output path.

How do i set it up and run?
There is 6 items that you need to change:
cabeludo007 - [PHP] Furni Icon Extractor - RaGEZONE Forums

HOFFURNI_PATH: the path of your hof_furni folder
FURNIDATA_FILENAME: The path of your furnidata.xml
REVISION_FOLDER: if your swf file path is like hof_furni/49504/furni.swf, Set it true, else, false
OUTPUT_FILE_FORMAT: The format of the name where your png icon will be saved
OUTPUT_PATH: The output path of your png icon
MODELS_PATH:This is the folder where the icon model will to be cached. My advice is: create a folder in anywhere you want and set the MODELS_PATH value as that folder path.


This little app were made with a library that i'm slowly making.
If you want to use that library for anything you want, ok. if you release some project using this library and keep my credits, thanks :love:. Otherwise, you are a coward:wink:.

[UPDATE]
Requirements:
PHP 5.5.4
Knowledge with PHP

Download: https://mega.nz/#!QktmxCoQ!zOVEKKwuJSeHOuqoUibTwOr2dSoS-kJQEliSX1JAY40

VS:

When I put my furnidata tells me this:

Notice: Undefined Index Furnitype C:\extract\extract.php in line 55

But with no habbo
 
Newbie Spellweaver
Joined
Jan 7, 2016
Messages
85
Reaction score
8
Doesn't work?

- I've downloaded PHP 5.5.4
- I've edited extract.php ( )

I get these errors.... ( )

Any suggestions?
 
Hakuna Matata
Joined
Sep 5, 2012
Messages
804
Reaction score
137
Doesn't work?

- I've downloaded PHP 5.5.4
- I've edited extract.php ( )

I get these errors.... ( )

Any suggestions?

probably becauser you wrote mpp instead of xampp.
 
Junior Spellweaver
Joined
Nov 5, 2013
Messages
147
Reaction score
57
Newbie Spellweaver
Joined
Feb 10, 2016
Messages
93
Reaction score
73
Newbie Spellweaver
Joined
Aug 12, 2016
Messages
9
Reaction score
3
probably becauser you wrote mpp instead of xampp.

After doing what you suggested I still get the same errors.

Error I am getting:


Extract.php
 
Master Summoner
Joined
Dec 1, 2013
Messages
547
Reaction score
694
Yes without PHP installed you cannot run PHP either.
#logic
For every furni you add you need to run the program again. You can just add a furniviewer.php where it checks if it already exists yes or no and then add it. Maybe your way of getting the icons is better but it cost more time.
 
Newbie Spellweaver
Joined
Jun 20, 2014
Messages
72
Reaction score
1
For habboon edit swf, try this extract.php for fix that:
Notice: Undefined Index Furnitype C:\extract\extract.php in line 55

 
Back
Top