Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
[C#] prjElias - Complete Flash (.swf) to Shockwave (.cct) furni converter
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Quackster" data-source="post: 456960" data-attributes="member: 971"><p><strong><span style="font-size: 22px">Elias</span></strong></p><p></p><p>I started this project about two weeks ago to convert early Flash furniture (2010-2012, for example) to cast files that work on the Shockwave client. It took me five entire days to write this and perfect it, including all animations, shadows, icons to convert perfectly to a .cct file. The whole point of this is to do fully automated furniture conversion without needing to touch a single thing.</p><p></p><p>It's called Elias because it's from the word 'alias' and the file memberalias.index which tells the client which images and frames are flipped depending on which rotation comes up a lot on every Shockwave file, so why not call it after something that it's similar to...</p><p></p><p>This project consists of three other executables to complete the conversion process. The first is JPEXS to export all assets, the second is swfmill to export the SymbolClass (so we know which images are duplicates) and the last is a project file I've written entirely in Lingo and is a Macromedia projector (don't panic it's just just a simple .exe) which reads all images in a directory and spits out a .cct file since there's no third party library to create .cct files.</p><p></p><p><strong>Features</strong></p><p></p><p>- Converts furniture icon.</p><p>- Converts all furniture shadows.</p><p>- Converts all furniture z-heights (may not 100% accurate but very rarely this occurs).</p><p>- Converts all furniture frames/animations including correct speeds.</p><p>- Converts all furniture states.</p><p>- Converts all furniture blending/ink defined in XML per frame.</p><p>- Supports both wall/floor items (may need manual editing to get wall item placement to work again in the Shockwave client, but this is uncommon/rare)</p><p>- If a modern furniture (usually anything 2015+) doesn't have zoomed out images defined, the program will generate its own and downscale the images to create the "small" CCT versions if ticked yes in the configuration.</p><p>.</p><p><strong>Conversion Steps (steps the project does)</strong></p><p></p><p>- Run EliasApp.exe with either the directory of files to read / single .cct to read.</p><p>- EliasApp verifies each file has a furnidata.txt/.xml entry (program supports either formats) so it knows whether it's a wall or floor item.</p><p>- EliasApp calls JPEXS and swfmill to export assets into the temporary directory.</p><p>- EliasApp parses all assets, renames the files and puts it into the temporary "cast_data" directory ready for <strong>EliasCompiler.exe</strong> to read.</p><p>- EliasCompiler.exe reads all files and creates the necessary CCT.</p><p></p><p><strong>Screenshots</strong></p><p></p><p>Here's an example with doing the entire furniture of Celestial, with small generation of modern furnis turned off.</p><p></p><p><img src="https://i.imgur.com/VRjDUPd.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><img src="https://i.imgur.com/HYMScyu.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><strong>Command Arguments</strong></p><p></p><p>-directory "<folder path>"</p><p></p><p>The directory to parse every possible .swf inside.</p><p></p><p>-cct "<file path>"</p><p></p><p>The file path to a single file to parse.</p><p></p><p><strong>Configuration</strong></p><p></p><p>Here's an example configuration. JPEXS (listed as FFDec) is required. The converter path is a link to the Elias projector file written in Adobe Shockwave Lingo language. The furnidata can either be furnidata.xml or traditional furnidata.txt, it will detect either by the file extension.</p><p></p><p><strong>A furnidata entry for each .swf is mandatory, otherwise it won't convert.</strong></p><p></p><p>If 'small_furni' is set to true, it will generate small furni CCT files, if false, it overrides 'generate_modern' and will not generate any small CCTs.</p><p></p><p>If 'generate_modern' is set to true, it will generate small furni CCT files for modern Habbo files missing the zoomed out/32 images by downscaling the large images and recalculating the regPoints.</p><p></p><p>If 'save_as_cst' is set to true, it will save as .cst instead of .cct.</p><p></p><p>[code]<configuration></p><p> <ffdec>C:\Program Files (x86)\FFDec\ffdec.exe</ffdec></p><p> <converter_app>C:\Users\Alex\Documents\GitHub\Elias\EliasDirector\elias_app.exe</converter_app></p><p> <output_path>C:\Users\Alex\Documents\GitHub\Elias\CCTs</output_path></p><p> <furnidata_path>furnidata.xml</furnidata_path></p><p> <small_furni></p><p> <generate>true</generate></p><p> <generate_modern>false</generate_modern></p><p> </small_furni></p><p> <options></p><p> <save_as_cst>false</save_as_cst></p><p> <close_when_finished>false</close_when_finished></p><p> </options></p><p></configuration>[/code]</p><p></p><p><strong>Download</strong></p><p></p><p>This comes bundled all the programs (except for JPEXS) required to convert furniture.</p><p></p><p><strong><span style="color: #FF0000">Please install JPEXS before using this.</span></strong></p><p></p><p>Download: <a href="https://github.com/Quackster/Elias/releases" target="_blank">https://github.com/Quackster/Elias/releases</a></p><p></p><p>Source code: <a href="https://github.com/Quackster/Elias" target="_blank">https://github.com/Quackster/Elias</a></p><p></p><p><em>Please note:</em></p><p></p><p>Some wall items, while they do a successful conversion, will unable to be placed on Shockwave due to their bounds being bigger than what Shockwave allows. I've uploaded a few CCTs so you can see the difference in my edits after the conversion to make it work.</p><p></p><p>I recommend using Director MX 2004 to browse the .cst: <a href="https://archive.org/details/director_mx_2004" target="_blank">https://archive.org/details/director_mx_2004</a></p></blockquote><p></p>
[QUOTE="Quackster, post: 456960, member: 971"] [B][SIZE=6]Elias[/SIZE][/B] I started this project about two weeks ago to convert early Flash furniture (2010-2012, for example) to cast files that work on the Shockwave client. It took me five entire days to write this and perfect it, including all animations, shadows, icons to convert perfectly to a .cct file. The whole point of this is to do fully automated furniture conversion without needing to touch a single thing. It's called Elias because it's from the word 'alias' and the file memberalias.index which tells the client which images and frames are flipped depending on which rotation comes up a lot on every Shockwave file, so why not call it after something that it's similar to... This project consists of three other executables to complete the conversion process. The first is JPEXS to export all assets, the second is swfmill to export the SymbolClass (so we know which images are duplicates) and the last is a project file I've written entirely in Lingo and is a Macromedia projector (don't panic it's just just a simple .exe) which reads all images in a directory and spits out a .cct file since there's no third party library to create .cct files. [B]Features[/B] - Converts furniture icon. - Converts all furniture shadows. - Converts all furniture z-heights (may not 100% accurate but very rarely this occurs). - Converts all furniture frames/animations including correct speeds. - Converts all furniture states. - Converts all furniture blending/ink defined in XML per frame. - Supports both wall/floor items (may need manual editing to get wall item placement to work again in the Shockwave client, but this is uncommon/rare) - If a modern furniture (usually anything 2015+) doesn't have zoomed out images defined, the program will generate its own and downscale the images to create the "small" CCT versions if ticked yes in the configuration. . [B]Conversion Steps (steps the project does)[/B] - Run EliasApp.exe with either the directory of files to read / single .cct to read. - EliasApp verifies each file has a furnidata.txt/.xml entry (program supports either formats) so it knows whether it's a wall or floor item. - EliasApp calls JPEXS and swfmill to export assets into the temporary directory. - EliasApp parses all assets, renames the files and puts it into the temporary "cast_data" directory ready for [B]EliasCompiler.exe[/B] to read. - EliasCompiler.exe reads all files and creates the necessary CCT. [B]Screenshots[/B] Here's an example with doing the entire furniture of Celestial, with small generation of modern furnis turned off. [IMG]https://i.imgur.com/VRjDUPd.png[/IMG] [IMG]https://i.imgur.com/HYMScyu.gif[/IMG] [B]Command Arguments[/B] -directory "<folder path>" The directory to parse every possible .swf inside. -cct "<file path>" The file path to a single file to parse. [B]Configuration[/B] Here's an example configuration. JPEXS (listed as FFDec) is required. The converter path is a link to the Elias projector file written in Adobe Shockwave Lingo language. The furnidata can either be furnidata.xml or traditional furnidata.txt, it will detect either by the file extension. [B]A furnidata entry for each .swf is mandatory, otherwise it won't convert.[/B] If 'small_furni' is set to true, it will generate small furni CCT files, if false, it overrides 'generate_modern' and will not generate any small CCTs. If 'generate_modern' is set to true, it will generate small furni CCT files for modern Habbo files missing the zoomed out/32 images by downscaling the large images and recalculating the regPoints. If 'save_as_cst' is set to true, it will save as .cst instead of .cct. [code]<configuration> <ffdec>C:\Program Files (x86)\FFDec\ffdec.exe</ffdec> <converter_app>C:\Users\Alex\Documents\GitHub\Elias\EliasDirector\elias_app.exe</converter_app> <output_path>C:\Users\Alex\Documents\GitHub\Elias\CCTs</output_path> <furnidata_path>furnidata.xml</furnidata_path> <small_furni> <generate>true</generate> <generate_modern>false</generate_modern> </small_furni> <options> <save_as_cst>false</save_as_cst> <close_when_finished>false</close_when_finished> </options> </configuration>[/code] [B]Download[/B] This comes bundled all the programs (except for JPEXS) required to convert furniture. [B][COLOR=#FF0000]Please install JPEXS before using this.[/COLOR][/B] Download: [URL]https://github.com/Quackster/Elias/releases[/URL] Source code: [URL]https://github.com/Quackster/Elias[/URL] [I]Please note:[/I] Some wall items, while they do a successful conversion, will unable to be placed on Shockwave due to their bounds being bigger than what Shockwave allows. I've uploaded a few CCTs so you can see the difference in my edits after the conversion to make it work. I recommend using Director MX 2004 to browse the .cst: [URL]https://archive.org/details/director_mx_2004[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[C#] prjElias - Complete Flash (.swf) to Shockwave (.cct) furni converter
Top