Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NES Mesen Core on retroplayer #51

Open
wwark opened this issue Jan 28, 2019 · 7 comments
Open

Add NES Mesen Core on retroplayer #51

wwark opened this issue Jan 28, 2019 · 7 comments

Comments

@wwark
Copy link

wwark commented Jan 28, 2019

Can you please add Mesen core on retroplayer?

Lakka have it on his side (libretro/Lakka-LibreELEC@5cc40d3)

Thank you
Wwark

@wwark wwark changed the title Add Mesen Core on retroplayer Add NES Mesen Core on retroplayer Jan 28, 2019
@fetzerch
Copy link
Member

done: https://github.com/kodi-game/game.libretro.mesen
@Rechi is there anything to be done for jenkins?

@Rechi
Copy link
Contributor

Rechi commented Jan 29, 2019

First add it at https://github.com/kodi-game/repo-binary-addons, then I'll enable it in jenkins.

@fetzerch
Copy link
Member

@Rechi Done. can you enable mesen and parallel_n64 please?

@Rechi
Copy link
Contributor

Rechi commented Jan 31, 2019

@fetzerch done

@wwark
Copy link
Author

wwark commented Jan 31, 2019

Thank you.
The emulator Mesen appeared on the official repo on Windows environnement.

When I tried the emulator, I have this Issue.

17:32:59.123 T:10088 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
17:32:59.135 T:10088 DEBUG: Select game client dialog: User selected emulator game.libretro.mesen
17:32:59.136 T:10088 DEBUG: CWinShader::LoadEffect: loading shader special://xbmc/system/shaders/rp_output_d3d.fx
17:32:59.198 T:10088 DEBUG: Previous line repeats 1 times.
17:32:59.199 T:10088 INFO: RetroPlayer[PROCESS]: Created process info for Windows
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Game tag loaded
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: URL:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Title:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Platform:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Genres:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Developer:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Game Code:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Region:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Publisher:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Format:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Cartridge type:
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: Game client: game.libretro.mesen
17:32:59.199 T:10088 DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
17:32:59.201 T:10088 DEBUG: ADDON: Dll Initializing - Nintendo - NES / Famicom (Mesen)
17:32:59.201 T:10088 DEBUG: SECTION:LoadDLL(C:\Users*****\AppData\Roaming\Kodi\addons\game.libretro\game.libretro.dll)
17:32:59.219 T:10088 ERROR: AddOnLog: Nintendo - NES / Famicom (Mesen): Unable to load: "C:\Users*\AppData\Roaming\Kodi\addons\game.libretro.mesen\game.libretro.mesen.dll":
17:32:59.219 T:10088 ERROR: AddOnLog: Nintendo - NES / Famicom (Mesen): Failed to load C:\Users*
\AppData\Roaming\Kodi\addons\game.libretro.mesen\game.libretro.mesen.dll
17:32:59.219 T:10088 ERROR: ADDON: Dll Nintendo - NES / Famicom (Mesen) - Client returned bad status (5) from Create and is not usable
17:32:59.219 T:10088 DEBUG: ------ Window Init (DialogConfirm.xml) ------
17:33:00.102 T:10088 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
17:33:00.252 T:10088 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0

I have the same issue with Kodi 18 (32 bits and 64 bits)

I tried to do a ldd in msys.

$ ldd game.libretro.mesen.dll
ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x77230000)
kernel32.dll => /c/windows/system32/kernel32.dll (0x77110000)
KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7fefce50000)
??? => ??? (0x6d440000)

I tried Nestopia and it is working without issue.

Thanks for your help !

@fetzerch
Copy link
Member

fetzerch commented Feb 3, 2019

Sorry, I don't have a windows build environment at the moment. Maybe it helps comparing the dll with the one from retroarch?

@wwark
Copy link
Author

wwark commented Feb 3, 2019

The dll from retroarch works

Retroarch

ldd mesen_libretro.dll
ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x77720000)
kernel32.dll => /c/windows/system32/kernel32.dll (0x77600000)
KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7fefd530000)
??? => ??? (0xfaa0000)

$ sha1sum.exe *.dll
6957b422c5b84d16a46e1b4f071a74abcab255db *mesen_libretro.dll

Retroplayer:

$ sha1sum.exe *.dll
23f5c26506f80a00dd803630b218c708b039a27a *game.libretro.mesen.dll

$ ldd game.libretro.mesen.dll
ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x77720000)
kernel32.dll => /c/windows/system32/kernel32.dll (0x77600000)
KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7fefd530000)
??? => ??? (0x6d440000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants