Kodi Community Forum

Full Version: RetroPlayer Test Builds (updated for Nexus)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2017-03-27, 19:28)garbear Wrote: [ -> ]The milhouse builds are missing my savestate work from PR11034 . If you asked him, I'm sure he'd include it. I've fixed all the merge conflicts. Aside from that, the builds are only missing the temporary hack that forces .zip, .iso, .cue and .bin to be identified as games instead of videos. This can be accomplished by removing these extensions in advancedsettings.xml.

PR11034 needs to be rebased after the rapidjson change - building latest kodi master with PR11034 fails due to JSON changes, eg.
Code:
/home/neil/projects/kodi.git/xbmc/dbwrappers/DenormalizedDatabase.cpp: In member function ‘void CDenormalizedDatabase::AddIndexInternal(const char*, const char*)’:
/home/neil/projects/kodi.git/xbmc/dbwrappers/DenormalizedDatabase.cpp:341:90: error: invalid conversion from ‘const unsigned char*’ to ‘const char*’ [-fpermissive]
       CVariant var = CJSONVariantParser::Parse(output, m_pDS->fv(1).get_asString().size());
                                                                                          ^

If you can fix PR11034 I can include it, however it would be nice to see it merged sooner than later as I'd rather not "carry" it for too long (something in future is bound to break it, which means it will need rebasing, or dropping).
(2017-03-24, 21:58)cmiller1 Wrote: [ -> ]Just installed the version 18 alpha for os x.
I'm getting a hard crash of kodi when I go to Games>Keyboard in settings, anyone else seeing the same? I could post logs if needed.

Yup. I'm getting the same behaviour on my Raspberry Pi 2 under LibreElec with any distribution of Kodi 18 up to the latest.

This is part of the log file:

Code:
09:27:16.141 T:1944272896  NOTICE: CVideoPlayer::CloseFile()
09:27:16.141 T:1944272896  NOTICE: VideoPlayer: waiting for threads to exit
09:27:16.141 T:1944272896  NOTICE: VideoPlayer: finished waiting
09:27:16.142 T:1944272896  NOTICE: CVideoPlayer::CloseFile()
09:27:16.142 T:1944272896  NOTICE: VideoPlayer: waiting for threads to exit
09:27:16.142 T:1944272896  NOTICE: VideoPlayer: finished waiting
09:27:31.005 T:1774187424   ERROR: AddOnLog: Joystick Support: ScanEvents: failed to read joystick "8Bitdo SFC30 GamePad" on /dev/input/js0 - 19 (No such device)
09:27:31.592 T:1782576032   ERROR: Previous line repeats 34 times.
09:27:31.592 T:1782576032  NOTICE: UnregisterRemovedDevices - device removed from joystick/peripheral.joystick/0: 8Bitdo SFC30 GamePad (0000:0000)
09:27:31.762 T:1782576032  NOTICE: Logitech K400 Plus: keys:35 ext:64 but:16 rel:5 abs:0 m_deviceType:d bits:111000
09:35:41.649 T:1818940320   ERROR: CCurlFile::Open failed with code 404 for http://addons.libreelec.tv/9.0/RPi/arm/addons.xml.gz.md5
09:35:41.649 T:1818940320   ERROR: Open - failed to open source <http://addons.libreelec.tv/9.0/RPi/arm/addons.xml.gz.md5>
09:35:41.649 T:1818940320   ERROR: CRepository: failed read 'http://addons.libreelec.tv/9.0/RPi/arm/addons.xml.gz.md5'
(2017-03-27, 23:19)cmiller1 Wrote: [ -> ]I'm fine with no game art for now...

First of all, emulator core selection, if there was a way to check "always use this emulator" for each game it would be so nice.

These two points are actually related. Both require a game database. I've written two so far, but neither was merged. Now, we're waiting on a new implementation that is partially done. Once this is merged, many things become possible.

(2017-03-27, 23:19)cmiller1 Wrote: [ -> ]Secondly, the setting for Skip Steps really needs to be separated from regular videos, for videos I want my smallest skip steps in the 5-10 second range, with video games you often really want to only skip back half a second or a second. As a bonus dream feature, I would love for hitting the skip forward button to cause the emulator to go into 2x and then 4x etc. speed!

I'll add this to the known issues list, as it would be nice to have the skip steps separate.

(2017-03-27, 23:19)cmiller1 Wrote: [ -> ]This is truly the nicest and most polished way I've ever seen to play emulated games on an HTPC.

It still has some rough edges, to be sure, but that's because since it was merged four months ago I've spent 100% of my time improving controller input. Now that that's out of the way, I can focus on features and improvements like your skip steps suggestion. Let me know if you think of anything else that can be improved!
(2017-03-27, 23:25)Milhouse Wrote: [ -> ]PR11034 needs to be rebased after the rapidjson change - building latest kodi master with PR11034 fails due to JSON changes, eg.

If you can fix PR11034 I can include it, however it would be nice to see it merged sooner than later as I'd rather not "carry" it for too long (something in future is bound to break it, which means it will need rebasing, or dropping).

I generally keep PR11034 rebased because it's the only custom patch I include in my retroplayer builds here. But I read you, I'll get it merged in the near future.

(2017-03-24, 21:58)cmiller1 Wrote: [ -> ]Just installed the version 18 alpha for os x.
I'm getting a hard crash of kodi when I go to Games>Keyboard in settings, anyone else seeing the same? I could post logs if needed.

This was a problem with the new fmt library. It's been fixed in master and my new RetroPlayer builds.
I am on Ubuntu 16.04 x64, with the latest 18alpha1 nightly and peripheral.joystick 1.3.1, and I'm getting the same error as cmiller1 :

ADDON: Dll Joystick Support - Client returned bad status (6) from Create and is not usable

Peripheral.joystick had been working for me, but it's been a couple of months since I've messed with it.
Garbear the legend - great work again - new build working well for me - any chance turning off the video filtering is coming soon? I really want to put some serious testing in but my eyes can't stand that filter.
(2017-03-27, 19:23)garbear Wrote: [ -> ]
(2017-03-27, 09:59)docwra Wrote: [ -> ]- Is there any way to show game artwork yet? If so, what name and format should the jpg file be?
I'm waiting for a game database. What file/folder structure do other game browsers use? I could hack in temporary support for local fanart to hold us over until the DB is ready.

cover.jpg and fanart.jpg would be a nice "hack" for now in the file browser, but not really important. I just like showing off nice screenshots Smile

New getting started guide written here: http://forum.kodi.tv/showthread.php?tid=310870
(2017-03-30, 04:25)MrTarantula Wrote: [ -> ]I am on Ubuntu 16.04 x64, with the latest 18alpha1 nightly and peripheral.joystick 1.3.1, and I'm getting the same error as cmiller1

Odd... are you sure you're on the latest because the latest one should include peripheral.joystick 1.3.2
(2017-03-30, 15:09)cmiller1 Wrote: [ -> ]
(2017-03-30, 04:25)MrTarantula Wrote: [ -> ]I am on Ubuntu 16.04 x64, with the latest 18alpha1 nightly and peripheral.joystick 1.3.1, and I'm getting the same error as cmiller1

Odd... are you sure you're on the latest because the latest one should include peripheral.joystick 1.3.2

1.3.1 is the latest version in the official Kodi repo. I thought I could avoid having to build from source since the Retroplayer merge.I'll build 1.3.2 and see if that resolves it.
(2017-03-30, 15:31)MrTarantula Wrote: [ -> ]
(2017-03-30, 15:09)cmiller1 Wrote: [ -> ]
(2017-03-30, 04:25)MrTarantula Wrote: [ -> ]I am on Ubuntu 16.04 x64, with the latest 18alpha1 nightly and peripheral.joystick 1.3.1, and I'm getting the same error as cmiller1

Odd... are you sure you're on the latest because the latest one should include peripheral.joystick 1.3.2

1.3.1 is the latest version in the official Kodi repo. I thought I could avoid having to build from source since the Retroplayer merge.I'll build 1.3.2 and see if that resolves it.

@MrTarantula, this thread is for the RetroPlayer test builds, which you can get the latest of in the first post on this thread. This stuff is not fully merged into Kodi nightly yet. Try grabbing that and see how it works.
(2017-03-30, 16:06)cmiller1 Wrote: [ -> ]
(2017-03-30, 15:31)MrTarantula Wrote: [ -> ]
(2017-03-30, 15:09)cmiller1 Wrote: [ -> ]Odd... are you sure you're on the latest because the latest one should include peripheral.joystick 1.3.2

1.3.1 is the latest version in the official Kodi repo. I thought I could avoid having to build from source since the Retroplayer merge.I'll build 1.3.2 and see if that resolves it.

@MrTarantula, this thread is for the RetroPlayer test builds, which you can get the latest of in the first post on this thread. This stuff is not fully merged into Kodi nightly yet. Try grabbing that and see how it works.

You're right. I posted in the wrong place. I just noticed the errors were similar. I'll build all of it from source.
Hi all, it might seems a stupid question, but is there a magic way to make the "Games" main menu item appear?
I have one of the latest builds from http://forum.kodi.tv/showthread.php?tid=298461
I can configure my controllers, add an emulator... but i cant seem to get the main menu to show a games section?

Am I missing something obvious?
Yep, use the Konami code in main menu (enter via keyboard) :
Up Up Down Down left right left right b a
No Problem, I asked the same question a few months ago..
I have some instabilities where certain roms combined with certain cores cause Kodi to crash entirely, I guess the wonderful tight integration causes us to lose some memory isolation of the processes. We're based off of alpha 1 of Leia here so I'm hoping it's just alpha bugs not related to the retro player stuff, so I'm not too worried at this point. If it becomes a problem I'll investigate more and post debug logs.