Login  •  Register


The time is now: Wed Sep 19, 2018 9:09 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 3 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sat Jul 07, 2018 2:45 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 899
Now that kanjitalk755's terrific work on BasiliskII has made it full 64-bit and based on SDL2, is there any hope for BasiliskII counterparts to the self-contained SheepVM folders in SheepShaver? It would be very good to have this, but I know that it will take a lot of work...


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Jul 08, 2018 3:25 am 
Online
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2194
Location: Emaculation.com
Actually, for BII I found it wasn't needed because of the --config flag.

Here's what I did:

Take a BII.app and rename the binary in BII.app/Contents/MacOS/BasiliskII to BII.app/Contents/MacOS/BII

Create a new document at BII.app/Contents/MacOS/BasiliskII with the following contents:

Code:
#!/bin/sh
mypath=`dirname "$0"`
res="../Resources"
cd "$mypath"
HOME="$mypath/$res"
./"BII" --config "$HOME/Config"


From the command line, chmod a+x the new BasiliskII file.

Place a file named Config in BII.app/Contents/Resources/ and place your ROM and disk images in that folder as well.

I use 1MB partitioned sparsebundles for my disk images so that Time Machine just has to back up any new or modified 1MB sparse files instead of backing up the entire disk image every time there's a change.

You could mess with the info.plist file to define a .BIIVM extension as well and modify your BII app to look for the right launching script when one is loaded, but this is more complex and not needed.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Jul 08, 2018 11:51 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 899
That's excellent! I've been using this more complex method:

viewtopic.php?f=6&t=8020

But it would be good to have the .biivm technology built into the application as it is in SheepShaver...


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 3 posts ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group