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

    Scanlines by default in Amiberry

    Scheduled Pinned Locked Moved General Discussion and Gaming
    amigaamiberryscanlines
    10 Posts 6 Posters 2.2k 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.
    • F
      foxp4v
      last edited by

      Hello to everyone, starting with Amiberry 2.24 it is possible to enable scanlines as line mode. It would be great if it is possible to eneable it globally and not per-game basis. In the FAQ of their site they refer to a file named amiberry.conf in the /conf/ directory. In Retropie this file does not exist, also creating it and putting the right command does not work.

      This is what is written in the FAQ:

      Q: Can I enable Scanlines by default for all games?
      A: Yes, with v2.24 onwards a new feature was added, you can make a change in the conf/amiberry.conf file:

      Open the file, and look for the line scanlines_by_default.
      Change the value of that line to yes and save the file again.
      Restart the emulator for the changes to take effect. Note: Scanlines requires that Line Doubling is also enabled, which will cause a performance hit, since double the amount of lines will have to be drawn on-screen. Also, if your vertical resolution is not enough to display scanlines, this option will have no effect (it will revert back to no scanlines automatically).

      Is there a method to make it work in Retropie too? Thanks in advance.

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @foxp4v
        last edited by

        @foxp4v According to the 2.24 release notes, amiberry.conf is the new name for adfdir.conf, the renaming occurring on startup of Amiberry 2.24 if the file is found.

        The adfdir.conf file used to be found in /opt/retropie/configs/amiga/amiberry/conf so amiberry.conf should be in the same location. Launch and quit Amiberry 2.24 if the file still has the old name.

        If the scanlines_by_default isn't available, then check that you are running version 2.24 in the About panel of the Amiberry GUI. If you are not running v.2.24, then you may need to install from source.

        F 1 Reply Last reply Reply Quote 0
        • F
          foxp4v @dudleydes
          last edited by

          @dudleydes thank for your reply, the version installed was 2.24b12 i'll try updating from source, the file present in the conf directory was adfdir.cnf

          D 1 Reply Last reply Reply Quote 0
          • D
            dudleydes @foxp4v
            last edited by

            @foxp4v I have looked through the recent commits for the Amiberry project and I can confirm that the option to enable global scanlines was added in v 2.24b13.

            Here are the relevant commits with dates:

            6 Dec 2018

            • Bumped version to 2.24b12 (commit #3654785)

            11 Jan 2019

            • Renamed adfdir.conf to amiberry.conf (#9c99adb)
            • Added global Scanlines by default YES/NO option in amiberry.conf file (#cecbd26)
            • Bumped version to 2.24b13 (commit #eb06777)

            Updating from source will install the latest version of Amiberry, which is now v2.24. Once installed, you should launch the +Start Amiberry script. This should rename the config file to amiberry.conf, which should include the option to enable global scanlines.

            1 Reply Last reply Reply Quote 0
            • F
              foxp4v
              last edited by

              Thank You, worked great, now the 2.24 is installed also with binaries.

              1 Reply Last reply Reply Quote 0
              • F
                fomt
                last edited by fomt

                I have set scanlines on by default in amiberry.conf
                But it only looks good in certain resolution. Pinball Dreams and Pinball Fantasies for example works best with screen height 270. Or else I got white wobbling lines, dont now how to describe it. Anyone else having that problem?
                Dont know how I can override the settings in whdload_db.xml if I want to change resolution.
                If I save the configs in an UAE file, then I loose my controller, its not detcted, so I must reboot, cant exit the game.
                Retropie. RetroArena on Odroid Xu4

                sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                • sirhenrythe5thS
                  sirhenrythe5th @fomt
                  last edited by

                  for everyone who is searching this "scanlines_by_default=yes/no" in the amiberry.cfg file without finding it (like me :D) -> it is now

                  line_mode=0 (0,1 or 2 possible; 0=none, 1=double, 2=scanlines)

                  So "line_mode=2" is the command in the config-file to have scanlines by default in the newer versions of amiberry.

                  -- Retro-Achievements Username: SirALX --
                  RetroRatio: 1.88
                  Started Games beaten: 2,47%
                  Site Rank: 4382/93743 ranked users (TOP 4.76%)
                  Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                  sirhenrythe5thS 1 Reply Last reply Reply Quote 1
                  • sirhenrythe5thS
                    sirhenrythe5th @sirhenrythe5th
                    last edited by

                    With the Update to 5.x there is no "line_mode=" anymore in the amiberry.conf.
                    Does anyone know if it is still possible to set scanlines global?

                    -- Retro-Achievements Username: SirALX --
                    RetroRatio: 1.88
                    Started Games beaten: 2,47%
                    Site Rank: 4382/93743 ranked users (TOP 4.76%)
                    Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      nemo93 @sirhenrythe5th
                      last edited by

                      @sirhenrythe5th Doc is available there. You have to specify:

                      default_line_mode=2
                      

                      Hope this helps.

                      sirhenrythe5thS 1 Reply Last reply Reply Quote 1
                      • sirhenrythe5thS
                        sirhenrythe5th @nemo93
                        last edited by

                        @nemo93 Thank you very much nemo!
                        Also for the Doc - perfect!

                        -- Retro-Achievements Username: SirALX --
                        RetroRatio: 1.88
                        Started Games beaten: 2,47%
                        Site Rank: 4382/93743 ranked users (TOP 4.76%)
                        Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                        1 Reply Last reply Reply Quote 0
                        • 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.