GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - WallpaperEngineLover/SFUnpacker: Extract files from Setup Factory 7-10 installers on Windows and Linux

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
7zip
7zip
 
 
src
src
 
 
tests
tests
 
 
third_party/blast
third_party/blast
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
README.md
README.md
 
 

Repository files navigation

SFUnpacker

Extract the files packed inside Setup Factory installers, on Windows and Linux, without running the installer.

Supported: Setup Factory 7, 8, 9 and 10. Version 5 and 6 are not handled.

Download

Prebuilt binaries for Windows (x64) and Linux (x64) are attached to every release. They are self-contained, no runtime needs to be installed.

Usage

sfunpacker <installer.exe> [output-dir]

Files end up in output-dir (default extracted, relative to the current directory) with the folder layout stored in the installer, for example extracted/%AppFolder%/Data/.... The installer's own runtime files (irsetup.exe, irsetup.dat, lua5.1.dll) are extracted as well.

Every file is verified against the CRC stored in the installer. The exit code is 0 when everything was extracted and 1 otherwise. Paths in the installer that would escape the output directory (..) are skipped and reported.

Memory use is roughly the size of the largest file inside the installer, since each file is decompressed in memory.

Building

You need a C++17 compiler and CMake 3.16 or newer. Nothing else, the LZMA SDK and the PKWare decoder are bundled.

cmake -S . -B build
cmake --build build --config Release

The binary is build/sfunpacker (Linux) or build\Release\sfunpacker.exe (Visual Studio).

Tests

python3 tests/run_tests.py build/sfunpacker

The script generates small synthetic installers for each supported version and compression method and compares the extracted bytes. Real installers can be put into tests/non-synth/ (ignored by git) to try them by hand.

Releases

Pushing a tag that starts with v builds and tests both platforms in GitHub Actions and publishes a release with a .zip (Windows) and a .tar.gz (Linux).

git tag v1.0.0
git push origin v1.0.0

Credits and license

The installer format knowledge comes from Observer. Bundled third party code: the LZMA SDK (public domain) and blast by Mark Adler (zlib license).

SFUnpacker is free software: you can use it, redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

About

Extract files from Setup Factory 7-10 installers on Windows and Linux

Topics

clicmakecppinstaller-extractorlinuxlzmareverse-engineeringsetup-factoryunpackerwindows

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.