This is something that I think would make cross-platform distribution of full games a lot easier.
For anyone who doesn't already know, Macintosh versions of programs have to exist inside of an "app bundle" which is simply a specialized folder which contains the program and icons and the resources for said program. This has the mega-advantage that you only have to drag a single icon into your Applications folder and you have fully installed the entire app - which is a huge convenience over Windows and Linux.
However, Windows and Linux do not work this way, and the files must either exist loosely or be packaged into a single file themselves. Not ideal for a GPL game.
For Steam, I have tried cd'ing to $PROG_DIR/../../.. using a special run script rather than the application itself, but for some reason that does not work in Mac OS 10.12 and higher or Mac OS 11. It only works in Mac OS 12.
(Of course if the problem is tighter security in 10.12> or 11, then obviously this won't work either, but adding this in would make it so I no longer need that script)
"Why not just put them inside the app bundle?" - this is not how Steam distribution works. If you want to take advantage of the separate depots for executables and data, so that you only have to upload the data once, you need it all in a single location. This would work just fine if you are okay with uploading 3 entire copies of your game to Steam, but I would prefer not to do that. >.>
Mac: Read $PROG_DIR/../../.. when querying iwads and files
Remember, just because you request it, that doesn't mean you'll get it.
Moderator: GZDoom Developers
1 post
• Page 1 of 1
-
- Posts: 13694
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Mac: Read $PROG_DIR/../../.. when querying iwads and files
Post by Rachael »
1 post
• Page 1 of 1
Return to “Feature Suggestions [GZDoom]”
Jump to
- Important Threads
- ↳ HELP! "Account is inactive!"
- ↳ Official ZDoom Community Rules
- ↳ Mod Download Broken? Request Reuploads Here
- ↳ Don't see your first post(s) here? DON'T PANIC
- ↳ Errors? Can't run that new mod? Your GZDoom or ZDoom may be too old!
- ↳ Official Discord Server
- ↳ New Password Requirements and Password Reset
- ↳ A quick notice about privacy (Re: Our efforts to combat spam)
- Official
- ↳ ZDoom (and related) News
- ↳ The Spotlight
- ↳ Developer Blog
- ↳ Rules and Forum Announcements
- Technical Issues
- ↳ Technical Issues
- ↳ Helpful Stickies
- GZDoom Development
- ↳ Bugs [GZDoom]
- ↳ Important Threads
- ↳ Please check the latest version (or dev builds) before reporting!
- ↳ Classic ("Carmack") Software Renderer Bugs
- ↳ OpenGL Renderer Bugs
- ↳ OpenGLES Renderer Bugs
- ↳ Vulkan Renderer Bugs
- ↳ Audio/Music Bugs
- ↳ LZDoom Bugs
- ↳ ZDoom.org Bugs
- ↳ On Hold Bugs
- ↳ On-Hold Softpoly Bugs
- ↳ Closed Bugs [GZDoom]
- ↳ Vintage Build Bugs
- ↳ SoftPoly2 Bugs
- ↳ Feature Suggestions [GZDoom]
- ↳ ZDoom.org Suggestions
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [GZDoom]
- Raze-Specific Stuff
- ↳ Raze
- ↳ News
- ↳ Raze (and ZDoom-related) News
- ↳ Technical Issues
- ↳ Technical Issues
- ↳ Raze Development
- ↳ Bugs [Raze]
- ↳ On Hold Bugs
- ↳ Closed Bugs [Raze]
- ↳ Feature Suggestions [Raze]
- ↳ Code Submissions
- ↳ On Hold Suggestions
- ↳ Closed Feature Suggestions [Raze]
- ↳ Discussion
- ↳ General
- ↳ Editing Help
- ↳ Scripting (Build)
- ↳ Mapping (Build)
- ↳ Tutorials (Build)
- ↳ Projects
- ↳ Projects
- ↳ Abandoned Projects
- Doom Editing Help
- ↳ Scripting
- ↳ Mapping
- ↳ Assets (and other stuff)
- ↳ Tutorials
- ↳ Programming and Compiling
- Discussion
- ↳ General
- ↳ Networking
- ↳ Legacy Discussion
- ↳ Off-Topic
- Projects
- ↳ Levels
- ↳ Gameplay Mods
- ↳ TCs, Full Games, and Other Projects
- ↳ Resources
- ↳ Requests
- ↳ Script Library
- ↳ Graphic/Audio Patches
- ↳ Shaders
- Software and Ports
- ↳ Launchers
- ↳ Game Engines
- ↳ Creation, Conversion, and Editing
- ↳ Miscellaneous
- Archives
- ↳ The Halls of the Dead
- ↳ Abandoned/Dead Projects
- ↳ Editing (Archive)