RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    SDL Input Joystick for LZDoom (SIJL) for RetroPie

    Scheduled Pinned Locked Moved Projects and Themes
    lzdoom joypadretropiezdoomsijl
    3 Posts 2 Posters 802 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RapidEdwin08R
      RapidEdwin08
      last edited by RapidEdwin08

      SDL Input Joystick for LZDoom v3.88b (SIJL) for RetroPie

      https://github.com/RapidEdwin08/sijl
      lzdoom-sijl.png

      Add support for SDL Input from Joystick in Menus eliminating the need for a Keyboard.
      Additionally includes Pre-Configured Joypad Mappings + Raspberry Pi specific Tweaks
      NOTE: You must COMPLIE LZDOOM yourself, the Menu Script just helps you load the DIFFs

      This isn't really new, it was started a long time ago under this topic:
      Zdoom and Gampad Fully Working in MENU with NO KEYBOARD
      This is just Updated [rpi_fixes.diff] and slightly tweaked [lzdoom] installer script.

      How To

      1- Use [lzdoom-sijl] Menu driven Script to assist with [sh/diff] files placement.
      2- Compile/Install [lzdoom] from [RetroPie-Setup]:
      0ptional Packages -> Ports -> lzdoom -> INSTALL FROM SOURCE
      When Compiled from Source [lzdoom.ini] will populate your Selected Joy Pad Bindings by Default

      Installation

      Can be ran from retropiemenu:

      wget https://raw.githubusercontent.com/RapidEdwin08/sijl/3.88b/lzdoom-sijl.sh -P ~/RetroPie/retropiemenu
      wget https://raw.githubusercontent.com/RapidEdwin08/sijl/3.88b/lzdoom-sijl.png -P ~/RetroPie/retropiemenu/icons
      

      0r Can be ran manually from any directory:

      cd ~
      git clone -b 3.88b https://github.com/RapidEdwin08/sijl.git
      sudo chmod 755 ~/sijl/lzdoom-sijl.sh
      cd ~/sijl && ./lzdoom-sijl.sh
      

      0ptionally you can Add an Entry to retropiemenu [gamelist.xml]:

      	<game>
      		<path>./lzdoom-sijl.sh</path>
      		<name>[lzdoom] SIJL</name>
      		<desc>INSTALL/REMOVE [lzdoom-sijl] for [RetroPie].</desc>
      		<image>/home/pi/RetroPie/retropiemenu/icons/lzdoom-sijl.png</image>
      	</game>
      

      Changes to lzdoom v3.88b Source before compiling:

      [lzdoom] v3.88b RetroPie-Setup Installer Script:
      local params=("+fullscreen 1 -config $romdir/ports/doom/lzdoom.ini")
      snd_mididevice, -2 (Timidity++)
      mkRomDir "ports/doom/mods"

      00_sbc_tweaks.diff: (0nly Applied to rPi/arm)
      cl_rockettrails, 0
      r_maxparticles, 2500 (Lowered from 4000)

      01_sijl_tweaks.diff:
      CNTRLMNU_OPEN_MAIN = "Open Main Menu";
      use_joystick, true

      03_Preferences.diff:
      am_colorset, 1 (Traditional Doom)
      cl_run, false (Always Run?)
      st_scale, 2
      Crosshair (Cross 1 Green)
      save_dir=$DOOMWADDIR
      disableautosave=2'

      02_JoyMappings_0SFA.diff: (Neutral Axes - Multiple D-Pad Support - 0ut-0f-Box Config for 8+Button JoyPads - togglemap @Joy9)
      const EJoyAxis SDLInputJoystick::DefaultAxes[5] = {JOYAXIS_Yaw, JOYAXIS_Forward, JOYAXIS_None, JOYAXIS_None, JOYAXIS_None};
      Joy1 +jump
      Joy2 +use
      Joy3 +attack
      Joy4 weapnext
      Joy5 +moveleft
      Joy6 +moveright
      Joy7 "toggle cl_run"
      Joy8 menu_main
      Joy9 togglemap

      // D-Pad Bindings Hat
      POV1Up +forward
      POV1Down +back
      POV1Left +left
      POV1Right +right
      lzdoom-sijl_202212.png
      lzdoom-sijl_202212_xpad.png

      Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

      1 Reply Last reply Reply Quote 0
      • RapidEdwin08R
        RapidEdwin08
        last edited by

        I think I might be the only one using this... but either way...

        SIJL has been updated for LZDoom 3.88b.
        Added Utilities for xpad Driver trigmapping patch.
        The 0lder SIJL Branch for LZDoom 3.87c still available if needed.

        Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

        ExarKunIvE 1 Reply Last reply Reply Quote 0
        • ExarKunIvE
          ExarKunIv @RapidEdwin08
          last edited by

          @RapidEdwin08 I used it before. Worked great.

          Nice to see you updated it to the that version of lzdoom....that I didn't know about. Lol

          I'm too busy working on scripts for RetroPie extras. Lol

          RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
          RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
          Maintainer of RetroPie-Extra .

          1 Reply Last reply Reply Quote 1
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.