unity_scene_repacker 2.3.0__tar.gz → 3.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/.github/workflows/release.yml +15 -38
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/Cargo.lock +572 -406
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/Cargo.toml +17 -10
- unity_scene_repacker-3.0.0/PKG-INFO +7 -0
- unity_scene_repacker-3.0.0/README.md +311 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/Cargo.toml +6 -5
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/lib.rs +162 -93
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/locate.rs +17 -6
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/main.rs +1 -1
- unity_scene_repacker-3.0.0/cli/src/py.rs +13 -0
- unity_scene_repacker-3.0.0/docs/CHANGELOG.md +34 -0
- unity_scene_repacker-3.0.0/examples/export_fsm.rs +109 -0
- unity_scene_repacker-3.0.0/examples/export_monobehaviour_typetrees.rs +176 -0
- unity_scene_repacker-3.0.0/examples/export_ns_monsters.rs +113 -0
- unity_scene_repacker-3.0.0/examples/hk.rs +76 -0
- unity_scene_repacker-3.0.0/examples/script_stats.rs +53 -0
- unity_scene_repacker-3.0.0/justfile +41 -0
- unity_scene_repacker-3.0.0/objects/hk-in-silksong.jsonc +4 -0
- unity_scene_repacker-3.0.0/objects/ns-by-type.json +3 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/pyproject.toml +2 -3
- unity_scene_repacker-3.0.0/src/dependency_addressables.rs +364 -0
- unity_scene_repacker-3.0.0/src/lib.rs +801 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/src/merge_serialized.rs +114 -55
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/src/monobehaviour_typetree_export.rs +33 -9
- unity_scene_repacker-2.3.0/PKG-INFO +0 -10
- unity_scene_repacker-2.3.0/README.md +0 -103
- unity_scene_repacker-2.3.0/cli/src/py.rs +0 -21
- unity_scene_repacker-2.3.0/data/purelib/unity_scene_repacker.libs/.gitkeep +0 -0
- unity_scene_repacker-2.3.0/examples/export_monobehaviour_typetrees.rs +0 -230
- unity_scene_repacker-2.3.0/justfile +0 -29
- unity_scene_repacker-2.3.0/src/env.rs +0 -209
- unity_scene_repacker-2.3.0/src/game_files.rs +0 -70
- unity_scene_repacker-2.3.0/src/lib.rs +0 -642
- unity_scene_repacker-2.3.0/src/prune.rs +0 -129
- unity_scene_repacker-2.3.0/src/scene_lookup.rs +0 -129
- unity_scene_repacker-2.3.0/src/trace_pptr.rs +0 -207
- unity_scene_repacker-2.3.0/src/typetree_generator_cache.rs +0 -52
- unity_scene_repacker-2.3.0/src/unity/mod.rs +0 -3
- unity_scene_repacker-2.3.0/src/unity/types/utils.rs +0 -134
- unity_scene_repacker-2.3.0/src/unity/types.rs +0 -150
- unity_scene_repacker-2.3.0/typetree-generator-api/Cargo.toml +0 -8
- unity_scene_repacker-2.3.0/typetree-generator-api/bindings.h +0 -32
- unity_scene_repacker-2.3.0/typetree-generator-api/src/generated.rs +0 -187
- unity_scene_repacker-2.3.0/typetree-generator-api/src/lib.rs +0 -315
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/.clang-format +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/.gitignore +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/LICENSE.md +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/completion.rs +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/logger.rs +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/cli/src/utils.rs +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/docs/demo-cast.svg +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/docs/demo.cast +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/docs/release.md +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/objects/hk-enemies.jsonc +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/objects/hk-representative.jsonc +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/objects/ns-monsters.json +0 -0
- {unity_scene_repacker-2.3.0 → unity_scene_repacker-3.0.0}/rustfmt.toml +0 -0
|
@@ -39,47 +39,23 @@ jobs:
|
|
|
39
39
|
rid: win-x64
|
|
40
40
|
manylinux: ""
|
|
41
41
|
# MacOS
|
|
42
|
-
- runner: macos-
|
|
42
|
+
- runner: macos-15-intel
|
|
43
43
|
target: x86_64
|
|
44
44
|
rid: osx-x64
|
|
45
45
|
manylinux: ""
|
|
46
|
-
- runner: macos-
|
|
46
|
+
- runner: macos-15
|
|
47
47
|
target: aarch64
|
|
48
48
|
rid: osx-arm64
|
|
49
49
|
manylinux: ""
|
|
50
50
|
steps:
|
|
51
|
-
- uses: actions/checkout@
|
|
52
|
-
- name: Install uv
|
|
53
|
-
uses: astral-sh/setup-uv@v6
|
|
54
|
-
- uses: actions/setup-dotnet@v4
|
|
55
|
-
with:
|
|
56
|
-
dotnet-version: "9.x"
|
|
57
|
-
|
|
58
|
-
- name: Clone TypeTreeGeneratorAPI
|
|
59
|
-
uses: actions/checkout@v4
|
|
60
|
-
with:
|
|
61
|
-
repository: jakobhellermann/TypeTreeGeneratorAPI
|
|
62
|
-
submodules: true
|
|
63
|
-
ref: wip
|
|
64
|
-
path: TypeTreeGeneratorAPI
|
|
65
|
-
- name: Publish TypeTreeGeneratorAPI with dotnet
|
|
66
|
-
run: dotnet publish TypeTreeGeneratorAPI/TypeTreeGeneratorAPI -o out --runtime ${{ matrix.rid }} -p:EnableAssetRipper=false -p:EnableAssetStudio=false -p:EnableAssetsTools=true -p:EnableIL2CPP=false
|
|
67
|
-
- name: Copy
|
|
68
|
-
shell: bash
|
|
69
|
-
run: |
|
|
70
|
-
if [[ "${{ runner.os }}" == "Windows" ]]; then
|
|
71
|
-
cp out/TypeTreeGeneratorAPI.dll data/purelib/unity_scene_repacker.libs
|
|
72
|
-
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
|
73
|
-
cp out/libTypeTreeGeneratorAPI.dylib data/purelib/unity_scene_repacker.libs
|
|
74
|
-
else
|
|
75
|
-
cp out/libTypeTreeGeneratorAPI.so data/purelib/unity_scene_repacker.libs
|
|
76
|
-
fi
|
|
51
|
+
- uses: actions/checkout@v7
|
|
77
52
|
|
|
78
53
|
- name: Build bindings
|
|
79
54
|
run: cargo build --release -p bindings
|
|
80
55
|
- name: Copy artifacts
|
|
81
56
|
shell: bash # todo: replace this with --artifact-dir when finally stable
|
|
82
57
|
run: |
|
|
58
|
+
mkdir out
|
|
83
59
|
if [[ "${{ runner.os }}" == "Windows" ]]; then
|
|
84
60
|
cp target/release/unityscenerepacker.dll out/unityscenerepacker.dll
|
|
85
61
|
elif [[ "${{ runner.os }}" == "macOS" ]]; then
|
|
@@ -89,13 +65,13 @@ jobs:
|
|
|
89
65
|
fi
|
|
90
66
|
|
|
91
67
|
- name: Upload bindings
|
|
92
|
-
uses: actions/upload-artifact@
|
|
68
|
+
uses: actions/upload-artifact@v7
|
|
93
69
|
with:
|
|
94
70
|
name: bindings-${{ matrix.rid }}
|
|
95
71
|
path: out/*
|
|
96
72
|
|
|
97
73
|
- name: Build cli wheels
|
|
98
|
-
uses:
|
|
74
|
+
uses: PyO3/maturin-action@v1
|
|
99
75
|
with:
|
|
100
76
|
target: ${{ matrix.target }}
|
|
101
77
|
args: --release --out dist
|
|
@@ -103,7 +79,7 @@ jobs:
|
|
|
103
79
|
manylinux: ${{ matrix.manylinux }}
|
|
104
80
|
|
|
105
81
|
- name: Upload wheels
|
|
106
|
-
uses: actions/upload-artifact@
|
|
82
|
+
uses: actions/upload-artifact@v7
|
|
107
83
|
with:
|
|
108
84
|
name: wheels-${{ matrix.rid }}
|
|
109
85
|
path: dist
|
|
@@ -111,14 +87,14 @@ jobs:
|
|
|
111
87
|
sdist:
|
|
112
88
|
runs-on: ubuntu-latest
|
|
113
89
|
steps:
|
|
114
|
-
- uses: actions/checkout@
|
|
90
|
+
- uses: actions/checkout@v7
|
|
115
91
|
- name: Build sdist
|
|
116
92
|
uses: PyO3/maturin-action@v1
|
|
117
93
|
with:
|
|
118
94
|
command: sdist
|
|
119
95
|
args: --out dist
|
|
120
96
|
- name: Upload sdist
|
|
121
|
-
uses: actions/upload-artifact@
|
|
97
|
+
uses: actions/upload-artifact@v7
|
|
122
98
|
with:
|
|
123
99
|
name: wheels-sdist
|
|
124
100
|
path: dist
|
|
@@ -126,15 +102,16 @@ jobs:
|
|
|
126
102
|
nuget:
|
|
127
103
|
name: Build & Publish nuget package
|
|
128
104
|
runs-on: ubuntu-latest
|
|
105
|
+
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
|
129
106
|
needs: build
|
|
130
107
|
|
|
131
108
|
steps:
|
|
132
|
-
- uses: actions/checkout@
|
|
109
|
+
- uses: actions/checkout@v7
|
|
133
110
|
- run: sudo apt install mono-devel # https://github.com/NuGet/setup-nuget/issues/168
|
|
134
|
-
- uses: nuget/setup-nuget@
|
|
111
|
+
- uses: nuget/setup-nuget@v4
|
|
135
112
|
|
|
136
113
|
- name: Download artifacts
|
|
137
|
-
uses: actions/download-artifact@
|
|
114
|
+
uses: actions/download-artifact@v8
|
|
138
115
|
with:
|
|
139
116
|
pattern: bindings-*
|
|
140
117
|
path: out
|
|
@@ -163,11 +140,11 @@ jobs:
|
|
|
163
140
|
# Used to generate artifact attestation
|
|
164
141
|
attestations: write
|
|
165
142
|
steps:
|
|
166
|
-
- uses: actions/download-artifact@
|
|
143
|
+
- uses: actions/download-artifact@v8
|
|
167
144
|
with:
|
|
168
145
|
pattern: wheels-*
|
|
169
146
|
- name: Generate artifact attestation
|
|
170
|
-
uses: actions/attest-build-provenance@
|
|
147
|
+
uses: actions/attest-build-provenance@v4
|
|
171
148
|
with:
|
|
172
149
|
subject-path: "wheels-*/*"
|
|
173
150
|
- name: Publish to PyPI
|