Solution to "Cannot map RAM: File already exists"

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

I don't know if console output is useful; this is:

when i launch ss gui:

Code: Select all

18/05/09 15:58:16 [0x0-0x73073].com.graphisoft.ArchiCAD[848] DEBUG:  Module 1, diagnostic code 259 [ "lisystem" 1 ] 
18/05/09 16:02:27 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_drag_init: not implemented 
18/05/09 16:02:27 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_drag_init: not implemented 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_font_load: CALLED with -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-* 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_window_set_cursor: not implemented! (only warned once) 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_window_shape_combine_mask: not implemented! 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_window_shape_combine_mask: not implemented! 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_atom_intern: unimplemented (warned once) 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_atom_intern: unimplemented (warned once) 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:28 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:29 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:29 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:29 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:02:29 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_text_extents_wc: Not really implemented. Calling gdk_text_width 
18/05/09 16:02:29 [0x0-0x7b07b].SheepShaverGUI[873] ** WARNING **: gdk_text_extents_wc: Not really implemented. Calling gdk_text_width 
this is when i push the "start" button in the gui

Code: Select all

18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_text_extents_wc: Not really implemented. Calling gdk_text_width 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_text_extents_wc: Not really implemented. Calling gdk_text_width 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_window_register_dnd: not implemented 
18/05/09 16:07:59 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_cursor_new: not implemented! 
18/05/09 16:08:01 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_window_shape_combine_mask: not implemented! 
18/05/09 16:08:01 [0x0-0x85085].SheepShaverGUI[900] ** WARNING **: gdk_window_shape_combine_mask: not implemented! 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **:  
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
18/05/09 16:08:40 [0x0-0x85085].SheepShaverGUI[900] ** CRITICAL **: file ../gcache.c: line 160 (g_cache_remove): assertion `node != NULL' failed. 
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

I haven't used SheepShaverGUI for a very long time and I have not started SheepShaver from the GUI in years. I edit the prefs file directly in a text editor or use the built in preferences in the latest SheepShaver builds or the stand alone SheepShaverPrefs preferences editor.

When I try SheepShaverGUI, it gives a similar output in Console on my Mac. And I cannot start SheepShaver from the GUI ("Cannot open ROM file"), probably because the GUI wants full paths. But the problem we discuss here is related to SheepShaver, not to the GUI.

Or could it be? Did you set up SheepShaver with the GUI application? And which SheepShaver build do you use? If the version number is just 2.3, please tell the build date and/or from where you downloaded it. (All builds since May 2006 are version 2.3.)
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

i downloaded sheepshaver 2.3 (14may2006) here ;
gwenole.beauchesne.info/projects/sheepshaver/

i also tested older releases (no way to have them work)

i also tried to launch sheepshaver double clicking the sheepshaver.app (not the gui)

the console output changes, but mainly is this:

Code: Select all

19/05/09 09:47:51 /SheepShaver/SheepShaver.app/Contents/MacOS/SheepShaver[2703] CPSGetCurrentProcess(): This call is deprecated and should not be called anymore. 
19/05/09 09:47:51 /SheepShaver/SheepShaver.app/Contents/MacOS/SheepShaver[2703] CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore. 
19/05/09 09:47:51 [0x0-0x1d41d4].SheepShaver[2703] SheepShaver V2.3 by Christian Bauer and Mar"c" Hellwig 
19/05/09 09:47:51 [0x0-0x1d41d4].SheepShaver[2703] ERROR: Cannot map RAM: File exists. 
19/05/09 09:48:13 /SheepShaver/SheepShaver.app/Contents/MacOS/SheepShaver[2704] CPSGetCurrentProcess(): This call is deprecated and should not be called anymore. 
this is when i launch the executable out from the app package:

Code: Select all

19/05/09 09:48:13 [0x0-0x1d51d5].SheepShaver[2704] ERROR: Cannot map RAM: File exists. 
19/05/09 09:48:59 login[2709] USER_PROCESS: 2709 ttys000 
19/05/09 09:49:00 /SheepShaver/SheepShaver[2721] CPSGetCurrentProcess(): This call is deprecated and should not be called anymore. 
19/05/09 09:49:00 /SheepShaver/SheepShaver[2721] CPSSetForegroundOperationState(): This call is deprecated and should not be called anymore. 
19/05/09 09:49:00 login[2709] DEAD_PROCESS: 2709 ttys000 
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

The May 2006 version has many problems (even issues that can cause files to disappear). Gwenole Beauchesne has since suspended development of SheepShaver and BasiliskII. In the past three years, improvements have been added to cvs by different developers and most serious issues have been solved. There are no new "official" releases, but one can build from cvs to include the added improvements.

I myself use the latest build. See this sticky topic in the SheepShaver forum: http://www.emaculation.com/forum/viewtopic.php?t=5567

You can replace the old application by the new one.

The preferences editors (the built-in one and the separate application) replace the GUI. You can use either one.

A manual for setting up SheepShaver for the first time using the built-in preferences is here: http://www.emaculation.com/doku.php/she ... os_x_setup
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

I downloaded your build of SS. No difference: it doesn't start.

The terminal (if i pull the executable outside package) always state: cannot map ram.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

I am afraid that we will not find a solution until someone discovers the cause of the problem. The problem apparently only affects some Intel machines with Leopard. If the problem would be more widespread, there would not be only a few reports of this problem and so many threads about other issues with SheepShaver. Why (re-)installing the latest 10.5.x combo updater solves the problem in many cases is just as much a mystery as the problem itself.

I wished that someone with a more intimate knowledge and understanding of the source code would try and find when the error "Cannot map RAM: File exist" occurs. That could possibly help.

BTW: The messages about depreciated calls are not a problem for running the application. It is simply is a warning to the developer that Apple could (and probably will) remove them in a future version of OSX.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

I agree. A serious (or stupid) bug in the code.

I should say that apple made a big mistake, abandoning classic.
Who knows, maybe SS deserves a bit of attention from those who can.

Many thanks for your help!
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

This is GREEEEEEEEAAAAAAAAAAAAAT! I MADE IT!

Very difficult, but listen:

1 - you DO need Apple Xcode (or you can't build anything, CVS command not recognized)

1bis (ehe) - you need X11 installed (optional? when you install macosx leopard)

2 - I downloaded/installed last xcode from apple: xcode312_2621_developerdvd

3 - I followed the istruction for building SheepShaver as you provided (on my macpro, intel, leopard 10.5.7)

4 - As you stated, the app crashed on launch... but i go on!!!

5 - I found the sheepshaver.app in a folder named "unix" (why? boh! found with a spotlight search)

6 - I pulled out the executable SheepShaver from the package

7 - I put that executable in the folder i had with the not working SheepShaver (which i deleted)

8 - I set the preferences using the old SheepShaver GUI

9 - Now i launch the SheepShaver executable and ...

10 - and ...

11 IT WOOOOOOORRRRRRRRKKKKKKSSSSS!

12 it starts using X11, why? mah!

Conclusion:
a local build with latest dev tools (xcode) solves the problem!
any other try, for me, (and i read and try A LOT), had no luck!

just a little problem (mah!): the color is weird, a bit "yellow", but works, doesn't crash, is very fast

i set 512mb memory, emulating a powerpc 9600, monitor at 1024x768 60hz windowed.
1024mb ram doesn't work (who cares? ehe)
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

THIS IS BETTER:

In the standard download and installation, i opened the package of the SheepShaver.app and replaced the old executable (into Contents => MacOS) with my compiled new one.

Then i can use GUI for setting and launching SheepShaver (launching the app directly doesn't work).

It opens in X11

If you can, suggest a place where to post the ready-to-use SheepShaver.app compiled by me, hopefully solving once and for all the cannot map ram problem for all who can't in any other way.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Congratulations.

Just being a bare Unix executable and not a OSX application package, it will run in X11.
i set 512mb memory, emulating a powerpc 9600, monitor at 1024x768 60hz windowed.
1024mb ram doesn't work (who cares? ehe)
Oops! :oops:
SheepShaver will not run with RAM set to more than 512MB. If I set it to 1024MB, I will get the "Cannot map RAM: File exists" error in Console. Did you have RAM set at 1024MB? Does the latest SheepShaver build posted in this forum run on your machine with RAM set to 512MB?
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

i made the build using your instructions given before.
as you stated, the app crashed on launch. but...
i put the executable into the old (official) app, replacing the old one, and that is, working using the old official GUI.

i tested 1024mb ram and i got an error:

Code: Select all

ERROR: Cannot map RAM: Unknown error: 0.
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  105 (X_ChangePointerControl)
  Value in failed request:  0x0
  Serial number of failed request:  9
  Current serial number in output stream:  10
logout
with 512mb, no problem

No other builds, using any kind of suggestions (updates, combos, ram, users, ACLs, and many more) from this or other forums, solved the deadly cannot map ram error.
I think only local build with latest dev tools can make ss working on these intel-leopard machines
Last edited by vincifr on Wed May 20, 2009 10:13 am, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

What I asked: Did you try the existing bulds with RAM set to a higher value than 512MB? That would be enough to explain the "Cannot map RAM: File exists" error. If you did that, I wonder if the existing latest builds will work on your machine with RAM set to 512MB.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

No other builds, using any kind of suggestions (updates, combos, ram, users, ACLs, and many more) from this or other forums, solved the deadly cannot map ram error.
i made all kind of tries, ram to 1, 2 , 8 , 16, etc, tried a wide lot of ROMs, i assure i read this and other forums many times and tried all suggestions.

I think only local build with latest dev tools can make ss working on these intel-leopard machines
(i think this build from me should work for others with intel-leopard too)
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

PLEASE! Answer my question!

Did you try to use the existing builds with a setting for RAM more than 512MB? If so, that is probably the explanation for the "Cannot map RAM: File exists" error in your case and setting the RAM to 512MB would have been the simple solution with no need to build yourself.

Edit: O, I see now, you did try different settings for RAM. Well...
Last edited by Ronald P. Regensburg on Wed May 20, 2009 10:29 am, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

BTW: I myself run SheepShaver fine on Intel and Leopard and so do most other users running SheepShaver on Intel and Leopard. There must be something special with the machines that have a persisting "Cannot map RAM" problem.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

If you read, you have the answer:

the last three months i tested all builds found of sheepshaver (from older to newer, yours)

i tested thees builds with a lot of combination of: ROMs, RAM (from 1 to 1024), Ethernet on or off, sound on or off, Java on or off.

i tested sheepshaver in home directory, in other directories, in external drives.

i applied all the updates of macos, i applied the combo, i tried to downgrade to older 10.5, i tried to reformat and reinstall macos

i tried to temper with permission, opened everything to everyone

i think i tested all that could be tested

the aswer was always: cannot map ram

thanks to your instrucions, i was finally able to make a build myself. on intel, leopard 10.5.7
i needed xcode tools (latest) or that was not possible (the command cvs not present)

this build did not started (crash on launch, as you stated).
but i remembered that old ss app did not started too this way.
i should use the GUI.
so i replacede the new build executable into old package.

that works
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Yes, I see now that you wrote that.
vincifr wrote:this build did not started (crash on launch, as you stated).
but i remembered that old ss app did not started too this way.
i should use the GUI.
What do you mean with "GUI". You mean the SheepShaverGUI application? Why is that?
so i replacede the new build executable into old package.

that works
Which package did you use? The content of the packages differs between different builds.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

Yes, i mean the SheepShaverGUI application
(for setting prefs and starting SS)


[quote="Ronald P. Regensburg"]Just being a bare Unix executable and not a OSX application package, it will run in X11.[quote]


I have a new try to test, let's see if it opens in X11 this way...
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

vincifr wrote:Yes, i mean the SheepShaverGUI application
(for setting prefs and starting SS)
SheepShaver should run fine by itself. You only need SheepShaverGUI (or better SheepShaverPrefs) when you need to change settings.

Ronald P. Regensburg wrote:Just being a bare Unix executable and not a OSX application package, it will run in X11.

I have a new try to test, let's see if it opens in X11 this way...
No, it won't run like that in X11. I thought that you ran it bare in X11.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

i made another build (for testing)

the build .app (using your instrucions) doesn't start.

using the old SS GUI (and the start button) make SS launch,
using X11

there is no need to get executable outside new build .app and putting in older .app.

it works fine, except for a weird yellow color.
what is SDL? are there other releases i could try to see if the color problem could be solved?

(i go eating, see you later)
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

HA HA!

this is a test i made:

i made a build following your instructions using SDL 1.2.13,
the cannot map ram: file exists (or the variant "no such file or directory") is
BACK AGAIN

then i made the build (argh!) once again using SDL 1.2.10,
and SS works (as i said before, using the SS GUI app, runs in X11)

i think we discovered that the bug is in SDL, no?

i could test 1.2.11 , 12 .... mah!
Last edited by vincifr on Wed May 20, 2009 4:58 pm, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Could very well be. A problem is that there is not yet a runtime option available in the source to choose and build either a Software cursor version or a Hardware cursor version. They are linked to specific SDL versions. With SDL 1.2.10 the hardware cursor version is build, a hardware cursor version that will temporarily switch to software cursor mode if the asked for cursor cannot be provided by the hardware cursor.

It is a solution for cursor problems in earlier versions, where in SheepShaver the cursor would be displayed a few pixels displaced and in some cases would not be displayed properly at all. With, if I remember correctly, SDL 1.2.12 a full software cursor version would be build, also solving the cursor problems but with the cursor moving jerkily on slower machines.

Reading back what you did, I am not sure I understand correctly when you talk about "package" and "executable". The package is the SheepShaver.app application that is shown in the Finder with a SheepShaver icon. The "executable" is the file inside the SheepShaver application: SheepShaver.app/Contents/MacOS/SheepShaver that is shown with a black rectangular icon.

That is what you are talking about? And the application does not launch but the executable taken from the application does? And do I understand correctly that it runs in X11? If you launch the executable directly, I would expect a Terminal window to open.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

Ronald P. Regensburg wrote:Reading back what you did, I am not sure I understand correctly when you talk about "package" and "executable". The package is the SheepShaver.app application that is shown in the Finder with a SheepShaver icon. The "executable" is the file inside the SheepShaver application: SheepShaver.app/Contents/MacOS/SheepShaver that is shown with a black rectangular icon.

That is what you are talking about? And the application does not launch but the executable taken from the application does? And do I understand correctly that it runs in X11? If you launch the executable directly, I would expect a Terminal window to open.
Yes, it is what you wrote.

the executable drawn outside the .app package starts opening X11:
first the terminal, then X11 automatically.

the package (.app) doesn't start directly. strange

if i use the old SS GUI app, that is able to let the SS.app package (build as you said) to work, using the "start" button in the SS GUI window.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7832
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

For now, having SheepShaver run in X11 is a solution for you. But we need to find out why SheepShaver will not run in OSX.

At the moment I do not have time to experiment with different ways of compiling and I do not have X11 installed. I will look further into it later.
vincifr
Inquisitive Elf
Posts: 27
Joined: Thu May 14, 2009 9:00 am

Post by vincifr »

Ok.

For those that really can't solve the "cannot map ram" issue,

having an Intel MAC with Leopard,

and X11 installed,

here is my build of SheepShaver for X11, and a short "ReadMe":

http://www.arcobaleno2001.it/downloads/ ... er_X11.zip

it runs fast and with no problems (some apps tested) with an emulated PPC 9600, macos 8.1, 512mb RAM; opens in X11 automatically.

Please note that in this build colors are weird (yellow);
Cat_7 build, further in this forum, solves this problem too.
Last edited by vincifr on Fri May 22, 2009 9:32 am, edited 1 time in total.
Post Reply