Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Extract PNGs from SWF??


Recommended Posts

Posted

What are the options for this?

 

Tried online convertions but thats a pain and cant find any good info elsewhere or searching on here

 

 

The N64 official 16x9 theme doesnt work on my Shield TV but i cant do anything with the swf artwork

Posted

What are the options for this?

 

Tried online convertions but thats a pain and cant find any good info elsewhere or searching on here

 

 

The N64 official 16x9 theme doesnt work on my Shield TV but i cant do anything with the swf artwork

 

If it's the official N64 theme, just grab the 4:3 version. The 16:9 version uses the same exact artwork.

 

If it's the N64 theme from the megatheme pack, I have the PSD files.

Posted

What are the options for this?

 

Tried online convertions but thats a pain and cant find any good info elsewhere or searching on here

 

 

The N64 official 16x9 theme doesnt work on my Shield TV but i cant do anything with the swf artwork

Download JPEXS Free Flash Decompiler, it's free.

 

Open the program, click "open," and select your swf...

 

RqoaAa1.png

 

Right-Click "images" on the left and select "Export Selection."

 

YdLpIUE.png

 

Click "OK" and then "Open".....

 

14opaOX.png

 

And your images will be in the "images" folder on your desktop...

 

Ljf3uuN.png

Show your support for the Most Badass Project of them all!

Subscribe to me on YouTube and Facebook!

Posted

Thanks guys I'll give that program a crack JJB

If it's the official N64 theme, just grab the 4:3 version. The 16:9 version uses the same exact artwork.

If it's the N64 theme from the megatheme pack, I have the PSD files.

It's the official one so I will grab the 4x3 and see if I can resize the artwork.

Posted

That decompiler program is cool

 

This is what I started with

 

post-93349-0-84561400-1466546992_thumb.png

 

Got this sorted now. Extracted all swf to png images put them back in the theme. They were then to large!!

 

Reduced some by 25% keeping aspect ratio on with fotosizer (from Avars widescreen conversion tutorials)

 

Some images looked a little oversized. The SWF background was zoomed in. All a bit weird if you ask me.

 

I reduced some by 60%

 

Zoomed in Version

post-93349-0-22022500-1466545906_thumb.png

 

This what I ended up with, it will do until i get more time

 

post-93349-0-78807200-1466547084_thumb.png

 

many thanks

 

(that beer me function is going to start costing me a fortune now i have found it!!!)

 

 

Posted

Consider that in lots of .swf you'll find 1080p artworks and backgrounds, resizing pngs directly into flash make them look better in HS

  • 2 weeks later...
Posted

Consider that in lots of .swf you'll find 1080p artworks and backgrounds, resizing pngs directly into flash make them look better in HS

Yeah it's cool you found a way to make the art look better with the smooth scrip. Shame some of the swf version just don't load in Android.

One question is that when I decompiled those N64 ones they then display at a larger size. Does the conversion from png to swf reduce the is of the image also.

Posted

Yeah it's cool you found a way to make the art look better with the smooth scrip. Shame some of the swf version just don't load in Android.

One question is that when I decompiled those N64 ones they then display at a larger size. Does the conversion from png to swf reduce the is of the image also.

Hyperspin was originally designed with classic arcade games and console games in mind.....

 

So it was designed on a 1024x768 canvas. That's 4x3.

 

Of course you now know that 16x9 is what has become prevalent. 720p, 1080p, and beyond....

 

In order to get images to display properly on a 16x9 monitor is to "squish" the images accordingly so they'll display properly when they are stretched out to the 16x9 canvas.

 

This process is called anamorphic widescreen. 

 

But there's quality lost when the image stretches back out. That's where smoothing comes in.

 

So when you extract images from a swf you're getting the original image before the anamorphic process.

 

Hopefully that makes sense.

Show your support for the Most Badass Project of them all!

Subscribe to me on YouTube and Facebook!

Posted

Cool yeah makes sense ish,

So the anamorphic process that the smooth script applies does some sort of reduction to the image so it isn't stretched again.

The cut off kart screenshot is the swf and the one below is just the PNG.

As you can see the scale is completely different. Just wondered if there was a set ratio the smooth script applies so I can resize my png's the same and not have to guess with trial and error. Save some time

Maybe the script doesn't work that simply but would be handy for me when I start converting more.

So extract png's

Reduce width and height by X amount

Squish width to 75% (as per Avar/fotosizer)

Put back into theme

Enjoy

Posted

Cool yeah makes sense ish,

So the anamorphic process that the smooth script applies does some sort of reduction to the image so it isn't stretched again.

The cut off kart screenshot is the swf and the one below is just the PNG.

As you can see the scale is completely different. Just wondered if there was a set ratio the smooth script applies so I can resize my png's the same and not have to guess with trial and error. Save some time

Maybe the script doesn't work that simply but would be handy for me when I start converting more.

So extract png's

Reduce width and height by X amount

Squish width to 75% (as per Avar/fotosizer)

Put back into theme

Enjoy

Well, anything you find here within the downloads section ... swf's already have smoothing applied.

Show your support for the Most Badass Project of them all!

Subscribe to me on YouTube and Facebook!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...