Skip to content

Copies pak0 files to user's documents directory (updates for Xcode 16 / iOS 18). #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dantecesa
Copy link

The Journey

  1. Kept getting errors re: baseq3 being inaccessible from the engine on Xcode 16 / iOS 18.5. I tried adding it per instructions (by reference at the root), but then tried everything else (copying files into the bundle, folders vs. groups, putting it in various folders within the project…), which of course didn't work 😆.
  2. Added debugging and saw the files were present on device, but the engine was unable to find the baseq3 folder (& reported 0 paks).
  3. Had an idea that maybe files in the bundle can't be read from the engine, so copied them into ~/Documents & 💥 .

🎉

IMG_7118

Other notes

  • The documents setup loop is pretty simple, only checking if the pak file already exists in documents before copying = updated paks won't copy over (but how often do these change? ¯_(ツ)_/¯). It also happens upon first arena load, which can be slow-ish (20-30 sec) if you brought over a baseq3 folder w/ a lot of maps.

  • I tried to make as minimal changes to the project as possible. You'll note there are still some warnings:

Screenshot 2025-05-26 at 11 09 57 PM

@rebelancap
Copy link

rebelancap commented Jun 11, 2025

Moving the baseq3 folder to documents alongside the other mods is a great idea. Makes for a more lightweight core app, and people can just sideload the ipa and add the baseq3 folder without needing to compile anything. I implemented this on my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants