This is a great mario game clone for Windows, Linux, and OSX that will bring tons of fun to your day! Thank you Chris Lewis for putting this out there!
I've replaced all of the proprietary artwork with stuff I created or downloaded and I've added a full screen mode and the ability to exit the game by hitting escape.
Also added some scripts to help compile the game.
Now it's completely open source!
Make sure you have a Java version of at least 1.8.
https://github.com/qbancoffee/infinite-tux/releases
https://github.com/qbancoffee/infinite-tux/releases
Latest version now works correctly with OpenJDK!
The following was tested on Ubuntu 16.04 and 18.04. At a minimum you'll need a JDK of at least 1.6.
on Ubuntu you can install 1.8 like this.
You can compile via any of the following methods.
- Maven
- makeit
- makeit.bat(for windows)
sudo apt-get install openjdk-8-jdk
- With Maven if you don't have maven installed, this worked for me.
sudo apt-get install maven
Once installed, you can compile, package and run the resulting jar file.
mvn compile
mvn package
cd target
java -jar infinitetux-1.1-jar-with-dependencies.jar
You could also start the game by running a starter script created in the dist folder.
cd dist
./infinitetux
or you could run it full screen
./infinitetux f
to exit just hit escape.
or
java -jar infinitetux.jar
or
java -cp .:infinitetux.jar com.mojang.mario.FullScreenFrameLauncher
- With java jdk
If you only wish to install the minimum, then all you need is a JDK to compile and run it.
On windows make sure the jdk is in your path.
Under linux and Mac you should only need the makeit script. If the script isn't executable, do the following.
Make executable.
chmod +x makeit
Compile
./makeit
cd dist
Run
infinitetux
or
infinitetux f
or
java -jar infinitetux.jar
or
java -cp .:infinitetux.jar com.mojang.mario.FullScreenFrameLauncher
On windows you should just have to double click on the makeit.bat file. I think you could double click on the jar file and it will start. You can always issue the commands from the command prompt. I still need to make a batch script that will run the game in full screen mode.
Compile
makeit
Run
java -jar infinitetux.jar
or
java -cp .;infinitetux.jar com.mojang.mario.FullScreenFrameLauncher
You'll need gnu make, a jdk and the following additional dependencies. Also I had to do this on a debian unstable installation because my Ubuntu installation does not have the latest debhelper and other dependencies. You can do this on Ubuntu 18.04 however. follow these instructions and then see the end of this section.
devscripts debhelper jarwrapper default-jdk default-jre javahelper
If you don't have these installed, this worked for me.
sudo apt-get install devscripts debhelper jarwrapper javahelper default-jdk default-jre
Enter the deb directory.
cd deb
debuild -us -uc -I
dpkg-buildpackage -d -b -rfakeroot -us -uc
If all goes well, this will produce an installable deb package.
the deb file should be one level above the current directory.
../infinitetux_1.1_all.deb
sudo dpkg -i infinitetux_1.1_all.deb