https://github.com/darealshinji/unityengine2deb
Create Debian packages of Unity Engine games
https://github.com/darealshinji/unityengine2deb
debian-packages unity-engine-games unity-game
Last synced: about 1 year ago
JSON representation
Create Debian packages of Unity Engine games
- Host: GitHub
- URL: https://github.com/darealshinji/unityengine2deb
- Owner: darealshinji
- License: other
- Created: 2014-09-07T12:00:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T14:18:06.000Z (over 2 years ago)
- Last Synced: 2025-03-25T07:24:23.709Z (about 1 year ago)
- Topics: debian-packages, unity-engine-games, unity-game
- Language: Rich Text Format
- Homepage: https://unity3d.com/get-unity/download/archive
- Size: 855 KB
- Stars: 16
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
UnityEngine2deb
===============
Create Debian packages of Unity Engine games
**u2deb**: Package a Unity game in two steps. First run `u2deb prepare ` and follow the instructions.
The game files will be copied into a temporary directory and Debian packaging files will be generated.
You can manually edit those files. Then run `u2deb build` to create the package. To delete the temporary files
run `u2deb clean`. You can get a full list of options and environment variables with `u2deb --help`.
**copyunityengine**: This script will download and install GNU/Linux binaries of a Unity engine game and delete all previously
installed binary files. Usage is `copyunityengine `.
You can use this script to create native GNU/Linux versions of games that were released only for
Windows and/or OSX (this _may_ not work with Unity 5 games).
You can also create native 64 bit versions if a GNU/Linux build was originally released only as 32 bit version, or you can also use it to install the screenselector plugin if the original build came without it.
**u2mojo**: This script helps you to create portable [MojoSetup](http://www.icculus.org/mojosetup/)
installers for any GNU/Linux distribution.
Minimum dependencies: `build-essential debhelper rename imagemagick aria2¹ p7zip-full¹ wget¹`
Recommended dependencies: `execstack lintian libgtk2.0-0 libgtk2.0-0:i386 libglu1-mesa libglu1-mesa:i386`
¹ only required by copyunityengine
**Examples:**
You can use the builds from [here](https://github.com/darealshinji/simple-unity3d-example/releases) to test the scripts.
Build 32 and 64 bit packages of a native game and store the platform independent
files in a separate "-data" package:
```
./u2deb prepare example-game-linux --data
./u2deb build
```
Build a 64 bit package from a 32 bit native game:
```
./copyunityengine example-game-linux-x86
./u2deb prepare example-game-linux-x86 --no-x86
./u2deb build
```
Build packages from a Windows-only game:
```
./copyunityengine example-game-win32
rm -f example-game-win32/*.exe example-game-win32/*.pdb example-game-win32/*_Data/Mono/mono.dll
./u2deb prepare example-game-win32
./u2deb build
```
Build packages from an OS X .app bundle:
```
./copyunityengine example-game.app
./u2deb prepare example-game-linux
./u2deb build
```
Build a MojoSetup installer and export variables:
```
echo "This is a simple Unity 3D test project." > /tmp/example-game-description
echo "Homepage: http://www.unity3d.com/" >> /tmp/example-game-description
export FULLNAME="Test project"
export SHORTNAME=example-game
export VENDOR="djcj"
export VERSION=1.0
./u2mojo --readme=/tmp/example-game-description example-game
```
**Package this tool:**
You can also build a Debian package from this tool.
```
sudo apt-get install debhelper git
git clone https://github.com/darealshinji/UnityEngine2deb.git
cd UnityEngine2deb
dpkg-buildpackage -b -us -uc
```