You can read and reply to posts and download all mods without registering.
We're an independent and non-profit fan-site. Find out more about us here.
the first steps in my opinion:-get the current development environment running: this is the only (working) reference availableclean full description how to install/compile/run shockmacmaybe someone can provide a complete image based on https://www.macintoshrepository.org/ (MacOS 9, CW 10 Gold Tools (IDE 1.7), System Shock for Mac)or http://macintoshgarden.org/for SheepShaver or the latest qemu seem to start supporting MacOS 9 good enough to be also useable->this part can be done by anyone - even non programmers to support programmers who just don't wantto fiddle with the installation problems-get all the included Library test projects running (helpfull for porting)-get a simple unit-test for size of short/int/long on the reference platform - sizes could be sometimes strange-replace the PPC asm with C - while testing on original platform-understand how the Mac game data needs to get changed due to the big endian nature of PPC, major work can be needed if the data format is not endian aware - for example: direct reading/casting of integers- start to think about porting to other platform, this is the time when CR+LF gets interessting etc......, and yes CMake would be greatkeep the communication here: the forum works and is well known, and some github fork will become the master over time - that is nothing which can be decide beforehand - without having already serveral developers working together on the port
How to compile:1. Double-click on the CodeWarrior IDE 1.7 icon to start the IDE2. Open one of the projects inside the folder ShockMac:Libraries3. Click on Project -> Make to build the library.4. Move the generated library file to the folder ShockMac:Lib5. Close the project by clicking on File -> Close6. Repeat steps (2) to (5) for the following projects: *ShockMac:Libraries:2d:2dLibPPC.µ *ShockMac:Libraries:3d:3dLibPPC.µ *ShockMac:Libraries:DSTRUCT:DSTRUCT.µ *ShockMac:Libraries:EDMS:EDMS.µ *ShockMac:Libraries:FIX:FIX.µ *ShockMac:Libraries:FIXPP:FIXPP.µ *ShockMac:Libraries:INPUT:INPUT.µ *ShockMac:Libraries:LG:LG.µ *ShockMac:Libraries:PALETTE:PALETTE.µ *ShockMac:Libraries:RES:RES.µ *ShockMac:Libraries:RND:RND.µ *ShockMac:Libraries:SND:SND.µ *ShockMac:Libraries:UI:UI.µ *ShockMac:Libraries:VOX:VOX.µ7. Open the project ShockMac:LIB:LGHeadersPPC.µ8. Precompile by clicking on Project -> Precompile9. Close the project10. Open the project ShockMac:Shock.µ11. Click on Project -> Make to build the game.12. Make sure the game resources are in the folder ShockMac:Data13. Launch the game.
and then Cocoa and then making it a Universal Binary (running on PowerPC & Intel)
@eisnerguy1 Great! (for poeple like me who never touched any MAC-stuff at all)-do you think its possible to share your sheepshaver disk image - or are the tools still under licence restrictions?-would be great to give it a test under windows/linux sheepshaver-and linux/qemu (lastest git-build i think)-would be also nice to have a dependency list of the used MacOS libs/functions (or external libs) for people like me without MacOS/Dev-Environment knowledgewould be great for starters to just grab the original-development environment with everything up and readyi think the PPC asm stuff will prevent that -did you try to compile the test projects under Library?would be great to have a list of all available projects plus if compileable
I'll create a new clean disk image tomorrow.
thanks for the videos - could be youtube a better place? and smaller size with MacOS 9?can you just write a clean step by step instruction from where to get Sheepshaver, ... config steps up to compile and run
FYI:-i tried with latest qemu (replaced the win executable) under linux/windows with the macos 9.2.2 image from https://www.macintoshrepository.org/9641-qemu-for-windows-ppc-emulator-runs-mac-os-9-1-9-2-osx-10-0-to-10-5seems to work fine
eisnerguy1, your method sounds closest to emulating the original, so thank you.
but the NightDiveStudios Readme on Github says they tested it with MacOS 9 and CW 10 Gold - thats why i thought MacOS 9 would be the "best" Platform
I'm attaching the files eisnerguy1 posted above (converted to PDF and 7zip archives).Also some people on the discord channel seemed to be looking for the mac assets, which presumably can be found here.
Excellent work, eisnerguy1 - I was able to follow it and build the source with your instructions I used SheepShaver on Windows following the guide here but without downloading the Mac OS 9.0.4 ROM: http://www.fitzweekly.com/2017/03/how-to-use-sheepshaver-on-windows-10.htmlIt would be useful if you include the warning about "The MP library could not be completely initialized due to insufficient memory" being expected (and harmless) in Part 0 as I thought I hadn't allocated sufficient memory to the machine. Guidance on what memory should be allocated would be also be helpful (I allocated 512MB and didn't run into any problems but it may have been overkill).It's also worth noting that Part 3 of the guide appears to be redundant as CW10 is already installed on the image - perhaps having it as an appendix for reference would be an idea if you do any updates.