JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#2171 Images appearing as solid red in ffdec and upon export.
Author: user IC300JB
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: GFX
State: closed Help

> What steps will reproduce the problem? Loading the gg.redswf file and attempting to view images and sprites. > What is the expected output? What do you see instead? View the sprites and images, solid red-filled images. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? ffdec 20.1.0 - win10 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. I've provided the gg.redswf file I'm working with but it occurs in other .redswf files as well.
Downloadgg.redswf (11,834 KiB)Downloadffdec (1).png (67 KiB)Downloadffdec (2).png (128 KiB)
admin
This file with .redswf extension contains compressed GFX Scaleform file. These GFX files often rely on external files like in this case. For example image tag DefineExternalImage2(i0) requires external file "gwint-game{71d5221e}_i1.dds", see attached screenshot. This file needs to be placed in the same directory as the GFX file. If FFDec can find it, then it displays it. When it's not found, then a red filling is used instead. Do you have a file called "gwint-game{71d5221e}_i1.dds" alongside the .redswf file? Can you get it somewhere? If not, then the images will stay red. If the file is there and FFDec still does not load it, then it's a bug in FFDec.
State: new→opened
Type: bug→question
user
I got it figured out thanks to you! Since this is for a Witcher mod I'm Using WolvenKit to get the gg.redswf. So, using Wolvenkit I view the chunk inside gg.redswf and expand that, save the individual .dds image files, and name them accordingly: "gwint-game{71d5221e}_i1.dds". I then put these .dds files into the same directory as gg.redswf and loaded it into ffdec, no luck. I then "saved as" using the .gfx extension and then loaded gg.gfx into ffdec and it worked. Thank you, appreciate it. Happy New Year!
Downloadffdec (3).png (486 KiB)
admin
State: opened→closed