Adding "senarios" (games) to Aleph One

For openSuse Leap 42.3 (soon to try on Leap 15.0):

Adding “senarios” (games) to Aleph One

Download scenarios at:

https://alephone.lhowon.org/scenarios.html

(There are community-made scenarios there too)

Download the zip files you want, and unzip them. Copy the folders to /usr/share/alephone/scenarios/. (The instructions on their main page said to put them elsewhere, but for Leap, they have to go in /usr/share/alephone/scenarios/).

I tried Marathon, Marathon 2 and Marathon Infinity. I renamed the folder “Marathon 2” to “Marathon2” to avoid problems with the shell script, and renamed “Marathon Infinity” to “Marathon_Infinity”.

Create these shell scripts:

alephone-marathon:


#!/bin/sh
export ALEPHONE_DATA=/usr/share/alephone:/usr/share/alephone/scenarios/Marathon
exec /usr/bin/alephone "$@"

alephone-marathon2:


#!/bin/sh
export ALEPHONE_DATA=/usr/share/alephone:/usr/share/alephone/scenarios/Marathon2
exec /usr/bin/alephone "$@"


alephone-marathon-infinity:


#!/bin/sh
export ALEPHONE_DATA=/usr/share/alephone:/usr/share/alephone/scenarios/Marathon_Infinity
exec /usr/bin/alephone "$@"


Copy the shell scripts to /usr/bin/ and make executable (“user” is the owner - that’s the name I chose for my user name, substitute the appropriate name)

To run these games:


alephone-marathon
alephone-marathon2
alephone-marathon-infinity

I set the graphics to opengl, looks much better. I’m not using a proprietary graphics driver, either, and it works.

What do you think of the openSUSE wiki page for Aleph One?

Link: https://en.opensuse.org/Aleph_One

I didn’t know about it. Probably a lot easier than the way I did it lol!

Thanks for the link, I’ll check it out!

I opened one of the desktop files that were created when I manually added scenarios to the menu. This one was named “Marathon (Aleph One).desktop”, and this is what’s in it:


[Desktop Entry]
Comment=
Exec=alephone-marathon
Icon=/usr/share/pixmaps/alephone-marathon.png
Name=Marathon (Aleph One)
NoDisplay=false
Path$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=

That gives me a better idea of how to do this the “right” (much easier) way. This one has extra things, I assume I won’t need those. Again, thanks for the tip, I’ll try that out soon.

New Year is the time or day at which another logbook year starts and the date-book’s year tally increases by one.Different social requests praise the occasion in some manner[1] and the essential day of January is a significant part of the time set apart as a national occasion New year wishes in wallpaper