Skip to content

help with recompiling

-migrated-

12 posts

help with recompiling

Posted Sep 1, 2010 7:17 pm

im using sothink swf decompiler to decompile a swf file to an fla file to edit in adobe flash cs4, whenever i decompile it gives me a .fla and a bunch of actionscript .as files, it also gives me a bunch of folders with .as files inside them, whenever i try recompiling the size of the swf is 2873 kb but the original swf file is 4842 kb, what is it not adding when it recompiles?

Re: help with recompiling

Posted Sep 1, 2010 7:22 pm

SoThink isn't able to perfectly extract all the files from a game, especially if it's encrypted. If the .as files are like "sdfsdfjksdf * wsefjsghdjflhg" and you save that, it obviously won't work.

Which game are you trying to modify?

This post was imported from an account that no longer exists!
Previous Name: phreneticus

Re: help with recompiling

Posted Sep 1, 2010 7:25 pm

i know it extracts all the files perfectly, it's just some of the actionscript files don't get included in the swf file when you publish it in adobe cs4

im trying to modify a game called yoville on facebook it's not encrypted at all

Re: help with recompiling

Posted Sep 1, 2010 7:45 pm
Quote from: "turdsammiches"
im trying to modify a game called yoville on facebook it's not encrypted at all

Facebook games are most likely server-sided, so they won't run locally.

This post was imported from an account that no longer exists!
Previous Name: phreneticus

Re: help with recompiling

Posted Sep 1, 2010 7:50 pm

if you have all the files that the game depends on to load, and you have placed an entry in C:WindowsSystem32macromedflashplayertrust so adobe flash player trusts the swf to load local files, even server sided games will run locally.

Re: help with recompiling

Posted Sep 1, 2010 7:53 pm
Quote from: "turdsammiches"
if you have all the files that the game depends on to load, and you have placed an entry in C:WindowsSystem32macromedflashplayertrust so adobe flash player trusts the swf to load local files, even server sided games will run locally.

Not if they are site-locked/load stuff from the server/other stuff.

Why do you want to have it on your PC in the first place? I doubt that you can play the game online with a modified client. Most stuff will be server-sided anyway.

This post was imported from an account that no longer exists!
Previous Name: phreneticus

Re: help with recompiling

Posted Sep 1, 2010 8:02 pm

i don't want to play it locally, after i edit it i will replace the swf in my cache folder with it and it will then be loaded onto facebook's page

Re: help with recompiling

Posted Sep 1, 2010 8:29 pm

also there are quite a few things that are not server sided, such as the decorating game it defines rewards like this


 bonuses = new Dictionary();
            bonuses["ofAKind_2"] = new BonusData("ofAKind_2", 25, "Hey, some of your stuff matches", "Perfect Pair");
            bonuses["ofAKind_3"] = new BonusData("ofAKind_3", 50, "I like what you've done with the place.", "Tremendous Triple");
            bonuses["ofAKind_5"] = new BonusData("ofAKind_5", 75, "You've really got an eye for this stuff.", "Furious Five");

the 25, 50, and 75 being amount of coins it gives you in game

if you edited the fla you could change it, but when you try to bytecode hack, it uses pushscope to push all these variables onto the scope stack and you can't change anything

Re: help with recompiling

Posted Sep 2, 2010 7:49 pm
Quote from: "turdsammiches"
also there are quite a few things that are not server sided, such as the decorating game it defines rewards like this


 bonuses = new Dictionary();
            bonuses["ofAKind_2"] = new BonusData("ofAKind_2", 25, "Hey, some of your stuff matches", "Perfect Pair");
            bonuses["ofAKind_3"] = new BonusData("ofAKind_3", 50, "I like what you've done with the place.", "Tremendous Triple");
            bonuses["ofAKind_5"] = new BonusData("ofAKind_5", 75, "You've really got an eye for this stuff.", "Furious Five");

the 25, 50, and 75 being amount of coins it gives you in game

if you edited the fla you could change it, but when you try to bytecode hack, it uses pushscope to push all these variables onto the scope stack and you can't change anything

Those are probably just the numbers it shows when a bonus is rewarded.