Skip to content
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

ACZ fixes #1573

Merged
merged 4 commits into from
Dec 28, 2023
Merged

Conversation

PJB3005
Copy link
Contributor

@PJB3005 PJB3005 commented Dec 28, 2023

No description provided.

The JSON path is relative to the original working directory of the file. However the server switches working directory during initialization of DreamResourceManager, which invalidates the old path. This old path was still passed to ACZ, so using a relative JSON path would make ACZ unable to find rsc files.

The path is now turned absolute before the working directory switch occurs.
This permits rsc resources to be combined with the Content.Client.zip Hybrid ACZ.

Also update RT
@wixoaGit wixoaGit enabled auto-merge (squash) December 28, 2023 04:11
@wixoaGit wixoaGit merged commit 173ca01 into OpenDreamProject:master Dec 28, 2023
6 checks passed
wixoaGit added a commit to wixoaGit/OpenDreamFork that referenced this pull request Dec 28, 2023
wixoaGit added a commit that referenced this pull request Dec 28, 2023
@PJB3005 PJB3005 deleted the 23-12-28-full-hybrid-acz branch December 28, 2023 17:27
wixoaGit pushed a commit to wixoaGit/OpenDreamFork that referenced this pull request Dec 30, 2023
* Fix packaging

* Fix ACZ root path being wrong if using relative JSON path

The JSON path is relative to the original working directory of the file. However the server switches working directory during initialization of DreamResourceManager, which invalidates the old path. This old path was still passed to ACZ, so using a relative JSON path would make ACZ unable to find rsc files.

The path is now turned absolute before the working directory switch occurs.

* Add Full Hybrid ACZ provider.

This permits rsc resources to be combined with the Content.Client.zip Hybrid ACZ.

Also update RT

* Update OpenDreamPackaging/DreamPackaging.cs

---------

Co-authored-by: wixoa <[email protected]>
(cherry picked from commit 173ca01)
wixoaGit added a commit that referenced this pull request Dec 30, 2023
* ACZ fixes (#1573)

* Fix packaging

* Fix ACZ root path being wrong if using relative JSON path

The JSON path is relative to the original working directory of the file. However the server switches working directory during initialization of DreamResourceManager, which invalidates the old path. This old path was still passed to ACZ, so using a relative JSON path would make ACZ unable to find rsc files.

The path is now turned absolute before the working directory switch occurs.

* Add Full Hybrid ACZ provider.

This permits rsc resources to be combined with the Content.Client.zip Hybrid ACZ.

Also update RT

* Update OpenDreamPackaging/DreamPackaging.cs

---------

Co-authored-by: wixoa <[email protected]>
(cherry picked from commit 173ca01)

* Update RT to v198.1.0

* Use file-scoped namespaces

---------

Co-authored-by: Pieter-Jan Briers <[email protected]>
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