Homepage Forums RetroPie Project Everything else related to the RetroPie Project How to manually compile emulators (lr-yabause)

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #107191
    dankcushions
    Participant

    i’d like to experiment with some additional make flags during a lr-yabause compile, but i can’t decipher the make string i should be using from the scripts. i think the script is lr-yabause.sh, but from that i can’t isolate the actual make command i would need to run in the command line (ideally with the same source and destination directories, which i’m also not sure of!):

    #!/usr/bin/env bash
    
    # This file is part of RetroPie.
    #
    # (c) Copyright 2012-2015  Florian Müller ()
    #
    # See the LICENSE.md file at the top-level directory of this distribution and
    # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
    #
    
    rp_module_id="lr-yabause"
    rp_module_desc="Sega Saturn emu - Yabause (optimised) port for libretro"
    rp_module_menus="4+"
    rp_module_flags="!rpi1"
    
    function sources_lr-yabause() {
        gitPullOrClone "$md_build" https://github.com/libretro/yabause.git
    }
    
    function build_lr-yabause() {
        cd libretro
        make clean
        make platform=armvneonhardfloat
        md_ret_require="$md_build/libretro/yabause_libretro.so"
    }
    
    function install_lr-yabause() {
        md_ret_files=(
            'libretro/yabause_libretro.so'
            'yabause/AUTHORS'
            'yabause/COPYING'
            'yabause/ChangeLog'
            'yabause/AUTHORS'
            'yabause/GOALS'
            'yabause/README'
            'yabause/README.LIN'
        )
    -}
    
    function configure_lr-yabause() {
        mkRomDir "saturn"
        ensureSystemretroconfig "saturn"
    
        addSystem 1 "$md_id" "saturn" "$md_inst/yabause_libretro.so"
    }

    Can anyone please give me the command I’d need to do the default build, as per the scripts? i can then add my compilation flags to it.

    PS, if anyone is interested, the flags i will be experimenting with:

    -YAB_WANT_ARM7=ON
    -YAB_WANT_VIDSOFT_RBG0_THREADING=ON
    -YAB_WANT_VIDSOFT_NBG0_THREADING=ON
    -YAB_WANT_VIDSOFT_RENDER_THREADING=OFF
    -YAB_WANT_VIDSOFT_LAYER_THREADING=OFF

    (all/some of these may improve performance on rpi2)

Viewing 1 post (of 1 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.