adoptware / pinball

Emilia Pinball : A Libre pinball simulator for GNU Linux
https://purl.org/rzr/pinball
GNU General Public License v2.0
29 stars 15 forks source link

please add these tables #41

Open surtarso opened 5 months ago

surtarso commented 5 months ago

This dude made 3 extra tables, but he has not touched this code in a decade... https://github.com/paolo-caroni/pinball It would be nice to have some more tables added ;)

rzr commented 5 months ago

Feel free to extract them to separate projects

https://github.com/paolo-caroni/pinball/tree/master/data

like done with:

https://github.com/adoptware/pinball-table-gnu

I can help with house (I am the author of it)

rzr commented 5 months ago

cc: @paolo-caroni @sergiomb2

surtarso commented 5 months ago

hi there, I managed to get tables going for now... but how do I enable 'pincab profile'? If I set my res on cfg file (800x1280) it stretches the game and the table (set to full) becomes just a stripe in the screen with black borders on the side. there is no 'pincab' option ingame.. am I missing something? I want full screen portrait mode, im on a virtual pinball machine...

sergiomb2 commented 5 months ago

I think yours tables are in my fork , I rebase it on this one , I found some errors in my old repo that seems to be fixed in this one and also seems this one have SDL2 . @rsr still thinking that we have to separate the projects because (i think) licensing , have one project for table when table data is useless without pinball .

sergiomb2 commented 5 months ago

but I haven't test it yet

surtarso commented 5 months ago

The compiled version im using (with 4 tables) is here: (version 0.3.20230219) https://surtarso.ddns.net/urcade-files/update/ep-rootfs.tar.bz2 can be installed with: (on debian 12) curl -k https://surtarso.ddns.net/urcade-files/update/ep-rootfs.tar.bz2 --output - | sudo tar xjf - -C / These are the deps needed : libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0 libsdl2-ttf-2.0-0 libsdl2-2.0-0 libsdl2-gfx-1.0-0 It's working. I just cant seem to find a way to play using the 'pincab profile' where the table is fullscreen on portrait mode.

If i set my res on .config file (800x1280) it doesnt work as intended (at least not like the videos I saw) size: 800 1280 sound: 8 music: 8 view: 4 bpp: 16 fullscreen: 0 lights: 1 brightness: 0.5 texture_filter: 0 showfps: 0 fire: 0 keyboard: bottomnudge 32 keyboard: launch 13 keyboard: leftflip 1073742049 keyboard: leftnudge 1073742048 keyboard: reset 114 keyboard: rightflip 1073742053 keyboard: rightnudge 1073742052 ratio: 0

I tried 10:16 and 16:10 on 'ratio' but I dont think thats the way... what is this ratio for afterall? I'm trying to play this on a virtual pinball table im building...

rzr commented 5 months ago

I can help if you start spliting the extra table you want out of fork like the gnu one would you like to team on this ? let's start on house one

paolo-caroni commented 5 months ago

This dude made 3 extra tables, but he has not touched this code in a decade...

Sorry for the late reply, talking about 3 tables is very excessive, when I was unemployed I have designed 1 colpetely new table (but still based on the Tux source code) called Hurd (released with 2 different skin). I have also graphically improved the "under costruction" table professor (calling it professor2). Consider that at the time I was NOT able to compile it, and @rzr have helped with compiling for me many times for debugging.

Also rzr maintains packages on debian (https://packages.debian.org/search?keywords=pinball).

@sergiomb2 about licensing, it's not uncommon to have project released with different parts with different licence, It's not a big deal, if all the licences are compatible. Also the images and data can have totally different licence from the source code. The only important thing is that you have to declare what licence you use, and if you modify a copyleft code/image/data you have to mantain the same licence. For example I have decaled that my code can be upgraded to GPLv3 or later, but since the original author have released it under GPLv2 only whe have to remain on it for the source code.