Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

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
#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"
Reply
#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
#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
#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
#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
#8
This one, and unforunately no.
Reply
#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.

[spoiler]
http://cdn.flash.games235.com/gf/publish...flash1.swf
http://s.ytimg.com:443
http://ocsp.digicert.com/
http://www.adblockanalytics.com:443
http://cdn.flash.games235.com/gf/publish...be1276af9c
http://cdn.flash.games235.com/gf/publish...9a4b494446
http://cdn.flash.games235.com/gf/publish...08d0553da8
http://cdn.flash.games235.com/gf/publish...a61fb67437
http://stats.g.doubleclick.net:443
http://www.facebook.com:443
http://www.googleapis.com:443
http://cdn.flash.games235.com/gf/publish...ff8450343b
http://cdn.flash.games235.com/gf/publish...1fcb2350d8
http://cdn.flash.games235.com/gf/publish...9a8cbc2d60
http://cdn.flash.games235.com/gf/publish...6e62f29d4c
http://cdn.flash.games235.com/gf/publish...ad17fc7d22
http://cdn.flash.games235.com/gf/publish...712e600290
http://ssl.gstatic.com:443
http://cdn.flash.games235.com/gf/publish...89dbffde0f
http://cdn.flash.games235.com/gf/publish...f6af8ce563
http://cdn.flash.games235.com/gf/publish...e5178367fb
http://cdn.flash.games235.com/gf/publish...fa2ec4ee21
http://cdn.flash.games235.com/gf/publish...db0629c579
http://cdn.flash.games235.com/gf/publish...a87e344f8a
http://cdn.flash.games235.com/gf/publish...9a4eb9db45
http://cdn.flash.games235.com/gf/publish...04c5cd6ab6
http://cdn.flash.games235.com/gf/publish...126f581757
http://cdn.flash.games235.com/gf/publish...55d8776839
http://cdn.flash.games235.com/gf/publish...3c3536ff2f
http://cdn.flash.games235.com/gf/publish...052bfd4e55
http://cdn.flash.games235.com/gf/publish...ae17009802
http://cdn.flash.games235.com/gf/publish...6d1736f431
http://cdn.flash.games235.com/gf/publish...ff9ea9439e
http://cdn.flash.games235.com/gf/publish...08aa420dc5
http://cdn.flash.games235.com/gf/publish...fcf99a3766
http://cdn.flash.games235.com/gf/publish...813e3df728
http://cdn.flash.games235.com/gf/publish...e67c5039e7
http://cdn.flash.games235.com/gf/publish...ce709f8ebc
http://cdn.flash.games235.com/gf/publish...17f4ea6799
http://cdn.flash.games235.com/gf/publish...8196a62003
http://cdn.flash.games235.com/gf/publish...b520edc06a
http://cdn.flash.games235.com/gf/publish...307abc7e58
http://cdn.flash.games235.com/gf/publish...f58e2eee7c
http://cdn.flash.games235.com/gf/publish...5f5d2703d4
http://cdn.flash.games235.com/gf/publish...39392a7131
http://cdn.flash.games235.com/gf/publish...3eb4b19041
http://ssl.gstatic.com/s2/oz/images/star...ropR_3.png
http://ssl.gstatic.com/s2/oz/images/star...rite_3.png
http://ssl.gstatic.com/s2/oz/images/star...rder_3.gif
http://ssl.gstatic.com/s2/oz/images/star...ropB_3.png
http://cdn.flash.games235.com/favicon.ico
http://cdn.flash.games235.com/favicon.ico
http://cdn.flash.games235.com/gf/publish...7347aa5e6a
http://cdn.flash.games235.com/gf/publish...9e3928b833
http://cdn.flash.games235.com/gf/publish...1b2e651e02
http://cdn.flash.games235.com/gf/publish...16a7522c94
http://cdn.flash.games235.com/gf/publish...9035b47c20
http://cdn.flash.games235.com/gf/publish...7fcf7d69f4
http://cdn.flash.games235.com/gf/publish...ef99681db7
http://cdn.flash.games235.com/gf/publish...a4de6695a9
http://cdn.flash.games235.com/gf/publish...16207de478
http://cdn.flash.games235.com/gf/publish...0be1305e20
http://cdn.flash.games235.com/gf/publish...a7d59dd021
http://cdn.flash.games235.com/gf/publish...5fdc29ca21
http://cdn.flash.games235.com/gf/publish...2643415ebb
http://cdn.flash.games235.com/gf/publish...a1e42ea44a
http://cdn.flash.games235.com/gf/publish...7417a0ab25
http://cdn.flash.games235.com/gf/publish...8c266faef3
http://cdn.flash.games235.com/gf/publish...5573309792
http://cdn.flash.games235.com/gf/publish...05cd8e494f
http://cdn.flash.games235.com/gf/publish...463456dd8f
http://cdn.flash.games235.com/gf/publish...03403f1044
http://cdn.flash.games235.com/gf/publish...1d002dbf94
http://cdn.flash.games235.com/gf/publish...4df5f6e113
http://cdn.flash.games235.com/gf/publish...3f036394b7
http://cdn.flash.games235.com/gf/publish...f81e2f6388
http://cdn.flash.games235.com/gf/publish...a6b1d9d32e
http://cdn.flash.games235.com/gf/publish...6161a37666
http://cdn.flash.games235.com/gf/publish...374e44dfcb
http://cdn.flash.games235.com/gf/publish...6ec30cca93
http://cdn.flash.games235.com/gf/publish...925de01559
http://cdn.flash.games235.com/gf/publish...c478fa1fab
http://cdn.flash.games235.com/gf/publish...fa8989122e
http://cdn.flash.games235.com/gf/publish...06dcf7dc6a
http://cdn.flash.games235.com/gf/publish...535a11ea42
http://cdn.flash.games235.com/gf/publish...61e4531bf2
http://cdn.flash.games235.com/gf/publish...225caa790f
http://cdn.flash.games235.com/gf/publish...c933aa7371
http://cdn.flash.games235.com/gf/publish...fe6a9c30c8
http://cdn.flash.games235.com/gf/publish...79cd1965c0
http://cdn.flash.games235.com/gf/publish...ad7ca1ae6d
http://cdn.flash.games235.com/gf/publish...e47230480a
http://cdn.flash.games235.com/gf/publish...9a4b494446
http://cdn.flash.games235.com/gf/publish...ee518b382b
http://cdn.flash.games235.com/gf/publish...c05caba044
http://cdn.flash.games235.com/gf/publish...ae0d7521bc
http://cdn.flash.games235.com/gf/publish...0c2a0ffedc
http://cdn.flash.games235.com/gf/publish...f87e4a61f6
http://cdn.flash.games235.com/gf/publish...4854dff941
http://cdn.flash.games235.com/gf/publish...b3314f7601
http://cdn.flash.games235.com/gf/publish...eb7eb47413
http://cdn.flash.games235.com/gf/publish...f7b9fd0cd6
http://cdn.flash.games235.com/gf/publish...10b9cdcb86
http://cdn.flash.games235.com/gf/publish...f40551bbe9
http://cdn.flash.games235.com/gf/publish...71ca2c4b91
http://cdn.flash.games235.com/gf/publish...938cf26f58
http://cdn.flash.games235.com/gf/publish...2ec761c414
http://cdn.flash.games235.com/gf/publish...308d1ffa8f
http://cdn.flash.games235.com/gf/publish...e2b89c4dff
http://cdn.flash.games235.com/gf/publish...07b95bd13e
http://cdn.flash.games235.com/gf/publish...bd3ac3421b
http://cdn.flash.games235.com/gf/publish...979d5785f5
http://cdn.flash.games235.com/gf/publish...35bd2ec0dd
http://cdn.flash.games235.com/gf/publish...fa09436f3c
http://cdn.flash.games235.com/gf/publish...32068968f5
http://cdn.flash.games235.com/gf/publish...162495a27c
http://cdn.flash.games235.com/gf/publish...263b2b8a40
http://cdn.flash.games235.com/gf/publish...0c7b97c7bb
http://cdn.flash.games235.com/gf/publish...3613e1855c
http://cdn.flash.games235.com/gf/publish...ee875683fd
http://cdn.flash.games235.com/gf/publish...2ece4a23ef
http://cdn.flash.games235.com/gf/publish...63a08d05d7
http://cdn.flash.games235.com/gf/publish...f1621ac9c2
http://cdn.flash.games235.com/gf/publish...a046272ac7
http://cdn.flash.games235.com/gf/publish...0ab6ca36b5
[/spoiler]

good luck!
Reply
#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
#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
#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
#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
#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
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)