I know about Animget, how you can use it to get full screenshots and dig sprites out with Photoshop's wand and patience, and I would begrudgingly put up with that most of the time. In this case, though, I'm eyeing a flash game with a pesky auto-zooming camera and lots of annoying foreground objects. Is there a way finagle in around this sort of thing for sprites.
If you use a Mac,
The Unarchiver can unpack the assets found in SWF files.
I'm sure similar tools exist for Windows. The term you might want to search for is "SWF Decompiler"
Something to be careful of:
I have found when dealing with Flash assets, particularly movieclips/"sprites", that they can present some very interesting challenges. Just to name two noteworthy examples: Nested movieclips, and vector graphics.
I am trying to find good ways to deal with the former.
As for the latter, I've found that decompilers do not always render or export Shapes (e.g. vectors) properly.
I also have found that exporting sprites with effects (such as glows) doesn't appear to work entirely, either.
Tell me if you run into any issues with these.
I gtg for a bit now, otherwise this would be more detailed.
Good luck!
(02-19-2016, 03:05 AM)Bahmo Wrote: [ -> ]I know about Animget, how you can use it to get full screenshots and dig sprites out with Photoshop's wand and patience, and I would begrudgingly put up with that most of the time. In this case, though, I'm eyeing a flash game with a pesky auto-zooming camera and lots of annoying foreground objects. Is there a way finagle in around this sort of thing for sprites.
Best software used to rip flash games in my opinion is
JPEXS Free Flash Decompiler. It's free, and it's easier to extract the assets that you want to work with. If this is something you prefer, that's okay! Just a suggestion
.
I thank you all for the help, but it's brought me to another question: Are there other sorts of flash formats than SWF? Because the game I wanted to rip doesn't have that file extension anywhere in its source code.
.swf would only appear in the code if it's loading an external file
officially?
no, i don't think so...
but, there do exist some very annoying asset formats that few programs can even extract.
Some devs also use their own code and programs to make the files basically impossible to open.
I cannot rip from Crystal Saga by r2games because they've encrypted the assets, saved them as extensionless files, and obfuscated the game's source code.
There's also some means of embedding and encryting another file, typically the asset-bearing.swf directly in the 'main' .swf . I've encounted some games that do this.
Once a flash game starts breaking free of the common formats, you've got a problem. And once it breaks free of the official formats, you're probable screwed.
What game are you looking at?
Have any files to show us?
Thanks for all that; is there a way to download the SWF from that first link?
Edit: I've found Michelangelo so far, so I'm going to keep viewing those.
Interesting updates: I found quite a lot of images in those links you provided, but the only full character sprite sheets I found were of Raph and Mikey. Is there a reason for the others being absent?
it loads resources-on demand
i selected those characters, so that's what i got
lemme see if any of the .xml's may be a full filemap...
alright...
http://cdn.flash.games235.com/gf/publish...08d0553da8
this is the main config
example:
<chunk id="preload"><pack>preload</pack></chunk>
so, the game intenrally id's this as 'preload' and finds a folder in assets called 'preload'
what i'm NOT finding is any sort of way the game is determining the filenames to load.
that, or as the comment explains, the game is actually able to load the entire folder due to special permission settings.
oh, ok, try this:
http://cdn.flash.games235.com/gf/publish...universal/
type in
http://cdn.flash.games235.com/gf/publish...sh/assets/
and then something encased in one of the <pack tags> (like initial_universal)
They either are bad at security or don't give a damn, as my friend commented
i also asked, it is possible to query that using automated scripts, so you probably can then use that data to create an automatic downloader.
I can't, IDK if you can, so maybe someone else can help?
gl!
(you also may manually dl each file)
Like wow, dude; I think you're the most helpful guy I've ever found here! I still don't know how to do too much of what you mentioned, but the amount of work you put in to get me these sprites is inspiring, and I resolve to use them for something as thanks! Hopefully, you've opened up some great possibilities for other people here, as well.
well, usually the server architecture is hidden
it's often intentional when it's exposed like this, but who knows?
it may be good idea to grab everything, and run
who knows when/if they decide people peeping around in there is not a good thing