Forum Replies Created

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

    I never did get it to work from EmulationStation. I finally just gave up. :-(

    in reply to: Mupen64plus (ricrpi branch) #18294
    sumpy
    Participant

    It seems to work if you run mupen64plus from the command line. It just won’t start from EmulationStation. No idea why … still tinkering.

    in reply to: Mupen64plus (ricrpi branch) #18277
    sumpy
    Participant

    I apologize for the long post. Thought it might be helpful to post my mupen64-plus config, located in /home/pi/.config/mupen64plus/mupen64plus.cfg:

    # Mupen64Plus Configuration File
    # This file is automatically read and written by the Mupen64Plus Core library
    
    [Audio-OMX]
    
    # Mupen64Plus OMX Audio Plugin config parameter version number
    Version = 1
    # Frequency which is used if rom doesn't want to change it
    DEFAULT_FREQUENCY = 33600
    # Swaps left and right channels
    SWAP_CHANNELS = False
    # Audio output to go to (0) Analogue jack, (1) HDMI
    OUTPUT_PORT = 1
    # Point OMX to the raw N64 audio data region instead of copying audio into buffer. Overrides SECONDARY_BUFFER_SIZE, DEFAULT_MODE and LATENCY
    NATIVE_MODE = True
    # Number of output samples per Audio callback. This is for hardware buffers.
    BUFFER_SIZE = 2048
    # Audio Output Frequncy mode: 0 = Rom Frequency, 1 ROM Frequency if supported (HDMI only), 2 = Standard frequency < Rom Frequency, 3 = Standard frequency > Rom Frequency, [N] Force output frequency
    DEFAULT_MODE = 0
    # Desired Latency in ms
    LATENCY = 220
    # Underrun Mode, 0 = Ignore, 1 = Report, 2 = repeat audio when latency < LATENCY/2
    UNDERRUN_MODE = 0
    
    [Core]
    
    # Mupen64Plus Core config parameter set version number.  Please don't change this version number.
    Version = 1.010000
    # Draw on-screen display if True, otherwise don't draw OSD
    OnScreenDisplay = True
    # Use Pure Interpreter if 0, Cached Interpreter if 1, or Dynamic Recompiler if 2 or more
    R4300Emulator = 2
    # Disable compiled jump commands in dynamic recompiler (should be set to False)
    NoCompiledJump = False
    # Disable 4MB expansion RAM pack. May be necessary for some games
    DisableExtraMem = False
    # Increment the save state slot after each save operation
    AutoStateSlotIncrement = False
    # Activate the R4300 debugger when ROM execution begins, if core was built with Debugger support
    EnableDebugger = False
    # Save state slot (0-9) to use when saving/loading the emulator state
    CurrentStateSlot = 0
    # Path to directory where screenshots are saved. If this is blank, the default value of ${UserConfigPath}/screenshot will be used
    ScreenshotPath = "/home/pi/mupen64plus-src-2.0/test"
    # Path to directory where emulator save states (snapshots) are saved. If this is blank, the default value of ${UserConfigPath}/save will be used
    SaveStatePath = ""
    # Path to directory where SRAM/EEPROM data (in-game saves) are stored. If this is blank, the default value of ${UserConfigPath}/save will be used
    SaveSRAMPath = ""
    # Path to a directory to search when looking for shared data files
    SharedDataPath = ""
    # Scheduling policy. 0 for Standard (SCHED_OTHER), 1-99 RealTime FIFO policy with Priority of [N]
    Scheduler = 10
    CurrentSaveSlot = 8
    # DMA mode. 0 Original Software method (Endian and Alignment aware), 1 Faster Software, 2 Hardware
    DMA_MODE = 0
    # Delay interrupt after DMA SI read/write
    DelaySI = True
    # Force number of cycles per emulated instruction
    CountPerOp = 0
    
    [CoreEvents]
    
    # Mupen64Plus CoreEvents config parameter set version number.  Please don't change this version number.
    Version = 1
    # SDL keysym for stopping the emulator
    Kbd Mapping Stop = 27
    # SDL keysym for switching between fullscreen/windowed modes
    Kbd Mapping Fullscreen = 323
    # SDL keysym for saving the emulator state
    Kbd Mapping Save State = 286
    # SDL keysym for loading the emulator state
    Kbd Mapping Load State = 288
    # SDL keysym for advancing the save state slot
    Kbd Mapping Increment Slot = 0
    # SDL keysym for resetting the emulator
    Kbd Mapping Reset = 290
    # SDL keysym for slowing down the emulator
    Kbd Mapping Speed Down = 291
    # SDL keysym for speeding up the emulator
    Kbd Mapping Speed Up = 292
    # SDL keysym for taking a screenshot
    Kbd Mapping Screenshot = 293
    # SDL keysym for pausing the emulator
    Kbd Mapping Pause = 112
    # SDL keysym for muting/unmuting the sound
    Kbd Mapping Mute = 109
    # SDL keysym for increasing the volume
    Kbd Mapping Increase Volume = 93
    # SDL keysym for decreasing the volume
    Kbd Mapping Decrease Volume = 91
    # SDL keysym for temporarily going really fast
    Kbd Mapping Fast Forward = 102
    # SDL keysym for advancing by one frame when paused
    Kbd Mapping Frame Advance = 47
    # SDL keysym for pressing the game shark button
    Kbd Mapping Gameshark = 103
    # Joystick event string for stopping the emulator
    Joy Mapping Stop = ""
    # Joystick event string for switching between fullscreen/windowed modes
    Joy Mapping Fullscreen = ""
    # Joystick event string for saving the emulator state
    Joy Mapping Save State = ""
    # Joystick event string for loading the emulator state
    Joy Mapping Load State = ""
    # Joystick event string for advancing the save state slot
    Joy Mapping Increment Slot = ""
    # Joystick event string for taking a screenshot
    Joy Mapping Screenshot = ""
    # Joystick event string for pausing the emulator
    Joy Mapping Pause = ""
    # Joystick event string for muting/unmuting the sound
    Joy Mapping Mute = ""
    # Joystick event string for increasing the volume
    Joy Mapping Increase Volume = ""
    # Joystick event string for decreasing the volume
    Joy Mapping Decrease Volume = ""
    # Joystick event string for fast-forward
    Joy Mapping Fast Forward = ""
    # Joystick event string for pressing the game shark button
    Joy Mapping Gameshark = ""
    
    [Input-SDL-Control1]
    
    # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
    version = 2
    # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
    mode = 2
    # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
    device = 0
    # SDL joystick name (or Keyboard)
    name = "Xbox Gamepad (userspace driver)"
    # Specifies whether this controller is 'plugged in' to the simulated N64
    plugged = True
    # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
    plugin = 2
    # If True, then mouse buttons may be used with this controller
    mouse = False
    # Scaling factor for mouse movements.  For X, Y axes.
    MouseSensitivity = "2.00,2.00"
    # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
    AnalogDeadzone = "4096,4096"
    # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
    AnalogPeak = "32768,32768"
    # Digital button configuration mappings
    DPad R = "hat(0 Right)"
    DPad L = "hat(0 Left)"
    DPad D = "hat(0 Down)"
    DPad U = "hat(0 Up)"
    Start = "button(7)"
    Z Trig = "axis(2+)"
    B Button = "button(2)"
    A Button = "button(0)"
    C Button R = "axis(4+)"
    C Button L = "axis(4-) button(3)"
    C Button D = "axis(3+) button(1)"
    C Button U = "axis(3-)"
    R Trig = "button(5) axis(2-)"
    L Trig = "button(4)"
    Mempak switch = ""
    Rumblepak switch = ""
    # Analog axis configuration mappings
    X Axis = "axis(0-,0+)"
    Y Axis = "axis(1-,1+)"
    
    [Input-SDL-Control2]
    
    # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
    version = 2
    # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
    mode = 2
    # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
    device = 1
    # SDL joystick name (or Keyboard)
    name = "Xbox Gamepad (userspace driver) #2"
    # Specifies whether this controller is 'plugged in' to the simulated N64
    plugged = True
    # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
    plugin = 2
    # If True, then mouse buttons may be used with this controller
    mouse = False
    # Scaling factor for mouse movements.  For X, Y axes.
    MouseSensitivity = "2.00,2.00"
    # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
    AnalogDeadzone = "4096,4096"
    # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
    AnalogPeak = "32768,32768"
    # Digital button configuration mappings
    DPad R = "hat(0 Right)"
    DPad L = "hat(0 Left)"
    DPad D = "hat(0 Down)"
    DPad U = "hat(0 Up)"
    Start = "button(7)"
    Z Trig = "axis(2+)"
    B Button = "button(2)"
    A Button = "button(0)"
    C Button R = "axis(4+)"
    C Button L = "axis(4-) button(3)"
    C Button D = "axis(3+) button(1)"
    C Button U = "axis(3-)"
    R Trig = "button(5) axis(2-)"
    L Trig = "button(4)"
    Mempak switch = ""
    Rumblepak switch = ""
    # Analog axis configuration mappings
    X Axis = "axis(0-,0+)"
    Y Axis = "axis(1-,1+)"
    
    [Input-SDL-Control3]
    
    # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
    version = 2
    # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
    mode = 2
    # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
    device = -1
    # SDL joystick name (or Keyboard)
    name = ""
    # Specifies whether this controller is 'plugged in' to the simulated N64
    plugged = False
    # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
    plugin = 1
    # If True, then mouse buttons may be used with this controller
    mouse = False
    # Scaling factor for mouse movements.  For X, Y axes.
    MouseSensitivity = "2.00,2.00"
    # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
    AnalogDeadzone = "4096,4096"
    # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
    AnalogPeak = "32768,32768"
    # Digital button configuration mappings
    DPad R = ""
    DPad L = ""
    DPad D = ""
    DPad U = ""
    Start = ""
    Z Trig = ""
    B Button = ""
    A Button = ""
    C Button R = ""
    C Button L = ""
    C Button D = ""
    C Button U = ""
    R Trig = ""
    L Trig = ""
    Mempak switch = ""
    Rumblepak switch = ""
    # Analog axis configuration mappings
    X Axis = ""
    Y Axis = ""
    
    [Input-SDL-Control4]
    
    # Mupen64Plus SDL Input Plugin config parameter version number.  Please don't change this version number.
    version = 2
    # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
    mode = 2
    # Specifies which joystick is bound to this controller: -1=No joystick, 0 or more= SDL Joystick number
    device = -1
    # SDL joystick name (or Keyboard)
    name = ""
    # Specifies whether this controller is 'plugged in' to the simulated N64
    plugged = False
    # Specifies which type of expansion pak is in the controller: 1=None, 2=Mem pak, 5=Rumble pak
    plugin = 1
    # If True, then mouse buttons may be used with this controller
    mouse = False
    # Scaling factor for mouse movements.  For X, Y axes.
    MouseSensitivity = "2.00,2.00"
    # The minimum absolute value of the SDL analog joystick axis to move the N64 controller axis value from 0.  For X, Y axes.
    AnalogDeadzone = "4096,4096"
    # An absolute value of the SDL joystick axis >= AnalogPeak will saturate the N64 controller axis value (at 80).  For X, Y axes. For each axis, this must be greater than the corresponding AnalogDeadzone value
    AnalogPeak = "32768,32768"
    # Digital button configuration mappings
    DPad R = ""
    DPad L = ""
    DPad D = ""
    DPad U = ""
    Start = ""
    Z Trig = ""
    B Button = ""
    A Button = ""
    C Button R = ""
    C Button L = ""
    C Button D = ""
    C Button U = ""
    R Trig = ""
    L Trig = ""
    Mempak switch = ""
    Rumblepak switch = ""
    # Analog axis configuration mappings
    X Axis = ""
    Y Axis = ""
    
    [UI-Console]
    
    # Mupen64Plus UI-Console config parameter set version number.  Please don't change this version number.
    Version = 1
    # Directory in which to search for plugins
    PluginDir = "./"
    # Filename of video plugin
    VideoPlugin = "mupen64plus-video-rice.so"
    # Filename of audio plugin
    AudioPlugin = "mupen64plus-audio-omx.so"
    # Filename of input plugin
    InputPlugin = "mupen64plus-input-sdl.so"
    # Filename of RSP plugin
    RspPlugin = "mupen64plus-rsp-hle.so"
    
    [Video-General]
    
    # Use fullscreen mode if True, or windowed mode if False
    Fullscreen = False
    # Width of output window or fullscreen width
    ScreenWidth = 640
    # Height of output window or fullscreen height
    ScreenHeight = 480
    # If true, activate the SDL_GL_SWAP_CONTROL attribute
    VerticalSync = False
    
    [Video-Rice]
    
    # Frame Buffer Emulation (0=ROM default, 1=disable)
    FrameBufferSetting = 0
    # Frequency to write back the frame buffer (0=every frame, 1=every other frame, etc)
    FrameBufferWriteBackControl = 0
    # Render-to-texture emulation (0=none, 1=ignore, 2=normal, 3=write back, 4=write back and reload)
    RenderToTexture = 0
    # Control when the screen will be updated (0=ROM default, 1=VI origin update, 2=VI origin change, 3=CI change, 4=first CI change, 5=first primitive draw, 6=before screen clear, 7=after screen drawn)
    ScreenUpdateSetting = 6
    # Force to use normal alpha blender
    NormalAlphaBlender = False
    # Use a faster algorithm to speed up texture loading and CRC computation
    FastTextureLoading = False
    # Use different texture coordinate clamping code
    AccurateTextureMapping = True
    # Force emulated frame buffers to be in N64 native resolution
    InN64Resolution = False
    # Try to reduce Video RAM usage (should never be used)
    SaveVRAM = False
    # Enable this option to have better render-to-texture quality
    DoubleSizeForSmallTxtrBuf = False
    # Force to use normal color combiner
    DefaultCombinerDisable = False
    # Enable game-specific settings from INI file
    EnableHacks = True
    # If enabled, graphics will be drawn in WinFrame mode instead of solid and texture mode
    WinFrameMode = False
    # N64 Texture Memory Full Emulation (may fix some games, may break others)
    FullTMEMEmulation = False
    # Enable vertex clipper for fog operations
    OpenGLVertexClipper = False
    # Enable/Disable SSE optimizations for capable CPUs
    EnableSSE = False
    # Use GPU vertex shader
    EnableVertexShader = True
    # If this option is enabled, the plugin will skip every other frame
    SkipFrame = True
    # If enabled, texture enhancement will be done only for TxtRect ucode
    TexRectOnly = False
    # If enabled, texture enhancement will be done only for textures width+height<=128
    SmallTextureOnly = False
    # Select hi-resolution textures based only on the CRC and ignore format+size information (Glide64 compatibility)
    LoadHiResCRCOnly = True
    # Enable hi-resolution texture file loading
    LoadHiResTextures = False
    # Enable texture dumping
    DumpTexturesToFiles = False
    # Display On-screen FPS
    ShowFPS = True
    # Use Mipmapping? 0=no, 1=nearest, 2=bilinear, 3=trilinear
    Mipmapping = 0
    # Enable, Disable or Force fog generation (0=Disable, 1=Enable n64 choose, 2=Force Fog)
    FogMethod = 0
    # Force to use texture filtering or not (0=auto: n64 choose, 1=force no filtering, 2=force filtering)
    ForceTextureFilter = 1
    # Primary texture enhancement filter (0=None, 1=2X, 2=2XSAI, 3=HQ2X, 4=LQ2X, 5=HQ4X, 6=Sharpen, 7=Sharpen More, 8=External, 9=Mirrored)
    TextureEnhancement = 0
    # Secondary texture enhancement filter (0 = none, 1-4 = filtered)
    TextureEnhancementControl = 0
    # Color bit depth to use for textures (0=default, 1=32 bits, 2=16 bits)
    TextureQuality = 0
    # Z-buffer depth (only 16 or 32)
    OpenGLDepthBufferSetting = 32
    # Enable/Disable MultiSampling (0=off, 2,4,8,16=quality)
    MultiSampling = 0
    # Color bit depth for rendering window (0=32 bits, 1=16 bits)
    ColorQuality = 0
    # OpenGL level to support (0=auto, 1=OGL_1.1, 2=OGL_1.2, 3=OGL_1.3, 4=OGL_1.4, 5=OGL_1.4_V2, 6=OGL_TNT2, 7=NVIDIA_OGL, 8=OGL_FRAGMENT_PROGRAM)
    OpenGLRenderSetting = 0
    # Enable/Disable Anisotropic Filtering for Mipmapping (0=no filtering, 2-16=quality). This is uneffective if Mipmapping is 0. If the given value is to high to be supported by your graphic card, the value will be the highest value your graphic card can support. Better result with Trilinear filtering
    AnisotropicFiltering = 0
    # If this option is enabled, the plugin will only draw every other screen update
    SkipScreenUpdate = False
    
    in reply to: Mupen64plus (ricrpi branch) #18260
    sumpy
    Participant

    I’ve installed the ricrpi branch of Mupen64plus, and the installation went well. I’ve set up the correct binary path in /etc/emulationstation/es_config, but game ROM’s won’t actually run. I redirected STDOUT and STDERR to a file so I could see what’s happening, and oddly enough I don’t find any errors in the log file. Here is what I get when I launch any N64 ROM:

     __  __                         __   _  _   ____  _             
    |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___ 
    | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|  
    | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \  
    |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/  
                 |_|         http://code.google.com/p/mupen64plus/  
    Mupen64Plus Console User-Interface Version 2.0.0
    
    UI-Console: attached to core library 'Mupen64Plus Core' version 2.0.0
    UI-Console:             Includes support for Dynamic Recompiler.
    Core: Goodname: Super Mario 64 (U) [!]
    Core: Name: SUPER MARIO 64      
    Core: MD5: 20B854B239203BAF6C961B850A4A51A2
    Core: CRC: 635a2bff 8b022326
    Core: Imagetype: .z64 (native)
    Core: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
    Core: Version: 1444
    Core: Manufacturer: Nintendo
    Core: Country: USA
    UI-Console Status: Cheat codes disabled.
    Video: DEBUG Video-Rice InitConfiguration() 658
    Video: DEBUG Video-Rice set default configuration
    UI-Console: using Video plugin: 'Mupen64Plus OpenGL Video Plugin by Rice' v2.0.0
    UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
    UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.0.0
    UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.0.0
    Video: DEBUG Video-Rice InitConfiguration() 835
    Video: DEBUG Video-Rice set default configuration
    Input: 2 SDL joysticks were found.
    Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Xbox Gamepad (userspace driver)')
    Input: N64 Controller #2: Using auto-config with SDL joystick 1 ('Xbox Gamepad (userspace driver) #2')
    Input: 2 controller(s) found, 2 plugged in and usable in the emulator
    Input Warning: Couldn't open rumble support for joystick #1
    Input Warning: Couldn't open rumble support for joystick #2
    Input Warning: Couldn't open rumble support for joystick #3
    Input Warning: Couldn't open rumble support for joystick #4
    Input: Mupen64Plus SDL Input Plugin version 2.0.0 initialized.
    Video: Disabled SSE processing.
    Video: Found ROM 'SUPER MARIO 64', CRC ff2b5a632623028b-45
    Video: Initializing OpenGL Device Context.
    Video: Using OpenGL: Broadcom - VideoCore IV HW : OpenGL ES 2.0
    Audio: OMX Audio plugin Initialized. Output Frequency 33600 Hz
    Input Warning: Couldn't open rumble support for joystick #1
    Input Warning: Couldn't open rumble support for joystick #2
    Input Warning: Couldn't open rumble support for joystick #3
    Input Warning: Couldn't open rumble support for joystick #4
    Core: Starting emulation at 2280
    Core: Starting R4300 emulator: Dynamic Recompiler
    Core: Init new dynarec
    Core Status: Stopping emulation.
    Core: R4300 emulator finished.
    Core: Stopping emulation at 3424
    Core Status: Rom closed.

    Note that I see no errors or anything that helps to determine what is failing. Any ideas?

    in reply to: Hummingboard Thoughts? #17889
    sumpy
    Participant

    Boy the ODROID is really impressive for the price! I may have to look into that a bit more.

    in reply to: Hummingboard Thoughts? #17885
    sumpy
    Participant

    It would be nice to have a drop in replacement, but I have a feeling it won’t be that easy. I’m happy with the Pi for all of the emulators with the exception of PSX. It runs many of the games well, but some are just too much. It seems the Pi is right on the edge of having enough power to emulate it properly.

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