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

    Macintosh (Basilisk II) 8-bit Color

    Scheduled Pinned Locked Moved Help and Support
    basilisk iimacintosh8-bit color
    222 Posts 11 Posters 89.6k 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.
    • edmaul69E
      edmaul69 @Meneer Jansen
      last edited by

      @meneer-jansen i will look into those files. I had extra images preserving my good image that was already in 256 color. So luckily my good one is working now.

      1 Reply Last reply Reply Quote 0
      • S
        spud11
        last edited by

        Well, I managed to get Prince of Persia 1 to work for a short time following the guide in post 137.

        I followed that guide strictly and I was very impressed by the full colour version of POP1 which seemed to work very well, albeit I couldn't figure out what the default controls are. (Are there keyboard controls?)

        The reason I was using POP1 and not POP2 was because I have not been able to find the files meneer-jansen mentioned. I wasn't able to find the correct "Starterdisk.hfv" (the only one I found was for POP1) and I couldn't find "Oldgames.hfv" at all. (And no, I'm not asking for them here either.)

        More interestingly, I ran into the "Black Screen of Death" as well.

        As POP1 was working well, I thought I would set up my system so that I could play multiple Mac games fairly easily.

        I'm using Attract Mode so I changed my Apple Macintosh.cfg file in \attractmode\emulators\ to read:

         # Generated by Attract-Mode v2.2.1
        #
        executable           /opt/retropie/supplementary/runcommand/runcommand.sh
        args                 0 _SYS_ macintosh "[romfilename]"
        rompath              /home/pi/RetroPie/roms/macintosh
        romext               .sh;.SH
        system               Apple Macintosh
        info_source          thegamesdb.net
        artwork    flyer           /home/pi/RetroPie/roms/macintosh/flyer
        artwork    marquee         /home/pi/RetroPie/roms/macintosh/marquee
        artwork    snap            /home/pi/RetroPie/roms/macintosh/snap
        artwork    wheel           /home/pi/RetroPie/roms/macintosh/wheel
        

        I changed my emulators.cfg to:

        default = "basilisk"
        basilisk = "bash %ROM%"
        

        And I added a bash script to my /roms/macintosh folder called POP.sh (and made it executable) as follows:

        #!/bin/bash
        sudo /opt/retropie/emulators/basilisk/bin/BasiliskII --rom /home/pi/RetroPie/roms/macintosh/mac.rom --disk /home/pi/RetroPie/roms/macintosh/disk.img --disk /home/pi/RetroPie/roms/macintosh/disk02.img --extfs /home/pi/RetroPie/roms/macintosh --config /opt/retropie/configs/macintosh/basiliskii.cfg
        

        I did this on the basis that it would allow me to set up separate bash scripts for each game (eg one for POP1 and one for POP2) just by changing disk02.img in the above script to whatever Mac game I wanted to run. (This kind of script has worked in the past for several other "fiddly" systems I've installed.)

        Unfortunately, it didn't work and POP1 stopped working altogether with the dreaded black screen. I've had to switch the Pi off then on as I couldn't do anything else with it.

        I've tried deleting the basiliskii.cfg and the basilisk_ii.prefs, but doing that doesn't make it work again. Next I'll probably try uninstalling and reinstalling basilisk2 from scratch and see whether I can get POP1 to work again and to figure out the controls. (By the way, I couldn't delete the basilisk_ii_xpram file because it didn't exist on my system .)

        RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

        edmaul69E Meneer JansenM 2 Replies Last reply Reply Quote 0
        • edmaul69E
          edmaul69 @spud11
          last edited by

          @spud11 you should just reinstall basilisk so it refixes the emulators.cfg. First of all pop 1 & 2 can be installed in the same os. Why need seperate scripts? Second you can just create a basilisk2 in the emulators.cfg if you need to boot a different image and create info there. The files in the roms folder can be blank inside. Just name them how you want. Then when you boot the blank file press a button to configure and select emulator + rom and choose which basilisk you want to run for that particular file. You seem to have just made things more difficult for yourself. Using 1 image file you can have as many games in it as it runs just like any other operating system with a gui.

          S 1 Reply Last reply Reply Quote 0
          • S
            spud11 @edmaul69
            last edited by

            @edmaul69 Thanks. But if I have both POP1 and POP2 in the same disk image, when I've started Basilisk, won't I then need to select which game to play? If that's the case, I'd prefer to be able to select a game in Attract Mode which then immediately starts that particular game in Basilisk.

            RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

            edmaul69E 1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @spud11
              last edited by edmaul69

              @spud11 yes you can do it that way. Still i would just use blank files in the roms folder and put everything in the emulators.cfg. If you put all the info in the rom files it may bypass the emulators.cfg and you can lose the runcommand options to set video settings and emulator settings and stuff.

              S 1 Reply Last reply Reply Quote 0
              • S
                spud11 @edmaul69
                last edited by

                @edmaul69 Okay, I think I understand. Thanks.

                RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @spud11
                  last edited by edmaul69

                  @spud11 and in the blank files remove the .sh. They dont need a file extension and im pretty sure they dont need to be executable either when done this way.

                  1 Reply Last reply Reply Quote 0
                  • Meneer JansenM
                    Meneer Jansen @spud11
                    last edited by Meneer Jansen

                    @spud11 said in Macintosh (Basilisk II) 8-bit Color:
                    [...] I couldn't figure out what the default controls are. (Are there keyboard controls?)

                    PoP2 (I think it's the same for PoP1) needs to be controlled w/ the keyboard, preferably w/ the nummeric pad. Coltrol = sword, Shift = smallstep or hang on ledge. I can remember that the MS-DOS version had an option to use a joystick. Unfortunately I cannot refer to a website with allmost all information one neends on PoP because it contains copyrighted material, or at least links to that. Maybe the mods will let me say that the site is called "Prince of Persia Unofficial Site" (Google is your friend).

                    Unfortunately I have no experience w/ "attract mode" so I cannot help you w/ the rest. BasiliskII is very, very tricky to get to work (in 256 colors) as you've noticed. Good luck w/ getting it to work on you system and let us know if and how you succeeded!

                    Avid Linux user.

                    S 1 Reply Last reply Reply Quote 1
                    • F
                      FranceMSR
                      last edited by FranceMSR

                      If you want to play Prince of Persia with Basilisk II you have to simply change the option displaycolordepth on basiliskii.cfg BEFORE you change the same option in the MacOS control panel. So:
                      nano /opt/retropie/configs/macintosh/basiliskii.cfg

                      displaycolordepth 8

                      Then enable dispmanx for basilisk on RetroPie Setup. At this point start the emulator and ONLY NOW you can change the color on 256 mode ;-)

                      Not tricky, you have to do the right things in the right order ;-)

                      Bye all

                      Reference: http://www.retropie-italia.it/viewtopic.php?f=61&t=753

                      Meneer JansenM 1 Reply Last reply Reply Quote 0
                      • S
                        spud11 @Meneer Jansen
                        last edited by

                        @meneer-jansen Thanks for that. I'll have a go during the next couple of days sorting out the controls based on those keyboard commands you've suggested, once I've got the game up and running again. I also found the files I was missing in another pack. Thanks.

                        @FranceMSR Thanks for that suggestion. I had tried again today using the original order, but couldn't get the game to work, possibly/probably because of the order in which I was doing each thing. I'll try the order you have suggested and hopefully I'll succeed this time and will report back.

                        RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

                        1 Reply Last reply Reply Quote 0
                        • Meneer JansenM
                          Meneer Jansen @FranceMSR
                          last edited by

                          @francemsr said in Macintosh (Basilisk II) 8-bit Color:

                          If you want to play Prince of Persia with Basilisk II you have to simply change the option displaycolordepth on basiliskii.cfg BEFORE you change the same option in the MacOS control panel. So:
                          nano /opt/retropie/configs/macintosh/basiliskii.cfg

                          displaycolordepth 8

                          Then enable dispmanx for basilisk on RetroPie Setup. At this point start the emulator and ONLY NOW you can change the color on 256 mode ;-)

                          Not tricky, you have to do the right things in the right order ;-)

                          Bye all

                          Reference: http://www.retropie-italia.it/viewtopic.php?f=61&t=753

                          Just for my information: can one run BasiliskII without activating dispmanx at all? I thought one couldn't. Info appreciated. :-)

                          Avid Linux user.

                          F edmaul69E 2 Replies Last reply Reply Quote 0
                          • F
                            FranceMSR @Meneer Jansen
                            last edited by FranceMSR

                            @meneer-jansen said in Macintosh (Basilisk II) 8-bit Color:

                            Just for my information: can one run BasiliskII without activating dispmanx at all? I thought one couldn't. Info appreciated. :-)

                            Yes, but you can't change the color mode on 256 (8 bit) ;-)

                            Meneer JansenM 1 Reply Last reply Reply Quote 0
                            • Meneer JansenM
                              Meneer Jansen @FranceMSR
                              last edited by

                              @francemsr said in Macintosh (Basilisk II) 8-bit Color:

                              @meneer-jansen said in Macintosh (Basilisk II) 8-bit Color:

                              Just for my information: can one run BasiliskII without activating dispmanx at all? I thought one couldn't. Info appreciated. :-)

                              Yes, but you can't change the color mode on 256 (8 bit) ;-)

                              Thanks. Can you check/proof read my procedure in post 137? Are the steps in proper order now?

                              Avid Linux user.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                FranceMSR @Meneer Jansen
                                last edited by

                                @meneer-jansen said in Macintosh (Basilisk II) 8-bit Color:

                                Thanks. Can you check/proof read my procedure in post 137? Are the steps in proper order now?

                                The only necessary thing is that you enable dispmanx for basilisk and change the color depth in the configuration file BEFORE you change the same option on MacOS ;-)

                                I don't use a pre-made disk but install MacOS from scratch with empty virtual disk, so I don't use the 16 grays option step.

                                Check now for a screenshots of the results here:
                                http://www.retropie-italia.it/viewtopic.php?f=61&t=753

                                Here there is a guide (in italian) for installing MacOS from scratch:
                                http://www.retropie-italia.it/viewtopic.php?f=61&t=752

                                1 Reply Last reply Reply Quote 0
                                • edmaul69E
                                  edmaul69 @Meneer Jansen
                                  last edited by

                                  @meneer-jansen yes thousands of colors and millions of colors won’t run with dispmanx hence why you need to switch it to b&w before enabling dispmanx and displaycolordepth 8. You dont need runcommand-onstart and runcommand-onend. If this is added to the wiki i wouldnt have it as a tutorial just for the pop games. I have a ton of games on mine. I also set /home/pi/RetroPie/roms/macintosh/ as my second drive instead of an image then i can just put my apple programs in there and then install them inside basilisk. Eliminating the need to use basiliskii on the pc every time i want to add programs.

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    FranceMSR @edmaul69
                                    last edited by

                                    @edmaul69 said in Macintosh (Basilisk II) 8-bit Color:

                                    @meneer-jansen yes thousands of colors and millions of colors won’t run with dispmanx hence why you need to switch it to b&w before enabling dispmanx and displaycolordepth 8. You dont need runcommand-onstart and runcommand-onend. If this is added to the wiki i wouldnt have it as a tutorial just for the pop games. I have a ton of games on mine. I also set /home/pi/RetroPie/roms/macintosh/ as my second drive instead of an image then i can just put my apple programs in there and then install them inside basilisk. Eliminating the need to use basiliskii on the pc every time i want to add programs.

                                    I repeat: The only necessary thing is that you enable dispmanx for basilisk and change the color depth in the configuration file BEFORE you change the same option on MacOS ;-)

                                    Not funny procedure like change color to black and white or other things acting as a magician :D

                                    edmaul69E 1 Reply Last reply Reply Quote 0
                                    • edmaul69E
                                      edmaul69 @FranceMSR
                                      last edited by

                                      @francemsr You cannot switch it to enable dismanx or displaycolordepth 8 if your macos is in thousands of colors or millions of colors. They do not work with dispmanx enabled. And if you try to switch to 256 colors without dispmanx enabled it crashes basilisk. If you try to boot a thousands+ colors set in macos with dispmanx enabled everything crashes. Hence why you need to either switch to b&w or have it already set to 256 colors before being changing dispmanx on the pi.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        FranceMSR @edmaul69
                                        last edited by

                                        @edmaul69 said in Macintosh (Basilisk II) 8-bit Color:

                                        @francemsr You cannot switch it to enable dismanx or displaycolordepth 8 if your macos is in thousands of colors or millions of colors. They do not work with dispmanx enabled. And if you try to switch to 256 colors without dispmanx enabled it crashes basilisk. If you try to boot a thousands+ colors set in macos with dispmanx enabled everything crashes. Hence why you need to either switch to b&w or have it already set to 256 colors before being changing dispmanx on the pi.

                                        You're wrong. I installed MacOS 7.5.3 that by default is set to thousands of colors. Then I enabled dispmanx, then changed color depth to 8 in configuration file. At that point I started MacOS and change colors from thousands to 256. It works without any problem, see here for the result:
                                        http://www.retropie-italia.it/viewtopic.php?f=61&t=753

                                        edmaul69E 2 Replies Last reply Reply Quote 0
                                        • edmaul69E
                                          edmaul69 @FranceMSR
                                          last edited by

                                          @francemsr i have done this many times. Even tested it three times today with the same results as the many many times i tried before.

                                          1 Reply Last reply Reply Quote 0
                                          • edmaul69E
                                            edmaul69 @FranceMSR
                                            last edited by edmaul69

                                            @francemsr i made a video as proof.

                                            F 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.