For my SheepShaver projects, I've managed to build a custom top-line Help menu under SDL 1.2, using the syntax in the version of SDLMain.m linked below (my additions have "emendelson" in the comments). In order to use the Help menu, there also needs to be a Help folder in SheepShaver's resources, and references to it in SheepShaver's info.plist. It's a kludge, but it works.

SheepShaver for SDL2 doesn't use SDLMain.m and I haven't been able to find out whether this kind of thing is possible at all under SDL2. I'm not sure anyone ever used the Help menus that I put together, but it was an interesting challenge to make them work, and I'd like to figure out to do it under SDL2. Is there any expert here who might be able to point to sample code that gets the job done? Many thanks for any help.

EDIT: Somehow, autocorrect changed "out" to "outlaw"...

Last edited by emendelson on Mon Jun 18, 2018 9:04 pm, edited 1 time in total.

I'm still working on adding a Help dropdown to the top-line menu. I think it requires working with main_menu.nib, but am not sure. If anyone has any experience with this kind of thing, I'll be glad to know about it.

David Ludwig includes SDL2 as an external resource in his code, and I'm able to build his version by adding SDL source to the External folder in his code. (I can even launch it from the terminal by putting a ROM file in the same folder with the unix executable.)

David Ludwig's build has a menu with the View items (including a tab bar!), and I'm guessing that it might be possible to modify this menu in your build by adding SDL code in the same way that David Ludwig does, and then modifying SDL_cocoaevents.m. But if this is completely wrong, I hope someone will warn me.

Thanks to kanjitalk755 pointing me in the right direction, I've had some success building a Help menu for SheepShaver, modifying kanjitalk755's code. Here's a screen shot:

When you click on Setup Guide, the guide in this forum opens in the browser.

It isn't a complete success, because when I click on SheepShaver Help, I get a window saying the content is not available, though the content is exactly the same (and with the same reference in the info.plist) as in one of my old builds where the Help displays correctly. I hope adespoton can help sort this out, as he's succeeded in putting new content in the help menu earlier.

Also, here's how I modified kanjitalk755's code. I removed the reference to SDL Framework, and added a reference to the SDL Xcode project, as in David Ludwig's code. I still haven't figured out how to make Xcode move the SDL framework (after building it) into the Contents/Frameworks folder in the SheepShaver app, so I did that by hand. Presumably an Xcode expert would know how to do this in seconds.

EDIT: I got the help working, and will post a build soon for anyone who might be interested.

Last edited by emendelson on Thu Jun 28, 2018 2:09 am, edited 1 time in total.

Also, here's how I modified kanjitalk755's code. I removed the reference to SDL Framework, and added a reference to the SDL Xcode project, as in David Ludwig's code. I still haven't figured out how to make Xcode move the SDL framework (after building it) into the Contents/Frameworks folder in the SheepShaver app, so I did that by hand. Presumably an Xcode expert would know how to do this in seconds.

Also, here's how I modified kanjitalk755's code. I removed the reference to SDL Framework, and added a reference to the SDL Xcode project, as in David Ludwig's code. I still haven't figured out how to make Xcode move the SDL framework (after building it) into the Contents/Frameworks folder in the SheepShaver app, so I did that by hand. Presumably an Xcode expert would know how to do this in seconds.