Battle.net R&D > Starcraft II Beta

Compiling the .gfx Files

(1/4) > >>

MiCrOMaN1:
The GUI uses Scaleform GFX. It's essentially Flash with the 3-byte header signature changed. The .gfx files are .swf and .cwf files. To open a .gfx file in a Flash editor you may have to change the filename to .sqf and the first characters in the file from CFX to CWS. The header signature equivalents between Flash and GFx are FWS = GFX (decompressed) and CWS = CFX (compressed).
 
 
How to edit the menu
Use this http://sc2c.pastebin.com/m6b332caf code to organize the .as extracted from the Sothink SWF Decompiler. To search inside the .as files add this to the registry '[HKEY_CLASSES_ROOT\.as\PersistentHandler];@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”'. Find the code to hack, for example “this.m_playOfflineButton._alpha = 0”. Unfortunately changes to this code can not be assembled to a swf. Neither can the exported .fla be assembled to a .swf because Sothink ignores all Actions except 'Frame 0.as' when making the fla. Make the changes with Flasm (the patched version that ignores the CFX header, GFXASM tool) as assumed with this example:
* flasmgfx -d Battle.net.gfx > Battle.net.flm
* Edit the bytecode
* flasmgfx -a Battle.net.flm > Battle.net.gfxTaken fro wiki.
 
I think that the mistake  ;D  was that you were suppose to convert it to .sqf NOT .swf  ;)

vctu:
great ;)

MiCrOMaN1:
Aw man..still no luck...Does someone know where we can get a free copy of Scaleform GFX! Come on! Someone must have it...Atleast the trial.......

RaTcHeT302:
You need to register i think..

MiCrOMaN1:

--- Quote from: RaTcHeT302 on February 21, 2010, 09:37:57 AM ---You need to register i think..

--- End quote ---

http://inquistor.info/darkblizz/wiki/doku.php?id=tools

If just those 4 uploaded links would work.

Navigation

[0] Message Index

[#] Next page

It appears that you have not registered with DarkBlizz - Making Battle.net Magic -. To register, please click here...
Go to full version