Gaming on Haiku

Hi there,

@PulkoMandy @kallisti5
is this: http://phoronix.com/scan.php?page=news_item&px=Google-Opens-SwiftShader something interesting for Haiku-OS? Especially for using with (ported) games while native drivers are not yet available?

Sidenote: As i mentioned earlier, developers first, system first and then something not-so-productive-software like games :slight_smile: In my opinion it is better to have a stable base (beta) of the OS than experimental code for a few games etcā€¦

[quote=bbjimmy]New game on haiku ā€¦ https://depot.haiku-os.org/#/pkg/loopdloop/fatelk/1/1/0/-/1/x86_gcc2?bcguid=bc84-TEUP on the FatElk repo.

This is a re-make of a game I used to play on the TRS80 color computer called Doubleback. This one is programmed in yab for Haiku.[/quote]

I updated LoopDLoop to Version 1.4. This fixes some looping bugs and has better collision detection. This version requires yab 1.7.5.3 as I dislike yab apps stopping Haiku from shutting down when requested ( both are available on the FatElk repo . pkgman add-repo http://coquillemartialarts.com/fatelk/repo )

Hi prOSy,

Yes, we could use this as an alternative to llvmpipe, with the important note that it only support OpenGL ES and not full OpenGL, so most old BeOS games and a lot of more recent ones probably won't work. And, of course, it would need to be ported first.

Some time ago I also started experimenting with the older (but simpler) TinyGL which is yet another software renderer for OpenGL (less complete and with more limitations but possibly faster). The idea is that you replace libGL.so with another ABI-compatible one, and run apps using that other lib. I didn't have much time to experiment with the alternatives and see how they perform.

My browser reports Gaming on Haiku as a suspected phishing site. Perhaps someone doesnā€™t like you?

http://www.residualvm.org/downloads/release/0.2.1/residualvm_0.2.1-1-x86_gcc2.hpkg

In my opinion, the best place to start for gaming in Haiku would be console emulators.

A single NES (or SNES, N64, Genesis, PlayStation, MAMEā€¦) emulator instantly adds thousands of video games to Haiku. :slight_smile:

[quote=drcouzelis]In my opinion, the best place to start for gaming in Haiku would be console emulators.

A single NES (or SNES, N64, Genesis, PlayStation, MAMEā€¦) emulator instantly adds thousands of video games to Haiku. :)[/quote]

I have two NES emulators (Pretendo and BeNes) hpackaged and ready to upload as soon as I have bandwidth again. Check my repo on Tuesday: http://clasquin-johnson.co.za/michel/haiku/repo/index.html

1 Like

I started porting Gens-GS (in my opinion, it was the best Genesis/Megadrive emulator) to Haiku a few years ago but stopped because the main dev had plans to move the UI to QT (I had been writing a native UI - but without using the Layout kit back then).

I think he has done so now, so if anyone wants a small challenge, Iā€™m sure thereā€™s not a huge lot of work to do there to get it running.

http://segaretro.org/Gens/GS_II
http://www.dusers.drexel.edu/gitweb/gitweb.cgi?p=~korth/gens-gs-ii.git;a=summary

1 Like

I saw on irc that miqlas-H had gotten swars, the reverse engineered port of syndicate wars, working. He said he wasnā€™t planning to hpkg it and that the port was quite easy, and as I love the game Iā€™ve duplicated his work and made a quick recipe. Hpkg here: http://www.filedropper.com/swarsx86-03-1-x86gcc2

You need the data from the original disk to play, here are the instructions to install it:

Insert the Syndicate Wars CD and make sure it is mounted (e.g. in /cdrom or you can use an image and mount it somewhere).
Run swarsinstall-x86 -f SOURCE -t TARGET -l LANG -M, or
swarsinstall -f SOURCE -t TARGET -l LANG -M, where:
SOURCE is the game CD path, like /cdrom,
TARGET is the destination path, either /system/settings/swars or
~/config/settings/swars (depending on where you installed the package),
LANG is the installation language, and can be one of: eng fre ita spa swe.

Note that on haiku the installer canā€™t currently rip the music, but you can
manually rip it to ogg format and place track_1.ogg, track_2.ogg and
track_3.ogg into /system/settings/swars/music or ~/config/settings/swars/music

Run swars, or swars-x86, to play!

[quote=drcouzelis]In my opinion, the best place to start for gaming in Haiku would be console emulators.

A single NES
[snip]
(or SNES)
[snip]
emulator instantly adds thousands of video games to Haiku. :)[/quote]

Well, on my website ā€œSoftware Depotā€, for what is worth, I packaged the old SNES emulator (Bes9X) which comes from BeOS:

http://softwaredepot.altervista.org/download/bes9x.html

I also plan to provide a package for MAME.

I was warned about the fact that BeS9x crashes when you attempt to config a controller; unfortunately the app is not open source (and it comes from BeOS); however I was able to find the reason of such crash and then to patch the binary using DiskProbe :slight_smile:

So, for everyone which encountered this trouble, please download the new revision here:

http://softwaredepot.altervista.org/download/bes9x.html

P.S: Soon I will also publish a package for XMame.

Iā€™m curious what the issue was! Just in case we might instead fix/workaround it on Haiku sideā€¦

Hi PulkoMandy,

as you can see in the following screenshot
Free Image Hosting at FunkyIMG.com

inside the BeS9xā€™s folder there is an image called ā€œsnes9x.jpgā€; this image is used as background image inside the controllerā€™s preferences: originally such image was a png image: previously BeS9x crashed because was unable to load this image: so I saved this image as jpg and inside the BeS9x binary i just changed the reference from ā€œsnes9x.pngā€ to ā€œsnes9x.jpgā€. However I noticed that Bes9x on Haiku is not able to configure a controller with different keys (you are forced to use default keys).

If you are willing to investigate deeper, here http://softwaredepot.altervista.org/haiku/upload/hpkg/bes9x-1.41-1-x86_gcc2.hpkg
you can download the previous release of Bes9x, the one which crashed.
Here http://softwaredepot.altervista.org/download/bes9x.html instead there is the fixed revision:
http://softwaredepot.altervista.org/download/bes9x.html

Kind regards.

As promised:
http://softwaredepot.altervista.org/download/xmame.html

P.S: Iā€™m not the author of this port: XMame (SDL) was ported on Haiku by Tonestone57 years ago: I just added the icon to the binary and I added some facilities to easily start the games using the Tracker.

There is on GitHub some old BeOS code:

REminiscence

Heart of the Alien

And other BeOS and retro software.

Already on my repo

Thanks, Iā€™ll go have a look, but those graphics look ā€¦ blocky

Hello friends, any of you know a port for pcsx and mupen to haiku? or imposible? but if there are this initiative https://github.com/waddlesplash/dolphin/tree/haiku to port dolphin i can suposse is more easy get pcsx and mupen64, maybe can get more speed ingame with software render, in the time BeOs had his own psx emulators what happen with it? :slight_smile: have a nice day.

Haikuports has at least a recipe for ā€œmupenā€. Donā€™t know if or how well it works.

Is this project still alive? Long time no new descripton.

These are serious classics! At least the latter. Watch a video, such smooth animation for the machines these were made for!

WRT mupen and pcsx - would be worth looking at the latest versions/forks of these as they see quite a lot of development.