It appears you have not registered with our community. To register please click here ...

May 22, 2012, 11:27:32 AM

Author Topic: Compiling the .gfx Files  (Read 4630 times)

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Compiling the .gfx Files
« on: February 21, 2010, 09:03:35 AM »
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.gfx
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

DarkBlizz - Making Battle.net Magic -

Compiling the .gfx Files
« on: February 21, 2010, 09:03:35 AM »

vctu

  • New Member
  • *
  • Posts: 1
    • View Profile
Re: Compiling the .gfx Files
« Reply #1 on: February 21, 2010, 09:14:02 AM »
great ;)

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Re: Compiling the .gfx Files
« Reply #2 on: February 21, 2010, 09:20:37 AM »
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

  • Sr. Member
  • ****
  • Posts: 171
  • Random text lolo
    • View Profile
Re: Compiling the .gfx Files
« Reply #3 on: February 21, 2010, 09:37:57 AM »
You need to register i think..

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Re: Compiling the .gfx Files
« Reply #4 on: February 21, 2010, 10:16:41 AM »
Our Greatest Resource is Our Mind ~ Kareem Abdul-Jabbar
Check this: http://img123.exs.cx/img123/4497/gif1.gif

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Re: Compiling the .gfx Files
« Reply #5 on: February 21, 2010, 10:22:20 AM »
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

  • New Member
  • *
  • Posts: 5
    • View Profile
Re: Compiling the .gfx Files
« Reply #6 on: February 21, 2010, 10:27:17 AM »
i have gfxasm_fixed

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Re: Compiling the .gfx Files
« Reply #7 on: February 21, 2010, 10:29:36 AM »
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

  • New Member
  • *
  • Posts: 5
    • View Profile
Re: Compiling the .gfx Files
« Reply #8 on: February 21, 2010, 10:30:53 AM »
http://rapidshare.com/files/353805683/gfxasm_fixed.zip.html
If this link will not work just tell me to upload on other site
« Last Edit: February 21, 2010, 10:49:15 AM by Fulger »

MiCrOMaN1

  • DarkBlizz
  • Sr. Member
  • ****
  • Posts: 173
  • Starcraft East - MiCrOMaN1
    • View Profile
Re: Compiling the .gfx Files
« Reply #9 on: February 21, 2010, 10:49:46 AM »
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

  • New Member
  • *
  • Posts: 5
    • View Profile
Re: Compiling the .gfx Files
« Reply #10 on: February 21, 2010, 10:51:24 AM »
You need Scaleform GFX ?
« Last Edit: February 21, 2010, 10:53:23 AM by Fulger »

BeardFist

  • New Member
  • *
  • Posts: 14
    • View Profile
Re: Compiling the .gfx Files
« Reply #11 on: February 21, 2010, 02:32:44 PM »
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

  • Member
  • ***
  • Posts: 72
  • Darkblizz Webmaster
    • View Profile
Re: Compiling the .gfx Files
« Reply #12 on: February 21, 2010, 02:36:29 PM »
That link is invalid, it goes to the main page.
TXlzdCBpcyBteSBiaXRjaA==

^^ Base64, Decode it =) ^^

BeardFist

  • New Member
  • *
  • Posts: 14
    • View Profile
Re: Compiling the .gfx Files
« Reply #13 on: February 21, 2010, 02:41:15 PM »
do you have a waffles account?
because it will only work if you are already logged in.

Myst

  • DarkBlizz
  • Wizard
  • *****
  • Posts: 979
  • DarkBlizz Founder | Owner
    • View Profile
    • DarkBlizz
Re: Compiling the .gfx Files
« Reply #14 on: February 21, 2010, 02:43:16 PM »
if someone can replace links on the wiki, that'd be great

DarkBlizz - Making Battle.net Magic -

Re: Compiling the .gfx Files
« Reply #14 on: February 21, 2010, 02:43:16 PM »