Extract images from an exe file that runs a slideshow - extract

I have an exe file that plays a photo slideshow when executed. The photos in the slideshow are from a family photo shoot and some of the family have since passed away. The studio that created the file have since closed and I have no way of contacting them.
Can anyone help extract the files from the exe so that I am able to save them to get them printed for members of our family.
They are the only ones we have and would really appreciate any help in getting the photos extracted.
Thanks

What you need is a software reverse engineering (SRE) framework. These kind of tools are able to decompile, disassemble or decompress executables or binaries: dll, exe, so, etc
I recommended you: https://github.com/NationalSecurityAgency/ghidra
Another option is to use some compress/decompress tool like 7zip. With some luck and depending on how the exe was created, the images could be inside like winrar portables.

Related

create a (local) HTML webpage which uses a .jar file

I'm very sorry for the possibly confusing title and also for the following expressions, as I'm a complete newbie into coding.
Background:
To make life a bit easier for our team at work, I would like to create a super simple HTML page which lists the most useful links to other tools in our company but is also able to send commands to a converter which exists as a .jar file (which requires different arguments - see attached pdf). Currently, we are running the specific command in the standard command prompt window in Windows to convert files into different formats.
Basic idea:
It would be so cool to have a very simple GUI (incl. some buttons + input masks). The attached PDF should explain it quite well IMO. I would then send around the package (containing the .html + .jar converter files) to my colleagues, so they can open them locally on their PC. If this works out fine, I would love to run this page in on a local intranet web-server, so everyone in our company is able to use the page (without having to store anything locally on their pc).
I know that it might be a bit too much to ask for, but it would be great if you can give me some kind of how-to. Or maybe someone has some nice hints where to start with. I know a bit of html stuff. The most hardest part to me is to execute the inputs with the .jar file.
I would be really happy if someone is able to help out as it has always been a tiny dream to have this "tooling page".
Link to the PDF:
https://wetransfer.com/downloads/ced5bc513b6c551202ba45e4aecbf1bb20220223131350/48f236a4f0989d7cc0c4f3359c70e60320220223131410/269175

adding files to all platforms of a cocos2d-x project

This is a very basic question, but I have not been able to find the answer anywhere.
I just got Cocos 2Dx 3.3, made a new project and built the HelloWorld scene that was generated.
It generated projects for all platforms, but I am currently compiling and running the Mac project using XCode.
I can easily add new files using XCode, but of course it only adds it to my XCode Project. I would have expected a way to automatically modify all projects at once to add files or change compiler settings. I saw that there is a CMake file, probably used for command line compilation, but I cannot find a way to use that to regenerate the projects for all platforms.
Is it possible to automatically add a file to all platforms? Maybe it is possible to modify the template directory os Cocos and use the cocos new command line to recreate the project from scratch?
Or is it better to do all that manually?
Such an automation would imply parsing of a project file, finding list of relevant files and then changing all the dozen of project files. Which is hell of the work.
Even if it was implemented, how would this implementation decide which project file is a main one? (to get filelist from) And if your projects all have different lists of files? This would need merging etc. etc.
For now cocos new only copies files from one place to another. Frankly, Cocos2d-x have much more serious problems to solve, so I don't think this feature will ever be implemented.
However, you could customize project files/folders to your needs to make process of adding files more or less convenient and sometimes even automatic. Here are some clues:
It is easy to change Android and Linux Makefiles so they will pick up all the source files from a specified folder. Just use wildcards. Resource files are picked up by default.
For Visual Studio solutions (Win32, Win8, WinPhone) you could enable "Show all files" to see all files that either added or not. Unfortunately you can only see files down in the folder tree relative to project folder. To see Classes folder, make a symlink (link /j) of a Classes folder near .vcxproj file. You'd better don't copy/move project folder after it. And don't forget to add this linked folder to ignore list of your versioning system, or you will end up with duplicated files. Resource files are picked up by default for Windows projects.
I am not aware of any solution for XCode project, so you basically stuck with manual source file addition. Which is most annoying among all platforms. However it can pick up resource folders with all files.
Anyway, I would be glad if someone would proof me wrong and would write some kind of script to solve this problem (and also to change project name, company id, automatic versioning, etc.). I believe it could be done more or less reliably with, let's say Python and some regex magic. At least until project file formats will change.

Is there a way to export PSDs using AS3

Plead/Preparing for standard SO backlash
This is a generic question I apologize as I'm not an SO "noob" and I realize this doesn't fit the format exactly, if you can suggest a better place for this query I'm all ears. If you choose to down vote or close please suggest an alternative.
Question
Is anyone aware of projects that already generate a PSD file from within AS3?
Background (everything below here you may not care about if you just want to answer a question, but if interested I could use a hand)
I've found an AS3 PSD parser here.
For some basic tests this has worked fine (after some tweaking to avoid errors). However, now the task is to reverse this process to write a PSD file.
Current plan (and overall goal)
I also found a file format specification document.
My plan at this point is to just start from the top and work my way through the document building each of the parts of the file (and helper value objects) as I go along. Since this will be a very time consuming process, I'm wondering if there's any other previous work I could build off of.
Ultimately my goal is to integrate this code into a mobile drawing project I've been working on for some time. Since it's a mobile project I have to deal with the possibility that the OS kills my app to reclaim memory, in that case I need to be able to save/load the existing state of the app (currently has layers of BitmapData similar to photoshop, plus would be cool to be able to open PSD files and open my files from the device in photoshop with layers preserved).
Links to live version and code
The app can be downloaded here (is free will remain free, no ads, app is funded by love and the desire to create something cool everyone can have/use):
Google Play
Amazon App Store
Still working on an iOS release (process is more involved than the other two stores)
The code can be found here on github (Flash Builder project files in the FlashBuilderProject/FingerPainting folder).
Legal
Essentially the code contained in that repository is all MIT or Apache Licensed (will be going back to double each of the authors sites to get the original licenses to copy in now, just in case). I'm not a lawyer, but I believe I legitimately obtained everything in the project currently and am simply obligated to include the licenses and make my extensions of the source code available in some cases. (fonts came from google web fonts and downloaded Roboto from Google directly http://developer.android.com/design/style/typography.html). Any code in the com.shaunhusain package I wrote and you can assume is GPL for now. If anyone more legally savvy wants to tell me I'm breaking the law, and how, I would appreciate it.
The portions included and used from other sites include
Actuate MIT License
PNGEncoder2 License included in source from Adobe permits usage.
ShareANE I don't have a license for this one (he didn't include one) the author is chinese, as such I'm having some difficulty figuring out how to contact him, but am assuming I'm safe to use his code.
A couple of pieces of code are in the repository but currently not used including a GIF parser/encoder from bytearray.org and a ColorMatrix class from Grant Skinner.
Update
After trying this for a while I ended up deciding to just use the ORA format since it is open and far far simpler and works fine with GIMP and Krita (open source editors).
I'm not sure about the intended use, but if you are compiling the file in Flash, you might be able to use JSFL to export the fla to a PSD. Then tie the JSFL functionality to a button in a SWF that you load as a panel in the IDE. JSFL is pretty powerful, however it only works within the IDE/locally.

How to merge multiple PDF's in native ActionScript?

I am looking for a solution to this issue but I have not yet found anything conclusive. I would love to get some input. What I need to do is basically to take two or more individual PDF-files and merge them into one. Nothing fancy just sticking one after the other and ending up with one file.
I have found AlivePDF and purePDF but those libs both seem to be focused towards generating PDF's from scratch.
I would greatly appreciate any input on this. Thx.
I don't know how you can merge PDF files on the client side, but if nothing is left over (and the files aren't too large) you could send them to the server. There you have the choice between your favorite PDF merge tool or library (e.g. PDFBox).
You can't merge PDFs in AS3.
The best you can do is load PDF files and do minor javascript scripting of the HTMLLoader (AIR only) instance into which the PDF is loaded. See Known limitations for PDF content in AIR for more.

Seeking a compact format for HTML ebooks for offline reading under Linux

I have a netbook running Linux and a large collection of computer books and reference material as HTML. I'd like some compact way of storing these books which can be browed without unpacking them first. This would save space and reduce wear on my small SSD.
If there was some way to convince Firefox to browse files contained in ZIP file, this would be ideal. (I know iCab (Mac) had a web archive format that worked this way.) Perhaps a Firefox plugin? A small web server that can serve directly from ZIP files? Some magic FUSE module? Does anyone have any ideas?
On my PDA (which the netbook is largely replacing) I used iSilo for this, but it's not available for Linux, its conversions are lossy and it costs money.
There is the FUSE zip thing here :
http://code.google.com/p/fuse-zip/
Gvfs should also support zip files.
Calibre might help (convert to a compressed format, manage, view e-books).
You can use OpenOffice.org to open the html pages, and then save them as OO documents. OO documents are essentially a zip files.
Another option is to use OO to save as pdf.
You can even do this from a command line using this OO macro.
Same with AbiWord - you can use it on commandline to convert.
In the AbiWord example there is shown how to convert all files in a directory to a desired format (pdf). Then you can use pdftools to merge all pages in one document.
Also, I do not know what windows manager your laptop has, but if it is KDE, konqueror (the file and web browser for KDE) opens web pages from inside a zip file w/o any problem.
Most probably Gnome's Nautilus can do this as well (I have no Gnome here to test).
Have you ever tried to open a zip file with whatever file manager you have, and then click on a web page inside it?