
Originally Posted by
turtelpower
Even if i do it myself, it's still not going right, hope this will help.
cd ~/desktop/rabcasm
./swfdecompress client.swf
./abcexport client.swf
./rabcdasm client-1.abc
Hi, I took a look through and tried to recreate what was going wrong for you, one line at a time...
The same thing was happening for me too....? which is weird..
cd *//rabcasm wasn't working for me, so I removed one of the / and it seemed to work again, then placing the extra / back in also seemed to work?
mv *.swf client.swf wasn't working and so tried a different approach using the 2nd code below... again, after this was working, I was able to go back to the original code :/
Open the ABC_Decom.sh in a text editor (I use TextWrangler) select all, and replace with the code below. Save
Code:
#!/bin/bash
cd *//rabcasm
mv *.swf client.swf
./swfdecompress client.swf
./abcexport client.swf
./rabcdasm client-1.abc
exit 0
I know it might seem strange to replace the code with the same thing, but it seemed to work for me O_o?
If that doesn't work, try and replace with the below code and see if that works.
Code:
#!/bin/bash
cd */rabcasm
touch *.swf
ls -l *.swf
mv *.swf client.swf
ls -l client.swf
ls -l *.swf
./swfdecompress client.swf
./abcexport client.swf
./rabcdasm client-1.abc
This should, I hope, work correctly...
One thing to remember when doing this manually (Only in case you missed this).
./swfdecompress client.swf will try find and decompress a file named
client.swf
.. If you haven't renamed the .swf from
AssembleeGameClient******.swf to
client.swf, then this will not work = No such file or directory.
Let me know what happens
