Compiling the .gfx Files

Started by MiCrOMaN1, February 21, 2010, 09:03:35 AM

Previous topic - Next topic

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: Taken fro wiki.

I think that the mistake  ;D  was that you were suppose to convert it to .sqf NOT .swf  ;)
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif


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.......
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

RaTcHeT302


MiCrOMaN1

Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

MiCrOMaN1

Seriously...Why don't the links posted in the wiki work?! i need the GFXASM tool now, yet the studioaccessible.com links don't work! GAH!
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

Fulger


MiCrOMaN1

Could you upload it or something man..That wud be really helpful.
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

Fulger

#8
http://rapidshare.com/files/353805683/gfxasm_fixed.zip.html
If this link will not work just tell me to upload on other site

MiCrOMaN1

Thanks! Download works perfect, but the stupid GFXASM tool can't convert lol..
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

Fulger

#10
You need Scaleform GFX ?

BeardFist

if you have waffles i am trying to start a torrent for it so that it is easier to get it: http://waffles.fm/details.php?id=635024

ReVoke

That link is invalid, it goes to the main page.
TXlzdCBpcyBteSBiaXRjaA==

^^ Base64, Decode it =) ^^

BeardFist

do you have a waffles account?
because it will only work if you are already logged in.

Myst

if someone can replace links on the wiki, that'd be great