How to run pocketcdg?
#1
This is a parallel problem to my inability to get pocketcdg to install on linux (see https://forum.kodi.tv/showthread.php?tid=351092 ).

On my MacOS computer, I was able to install pocketcdg.

Unfortunately, I can't seem to find out how to run it from within Kodi.  Pocketcdg doesn't show up under Games or Add-ons.  How to I run it within Kodi?
Reply
#2
same problem
Reply
#3
(2020-01-19, 20:48)mmcmonster Wrote: This is a parallel problem to my inability to get pocketcdg to install on linux (see https://forum.kodi.tv/showthread.php?tid=351092 ).

On my MacOS computer, I was able to install pocketcdg.

Unfortunately, I can't seem to find out how to run it from within Kodi.  Pocketcdg doesn't show up under Games or Add-ons.  How to I run it within Kodi?

You can install it with this unofficial repository.
Image

After it's installed, it should show up in Addons>Game Addons>Emulators
Image

You do need the game.libretro addon installed, which should be available in the official repository. From your linux command line:
xml:

sudo add-apt-repository ppa:team-xbmc/xbmc-nightly
sudo apt-get update
sudo apt-get install kodi-game-libretro

Edit: I see your other post did these steps. What version of game.libretro does kodi show is installed?
Reply
#4
(2020-01-19, 23:25)zachmorris Wrote: [...]
After it's installed, it should show up in Addons>Game Addons>Emulators
Image

[...]

Thanks for the reply.  As mentioned in the other thread, I was able to get pocketcdg installed.  Problem was that I had to install kodi from the same repository as libretro.

But, once it's installed, I cannot find it (either on MacOS or Linux) in Addons>Game Addons>Emulators.  I do see it in Sprocket->Add ons->My add-ons->Game add-ons->Emulators.

Unfortunately, from that location, the image looks identical to the image you posted above.  ie: the Run icon is greyed out.  Does it require something in addition to be active?
Reply
#5
While I still can't get PocketCDG to show up in the Game add-ons menu, I did find a workaround:

1. Sprocket>File Manager> <select the directory with your .cdg/.mp3 files>
2. Instead of entering the karaoke file directory, use the contect menu to "Add to favourites".
3. Favourites>Karaoke directory> Select file with .cdg extension.  This will load PocketCDG and (after a warning regarding how to get to the game menu) play the mp3 and cdg correctly.

Anyone know how to get rid of that warning splash screen?
Reply
#6
(2020-01-20, 13:18)mmcmonster Wrote:
(2020-01-19, 23:25)zachmorris Wrote: [...]
After it's installed, it should show up in Addons>Game Addons>Emulators
Image

[...]

Thanks for the reply.  As mentioned in the other thread, I was able to get pocketcdg installed.  Problem was that I had to install kodi from the same repository as libretro.

But, once it's installed, I cannot find it (either on MacOS or Linux) in Addons>Game Addons>Emulators.  I do see it in Sprocket->Add ons->My add-ons->Game add-ons->Emulators.

Unfortunately, from that location, the image looks identical to the image you posted above.  ie: the Run icon is greyed out.  Does it require something in addition to be active?

Maybe the confusion is that there is no standalone emulator / addon to run (which is why it's greyed out). It's just another 'player' added to your Kodi installation. This particular one will play cdg files, so you just need to browse to a CDG file and try to play it:
1) Have some MPG and CDG files to play (two separate files with the same exact name, one mp3 one cdg)
2) Under the Games tab in Kodi, add a source pointing to the directory your MP3+CDG files are located - Note it's under Games because PocketCDG is a 'games' addon
3) Select the Games tab, browse to your added source. You should see the CDG files displayed. Select the one you want and it should automatically start
Image
Image


(2020-01-20, 14:48)mmcmonster Wrote: Anyone know how to get rid of that warning splash screen?

The splash screen I think you're referring to is for game playback controls (if you were using a controller). It should only show the first time you play the game/song. There's currently no way to prevent that from popping up the first time (although that is a good idea to add to Kodi).
Reply
#7
Going to reply to myself so that others that are trying to get Karaoke on Kodi to work can get some direction here. :-)

So I got PocketCDG to install correctly on my desktop Linux using the above method (using the nightly repository and then install both kodi and kodi-game-libretro).

Then I was able to get it to run by using the Kodi file manager (Sprocket->File manager), and saving the parent folder as a Favourite.

Then I noticed that it worked for local .mp3/.cdg files, but gave an error when the files are elsewhere on the network.  I haven't figured out how to solve this problem, except to copy all my karaoke files to the local drive.  Works for me. (*shrug*)

Then I tried to reproduce my install on Intel 64bit LibreELEC, as that's what I've got installed on my computer next to the TV.  I downloaded PocketCDG from the LibreELEC x86-64 repository: https://github.com/zach-morris/kodi_libr...s-for-kodi

Was able to find and install PocketCDG from this repo easily enough.

Running into a problem trying to run it on LibreELEC, however.
   When I use the File Manager to load a remote .cdg, it throws up an error: 'The emulator "PocketCDG" had an internal error.'
   When I use the File Manager to load a local .cdg, the screen becomes black and nothing happens.  System is effectively hung, except I can remote in and reboot or kill the kodi process.
Reply
#8
(2020-01-21, 21:37)mmcmonster Wrote: Going to reply to myself so that others that are trying to get Karaoke on Kodi to work can get some direction here. :-)

I think there's likely not much that can be done to fix the issue until the addon is built by Kodi officially. A debug log would help though.
Reply
#9
(2020-01-20, 17:18)zachmorris Wrote: The splash screen I think you're referring to is for game playback controls (if you were using a controller).

It should only show the first time you play the game/song. There's currently no way to prevent that from popping up the first time (although that is a good idea to add to Kodi). 

When the splash is shown, it sets a hidden "show splash" setting to False. Simply ship an advanced setting that defaults this to False, and the splash won't be shown unless no controllers are attached in a non-keyboard emulator.

Do you want me to track down the exact advancedsettings.xml line you need?
Reply
#10
(2020-02-05, 19:59)garbear Wrote:
(2020-01-20, 17:18)zachmorris Wrote: The splash screen I think you're referring to is for game playback controls (if you were using a controller).

It should only show the first time you play the game/song. There's currently no way to prevent that from popping up the first time (although that is a good idea to add to Kodi). 

When the splash is shown, it sets a hidden "show splash" setting to False. Simply ship an advanced setting that defaults this to False, and the splash won't be shown unless no controllers are attached in a non-keyboard emulator.

Do you want me to track down the exact advancedsettings.xml line you need?

Thanks, I was able to 'fix' this for pocketcdg by adding the keyboard as a possible controller (in actuality there's no control at all since it's just playback).
Reply
#11
Interesting, I didn't realize that pocketcdg has no input. Next time I'm working on the player manager I'll take this into account.
Reply
#12
(2020-01-22, 19:04)zachmorris Wrote:
(2020-01-21, 21:37)mmcmonster Wrote: Going to reply to myself so that others that are trying to get Karaoke on Kodi to work can get some direction here. :-)

I think there's likely not much that can be done to fix the issue until the addon is built by Kodi officially. A debug log would help though.
Hi both,

I was very excited about getting some Karaoke on my Kodi device. Same thing happened to me from an NFS server, the debug is:

2021-01-30 20:38:53.710 T:4635   DEBUG: RetroPlayer[INPUT]: Initializing input
2021-01-30 20:38:53.710 T:4635   DEBUG: PERIPHERALS: Event poll handle registered
2021-01-30 20:38:53.710 T:4635    INFO: RetroPlayer[PLAYER]: Opening: nfs://192.168.1.2/volume1/karaoke/FOR HE'S A JOLLY GOOD FELLOW.cdg
2021-01-30 20:38:53.711 T:4635   DEBUG: GameClient: Loading nfs://192.168.1.2/volume1/karaoke/FOR HE'S A JOLLY GOOD FELLOW.cdg
2021-01-30 20:38:53.717 T:4635   DEBUG: CNFSFile::Open - opened volume1/karaoke/FOR HE'S A JOLLY GOOD FELLOW.cdg
2021-01-30 20:38:53.801 T:4635   DEBUG: AddOnLog: PocketCDG: Loaded file into memory (399360 bytes): nfs://192.168.1.2/volume1/karaoke/FOR HE'S A JOLLY GOOD FELLOW.cdg
2021-01-30 20:38:53.801 T:4635   DEBUG: AddOnLog: PocketCDG: Libretro input bindings:
2021-01-30 20:38:53.801 T:4635   DEBUG: AddOnLog: PocketCDG: ------------------------------------------------------------
2021-01-30 20:38:53.801 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: Left
2021-01-30 20:38:53.802 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: Up
2021-01-30 20:38:53.802 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: Down
2021-01-30 20:38:53.802 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: Right
2021-01-30 20:38:53.802 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
2021-01-30 20:38:53.803 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Pause
2021-01-30 20:38:53.803 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R, Description: Shutdown
2021-01-30 20:38:53.803 T:4635   DEBUG: AddOnLog: PocketCDG: ------------------------------------------------------------
2021-01-30 20:38:53.803 T:4635   DEBUG: AddOnLog: PocketCDG: Setting libretro pixel format "RGB565"
2021-01-30 20:38:53.804 T:4635   DEBUG: AddOnLog: PocketCDG: Libretro input bindings:
2021-01-30 20:38:53.805 T:4635   DEBUG: AddOnLog: PocketCDG: ------------------------------------------------------------
2021-01-30 20:38:53.805 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: Left
2021-01-30 20:38:53.805 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: Up
2021-01-30 20:38:53.805 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: Down
2021-01-30 20:38:53.805 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: Right
2021-01-30 20:38:53.806 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
2021-01-30 20:38:53.806 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Pause
2021-01-30 20:38:53.806 T:4635   DEBUG: AddOnLog: PocketCDG: Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R, Description: Shutdown
2021-01-30 20:38:53.807 T:4635   DEBUG: AddOnLog: PocketCDG: ------------------------------------------------------------
2021-01-30 20:38:53.807 T:4635   DEBUG: AddOnLog: PocketCDG: Setting libretro pixel format "RGB565"
2021-01-30 20:38:53.808 T:4635   ERROR: GAME - LoadGame() - addon 'game.libretro.pocketcdg_libretro_buildbot' returned an error: the command failed
2021-01-30 20:38:53.808 T:4635   DEBUG: ------ Window Init (DialogConfirm.xml) ------
2021-01-30 20:38:55.272 T:4635   DEBUG: Keyboard: scancode: 0x42, sym: 0x000d, unicode: 0x000a, modifier: 0x0
2021-01-30 20:38:55.363 T:4635   DEBUG: Previous line repeats 1 times.
2021-01-30 20:38:55.363 T:4635   DEBUG: HandleKey: return (0xf00d) pressed, action is Select
2021-01-30 20:38:55.616 T:4635   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
2021-01-30 20:38:55.617 T:4635   ERROR: RetroPlayer[PLAYER]: Failed to open file using game.libretro.pocketcdg_libretro_buildbot
2021-01-30 20:38:55.617 T:4635   DEBUG: RetroPlayer[INPUT]: Deinitializing input
2021-01-30 20:38:55.617 T:4635   DEBUG: PERIPHERALS: Event poll handle released
2021-01-30 20:38:55.622 T:4635   DEBUG: SECTION:UnloadDll(/data/user/0/org.xbmc.kodi/cache/lib/libgame.libretro.so)
2021-01-30 20:38:55.624 T:4635    INFO: ADDON: Dll Destroyed - PocketCDG
2021-01-30 20:38:55.952 T:4613   DEBUG: CXBMCApp::onReceive - Got intent. Action: android.intent.action.BATTERY_CHANGED
2021-01-30 20:38:57.148 T:4635   DEBUG: Keyboard: scancode: 0x39, sym: 0x0134, unicode: 0x0000, modifier: 0x100
2021-01-30 20:38:57.148 T:4635   DEBUG: HandleKey: alt-leftalt (0x4f0d4) pressed, action is
2021-01-30 20:38:57.240 T:4635   DEBUG: Keyboard: scancode: 0x39, sym: 0x0134, unicode: 0x0000, modifier: 0x100
2021-01-30 20:38:57.384 T:4635   DEBUG: Keyboard: scancode: 0x3d, sym: 0x0009, unicode: 0x0000, modifier: 0x100
2021-01-30 20:38:59.151 T:4613   DEBUG: CXBMCApp::onDisplayChanged: id: 0
Reply
#13
(2020-02-22, 09:48)garbear Wrote: Interesting, I didn't realize that pocketcdg has no input. Next time I'm working on the player manager I'll take this into account.

Sorry, realised I shouldn't have posted a log in the forum:

https://paste.kodi.tv/buwezutecu.kodi

Cheers,

Jiminy
Reply
#14
I just got this working in v19.4 but the the sound has huge static issues (music barley heard). It must be the pocketcdg addon/core as it does the same thing in RA. Anyone have any suggestions?
Kodi v20.1 with goodies from the PSMC Collection / Using on PC's, Nvidea Shields, and other Android TV Boxes
Reply
#15
If the problem occurs both within Kodi and RA, then you're in luck. We generally don't have the manpower to troubleshoot individual game issues, but if the problem exists in RA too then you can follow up on the issue in the RA community.
Reply

Logout Mark Read Team Forum Stats Members Help
How to run pocketcdg?0