Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. The_Mole
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 2
    • Controversial 0
    • Groups 0

    The_Mole

    @The_Mole

    2
    Reputation
    226
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Germany

    The_Mole Unfollow Follow

    Best posts made by The_Mole

    • [How-To] Batch process PSX images with multiple BINs per CD

      Hey there,

      when making backups of my old Playstation-CDs, some ended to have multiple bins. As I did not want to click my fingers sore, I looked for a solution to batch process them.

      I found a solution, that uses MAME's chdman.exe to convert the multi-bin to a chd Image, first, and then the chd to a single-bin. Might not be the most elegant way - but it works.

      First you need chdman.exe, then paste the script below in your favorite text editor, change it as required, save it as cmd- or bat-file. Run it and watch it do the work for you.

      Have fun!

      @REM Multi-BIN Batch conversion script for chdman
      @REM 2019-01-29 by The_Mole for forum.recalbox.com
      
      @REM Requires chdman.exe in the image-sourcepath
      
      
      @REM Switch off unneccessary output
      @ECHO off 
      REM Clear the screen
      CLS  
      REM Let's SET the different folders
      REM Here you SET the source path, where your multi-bin CD-images are. Subdirectories are supported.
      SET sourcepath="X:\PSX_Multibin_Images"
      REM Here you SET a path for the intermediate chd file. %TEMP refers to the Windows standard Temp-Folder.
      REM If you convert a larger batch you may want to conserve writes on your system-SSD and use a ramdisk or HDD, instead.
      SET workpath=%TEMP%
      REM Here you SET your output directory, where you want your single-bin CD-images to be stored.
      REM If you SET it to your source path, your cue-files will be overwritten.
      SET destpath="X:\PSX_Converted_Images"
      REM This is a safety catch to make sure, you edit the file, before running it.
      REM Put a rem-command before the line below to unlock the script.
      GOTO idiotfilter
      REM Here we start the loop: For every cue-file in %sourcepath% and its subdirectories execute the commands inside the bracket
      FOR /R "%sourcepath%" %%R IN (*.cue) DO ( 
      REM Print an empty line 
      ECHO. 
      REM Print a status message. %%~nR refers to the filename of the cue-file WITHOUT extension
      ECHO ### Converting %%~nR to chd ###
      REM Create the chd-Image. %%R refers to the cue-file WITH extension,
      %sourcepath%\chdman.exe createcd -i "%%R" -o "%workpath%\%%~nR.chd" -f 
      REM Print an empty line 
      ECHO. 
      REM Print a status message. %%~nR refers to the filename of the cue-file WITHOUT extension
      ECHO ### Converting chd to %%~nR.bin ###
      REM Create the single-bin image, including a cue-file, overwrite existing files.
      %sourcepath%\chdman.exe extractcd -i "%workpath%\%%~nR.chd" -o "%destpath%\%%~nR.cue" -ob "%destpath%\%%~nR.bin" -f
      REM Delete the chd-file. We no longer need it and it's always good to clean up after yourself.
      DEL "%workpath%\%%~nR.chd"
      REM Print an empty line 
      ECHO. 
      @REM Print an empty line 
      ECHO. 
      REM Close the loop. Start the next or move on if there are no files left.
      )
      REM This is a jump mark. If you read all comment lines, you know, why it's here.
      :idiotfilter
      REM Well... what it says.
      EXIT
      

      PS: According to the preview, the code block seems not to recognize it as batch-script, so it may look a bit starnge.

      posted in Emulator Arcade/PC/Console
      The_Mole
      The_Mole
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      Hey,

      I'm using the Christmas Beta on an Raspi 3B+ with a 32GB SD - no external storage devices.

      • My 8bitdo SF30 Pro Controller works without any problems on internal BT.
      • The shutdown script (Retroflag case) works but savegames are not written to SD, when switching off while still ingame (not sure if that's a script or recalbox problem)
      • Wifi takes a while to find and connect the AP, the first time but works well, afterwards.
      • Settings are not saved after exiting any emulator, I have to Hotkey+B every time I start a game. Even if I save the config in the menu, screen ratio will revert to "custom" after exiting the emulator.
      • N64 emulation is a bit laggy, sometimes, even when running on 1500MHz (using finned heatsinks on CPU and LAN, a copper heatspreader on ram and a 30mm fan in the case, so it shouldn't be a temp problem) - That's high-level moaning, however.

      If you need additional information, just ask.

      posted in Testers's corner
      The_Mole
      The_Mole

    Latest posts made by The_Mole

    • [Recalbox 6.1] Splash Video Fade Out?

      Hello there,

      it's been a while. You could help me with a little problem I have: Where did the fade out option from the Splash Screen go?

      Older versions had this in S02Splash:

        if [[ $? -eq 0 && $videolength -gt -1 ]]; then
          recallog "Let's play the video for $videolength seconds"
          # Wait for emulationstation or Kodi, but not more than $videolength seconds
          count=0
      while [[ ! -f "/tmp/emulationstation.ready" && ! -e "/var/run/kodi.msg" && $count -lt $videolength ]]; do
              sleep 1
              ((count++))
          done
          # Finish with a one second fade out.
      	sleep 30
          audio_fade=1
          video_fade=250
          while [[ $video_fade -gt 0 ]]; do
              sleep .02
              dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Volume double:$audio_fade >/dev/null
              dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.SetAlpha objpath:/not/used int64:$video_fade >/dev/null
              audio_fade=`echo "$audio_fade .02" | awk '{printf "%.2f", $1-$2}'`
              ((video_fade=video_fade-5))
          done
          # Ready flag set or timeout occured; stop video process.
          dbus-send --print-reply=literal --session --dest=org.mpris.MediaPlayer2.omxplayer /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Action int32:15 >/dev/null
      else
          recallog "Let's play the video entirely"
      fi
      

      After updating I found that It's now S03Splash without the fadeout:

        function stopPlayerWhenFrontendReady() {
          local playerPID="$1"
          local timeout="$2"
          local count=0
        
          [ ${timeout} -eq -1 ] && return
          until [ -f "/tmp/emulationstation.ready" ] || [ -e "/var/run/kodi.msg" ] || [ ${count} -ge ${timeout} ]; do
            sleep 1
            let count++
          done
          kill -9 ${playerPID}
        }
      

      With the fadeout the transition from splash video to menu looks WAY better, so I'd like it back.
      Is it possible to add it somewhere there?
      Thanks for your help!

      posted in Themes & Interface
      The_Mole
      The_Mole
    • RE: [How-To] Batch process PSX images with multiple BINs per CD

      @paradadf I'd have to create a github account, first. If you want to copy it there, feel free to do so. Maybe it would be a good idea to mirror chdman.exe there, as well. The script is more comments than commands. Should be pretty easy to understand, I hope.

      posted in Emulator Arcade/PC/Console
      The_Mole
      The_Mole
    • [How-To] Batch process PSX images with multiple BINs per CD

      Hey there,

      when making backups of my old Playstation-CDs, some ended to have multiple bins. As I did not want to click my fingers sore, I looked for a solution to batch process them.

      I found a solution, that uses MAME's chdman.exe to convert the multi-bin to a chd Image, first, and then the chd to a single-bin. Might not be the most elegant way - but it works.

      First you need chdman.exe, then paste the script below in your favorite text editor, change it as required, save it as cmd- or bat-file. Run it and watch it do the work for you.

      Have fun!

      @REM Multi-BIN Batch conversion script for chdman
      @REM 2019-01-29 by The_Mole for forum.recalbox.com
      
      @REM Requires chdman.exe in the image-sourcepath
      
      
      @REM Switch off unneccessary output
      @ECHO off 
      REM Clear the screen
      CLS  
      REM Let's SET the different folders
      REM Here you SET the source path, where your multi-bin CD-images are. Subdirectories are supported.
      SET sourcepath="X:\PSX_Multibin_Images"
      REM Here you SET a path for the intermediate chd file. %TEMP refers to the Windows standard Temp-Folder.
      REM If you convert a larger batch you may want to conserve writes on your system-SSD and use a ramdisk or HDD, instead.
      SET workpath=%TEMP%
      REM Here you SET your output directory, where you want your single-bin CD-images to be stored.
      REM If you SET it to your source path, your cue-files will be overwritten.
      SET destpath="X:\PSX_Converted_Images"
      REM This is a safety catch to make sure, you edit the file, before running it.
      REM Put a rem-command before the line below to unlock the script.
      GOTO idiotfilter
      REM Here we start the loop: For every cue-file in %sourcepath% and its subdirectories execute the commands inside the bracket
      FOR /R "%sourcepath%" %%R IN (*.cue) DO ( 
      REM Print an empty line 
      ECHO. 
      REM Print a status message. %%~nR refers to the filename of the cue-file WITHOUT extension
      ECHO ### Converting %%~nR to chd ###
      REM Create the chd-Image. %%R refers to the cue-file WITH extension,
      %sourcepath%\chdman.exe createcd -i "%%R" -o "%workpath%\%%~nR.chd" -f 
      REM Print an empty line 
      ECHO. 
      REM Print a status message. %%~nR refers to the filename of the cue-file WITHOUT extension
      ECHO ### Converting chd to %%~nR.bin ###
      REM Create the single-bin image, including a cue-file, overwrite existing files.
      %sourcepath%\chdman.exe extractcd -i "%workpath%\%%~nR.chd" -o "%destpath%\%%~nR.cue" -ob "%destpath%\%%~nR.bin" -f
      REM Delete the chd-file. We no longer need it and it's always good to clean up after yourself.
      DEL "%workpath%\%%~nR.chd"
      REM Print an empty line 
      ECHO. 
      @REM Print an empty line 
      ECHO. 
      REM Close the loop. Start the next or move on if there are no files left.
      )
      REM This is a jump mark. If you read all comment lines, you know, why it's here.
      :idiotfilter
      REM Well... what it says.
      EXIT
      

      PS: According to the preview, the code block seems not to recognize it as batch-script, so it may look a bit starnge.

      posted in Emulator Arcade/PC/Console
      The_Mole
      The_Mole
    • RE: PSX: Merging multiple discs into one

      Thanks,

      That method requires to Hotkey+B and switch discs in the menu, doesn't it?
      I currently use an English FF IX ROM that behaves like the Steam-version
      ... as if the creator had combined all CDs into one ISO, removed the "insert disc"-screens and then converted it to pbp.

      How can I achieve that?

      posted in Emulator Arcade/PC/Console
      The_Mole
      The_Mole
    • PSX: Merging multiple discs into one

      Hey,

      while waiting for the stable version for the 3b+, I've decided to convert my old localized PSX originals to pbp. With the few words of French I remember from school I was able to find instructions (or at least links to tutorials) that made this quite easy for single disc games.

      The multi disc tutorials, however, always require to switch the CD-number in the settings. This would work for me but I guess everybody has that one family member that better does not even know about a settings menu.

      However, I was able to find English versions - of for example Final Fantasy or Oddworld - that have the complete game on one disc. Could anyone please point me in the right direction, so I can convert my multi disc originals into single disc pbps?

      Thanks!

      posted in Emulator Arcade/PC/Console
      The_Mole
      The_Mole
    • RE: Testers wanted: major system upgrade (Pi3b+, KODI 17 and much more ...)

      Hey,

      I'm using the Christmas Beta on an Raspi 3B+ with a 32GB SD - no external storage devices.

      • My 8bitdo SF30 Pro Controller works without any problems on internal BT.
      • The shutdown script (Retroflag case) works but savegames are not written to SD, when switching off while still ingame (not sure if that's a script or recalbox problem)
      • Wifi takes a while to find and connect the AP, the first time but works well, afterwards.
      • Settings are not saved after exiting any emulator, I have to Hotkey+B every time I start a game. Even if I save the config in the menu, screen ratio will revert to "custom" after exiting the emulator.
      • N64 emulation is a bit laggy, sometimes, even when running on 1500MHz (using finned heatsinks on CPU and LAN, a copper heatspreader on ram and a 30mm fan in the case, so it shouldn't be a temp problem) - That's high-level moaning, however.

      If you need additional information, just ask.

      posted in Testers's corner
      The_Mole
      The_Mole