jak-project/common
massimilianodelliubaldini 7dbacc72d3
Some checks are pending
Build / 🖥️ Windows (push) Waiting to run
Build / 🐧 Linux (push) Waiting to run
Build / 🍎 MacOS (push) Waiting to run
Lint / 📝 Optional Checks (push) Waiting to run
Lint / 📝 Formatting (push) Waiting to run
Lint / 📝 Required Checks (push) Waiting to run
Parameterize the iso_data folder for goalc (#3692)
I hope this is everything I needed, and nothing I didn't.

## What's Changed

This update adds a command-line parameter to goalc, `--iso-path`.
Providing a path to a directory like
`D:\Files\Repositories\ArchipelaGOAL\iso_data\jak1` will inform the
compiler to use that directory instead.

## Why is this useful?

When combined with `--proj-path`, the compiler can be pointed to a
completely different project folder, given the `(mi)` command, and
immediately begin building from that directory, with everything it
needs. This eliminates the need to copy `iso_data` to multiple `data`
directories.

If a subsequent change to the Launcher is made, each mod could be passed
an --iso-path pointing to a single shared folder, allowing mods to each
run their own REPL _without_ requiring a copy of `iso_data` in a
subfolder.

## Independent testing required!

My local repositories are a little suspect, with a mod, a fork of
mod-base, and a fork of jak-project, all on the same drive. My
decompiler_out and iso_data folders are in the mod repo, not mod-base
nor jak-project. So what I did was make the change in the mod-base fork,
point `--proj-path and --iso-path` to the mod folders, and then ran
`(mi)`. The output showed a build starting with no errors.

Then I had to create this PR, which my fork of mod-base is unable to do,
so I created a patch file, forked jak-project, then applied the patch
there.

All this is to say that it would be preferable if someone could apply
this code to their own installation and see if it works. Even I wouldn't
take my own word for this.

---------

Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
2024-10-18 00:03:14 -04:00
..
audio deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
cross_os_debug deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
cross_sockets REPL related improvements and fixes (#3545) 2024-06-03 00:14:52 -04:00
custom_data Background improvements for custom levels (#3672) 2024-09-21 11:39:50 -04:00
dma [jak3] prim rendering for cloth (#3607) 2024-07-26 20:31:32 -04:00
formatter game: cleanup some display settings related code, forbid invalid game-size resolutions (#3601) 2024-07-27 22:29:14 -04:00
global_profiler debugging: Improve event profiler utility (#3561) 2024-06-22 22:01:33 -04:00
goos decompiler: call-parent-state-handler and suspend-for macros (#3625) 2024-09-04 19:35:54 +02:00
log debugging: Improve event profiler utility (#3561) 2024-06-22 22:01:33 -04:00
math [build_actor] Add skeleton and animation support (#3638) 2024-08-16 11:25:53 -04:00
repl Parameterize the iso_data folder for goalc (#3692) 2024-10-18 00:03:14 -04:00
serialization [jak2] new subtitle speakers (#3536) 2024-05-30 22:02:44 -04:00
sqlite [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
texture jak3: add darkjak highres texture anim (#3611) 2024-07-28 02:45:00 +02:00
type_system Dependency graph work - Part 1 - Preliminary work (#3505) 2024-05-12 12:37:59 -04:00
util Background improvements for custom levels (#3672) 2024-09-21 11:39:50 -04:00
versions deps: update fmt to latest version (#3403) 2024-03-05 22:11:52 -05:00
CMakeLists.txt cmake: handle the scenario of a commit having more than 1 tag (#3662) 2024-09-09 23:49:03 -04:00
common_types.h support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
goal_constants.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
link_types.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00
listener_common.h Typo fix LTT_MSG_INSEPCT (#2778) 2023-06-29 16:45:53 -04:00
symbols.h [jak3] Set up ckernel (#3308) 2024-01-16 19:24:02 -05:00