Users browsing this thread: 1 Guest(s)
Is there an easier way to rip from Flash games?
#1
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.
Reply
Thanked by:
#2
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"
Once there was a way to get back homeward
Reply
Thanked by:
#3
Here:
http://www.vg-resource.com/thread-28425.html
Reply
#4
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!
Reply
Thanked by:
#5
(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 Smile.
Reply
Thanked by: sutinoer
#6
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.
Reply
Thanked by:
#7
.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?
Reply
Thanked by:
#8
This one, and unforunately no.
Reply
Thanked by:
#9
I'm gonna have to see if i can play it from somewhere else
I have been 100% unable to actually USE the nick website for many months, now

edit:
assuming this is same game:
http://f5game.net/game/play-tmnt-vs-pr-u...clash.html
(there's a hell of a lot going on it'd be stupid to suggest otherwise...)

Umm, you're gonna need to run an HTTP logger/debugger

There's a single main .swf and SEVERAL XML-formatted configuration files, png images, and mp3 audio files, also a few other formats, but primarily those three.

You may want to wipe the browser cache and then run something like Fiddler

this is everything i've got
(some of these aren't to do with the game, but the site I found it, I can't be bothered to sort them)
I don't have the disk space to dedicate to another game like this, and it also lags like hell on this computer.
I also suck at fighting games

It may be far more productive to have someone try to find its main asset list, and attempt to make a program to download the entire game in one go. I guarantee if you try it the typical way of ripping a game like this, it'll be a while. And depending if anything only shows-up once, you may miss it.

good luck!
Reply
Thanked by:
#10
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.
Reply
Thanked by:
#11
this is the main .swf i think

http://cdn.flash.games235.com/gf/publish...flash1.swf

but, with the amount of .png's, .mp3's and .xml's , safe to bet the main.swf contains little to no assets
Reply
Thanked by:
#12
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?
Reply
Thanked by:
#13
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)
Reply
Thanked by:
#14
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.
Reply
Thanked by:
#15
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
Reply
Thanked by:


Forum Jump: