- Joined
- Nov 5, 2013
- Messages
- 147
- Reaction score
- 57
Hi, Rage!
I want to share with you my furni extractor written in PHP!
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:
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 . Otherwise, you are a coward.
[UPDATE]
Requirements:
PHP 5.5.4
Knowledge with PHP
Download: https://mega.nz/#!QktmxCoQ!zOVEKKwuJSeHOuqoUibTwOr2dSoS-kJQEliSX1JAY40
VS:
I want to share with you my furni extractor written in PHP!
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:
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 . Otherwise, you are a coward.
[UPDATE]
Requirements:
PHP 5.5.4
Knowledge with PHP
Download: https://mega.nz/#!QktmxCoQ!zOVEKKwuJSeHOuqoUibTwOr2dSoS-kJQEliSX1JAY40
VS:
You must be registered to see links
Last edited: