Skip to content

[FEATURE] Provide compiled executable for easier access - compilation snippet included #12

@Supernova3339

Description

@Supernova3339

Hi, I think providing an executable will be nice for people who just want to run and play.
I have provided executable arguments to bundle the game with pyinstaller below.
This code will bundle the game without confirmation, as a windowed application, and sets the name to VVVVVV and adds other files required to make the game work. For MacOS, change the icon to a .icns and for Linux to a .png
If you would like me to provide the compiled files for a windows machine, please reply here and I'll send a PR.

in order to run the following code, please install pyinstaller pip install pyinstaller
The following code assumes you have vvvvvv installed to C:\vvvvvv. You may change the directory at any time.
The icon must be converted to a .ico or .icns for operating systems besides Windows or MacOS.

pyinstaller --noconfirm --onedir --windowed --icon "C:/vvvvvv/icon.ico" --name "VVVVVV" --add-data "C:/vvvvvv/assets;assets/" --add-data "C:/vvvvvv/laboratory;laboratory/" --add-data "C:/vvvvvv/spacestation;spacestation/" --add-data "C:/vvvvvv/warpzone;warpzone/" --add-data "C:/vvvvvv/levels.vvvvvv;." --add-data "C:/vvvvvv/palette.py;." --add-data "C:/vvvvvvr/records.vvvvvv;." --add-data "C:/vvvvvv/Sprites.txt;." --add-data "C:/vvvvvv/spritesheet.py;."  "C:/vvvvvv/vvvvvv.py"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions