Categories
android games linux

Anbox

Anbox is a compatibility layer that allows mobile applications and games developed for Android to run on Linux. To achieve this, it uses standard Linux technologies like containers (LXC) to separate the Android operating system from the Linux host.

While emulators creates an entire emulated system which has its own kernel etc., Anbox runs the Android system under the same kernel as the host operating system does. No emulation layer is necessary, everything runs directly on the hardware. This approach also allows a much better integration with the host operating system. Anbox puts Android apps into a tightly sealed box without direct access to hardware or your data by mounting Android directory structure whilst using the native Linux kernel to execute applications.

Project is open source, current version is having trouble with kernel 5.7.

Commands

systemctl start systemd-networkd
systemctl start systemd-resolved
systemctl start anbox-container-manager.service
anbox session-manager
adb install package.apk
anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
Categories
games linux

Steam Play

Before we understand what Steam Play is, let’s check some prerequisites…

Wine

Wine, originally an acronym for “Wine Is Not an Emulator”, is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems such as Linux, macOS and BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

CrossOver

Wine is an open-source technology and can be downloaded for free. CrossOver is commercialized version of Wine from CodeWeavers.

Proton

Proton, a tool released by Valve Software and CodeWeavers, allows games which are exclusive to Windows to run on the Linux operating system. It uses a custom version of Wine as well as additional libraries developed alongside it to facilitate this. These include Direct3D to Vulkan translation layers, namely DXVK for Direct3D 9, 10 and 11 and VKD3D for Direct3D 12.

Vulkan

Vulkan is 3D rendering API, successor of OpenGL. Vulkan offers lower overhead, more direct control over the GPU, and lower CPU usage. The overall concept and feature set of Vulkan is similar to Mantle later adopted by Microsoft with Direct3D 12 and Apple with Metal.

Steam Play

Steam Play is compatibility layer built into the official Steam client that allows you to play games from your library that were built for other operating systems. For example, Steam Play uses Proton to allow Linux users to play Windows games.

DOSBox

DOSBox emulates an IBM PC compatible computer running a DOS operating system including many IBM PC compatible graphics and sound cards. This means that original DOS programs and games are provided with an environment in which they can run correctly, even though modern computers have dropped support for the old environment.

Boxtron

Boxtron is Steam Play compatibility tool to run DOS games using native Linux DOSBox. It enables you to play games on Linux that don’t have a Linux build setup on Steam only this is for DOSBox games.

Categories
games

Open Source games

0 A.D.https://play0ad.com/
7 Kingdoms
Anodynehttps://github.com/analgesicproductions/Anodyne-1-Repo
Armagetronad
Atomikshttps://aur.archlinux.org/packages/atomiks/
Battle of Wesnoth, The
BStonehttps://github.com/bibendovsky/bstone
Bytepathhttps://github.com/a327ex/BYTEPATH
C-Dogs SDLhttps://github.com/cxong/cdogs-sdl
Cataclysm: Dark Days Aheadhttps://cataclysmdda.org/
Charge Kidhttps://gitlab.com/uspgamedev/charge_kid
Command & Conquer Remastered Collectionhttps://github.com/electronicarts/CnC_Remastered_Collection
CorsixTHhttps://github.com/CorsixTH/CorsixTH/
Cortex Command Open Sourcehttps://github.com/liberated-cortex/CCOSS
Daggerfall Unityhttps://www.dfworkshop.net/projects/daggerfall-unity/live-builds/
Dark Mod, Thehttp://www.thedarkmod.com/main/
Dead Ascendhttps://github.com/Larpon/DeadAscend
Death and Taxeshttps://github.com/oakwarrior/DeathAndTaxes
Destination Solhttps://github.com/MovingBlocks/DestinationSol
DevilutionXhttps://github.com/diasurgical/devilutionX
Doomsday (Doom, Heretic, Hexen)
Dune Dynastyhttp://dunedynasty.sourceforge.net/
Dune Legacyhttp://dunelegacy.sourceforge.net/website/
Empty Epsilon
Endless Skyhttps://endless-sky.github.io/
ET: Legacyhttps://www.etlegacy.com/
Extreme Tux Racer
Exulthttp://exult.sourceforge.net/
Fertile Crescent, Thehttps://lincread.itch.io/the-fertile-crescent
Flotillahttps://github.com/blendogames/flotilla
Force Engine, Thehttps://theforceengine.github.io/
Fractured Realmshttps://www.moddb.com/mods/fractured-realms/news/fractured-realms-pre-release-available
Freeablohttps://freeablo.org/
Freecivhttp://www.freeciv.org/
Freedoomhttps://freedoom.github.io/
FreeOrionhttps://snapcraft.io/freeorion
FreeSpace 2 Openhttps://github.com/scp-fs2open/fs2open.github.com
Gravity Bonehttps://github.com/blendogames/gravitybone
GZDoomhttps://zdoom.org/index
Juliushttps://github.com/bvschaik/julius
KeeperRLhttps://github.com/miki151/keeperrl
KKnD
LBreakout2
LGeneral
LMarbles
LTris
Meteoritehttps://github.com/Bauxitedev/meteorite
Mindustryhttps://github.com/Anuken/Mindustry
Minetesthttps://www.minetest.net/
Mudlethttps://www.mudlet.org/
Naevhttps://naev.org/
NBloodhttps://github.com/nukeykt/NBlood
Openagehttps://github.com/SFTtech/openage
OpenBORhttps://github.com/DCurrent/openbor
OpenDUNEhttps://github.com/OpenDUNE/OpenDUNE
Open Fodderhttp://openfodder.com/
OpenLocohttps://github.com/OpenLoco/OpenLoco
OpenMC2https://github.com/LRFLEW/OpenMC2
OpenMWhttps://openmw.org/en/
OpenRAhttps://github.com/OpenRA/OpenRA
OpenRWhttps://github.com/rwengine/openrw
Open Surgehttps://opensurge2d.org/
OpenTESArenahttps://github.com/afritz1/OpenTESArena
OpenTTDhttps://www.openttd.org/en/download-stable
Open Rails
OpenRCT2https://github.com/OpenRCT2/OpenRCT2
OpenVIIIhttps://makipl.github.io/OpenVIII/
OpenXcomhttps://openxcom.org/
PCExhumedhttps://forums.duke4.net/topic/10872-pcexhumed-exhumedpowerslave-pc-port/
Pingus
Pioneerhttps://pioneerspacesim.net/#slide0
Planetary Sanitations Inc.https://v-ktor.itch.io/planetary-sanitations-inc
Quadrilateral Cowboyhttps://github.com/blendogames/quadrilateralcowboy
Rapid Rescue: A reinvented Labyrinth gamehttps://github.com/Azza292/RapidRescue
Razehttps://github.com/coelckers/Raze/
Red Eclipsehttps://www.redeclipse.net/
Remnants of the Precursorshttps://rayfowler.itch.io/remnants-of-the-precursors
San Andreas Unityhttps://github.com/GTA-ASM/SanAndreasUnity
Session Sevenhttps://github.com/advdotnet/Session-Seven
shapez.iohttp://github.com/tobspr/shapez.io
Simutrans
Slippihttps://slippi.gg/
Soldathttps://github.com/Soldat/soldat
SpringRTShttps://springrts.com/
Star Ruler 2
Stracciatellahttps://github.com/ja2-stracciatella/ja2-stracciatella
Strange Adventures in Infinite Spacehttps://github.com/kuroneko/sais
Streets of Rage Remakehttps://aur.archlinux.org/packages/streetsofrageremake/
SuperStarfighterhttps://github.com/notapixelstudio/superstarfighter
SuperTux
SuperTuxKarthttps://supertuxkart.net/Main_Page
Supply Chainhttps://gitlab.com/Cheeseness/supply-chain
Surviv.iohttps://surviv.io/
Tales of Maj'Eyalhttps://te4.org/news
Terminal Phasehttps://gitlab.com/dustyweb/terminal-phase
Thirty Flights of Lovinghttps://github.com/blendogames/thirtyflightsofloving
Thrivehttps://revolutionarygamesstudio.com/
Teeworldshttps://github.com/teeworlds/teeworlds
UAlbionhttps://www.gamingonlinux.com/articles/ualbion-is-an-open-source-game-engine-for-the-1995-classic-rpg-albion.15938
UnCivhttps://github.com/yairm210/UnCiv
UniverCityhttps://github.com/Thinkofname/UniverCity
Velorenhttps://veloren.net/
VVVVVVhttps://github.com/TerryCavanagh/vvvvvv
Warzone 2100http://wz2100.net/
Widelandshttps://wl.widelands.org/
Wyrmsun
Xonotichttps://xonotic.org/
Yorghttps://www.ya2.it/pages/yorg.html#yorg
Categories
games

Generacije konzola

GeneracijaKonzolePrenosne
IAtari Home Pong
Coleco Telstar
Magnavox Odyssey
Nintendo Color TV-Game
IIAtari 2600 & 5200
Bally Astrocade
Coleco ColecoVision
Fairchild Channel F
Magnavox Odyssey²
Mattel Intellivision
Epoch Game Pocket Computer
Microvision Milton-Bradley
IIIAtari 7800
Nintendo Famicom/NES
Sega SG-1000
Sega Master System
IVNEC PC Engine/TurboGrafx-16
Nintendo Super NES
Sega Mega Drive/Genesis
SNK Neo Geo
Atari Lynx
NEC TurboExpress
Nintendo Game Boy
Sega Game Gear
VAmiga CD32
Atari Jaguar
Nintendo 64
Sega Saturn
Sony PlayStation
Nintendo Game Boy Color
Nintendo Virtual Boy
Sega Genesis Nomad
SNK Neo Geo Pocket
VIMicrosoft Xbox
Nintendo GameCube
Sega Dreamcast
Sony PlayStation 2
Bandai WonderSwan Color
Nintendo Game Boy Advance
Nokia N-Gage
SNK Neo Geo Pocket Color
VIIMicrosoft Xbox 360
Nintendo Wii
Sony PlayStation 3
Nintendo DS
Sony PlayStation Portable
VIIIMicrosoft Xbox One
Nintendo Switch
Nintendo Wii U
Sony PlayStation 4
Nintendo 3DS
Sony PlayStation Vita
Categories
games programming

Alati za razvoj igara

Categories
games linux

RetroPie i Neo Geo

Neo Geo je komplikovan. Trebaju nam i ROM-ovi sa igrama i BIOS ali ne bilo koji BIOS već BIOS iste verzije kao i ROM-ovi. Stoga se sve to distribuira u paketu a paket je veličine dvadeset i kusur gigabajta. Preuzima se preko torenta sa sajta archive.org i jednom kada ga skinemo i raspakujemo, u direktorijumu roms možemo da nađemo fajl neogeo.zip (to je BIOS) i još preko 4000 ZIP arhiva sa igrama. I BIOS i igre snimamo u neogeo direktorijum Retro Paja. Ono što mene zbunjuje jeste da ne rade sve igre iz paketa. Shvatio sam da ZIP fajlovi veličine barem megabajt imaju šansu da su pravi ROM-ovi, ovi manji, veličine od nekoliko desetina do nekoliko stotina kilobajta gotovo sigurno neće raditi. I još nešto, ako Emulation Station prikaže korektan naziv igre (npr. Metal Slug – Super Vehicle) a ne naziv ZIP fajla (mslug), na dobrom smo putu da pokrenemo igru. Ako neće da se pokrene, verovatno je u pitanju neko regionalno ograničenje pa treba potražiti arhivu sa istim imenom koja na kraju naziva ima neko drugo slovo (npr. j za Japan, u za Ameriku, w sa svet i slično).

Categories
games linux

RetroPie i DOSBox

Namučih se dok nisam shvatio kako da pokrenem DOS igre pod RetroPie-em 🙂

Poenta je u tome da DOSBox podrazumevano nije instaliran. Stoga, sa glavnog ekrana prvo idemo na RetroPie configuration. Onda biramo RetroPie setup. U sledećem ekranu pokrećemo opciju Manage packages pa onda Manage optional packages pošto je DOSBox opcioni paket. Skrolujemo do DOSBox-a, izaberemo ga a na sledećem ekranu biramo opciju Install from binary. Kada se instalacija završi, izađemo skroz iz podešavanja i restartujemo Emulation Station.  Igre se snimaju (raspakovane) u pc direktorijum a kako i na vikiju piše, mogu da se prave i poddirektorijumi za svaku igru posebno radi lakšeg snalaženja. Poddirektorijumi mogu da imaju dugačke nazive. Igre možemo da pokrenemo direktnim izborom izvršnih fajlova a možemo da pokrenemo i prečicu Start DOSBox kada nam se pojavljuje poznato DOS okruženje. Za DOS igre nam u većini slučajeva treba tastatura prikačena na Rozberija.

Categories
e-commerce games

Humble Wallet

Kartica od 5 evra kredita me je koštala 630.06 dinara. Komercijalna banka računa da jedan evro košta 125.6 dinara, 5 x 125.6 = 628 dinara, treba videti gde nestadoše dva dinara, da li je to provizija banke ili je provizija uračunata u kurs…

humble wallet 1 humble wallet 2 humble wallet 3

Categories
games

Trgovina igrama

G2A

Na sajtu G2A je moguće prodavati Steam ključeve za igre. Troškovi:

15ecpokretanje i obnavljanje oglasa
15ecpromena cene proivoda
8%naknada koju uzima G2A nakon uspešne prodaje
35ectroškovi transakcije

Pokretanje prvih 10 prodaja se ne naplaćuje. Novac se smešta u G2A Wallet i moguće ga je iskoristiti za kupovinu drugih igara na sajtu a može se zahtevati i isplata.

g2a market

Nakon što pokrenete 10 prodaja (ne nužno i realizovanih) sledi mukotrpno dokazivanje porekla proizvoda koje ste oglašavali kako biste mogli da nastavite sa prodajom novih igara. To uključuje skrinšotove ključeva onako kako ste ih dobijali (npr., skrinšot sa vašeg BundleStars naloga) kao i skrinšotove računa (receipts, order confirmation) koje ste dobijali mejlom. Stoga, čuvajte sve račune i prepisku 🙂

Dokaz o poreklu igre Lovely Planet
Dokaz o poreklu igre Lovely Planet

Indiegala

Indiegala ne podržava prodaju igara ali je moguće vršiti razmenu ključeva. Postoje garantovana i negarantovana razmena. Za igre koje su kupljene na samom sajtu (najčešće u bandlovima) i za koje nije otkriven ključ, Indiegala garantuje za razmenu (garantovano taj ključ već nije iskorišćen). Što se tiče negarantovane prodaje, sve se svodi na poverenje dve strane u procesu razmene ključeva. Ne postoje troškovi razmene.

Početak je težak, dok ne steknete dovoljno pozitivnih poena kako bi vas ostali korisnici prepoznali kao izvor od poverenja. Posle već ide lakše. Uspešna trgovina na sajtovima poput Indiegala i G2A zahteva upotrebu programa za tabelarna izračunavanja, u protivnom ćete se pogubiti gde ste šta oglasili i kome ste šta ponudili.

DIG

Sajt DailyIndieGame je nedavno pokrenuo market. Za početak morate da kupite poene (1 poen = 1 američki cent, minimalna kupovina je 500 poena). Nakon što kupite poene, možete za iste da kupujete ključeve za igre po znatno nižim cenama nego što su na Stimu, a ako vam administratori izađu u susret, moći ćete i da prodajete svoje duplikate za te iste poene. Ja sam se pozvao na svoju perfektnu reputaciju na sajtu Indiegala (100% zadovoljnih mušterija na 124 razmenjene igre) i odobrili su mi prodaju u roku od par sati. Poene koje zaradite prodajom igara ne možete da unovčite već možete samo da za njih kupujete druge igre. Dakle, ovde nemamo biznis u pravom smislu ali je dobro za hobiste i kolekcionare.

Sajt uzima za sebe procenat od svake prodate igre. Reklo bi se da procenat opada što je cena viša: za igru od 99 centi/poena uzeće 15 centi (15%) a za igru od 29 centi uzeće 5 centi (17%). Ovo treba još istražiti.

Kako smo već primetili, kod sajta Indiegala su bitni poverenje između strana koje trguju i reputacija trgovaca. Strane koje trguju mogu videti profile jedni drugih a u profilima se nalaze istorijati transakcija. Kod sajta Indiegala je lako prepoznati povezane trgovce koji jedni drugima dižu reputaciju zato što se sve vidi u istorijatu. Kod DIG sajta ne vidite s kim trgujete već vidite samo reputaciju trgovca. Ne vidite, na primer, na kom broju transakcija je zarađena reputacija niti vidite ko je od korisnika uticao na tu reputaciju (zapravo, uopšte ni ne vidite trgovce) što bi mogao da bude problem.

Steam

Na Steam-u nema trgovine igrama ali je moguće razmenjivati i trgovati karticama i predmetima. Zarada ide u wallet i može se iskoristiti za kupovinu novih igara i predmeta. Steam uzima proviziju za svaku uspešnu transakciju.

steam market

Categories
games

Steam putanje

Igre se smeštaju u SteamApps direktorijum:

~/.steam/steam/SteamApps/

Biblioteka igara se nalazi u fajlu sharedconfig.vdf:

~/.steam/steam/userdata/<user_id>/7/remote/sharedconfig.vdf

U pitanju je običan tekstualni fajl. Ukoliko želimo da promenimo naziv neke od kategorija, otvorićemo fajl u nekom editoru teksta i izvršiti search & replace operaciju.

Skrinšotovi:

~/.steam/steam/userdata/<user_id>/760/remote

Skrinšotovi konkretnih igara se nalaze u poddirektorijumima koji za nazive imaju ajdijeve tih igara.

Stim za Linuks dolazi sa nekim svojim verzijama biblioteka koje smešta lokalno ali one mogu da dođu u konflikt sa sistemskim bibliotekama koje dolaze uz Arč. Stoga, ako Stim ne radi kako treba ili neće da se pokrene, rešenje na Arč Vikiju kaže da ih treba obrisati komandom:

find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete

Na žalost, nakon sledećeg apdejta, sva je šansa da će ih Stim ponovo instalirati te će biti potrebno ponovo ih obrisati.

Kako iz komandne linije pokrenuti igru pod uslovom da znamo ajdi igre:

~/.local/share/Steam/steam.sh steam://run/227300