Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Mupen64plus (ricrpi branch) #83909
    ricrpi
    Participant

    I’m getting a little confused now, can anyone tell me if RetroPie or other emulators require SDL/X11 support? I can’t get an X11 window using SDL2 with GLES2 support.

    To test, supplementary/sdl2.sh, line 22 would need to be changed to ./configure --disable-video-x11 --disable-video-opengl

    in reply to: Mupen64plus (ricrpi branch) #83902
    ricrpi
    Participant

    mupen64plus throws an error on SDL_CreateWindow() in api/vidext_sdl2_compat.h when SDL2 is compiled with X11 support. Hopefully its just a flag/attribute issue.

    in reply to: Mupen64plus (ricrpi branch) #83875
    ricrpi
    Participant

    On friday my testing of mupen64plus with SDL and X11 failed. I have updated the build script though as I think it is a core related issue that I am looking into.

    Mupen64plus will compile and work if you build without X11 support but it would break retroPi as the script will require one to update the SDL library (it will then be missing X11 support).

    Within the build script there is some commented out commands in the SDL section that would statically link SDL into mupen64plus (near line 285, look for SDL_CFLAGS=…). I have not tested the binaries though.

    in reply to: Mupen64plus (ricrpi branch) #83700
    ricrpi
    Participant

    It was in the experimental section last time I checked.

    Retropie uses the script github.com/ricrpi/mupen64plus/build.sh. I’m currently in the process of updating it though but should be finished by friday. The script is not wholly compatible with Retropie at the moment. You could hack the script by removing –disable-video-x11 on line 37 to get it working before friday.

    in reply to: Mupen64plus (ricrpi branch) #83567
    ricrpi
    Participant

    I am pleased to confirm that Joystick events are now working.

    Just set the event e.g. Joy Mapping Stop = “J0B1”.

    Note that the ‘J’ and ‘B’ are case sensitive and make sure you change the correct .cfg file.

    in reply to: Mupen64plus (ricrpi branch) #83373
    ricrpi
    Participant

    A year ago I found that SDL keyboard input did not appear to work without the desktop so I quickly threw something together using raw keyboard inputs for console use.

    I’m revisiting this code since the official mupen64plus has now moved to SDL2 and I’ve found some missing information I need for SDL2 graphics and input on the pi.

    in reply to: Mupen64plus (ricrpi branch) #83295
    ricrpi
    Participant

    Actually I recall seeing issues with the sdl_filter api function, used in the core, to detect events so I don’t think my comment above will work (although the code does support joystick events).

    I’ll have a look through the libretro version tonight to see how they have worked around the issue.

    in reply to: Mupen64plus (ricrpi branch) #83294
    ricrpi
    Participant

    gizmo98

    Have you tried using the ‘Joy Mapping Stop’ parameter in the mupen64plus.cfg file? You need to set it to somthing like ‘J0B9’ (for joystick 0, Button 9).

    Hat buttons look more troublesome in the code. One must use J0HxVd where x is the Hat axis number and d is the dirction&magnitude.

    There is probably a program to find button numbers easily however I usually use:

    `cat /dev/[joystick0?] | hexdump -e ‘8/1 “%02X ” “\n”‘

    If you think the code is broken then could you raise an issue on the repo.

Viewing 8 posts - 1 through 8 (of 8 total)