Macintosh (Basilisk II) 8-bit Color
-
@mediamogul i found my issue of it not booting every time. i had a typo in the basiliskii.cfg. i have the on start and on end set how @Meneer-Jansen posted it. it works all the time now. thank you both.
-
I just tested mine without the onstart/end scripts, and while it never crashed for me with them on, everything is running fine without them. @Meneer-Jansen, I think it's probably safe if you want to remove those particulars in your guide above for posterity. While still not a perfect solution, I'm satisfied with what we now have as-is. If you guys ever experiment with streamlining the process, or learn anything new I'd always be interested to hear it.
-
Hi. There was some reference to lxde earlier in this thread, but I'm assuming we don't need this - that we can just install BasiliskII following items 1 to 9 of Meneer Jansen's guide in this thread from a day ago (and pray it works!)
-
@spud11 yes just use his latest guide except ignore the runcommand stuff. If the img file isnt already in 16 color b&w or 256 color, do not add the “displaycolordepth 8” to the basiliskii.cfg or set the dispmanx to “enabled” in retropie-setup.
-
@spud11 so if it isnt in 256 color, set it to 16 color b&w. Then add the other stuff in the guide above. After that boot the img thats set to b&w then change to 256 colors. You cant set it to 256 colors when it is in thousands or millions of colors. It crashes the program if you do.
-
@edmaul69 Okay, thanks so much for your help on this. I'll have a crack at it this evening after work and let you know. I haven't played around with BasiliskII on Linux or Retropie yet, but have on Windoze and, sadly, it hasn't been a happy experience so far.
-
@edmaul69 said in Macintosh (Basilisk II) 8-bit Color:
@mediamogul @Meneer-Jansen can you post your emulators.cfg files?
basilisk = "/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" default = "basilisk"
-
@mediamogul said in Macintosh (Basilisk II) 8-bit Color:
streamlining the process, or learn anything new I'd always be interest
Did that, see: https://retropie.org.uk/forum/topic/1049/macintosh-basilisk-ii-8-bit-color/137 (i.e. post No. 137 in this here topic). :-)
-
@spud11 said in Macintosh (Basilisk II) 8-bit Color:
Hi. There was some reference to lxde earlier in this thread, but I'm assuming we don't need this - that we can just install BasiliskII following items 1 to 9 of Meneer Jansen's guide in this thread from a day ago (and pray it works!)
You're right: I do not need LXDE anymore. The procedure from a day ago that you referred too is in post 137 here.
-
@edmaul69 said in Macintosh (Basilisk II) 8-bit Color:
@spud11 so if it isnt in 256 color, set it to 16 color b&w. Then add the other stuff in the guide above. After that boot the img thats set to b&w then change to 256 colors. You cant set it to 256 colors when it is in thousands or millions of colors. It crashes the program if you do.
What exactly do you mean? Must one set BII to "16 gray shades, B&W" before activating dispmanx and setting the "displaycolordepth 8" option in
/opt/retropie/configs/macintosh/basiliskii.cfg
? So do you mean that the correct procedure must be:- Start BasiliskII and set the color mode to 16 gray shades by clicking on the Apple logo at the upper left hand side and choosing:
Control panels --> Monitors --> tick "Gays" and "16". - Activate dispmanx for BII and set
displaycolordepth 8
in BII's config file.
Does BII crash if you don't do it this way?
P.S. Proof reading of the procedure in post 137 is needed.
- Start BasiliskII and set the color mode to 16 gray shades by clicking on the Apple logo at the upper left hand side and choosing:
-
@meneer-jansen yes if it isn't already in 256 color, it crashes if you dont change it to 16 color gray/b&w before adding the dispmanx and displaycolordepth 8 and try to change it to 256 color first. In fact it can even trash the image so that it’s unusable. Just from my issues i had with dispmanx, 2 images i had in b&w and kept trying to change to 256 colors are now unusable with or without dispmanx. I might be able to stick them on pc and fix them but i havent tried that yet. So your guide looks correct, i was just making sure he was well aware of needing to do that first.
-
@edmaul69 said in Macintosh (Basilisk II) 8-bit Color:
@meneer-jansen yes if it isn't already in 256 color, it crashes if you dont change it to 16 color gray/b&w before adding the dispmanx and displaycolordepth 8 and try to change it to 256 color first. In fact it can even trash the image so that it’s unusable. Just from my issues i had with dispmanx, 2 images i had in b&w and kept trying to change to 256 colors are now unusable with or without dispmanx. I might be able to stick them on pc and fix them but i havent tried that yet. So your guide looks correct, i was just making sure he was well aware of needing to do that first.
That's unfortunate. Maybe (in the future) you can try the following. I've noticed that BasiliskII creates hidden files in the home directory. Maybe they contain settings that mess your image up. Maybe deleting them helps. They are:
/home/pi/.basilisk_ii_prefs /home/pi/.basilisk_ii_xpram
-
@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.
-
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 thebasilisk_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 thebasilisk_ii_xpram
file because it didn't exist on my system .) -
@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.
-
@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.
-
@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.
-
@edmaul69 Okay, I think I understand. Thanks.
-
@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.
-
@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!
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.