• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

lr-atari800, 5200, artifacting, BASIC, and other guidance

Scheduled Pinned Locked Moved Help and Support
lr-atari800atari5200atari 8-bitatari 800artifacts
55 Posts 9 Posters 15.4k 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.
  • R
    roslof @roslof
    last edited by roslof 27 Dec 2019, 03:31

    I see now that runcommand is supposed to automatically launch runcommand-onstart.sh if it exists. I added a line to the script to output a text string to /dev/shm/runcommand.log, but it doesn't appear. I don't think runcommand-onstart.sh is actually running.

    I'm running the unsupported Buster version of Retropie, so maybe I stumbled on something funky. Will keep playing with this.

    EDIT: I didn't change anything, but the script is suddenly working and I can see my custom string in runcommand.log. Excellent. Will tinker with my ROM filenames and see if I could get this to work.

    R 1 Reply Last reply 21 Jan 2020, 04:47 Reply Quote 0
    • R
      rkoster @roslof
      last edited by 21 Jan 2020, 04:47

      @roslof Hope you got it working! Apologies, I have been busy and not visiting the forum.

      Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

      R J 2 Replies Last reply 20 Aug 2020, 01:54 Reply Quote 0
      • R
        roslof @rkoster
        last edited by roslof 20 Aug 2020, 01:54

        @rkoster I did, yes. Thank you!

        There were three gotchas:

        1. I had a retroarch-core-options.cfg in my atari800 config directory. The script was altering the one in configs/all. So I just tweaked the script to point to the configuration directory.

        2. I had already overrode a bunch of individual files, which of course would override any changes made by the script. I nuked the manual game overrides and viola! Everything worked perfectly.

        3. I figured out that your script actually calls BASIC-Rom B, which I wasn't expecting, and the Crash, Crumble and Chomp game wouldn't load. So... I took care of that.

        Great stuff here!

        R 1 Reply Last reply 20 Aug 2020, 05:29 Reply Quote 0
        • R
          rkoster @roslof
          last edited by 20 Aug 2020, 05:29

          @roslof IIRC Crush Crumble and Chomp is a Basic Rev A game, along with OSa. The vast majority of games with fine with Basic B, which is the default recommended install everywhere, but there are a small handful of games that don’t work...

          Do you mean the script was loading the wrong one for that game?

          Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

          R T 2 Replies Last reply 20 Aug 2020, 05:49 Reply Quote 0
          • R
            roslof @rkoster
            last edited by roslof 20 Aug 2020, 05:49

            @rkoster I don't think anything was wrong. I didn't have a ROM for BASIC-B, per RetroPie guidance.

            For me, I believe OSb is calling BASIC B with this line:

            sed -i 's/BASIC\_VERSION=.*/BASIC\_VERSION=B/g' /opt/retropie/configs/atari800/atari800.cfg
            

            The ATR filename I have is named like this:

            Crush Crumble and Chomp (1981)(Epyx)(US)[a][req OSb][BASIC].atr
            
            1 Reply Last reply Reply Quote 0
            • T
              TPR @rkoster
              last edited by 15 Dec 2020, 04:50

              @rkoster Is there any way to disable the "x" key to not bring up the virtual keyboard? I know I can hit scroll lock to turn on game focus mode, but I'd like to just completely disable that or change it to another key. I can't figure how where this mapping exists so I can change it.

              Thank you.

              R 1 Reply Last reply 15 Dec 2020, 16:58 Reply Quote 0
              • R
                rkoster @TPR
                last edited by 15 Dec 2020, 16:58

                @tpr I think it's hardcoded.

                Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                1 Reply Last reply Reply Quote 0
                • J
                  jamrom2 @rkoster
                  last edited by 12 Mar 2021, 14:51

                  @rkoster Sorry to bump and old thread, but your hard work and dedication warrants it. After spending the better part of the Covid year reworking my entire build, I finally got around to sorting out the Atari 800 side.

                  Thank you so much for making this as easy as adding an extra BIOS file, editing 1 file and making sure the roms are named what they need to be. Wow... what a difference you made to A800 gaming. It's great to see Ultima in the correct color scheme as well as resolution as I remember playing it at a friends house back in 1984 everyday after school.

                  The only thing I am hoping for is a better way to swap disks... unless you've figured that out as well. LOL.

                  Thanks again!

                  R 1 Reply Last reply 12 Mar 2021, 18:03 Reply Quote 1
                  • R
                    rkoster @jamrom2
                    last edited by 12 Mar 2021, 18:03

                    @jamrom2 Aw, thanks for the kind words. I did put in a lot of time, so it is always nice to get positive feedback!

                    Alas, there is not yet an easy way to swap disks. The built-in multidisk system in Retropie doesn't work on the Atari 8 bits yet.

                    Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                    J 1 Reply Last reply 15 Mar 2021, 13:57 Reply Quote 0
                    • J
                      jamrom2 @rkoster
                      last edited by 15 Mar 2021, 13:57

                      @rkoster is there any kind of usable method at all? I've tried using an m3u file, that didn't work... and I can't imagine having all my games unzipped in one list. That would look like a mess.

                      I even tried using folders, which works good... but you can't assign graphics to a folder...so my list is blank for meta data on those titles.

                      R 1 Reply Last reply 15 Mar 2021, 16:46 Reply Quote 0
                      • R
                        rkoster @jamrom2
                        last edited by 15 Mar 2021, 16:46

                        @jamrom2 You can do it via the emulator's own menu, which has all sorts of disk management. But there isn't a way to do it with a single keystroke.

                        Also, as I mention in the guide, be sure to back up your second disks, as often they have save games and get overwritten and the like.

                        Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                        J 2 Replies Last reply 15 Mar 2021, 17:01 Reply Quote 0
                        • J
                          jamrom2 @rkoster
                          last edited by 15 Mar 2021, 17:01

                          @rkoster will do. Thank you!

                          1 Reply Last reply Reply Quote 0
                          • J
                            jamrom2 @rkoster
                            last edited by jamrom2 19 Apr 2021, 16:48

                            @rkoster Hiya.

                            I had this working fine. Not sure what I changed... but now I can't seem to run anything without the artifacting on. Every game has it on, and I seem to be locked into CITA no matter what I select

                            I tried starting from scratch, but no help.

                            So no matter what mode I in the Launch menu, I get this in lr-atari800's menus.

                            1. In the lr-atari800 core ... under Options - "Hi-Res Artifacting" is "ON"
                            2. In the lr-Atari800 emulator menu (F1) - Display Settings - Video Art*: old NTSC
                              NTSC artifacting mode: CITA

                            Any ideas?

                            Thanks!

                            Here's my runcommand.log

                            atari800
                            lr-atari800-gtia
                            /home/pi/RetroPie/roms/atari800/Drol (1983)(Broderbund).zip
                            Launching with GTIA artifacting.
                            Parameters:
                            Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-atari800/atari800_libretro.so --config /opt/retropie/configs/atari800/retroarch.cfg "/home/pi/RetroPie/roms/atari800/Drol (1983)(Broderbund).zip" --appendconfig /dev/shm/retroarch.cfg
                            [libretro-atari800]: Got size: 336 x 240.
                            [libretro-atari800]: Got size: 336 x 240.
                            [libretro-atari800]: Got size: 336 x 240.
                            [libretro-atari800]: Got size: 336 x 240.
                            Using Atari800 config file: /home/pi/.lr-atari800.cfg
                            Created by Atari 800 Emulator, Version 3.1.0

                            Core init
                            First retrun to main thread!
                            port(0)=513
                            port(1)=513
                            port(2)=1
                            port(3)=1

                            R 1 Reply Last reply 19 Apr 2021, 17:54 Reply Quote 0
                            • R
                              rkoster @jamrom2
                              last edited by 19 Apr 2021, 17:54

                              @jamrom2 I haven't had to mess with this in some time -- and I have not updated my Retropie either.

                              That said -- didn't I see that there was an update recently to lr-atari800 that moved the location of the atari800.cfg file? If so, my script may need to be updated.

                              Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                              J 1 Reply Last reply 19 Apr 2021, 18:19 Reply Quote 0
                              • J
                                jamrom2 @rkoster
                                last edited by 19 Apr 2021, 18:19

                                @rkoster yes, there has been. It's using lr-atari800.cfg in the same folder...

                                but I still can't figure out how I am locked into one setting no matter what I choose. It there something that over-writes?

                                Also, I noticed something odd... when I open the file above.. the statement ARTIFACT_NTSC_MODE=NONE keeps getting changed to "0ONE" with a zero instead of an "N".

                                So trying to figure this out, I'm looking for the path that everything follows. What reads first to tell lr-Atari800 what to do, then where does your script fit in?

                                Somewhere in that chain it's broken and not displaying what is being asked of it.

                                R 1 Reply Last reply 19 Apr 2021, 19:06 Reply Quote 0
                                • R
                                  rkoster @jamrom2
                                  last edited by 19 Apr 2021, 19:06

                                  @jamrom2 My script basically looks at the filename of the ROM before you load it, and modifies the atari800.cfg on the fly to match what the filename wants. Then it ends and launches the emulator, which loads the way it would normally -- but of course, its settings were changed out from under it.

                                  The fact that your .cfg is changing means something else is writing to it. Do you by any chance have "save on exit" enabled in the Retroarch menus, or something?

                                  Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                                  J 2 Replies Last reply 19 Apr 2021, 21:29 Reply Quote 0
                                  • J
                                    jamrom2 @rkoster
                                    last edited by 19 Apr 2021, 21:29

                                    @rkoster yes, that could be it. I'll look at that as well.

                                    I can see the script is working, the emulator is somehow passing over the final graphics selection.

                                    I'll start there and keep playing with it. It's most likely something very simple somewhere . The games work, it's just the video that's the problem.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jamrom2 @rkoster
                                      last edited by 20 Apr 2021, 12:59

                                      @rkoster so after a serious amount of testing and tweaking this morning. I have the reason why this is not working, but I can't seem to fix it.

                                      The retroarch-core-options.cfg file is not updating to reflect the request of the script.

                                      The script works fine. It posts the "echo" command in the runcommond.log as it's supposed to. Runs the correct mode, and updates the "ARTIFACT" settings area in lr-atari800.cfg to the requested mode. So I see whatever mode I select in the game fine.... until I don't want it on.

                                      But the first line of retroarch-core-options.cfg never changes when you select the default lr-atari800 mode. It always says "enabled" unless I manual change it to "disabled", then of course it stays disabled until I change it manually again.

                                      I've lowered the permissions of the folder and file to 777, so it's able to work with it. I see the time-signature change as if it's looking at the file, but the information remains the same. No changes.

                                      I didn't have this issue before lr-atari800 was updated... so something has changed... or I have a permission wrong. Not sure what I missed.

                                      R 1 Reply Last reply 20 Apr 2021, 13:53 Reply Quote 0
                                      • R
                                        rkoster @jamrom2
                                        last edited by 20 Apr 2021, 13:53

                                        @jamrom2 Thanks for the additional info! Can you try some things for me?

                                        First, can you verify that the line in retroarch-core-options.cfg is still atari800_artifacting?

                                        Second, can you see if it's really just that line, or any line at all? Try an OSa vs OSb game, does atari800_system change as it should? Or for other games, atari800_internalbasic? Or atari800_ntscpal?

                                        Basically, I'm trying to figure out whether it's artifacting only, or whether the whole script is broken... It sure sounds like the whole file isn't editable by the script for some reason.

                                        Github/helper scripts * Creativision/Arcadia/Astrocade guide * Amiga guide * Atari 8bit guide

                                        J 1 Reply Last reply 20 Apr 2021, 15:11 Reply Quote 0
                                        • J
                                          jamrom2 @rkoster
                                          last edited by 20 Apr 2021, 15:11

                                          @rkoster Yes, still atari800 is on every line...

                                          atari800_artifacting = "enabled"
                                          atari800_cassboot = "disabled"
                                          atari800_internalbasic = "disabled"
                                          atari800_keyboard = "poll"
                                          atari800_ntscpal = "NTSC"
                                          atari800_opt1 = "disabled"
                                          atari800_opt2 = "disabled"
                                          atari800_resolution = "336x240"
                                          atari800_sioaccel = "enabled"
                                          atari800_system = "130XE (128K)"

                                          And yes... I agree. Now that I've been testing games, I noticed many don't work that require BASIC or OSb. Hellcat Ace is one, as well as Crush Crumble and Chomp.

                                          If you need help, let me know. I'm happy to. I don't want to just dump this one on you. You've done a great job of making this emulator work really well.

                                          R 1 Reply Last reply 20 Apr 2021, 16:03 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received