Super Mario Bros Java
Super Mario Bros Java is a free open-source recreation of the arcade classic. A startup screen gives you options to run full screen or in a window, and with or without audio. After that, everything works more or less as you'd expect: arrow keys to move, X to jump, Z to fire, and so on.
Installing Super Mario Bros Java
Download the file Mario.jar. Create a folder (directory) "Mario" or something similar which fits your needs. Copy the file "Mario.jar" to the new created folder (directory). That's it!
The used mario.cmd file
Super Mario Bros Java works with Open JDK in OS/2-eCS. I have made a "mario.cmd" file with the following contents;
@echo off set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin set path=[drive: java]\JAVA160ga5\bin set CLASSPATH= [drive: mario] cd [drive: mario]\mario java -Duser.home=[drive: mario]\mario -jar mario.jar 2>mario-bugs.txtI use 2 separate folders (directories), one for Java and one for Super Mario Bros Java with the files created by this program. The references used in the cmd file;
should be replaced by real drive letters. Adjust the file from the distribution below, ie. different drive and directories. Save "mario.cmd" and copy it to the "mario" folder (directory).
Create a new program object. Specify the path and file name: "[drive: mario]\mario\mario.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "Super Mario Bros Java". The download also has an OS/2 icon.
Parameters / options explained
Settings and manual
At first start you are presented with a small screen with four options;
Leave "Fullscreen" and "Sound" unchecked. When "Fullscreen" is checked you will get an error and the system hangs, but you can get out of the situation without booting by killing the PID. I got errors with "Sound" checked, try it yourself. The option "Bufferstrategy" is unclear, I used it checked and unchecked. The option "Skip This Next Time" is on my system unchecked, but if the program runs as it should you could opt for checking. If you had accidently checked everyting or so and your hanging, then after killing the PID you can go to the directory and delete the file "Setting.txt". This will show the options menu again at restart.
There is no written manual, the only help is this screen;
In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 Super Mario Bros Java icon: mario-ecs.zip.
revision June 16, 2017