bite-your-idols / Gamestarter

:video_game: Retrogaming kodi add-on repository for LibreELEC
263 stars 47 forks source link

Emulators/Cores included #35

Closed bite-your-idols closed 7 years ago

bite-your-idols commented 8 years ago

Most Popular Systems:

Additional Systems:

Requested Systems:

Experimental Cores (WIP) - Installation from addon settings:

antaril commented 7 years ago

is it pissible to add atari st emulator? That would be great!!!

antaril commented 7 years ago

btw great job ;)

bite-your-idols commented 7 years ago

I see there is an experimental libretro core for atari st based on hatari emulator, but it seems is a little "work in-progress" by now: https://retropie.org.uk/forum/topic/4866/libretro-hatari-how-to-install/10 If you want, you can install retropie, compile it from experimetal cores menu and grab binary, then try to use it in LibreELEC/OpenELEC with gamestarter. If you do so, please, let us know your advances, maybe we can find a way to make it work.

The-Croz commented 7 years ago

Where can I add roms for the Gameboy Advance? Do I need to create a "gba" folder under Roms?

bite-your-idols commented 7 years ago

Yes, it should be already there but I see it is an error in last version, I will fix it, thanks for the advice!

bite-your-idols commented 7 years ago

I am testing the new DraStic emulator por Nintendo DS, it seems very promising: https://www.raspberrypi.org/forums/viewtopic.php?t=170820&p=1104991

bite-your-idols commented 7 years ago

@antaril I compiled hatari_libretro core from RetroPie and zipped with its needed libs, you can download from here:https://github.com/bite-your-idols/Gamestarter-Pi/raw/master/packages/libretro-cores-ex/hatari_libretro.7z then you can place libs in its folder and core with the rest of them and start making tests. If you can get any achievement please let us know.

bite-your-idols commented 7 years ago

Workaround for using SCUMMVM standalone emulator with Gamestarter: https://forum.libreelec.tv/thread-287-post-21634.html#pid21634

antaril commented 7 years ago

thx very much, i will try!!!

antaril commented 7 years ago

Hi, i have copied the three files to: .kodi/addons/script.gamestarter/resources/bin/libretro-cores

but it says failed load core!

In Core list there is now Atari ST.. core... but games wont start!

bite-your-idols commented 7 years ago

just hatari_libretro.so file goes in that folder, the other 2 are lib dependencies, you must put them in .kodi/addons/script.gamestarter/lib/ (if folder doesn't exist, create it).

If still does not work, try this ssh command: ldd .kodi/addons/script.gamestarter/resources/bin/libretro-cores/hatari_libretro.so to check if there is any else lib missing.

antaril commented 7 years ago

ok, now there are all in the right folders. But Games wont start. Libreelec just reboots and Gamestarter crashes i think!

Here is the Shell command...

ldd .kodi/addons/script.gamestarter/resources/bin/libretro-cores/hatari_libretro.so linux-vdso.so.1 (0x7ed8a000) /usr/lib/libarmmem.so (0x756ee000) libz.so.1 => /usr/lib/libz.so.1 (0x756db000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x756b3000) libm.so.6 => /usr/lib/libm.so.6 (0x75635000) libcapsimage.so.5 => /storage/.kodi/addons/script.gamestarter/lib/libcapsimage.so.5 (0x7560f000) libc.so.6 => /usr/lib/libc.so.6 (0x754d6000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x754aa000) /usr/lib/ld-linux-armhf.so.3 (0x54b41000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x75365000)

bite-your-idols commented 7 years ago

ok, it seems no other lib is missing, right. we need to know what is the output of gamestarter.log. Activate debug options in retroarch, try to load that core and look into log.

antaril commented 7 years ago

where is the folder for the log? Sorry cant find

antaril commented 7 years ago

ok, i found it:

.kodi/userdata/addon_data/script.gamestarter

log file 👍

http://txt.do/d1ooy

bite-your-idols commented 7 years ago

I can see in your log you are missing a TOS.img required file, Can not load TOS file: '/storage/.kodi/addons/script.gamestarter/resources/bin/tos.img'

you can read more about it here (starting al line 287): https://github.com/libretro/hatari/blob/master/doc/manual.html

antaril commented 7 years ago

ok, its done... but dont work ;(

there is no nvram...

log:

[libretro-test]: Got size: 640 x 480. Hatari v1.8.0, compiled on: Feb 1 2017, 22:48:57 IPF : IPF_Init IPF : capsimage library version release=5 revision=1 Configured max Hatari resolution = 640x480, optimal for ST = 832x588 Inserted disk '/storage/emulators/roms/atarist/Terminator II - Judgemant Day (1992)(Ocean)(Disk 1 of 2)[cr Elite][t].st' to drive A:. NVRAM not found at '/storage/.hatari/hatari.nvram' Bus error (core dumped) ::Gamestarter:: -> disable alsa... ::Gamestarter:: -> restart kodi...

bite-your-idols commented 7 years ago

maybe it is looking for needed files in /storage/.hatari and we need to make a symlink to gamestarter folder... or maybe we reach a dead-end... you can ask for help in its repo: https://github.com/libretro/hatari/issues good luck!

tjpreissig commented 7 years ago

First thanks for the awesome work you've done, and second sorry if this is has been answered somewhere but I am stuck. I've loaded a ton of ROMS in the correct folders and the NES, Mega Drive, and NES all work great. of the few hundred SNES games I added only a small handful are recognized. The folder contains SMC, SRM, & ZST extensions. Will only one of these work?

bite-your-idols commented 7 years ago

Are you using Kodi's Advanced Emulator Launcher, emulationstation or Retroarch?

Here you can take a look to extensions supported: https://github.com/retropie/retropie-setup/wiki/super-nintendo-entertainment-system

tjpreissig commented 7 years ago

Retroarch, scan directory and then only a few show up, should I be using one of the other 2 ways?

bite-your-idols commented 7 years ago

Retroarch just find games named according to its database, so you must rename all collections (there are some sofotware for this, just google it) in order to match. Ifyou use Emulationsation or AdvancedLauncher all roms with supported extensions are listed, no matter their name.

tjpreissig commented 7 years ago

Using Emulationstation worked perfectly! thank you. but is there a way to make it exit emulators back to Emulationstation instead of retroarch?

bite-your-idols commented 7 years ago

If you exit a game you should go back to ES. You can enter retroarch menu then exit retroarch or you can use a button combo to exit. You can see default one in retroarch settings (I think L1+L2+R1+R2) or you can assing custom one in hotkeys settings.

macskay commented 7 years ago

What about PlayStation2? Also: I tried using PAL roms for PSX, but they don't work. NTSC work just fine. I added a PSX PAL Bios to the /emulator/bios directory but still nothing. Has someone a solution for that?

bite-your-idols commented 7 years ago

There is no PS2 emulator for RPi. I can play both NTSC and PAL PSX games in my pi... it seems it is an issue with your system bios files...

macskay commented 7 years ago

Thanks for the quick answer @bite-your-idols. Could you show me what system bios files you have so I could check them maybe? Also the loading times for the PSX games is rather long compared to (S)NES/N64 etc. I reckon this is normal, right?

bite-your-idols commented 7 years ago

yes, long loading times are normal... here you have needed bios files: http://www.lakka.tv/doc/BIOSes/

macskay commented 7 years ago

Yes, thank you. I found this page already but I removed my three bios files and re-added them. Now it's working perfectly. Thank you! About that ps2 emulator again. What about http://pcsx2.net/. This might be a starting point, right? Has somebody already tried to get a RPi port out of this? If not I'd be willing to do so probably.

bite-your-idols commented 7 years ago

RetroPie is the emualtion flagship in Raspberry and asi you can see here, it is not gonna happen: https://github.com/retropie/retropie-setup/wiki/Playstation-2 https://retropie.org.uk/forum/topic/288/ps2-emu-on-pi3-possible

macskay commented 7 years ago

Oh right, fair enough, Thanks. Metal Gear Solid on PSX it is then! Anyway, keep up the awesome work!

kimme commented 7 years ago

Is it possible to get C64 games to work with this addon?

bite-your-idols commented 7 years ago

Since there is no libretro core for c64 only way to make it work in Gamestarter is trying to setup and launch VICE emulator, but it is not something I am going to work in. If someone wants to compile vice binary or grab it from another distro (and its required libs) and edits gamestarter launcher scripts I can help him to achieve that.

bite-your-idols commented 7 years ago

VICE libretro port included in latest v2.8 Gamestarter update. Also, some new cores included from lakka 2.0