Unreleased staging: GRScenes Portable v1.0.0-rc1

#1
by jandan138 - opened
Files changed (35) hide show
  1. .gitattributes +9 -60
  2. ATTRIBUTION.md +71 -0
  3. LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt +438 -0
  4. MANIFEST.keyfiles.sha256 +0 -0
  5. MANIFEST.payload.csv +3 -0
  6. MANIFEST.shards.sha256 +21 -0
  7. PORTABLE_RELEASE.json +643 -0
  8. README.md +203 -10
  9. README_zh-CN.md +102 -0
  10. requirements-download.txt +2 -0
  11. shards/grscenes-portable-v1.0.0-rc1-assets-00.tar.zst +3 -0
  12. shards/grscenes-portable-v1.0.0-rc1-assets-01.tar.zst +3 -0
  13. shards/grscenes-portable-v1.0.0-rc1-assets-02.tar.zst +3 -0
  14. shards/grscenes-portable-v1.0.0-rc1-assets-03.tar.zst +3 -0
  15. shards/grscenes-portable-v1.0.0-rc1-assets-04.tar.zst +3 -0
  16. shards/grscenes-portable-v1.0.0-rc1-assets-05.tar.zst +3 -0
  17. shards/grscenes-portable-v1.0.0-rc1-assets-06.tar.zst +3 -0
  18. shards/grscenes-portable-v1.0.0-rc1-assets-07.tar.zst +3 -0
  19. shards/grscenes-portable-v1.0.0-rc1-assets-08.tar.zst +3 -0
  20. shards/grscenes-portable-v1.0.0-rc1-assets-09.tar.zst +3 -0
  21. shards/grscenes-portable-v1.0.0-rc1-assets-10.tar.zst +3 -0
  22. shards/grscenes-portable-v1.0.0-rc1-assets-11.tar.zst +3 -0
  23. shards/grscenes-portable-v1.0.0-rc1-assets-12.tar.zst +3 -0
  24. shards/grscenes-portable-v1.0.0-rc1-assets-13.tar.zst +3 -0
  25. shards/grscenes-portable-v1.0.0-rc1-assets-14.tar.zst +3 -0
  26. shards/grscenes-portable-v1.0.0-rc1-assets-15.tar.zst +3 -0
  27. shards/grscenes-portable-v1.0.0-rc1-assets-16.tar.zst +3 -0
  28. shards/grscenes-portable-v1.0.0-rc1-assets-17.tar.zst +3 -0
  29. shards/grscenes-portable-v1.0.0-rc1-material-00.tar.zst +3 -0
  30. shards/grscenes-portable-v1.0.0-rc1-material-01.tar.zst +3 -0
  31. shards/grscenes-portable-v1.0.0-rc1-scenes.tar.zst +3 -0
  32. tools/download_and_extract.py +437 -0
  33. tools/setup_isaacsim_env.sh +19 -0
  34. tools/validate_stages.py +334 -0
  35. tools/verify_dataset.py +212 -0
.gitattributes CHANGED
@@ -1,60 +1,9 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.avro filter=lfs diff=lfs merge=lfs -text
4
- *.bin filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ckpt filter=lfs diff=lfs merge=lfs -text
7
- *.ftz filter=lfs diff=lfs merge=lfs -text
8
- *.gz filter=lfs diff=lfs merge=lfs -text
9
- *.h5 filter=lfs diff=lfs merge=lfs -text
10
- *.joblib filter=lfs diff=lfs merge=lfs -text
11
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
- *.lz4 filter=lfs diff=lfs merge=lfs -text
13
- *.mds filter=lfs diff=lfs merge=lfs -text
14
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
- *.model filter=lfs diff=lfs merge=lfs -text
16
- *.msgpack filter=lfs diff=lfs merge=lfs -text
17
- *.npy filter=lfs diff=lfs merge=lfs -text
18
- *.npz filter=lfs diff=lfs merge=lfs -text
19
- *.onnx filter=lfs diff=lfs merge=lfs -text
20
- *.ot filter=lfs diff=lfs merge=lfs -text
21
- *.parquet filter=lfs diff=lfs merge=lfs -text
22
- *.pb filter=lfs diff=lfs merge=lfs -text
23
- *.pickle filter=lfs diff=lfs merge=lfs -text
24
- *.pkl filter=lfs diff=lfs merge=lfs -text
25
- *.pt filter=lfs diff=lfs merge=lfs -text
26
- *.pth filter=lfs diff=lfs merge=lfs -text
27
- *.rar filter=lfs diff=lfs merge=lfs -text
28
- *.safetensors filter=lfs diff=lfs merge=lfs -text
29
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
- *.tar.* filter=lfs diff=lfs merge=lfs -text
31
- *.tar filter=lfs diff=lfs merge=lfs -text
32
- *.tflite filter=lfs diff=lfs merge=lfs -text
33
- *.tgz filter=lfs diff=lfs merge=lfs -text
34
- *.wasm filter=lfs diff=lfs merge=lfs -text
35
- *.xz filter=lfs diff=lfs merge=lfs -text
36
- *.zip filter=lfs diff=lfs merge=lfs -text
37
- *.zst filter=lfs diff=lfs merge=lfs -text
38
- *tfevents* filter=lfs diff=lfs merge=lfs -text
39
- # Audio files - uncompressed
40
- *.pcm filter=lfs diff=lfs merge=lfs -text
41
- *.sam filter=lfs diff=lfs merge=lfs -text
42
- *.raw filter=lfs diff=lfs merge=lfs -text
43
- # Audio files - compressed
44
- *.aac filter=lfs diff=lfs merge=lfs -text
45
- *.flac filter=lfs diff=lfs merge=lfs -text
46
- *.mp3 filter=lfs diff=lfs merge=lfs -text
47
- *.ogg filter=lfs diff=lfs merge=lfs -text
48
- *.wav filter=lfs diff=lfs merge=lfs -text
49
- # Image files - uncompressed
50
- *.bmp filter=lfs diff=lfs merge=lfs -text
51
- *.gif filter=lfs diff=lfs merge=lfs -text
52
- *.png filter=lfs diff=lfs merge=lfs -text
53
- *.tiff filter=lfs diff=lfs merge=lfs -text
54
- # Image files - compressed
55
- *.jpg filter=lfs diff=lfs merge=lfs -text
56
- *.jpeg filter=lfs diff=lfs merge=lfs -text
57
- *.webp filter=lfs diff=lfs merge=lfs -text
58
- # Video files - compressed
59
- *.mp4 filter=lfs diff=lfs merge=lfs -text
60
- *.webm filter=lfs diff=lfs merge=lfs -text
 
1
+ *.tar.zst filter=lfs diff=lfs merge=lfs -text
2
+ *.sha256 text eol=lf
3
+ *.csv text eol=lf
4
+ *.json text eol=lf
5
+ *.md text eol=lf
6
+ *.py text eol=lf
7
+ *.sh text eol=lf
8
+ *.txt text eol=lf
9
+ MANIFEST.payload.csv filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ATTRIBUTION.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Attribution and modification notice
2
+
3
+ ## Upstream work
4
+
5
+ This artifact is a GRScenes laboratory-authorized portable release maintained by a
6
+ project member. It is derived from GRScenes / InternUtopia and must not be presented
7
+ as an unrelated or newly authored scene dataset.
8
+
9
+ - GRScenes Dataset Card: https://huggingface.co/datasets/InternRobotics/GRScenes
10
+ - InternUtopia project: https://github.com/InternRobotics/InternUtopia
11
+ - Paper: *GRUtopia: Dream General Robots in a City at Scale*, arXiv:2407.10943,
12
+ https://arxiv.org/abs/2407.10943
13
+
14
+ Use the citation in `README.md` and preserve this notice with redistributed
15
+ adaptations.
16
+
17
+ ## License and access
18
+
19
+ The open-sourced GRScenes data is under the Creative Commons
20
+ Attribution-NonCommercial-ShareAlike 4.0 International license. Attribution,
21
+ non-commercial use, and compatible ShareAlike terms are required. The full license
22
+ text is included as `LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt`.
23
+
24
+ The upstream project additionally directs users to complete the GRScenes-100 Dataset
25
+ Access User Agreement. Recipients remain responsible for that access requirement and
26
+ terms applicable to bundled third-party material resources.
27
+
28
+ ## Changes in portable-v1.0.0-rc1
29
+
30
+ The maintainer made compatibility and integrity changes only:
31
+
32
+ 1. Restored two USD scene layers damaged in transport from the laboratory canonical
33
+ source.
34
+ 2. Re-authored the approved private `/cpfs/.../Material/` AssetPath prefix as
35
+ layer-relative POSIX-style paths without changing non-path USD content.
36
+ 3. Localized one authored Twinbru HTTP material path to a bundled local module.
37
+ 4. Added seven missing official NVIDIA MDL modules plus their required runtime
38
+ dependency closure.
39
+ 5. Added one disclosed neutral MDL fallback and one disclosed neutral JPEG fallback.
40
+ 6. Added manifests, deterministic packaging, safe extraction, verification tools,
41
+ and release documentation.
42
+
43
+ ## Missing-target resolution
44
+
45
+ | Required target | v1.0.0-rc1 resolution | Source/disclosure |
46
+ |---|---|---|
47
+ | `Material/mdl/Base/Glass/Tinted_Glass_R50.mdl` | Official original | NVIDIA Omniverse material distribution |
48
+ | `Material/mdl/Base/Glass/Tinted_Glass_R75.mdl` | Official original | NVIDIA Omniverse material distribution |
49
+ | `Material/mdl/Base/Wood/Ash_Planks.mdl` | Official original | NVIDIA Omniverse material distribution |
50
+ | `Material/mdl/Graphical_White_Jacquard_FL_3075963.mdl` | Neutral compatibility fallback | The official Twinbru candidate did not reliably register under the full dataset MDL search root. The shipped module is texture-free 50% gray, preserves the expected symbol, and has SHA-256 `9af2cddf57e5458c29f31601a6a386f4264a9b3f782f7fd33dfd07a98684e834`. |
51
+ | `Material/mdl/vMaterials_2/Concrete/Mortar.mdl` | Official original | NVIDIA Omniverse material distribution |
52
+ | `Material/mdl/vMaterials_2/Glass/Glass_Glazing_Spandrel.mdl` | Official original | NVIDIA Omniverse material distribution |
53
+ | `Material/mdl/vMaterials_2/Ground/Ground_Leaves.mdl` | Official original | NVIDIA Omniverse material distribution |
54
+ | `Material/mdl/vMaterials_2/Other/Retroreflective/Retroreflective_Material.mdl` | Official original | NVIDIA Omniverse material distribution |
55
+ | `Material/mdl/textures/eyes03A.jpg` | Neutral compatibility fallback | Generated true-JPEG 64×64 RGB image, uniform value 128, SHA-256 `94b2f9daa78a89a37eced1a78698e54f9201ad0908106f52d03d760fbc1d552f`; the original texture is not represented. |
56
+
57
+ The seven shipped official MDL modules, expected USD `subIdentifier` symbols, and
58
+ runtime resources were validated with the Isaac Sim 6.0.1 MDL registry. The official
59
+ Twinbru candidate's source hash and the generated replacement hash are recorded in
60
+ `PORTABLE_RELEASE.json`. The release contains no live HTTP material dependency.
61
+
62
+ ## Third-party material notice
63
+
64
+ The compatibility closure includes resources obtained from official NVIDIA
65
+ Omniverse and Twinbru distribution locations. Their inclusion does not imply that CC
66
+ BY-NC-SA relicenses trademarks or components governed by separate upstream terms.
67
+ The laboratory has represented that this public release is authorized; downstream
68
+ users remain responsible for applicable third-party terms.
69
+
70
+ Isaac Sim, Omniverse Kit, NVIDIA drivers, and the software packages used for
71
+ validation are not included in this dataset release.
LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt ADDED
@@ -0,0 +1,438 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-NonCommercial-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
58
+ Public License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-NonCommercial-ShareAlike 4.0 International Public License
63
+ ("Public License"). To the extent this Public License may be
64
+ interpreted as a contract, You are granted the Licensed Rights in
65
+ consideration of Your acceptance of these terms and conditions, and the
66
+ Licensor grants You such rights in consideration of benefits the
67
+ Licensor receives from making the Licensed Material available under
68
+ these terms and conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-NC-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution, NonCommercial, and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. NonCommercial means not primarily intended for or directed towards
126
+ commercial advantage or monetary compensation. For purposes of
127
+ this Public License, the exchange of the Licensed Material for
128
+ other material subject to Copyright and Similar Rights by digital
129
+ file-sharing or similar means is NonCommercial provided there is
130
+ no payment of monetary compensation in connection with the
131
+ exchange.
132
+
133
+ l. Share means to provide material to the public by any means or
134
+ process that requires permission under the Licensed Rights, such
135
+ as reproduction, public display, public performance, distribution,
136
+ dissemination, communication, or importation, and to make material
137
+ available to the public including in ways that members of the
138
+ public may access the material from a place and at a time
139
+ individually chosen by them.
140
+
141
+ m. Sui Generis Database Rights means rights other than copyright
142
+ resulting from Directive 96/9/EC of the European Parliament and of
143
+ the Council of 11 March 1996 on the legal protection of databases,
144
+ as amended and/or succeeded, as well as other essentially
145
+ equivalent rights anywhere in the world.
146
+
147
+ n. You means the individual or entity exercising the Licensed Rights
148
+ under this Public License. Your has a corresponding meaning.
149
+
150
+
151
+ Section 2 -- Scope.
152
+
153
+ a. License grant.
154
+
155
+ 1. Subject to the terms and conditions of this Public License,
156
+ the Licensor hereby grants You a worldwide, royalty-free,
157
+ non-sublicensable, non-exclusive, irrevocable license to
158
+ exercise the Licensed Rights in the Licensed Material to:
159
+
160
+ a. reproduce and Share the Licensed Material, in whole or
161
+ in part, for NonCommercial purposes only; and
162
+
163
+ b. produce, reproduce, and Share Adapted Material for
164
+ NonCommercial purposes only.
165
+
166
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
167
+ Exceptions and Limitations apply to Your use, this Public
168
+ License does not apply, and You do not need to comply with
169
+ its terms and conditions.
170
+
171
+ 3. Term. The term of this Public License is specified in Section
172
+ 6(a).
173
+
174
+ 4. Media and formats; technical modifications allowed. The
175
+ Licensor authorizes You to exercise the Licensed Rights in
176
+ all media and formats whether now known or hereafter created,
177
+ and to make technical modifications necessary to do so. The
178
+ Licensor waives and/or agrees not to assert any right or
179
+ authority to forbid You from making technical modifications
180
+ necessary to exercise the Licensed Rights, including
181
+ technical modifications necessary to circumvent Effective
182
+ Technological Measures. For purposes of this Public License,
183
+ simply making modifications authorized by this Section 2(a)
184
+ (4) never produces Adapted Material.
185
+
186
+ 5. Downstream recipients.
187
+
188
+ a. Offer from the Licensor -- Licensed Material. Every
189
+ recipient of the Licensed Material automatically
190
+ receives an offer from the Licensor to exercise the
191
+ Licensed Rights under the terms and conditions of this
192
+ Public License.
193
+
194
+ b. Additional offer from the Licensor -- Adapted Material.
195
+ Every recipient of Adapted Material from You
196
+ automatically receives an offer from the Licensor to
197
+ exercise the Licensed Rights in the Adapted Material
198
+ under the conditions of the Adapter's License You apply.
199
+
200
+ c. No downstream restrictions. You may not offer or impose
201
+ any additional or different terms or conditions on, or
202
+ apply any Effective Technological Measures to, the
203
+ Licensed Material if doing so restricts exercise of the
204
+ Licensed Rights by any recipient of the Licensed
205
+ Material.
206
+
207
+ 6. No endorsement. Nothing in this Public License constitutes or
208
+ may be construed as permission to assert or imply that You
209
+ are, or that Your use of the Licensed Material is, connected
210
+ with, or sponsored, endorsed, or granted official status by,
211
+ the Licensor or others designated to receive attribution as
212
+ provided in Section 3(a)(1)(A)(i).
213
+
214
+ b. Other rights.
215
+
216
+ 1. Moral rights, such as the right of integrity, are not
217
+ licensed under this Public License, nor are publicity,
218
+ privacy, and/or other similar personality rights; however, to
219
+ the extent possible, the Licensor waives and/or agrees not to
220
+ assert any such rights held by the Licensor to the limited
221
+ extent necessary to allow You to exercise the Licensed
222
+ Rights, but not otherwise.
223
+
224
+ 2. Patent and trademark rights are not licensed under this
225
+ Public License.
226
+
227
+ 3. To the extent possible, the Licensor waives any right to
228
+ collect royalties from You for the exercise of the Licensed
229
+ Rights, whether directly or through a collecting society
230
+ under any voluntary or waivable statutory or compulsory
231
+ licensing scheme. In all other cases the Licensor expressly
232
+ reserves any right to collect such royalties, including when
233
+ the Licensed Material is used other than for NonCommercial
234
+ purposes.
235
+
236
+
237
+ Section 3 -- License Conditions.
238
+
239
+ Your exercise of the Licensed Rights is expressly made subject to the
240
+ following conditions.
241
+
242
+ a. Attribution.
243
+
244
+ 1. If You Share the Licensed Material (including in modified
245
+ form), You must:
246
+
247
+ a. retain the following if it is supplied by the Licensor
248
+ with the Licensed Material:
249
+
250
+ i. identification of the creator(s) of the Licensed
251
+ Material and any others designated to receive
252
+ attribution, in any reasonable manner requested by
253
+ the Licensor (including by pseudonym if
254
+ designated);
255
+
256
+ ii. a copyright notice;
257
+
258
+ iii. a notice that refers to this Public License;
259
+
260
+ iv. a notice that refers to the disclaimer of
261
+ warranties;
262
+
263
+ v. a URI or hyperlink to the Licensed Material to the
264
+ extent reasonably practicable;
265
+
266
+ b. indicate if You modified the Licensed Material and
267
+ retain an indication of any previous modifications; and
268
+
269
+ c. indicate the Licensed Material is licensed under this
270
+ Public License, and include the text of, or the URI or
271
+ hyperlink to, this Public License.
272
+
273
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
274
+ reasonable manner based on the medium, means, and context in
275
+ which You Share the Licensed Material. For example, it may be
276
+ reasonable to satisfy the conditions by providing a URI or
277
+ hyperlink to a resource that includes the required
278
+ information.
279
+ 3. If requested by the Licensor, You must remove any of the
280
+ information required by Section 3(a)(1)(A) to the extent
281
+ reasonably practicable.
282
+
283
+ b. ShareAlike.
284
+
285
+ In addition to the conditions in Section 3(a), if You Share
286
+ Adapted Material You produce, the following conditions also apply.
287
+
288
+ 1. The Adapter's License You apply must be a Creative Commons
289
+ license with the same License Elements, this version or
290
+ later, or a BY-NC-SA Compatible License.
291
+
292
+ 2. You must include the text of, or the URI or hyperlink to, the
293
+ Adapter's License You apply. You may satisfy this condition
294
+ in any reasonable manner based on the medium, means, and
295
+ context in which You Share Adapted Material.
296
+
297
+ 3. You may not offer or impose any additional or different terms
298
+ or conditions on, or apply any Effective Technological
299
+ Measures to, Adapted Material that restrict exercise of the
300
+ rights granted under the Adapter's License You apply.
301
+
302
+
303
+ Section 4 -- Sui Generis Database Rights.
304
+
305
+ Where the Licensed Rights include Sui Generis Database Rights that
306
+ apply to Your use of the Licensed Material:
307
+
308
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
309
+ to extract, reuse, reproduce, and Share all or a substantial
310
+ portion of the contents of the database for NonCommercial purposes
311
+ only;
312
+
313
+ b. if You include all or a substantial portion of the database
314
+ contents in a database in which You have Sui Generis Database
315
+ Rights, then the database in which You have Sui Generis Database
316
+ Rights (but not its individual contents) is Adapted Material,
317
+ including for purposes of Section 3(b); and
318
+
319
+ c. You must comply with the conditions in Section 3(a) if You Share
320
+ all or a substantial portion of the contents of the database.
321
+
322
+ For the avoidance of doubt, this Section 4 supplements and does not
323
+ replace Your obligations under this Public License where the Licensed
324
+ Rights include other Copyright and Similar Rights.
325
+
326
+
327
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
328
+
329
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
330
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
331
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
332
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
333
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
334
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
335
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
336
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
337
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
338
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
339
+
340
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
341
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
342
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
343
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
344
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
345
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
346
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
347
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
348
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
349
+
350
+ c. The disclaimer of warranties and limitation of liability provided
351
+ above shall be interpreted in a manner that, to the extent
352
+ possible, most closely approximates an absolute disclaimer and
353
+ waiver of all liability.
354
+
355
+
356
+ Section 6 -- Term and Termination.
357
+
358
+ a. This Public License applies for the term of the Copyright and
359
+ Similar Rights licensed here. However, if You fail to comply with
360
+ this Public License, then Your rights under this Public License
361
+ terminate automatically.
362
+
363
+ b. Where Your right to use the Licensed Material has terminated under
364
+ Section 6(a), it reinstates:
365
+
366
+ 1. automatically as of the date the violation is cured, provided
367
+ it is cured within 30 days of Your discovery of the
368
+ violation; or
369
+
370
+ 2. upon express reinstatement by the Licensor.
371
+
372
+ For the avoidance of doubt, this Section 6(b) does not affect any
373
+ right the Licensor may have to seek remedies for Your violations
374
+ of this Public License.
375
+
376
+ c. For the avoidance of doubt, the Licensor may also offer the
377
+ Licensed Material under separate terms or conditions or stop
378
+ distributing the Licensed Material at any time; however, doing so
379
+ will not terminate this Public License.
380
+
381
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
382
+ License.
383
+
384
+
385
+ Section 7 -- Other Terms and Conditions.
386
+
387
+ a. The Licensor shall not be bound by any additional or different
388
+ terms or conditions communicated by You unless expressly agreed.
389
+
390
+ b. Any arrangements, understandings, or agreements regarding the
391
+ Licensed Material not stated herein are separate from and
392
+ independent of the terms and conditions of this Public License.
393
+
394
+
395
+ Section 8 -- Interpretation.
396
+
397
+ a. For the avoidance of doubt, this Public License does not, and
398
+ shall not be interpreted to, reduce, limit, restrict, or impose
399
+ conditions on any use of the Licensed Material that could lawfully
400
+ be made without permission under this Public License.
401
+
402
+ b. To the extent possible, if any provision of this Public License is
403
+ deemed unenforceable, it shall be automatically reformed to the
404
+ minimum extent necessary to make it enforceable. If the provision
405
+ cannot be reformed, it shall be severed from this Public License
406
+ without affecting the enforceability of the remaining terms and
407
+ conditions.
408
+
409
+ c. No term or condition of this Public License will be waived and no
410
+ failure to comply consented to unless expressly agreed to by the
411
+ Licensor.
412
+
413
+ d. Nothing in this Public License constitutes or may be interpreted
414
+ as a limitation upon, or waiver of, any privileges and immunities
415
+ that apply to the Licensor or You, including from the legal
416
+ processes of any jurisdiction or authority.
417
+
418
+ =======================================================================
419
+
420
+ Creative Commons is not a party to its public
421
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
422
+ its public licenses to material it publishes and in those instances
423
+ will be considered the “Licensor.” The text of the Creative Commons
424
+ public licenses is dedicated to the public domain under the CC0 Public
425
+ Domain Dedication. Except for the limited purpose of indicating that
426
+ material is shared under a Creative Commons public license or as
427
+ otherwise permitted by the Creative Commons policies published at
428
+ creativecommons.org/policies, Creative Commons does not authorize the
429
+ use of the trademark "Creative Commons" or any other trademark or logo
430
+ of Creative Commons without its prior written consent including,
431
+ without limitation, in connection with any unauthorized modifications
432
+ to any of its public licenses or any other arrangements,
433
+ understandings, or agreements concerning use of licensed material. For
434
+ the avoidance of doubt, this paragraph does not form part of the
435
+ public licenses.
436
+
437
+ Creative Commons may be contacted at creativecommons.org.
438
+
MANIFEST.keyfiles.sha256 ADDED
The diff for this file is too large to render. See raw diff
 
MANIFEST.payload.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:51a6dc67eb4318f3872467c8244d800324d030c50ae4255b30f619a153416b09
3
+ size 91211063
MANIFEST.shards.sha256 ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ f82e1487bee4f98dd6302c5d9de29396df92d1632b62e434b5bc7adc1f74bd21 shards/grscenes-portable-v1.0.0-rc1-assets-00.tar.zst
2
+ 288deaede19ad7579da550ee7d6fecc3744123b25ad543498203ed4a94fc72ba shards/grscenes-portable-v1.0.0-rc1-assets-01.tar.zst
3
+ d00e7ee7942aa7e53ea4646691177c593984193d9d74f3bbf7002f935a5d1dd9 shards/grscenes-portable-v1.0.0-rc1-assets-02.tar.zst
4
+ 064af846671191ce161c2a7083e08e9444067933ac8b81f0043f1620a8ed9a49 shards/grscenes-portable-v1.0.0-rc1-assets-03.tar.zst
5
+ 156f75b6da096c743da7127eaac38b752c8a4c3b53d63ed33a7cf629ae6137f5 shards/grscenes-portable-v1.0.0-rc1-assets-04.tar.zst
6
+ 2d35049de8576c791b6999261984e60c4e073fd780a46e1bd1f11b87409b808e shards/grscenes-portable-v1.0.0-rc1-assets-05.tar.zst
7
+ b164fbb9cbe40afab8547629caa20185804f77be64c7ca03f60218a17c7a71f8 shards/grscenes-portable-v1.0.0-rc1-assets-06.tar.zst
8
+ 11e8f1fdb7a8d5e0f6eed7db81a969699b1af6cf29350a21b83824532843347d shards/grscenes-portable-v1.0.0-rc1-assets-07.tar.zst
9
+ 1c40f857d7f2ea8e15d54e495841299b1bf0265f598b81a5f560a58437b1b40b shards/grscenes-portable-v1.0.0-rc1-assets-08.tar.zst
10
+ 152b51d2da8cc6d590dd6e8baf4edaa3490ad0b9830a6187ce46ebf36d847846 shards/grscenes-portable-v1.0.0-rc1-assets-09.tar.zst
11
+ b312dd4fd953c6cf0dc6aa8f27267925be7cc71fc274ee1195847f014962ef7c shards/grscenes-portable-v1.0.0-rc1-assets-10.tar.zst
12
+ 1ca6ce47ca5b25fcec2be35f229620557e0aadc2b516053f3da3530ebaff4be8 shards/grscenes-portable-v1.0.0-rc1-assets-11.tar.zst
13
+ 9eafc07f265c7b5696cdaa900d023bdb89381025c1c417526b453fe5fe16990b shards/grscenes-portable-v1.0.0-rc1-assets-12.tar.zst
14
+ 1465a6ad3f10bb1066abd512b4579ccdd58a6755f60369fbae020ac288483a1a shards/grscenes-portable-v1.0.0-rc1-assets-13.tar.zst
15
+ d9134ebb9f97e8237101b72da40bf1e6a9de8c9e2318129c866ec1d634638a26 shards/grscenes-portable-v1.0.0-rc1-assets-14.tar.zst
16
+ 90aadcf9fb2ea57a0860332e06514ac56b5120f450eb6565f58d92b29bc65397 shards/grscenes-portable-v1.0.0-rc1-assets-15.tar.zst
17
+ e9842b149b2cdbe7025c6eddf63f05d29bc161e1d8fc61903fb0028a54852b57 shards/grscenes-portable-v1.0.0-rc1-assets-16.tar.zst
18
+ fd909cab4b378f91326176f1a2a9114f66d6a3810ddfc3b6dbd69f7a4ea7dde4 shards/grscenes-portable-v1.0.0-rc1-assets-17.tar.zst
19
+ 3363748e9615c172966c1ac8e41290fb591afe13e2d8607f49dd43f9e4a10cc1 shards/grscenes-portable-v1.0.0-rc1-material-00.tar.zst
20
+ 1eebe30293bc0dd87d6c0ed70d338cfab0d0621a4f3ca87a9435136ec02fdce1 shards/grscenes-portable-v1.0.0-rc1-material-01.tar.zst
21
+ 5b906f5e5596ad0b1fe3f8997d5c6e783f52b459396f657387441149b7b50aaa shards/grscenes-portable-v1.0.0-rc1-scenes.tar.zst
PORTABLE_RELEASE.json ADDED
@@ -0,0 +1,643 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "release": {
4
+ "name": "GRScenes Portable",
5
+ "version": "portable-v1.0.0-rc1",
6
+ "tag": "v1.0.0-rc1",
7
+ "repo_id": "jandan138/GRScenes-portable",
8
+ "visibility": "public",
9
+ "status": "RELEASE_CANDIDATE_VALIDATED_WITH_GUI_LIMITATIONS",
10
+ "authority": "GRScenes laboratory-authorized portable release maintained by a project member",
11
+ "generated_utc": "2026-08-07T01:35:15.786673+00:00",
12
+ "license": "CC BY-NC-SA 4.0",
13
+ "upstream_dataset": "https://huggingface.co/datasets/InternRobotics/GRScenes",
14
+ "upstream_project": "https://github.com/InternRobotics/InternUtopia",
15
+ "paper": "https://arxiv.org/abs/2407.10943"
16
+ },
17
+ "payload": {
18
+ "file_count": 394508,
19
+ "size_bytes": 291181357750,
20
+ "roots": [
21
+ "GRScenes100",
22
+ "GRScenes_assets",
23
+ "Material"
24
+ ],
25
+ "layout_count": 99,
26
+ "reparse_or_link_dependencies": 0
27
+ },
28
+ "canonical_integrity": {
29
+ "canonical_keyfiles_expected": 54989,
30
+ "canonical_keyfiles_matched_before_rewrite": 54989,
31
+ "approved_key_additions": 10,
32
+ "restored_transport_damage": [
33
+ {
34
+ "relative_path": "GRScenes100/commercial/MV4AFHQKTKJZ2AABAAAAADY8_usd/layout.usd",
35
+ "sha256": "7e39daa3414c79d0e2820daa8d481130f725cd72bcc06fe640aca2f6b0d2d503"
36
+ },
37
+ {
38
+ "relative_path": "GRScenes100/commercial/MV4AFHQKTKJZ2AABAAAAAEA8_usd/layout.usd",
39
+ "sha256": "d77d2b98c6046fe85529a14f78aa9e915e49d128e6f8ad15530eecbf8db40633"
40
+ }
41
+ ]
42
+ },
43
+ "portable_assetpaths": {
44
+ "old_prefix": "/cpfs/shared/simulation/zhuzihou/dev/usd-scene-physics-prep/GRScenes-test0-rebuilt/Material/",
45
+ "approved_external_uri_localized": "https:/twinbru.s3.eu-west-1.amazonaws.com/omniverse/Twinbru Fabrics/Drapery/Graphical_White_Jacquard_FL_3075963.mdl",
46
+ "strategy": "relative POSIX AssetPath from each authoring USD layer",
47
+ "asset_layers_discovered": 53169,
48
+ "layout_layers_discovered": 99,
49
+ "rewritten_layers": 53166,
50
+ "unchanged_doc_only_asset_layers": 3,
51
+ "modified_assetpath_fields": 302509,
52
+ "atomic_journal_states": [
53
+ "PREPARED",
54
+ "COMMITTED"
55
+ ],
56
+ "normalized_usda_non_path_comparison": "PASS",
57
+ "post_rewrite_audit": {
58
+ "asset_layers_opened": 53169,
59
+ "layout_layers_opened": 99,
60
+ "old_cpfs_assetpaths": 0,
61
+ "external_uris": 0,
62
+ "windows_drive_paths": 0,
63
+ "missing_targets": 0,
64
+ "case_mismatches": 0,
65
+ "case_ambiguities": 0,
66
+ "outside_dataset": 0
67
+ }
68
+ },
69
+ "material_resolution": {
70
+ "official_overlay_files_shipped": 32,
71
+ "neutral_fallback_files_shipped": 2,
72
+ "official_files": [
73
+ {
74
+ "relative_path": "Material/mdl/Base/Glass/Tinted_Glass_R50.mdl",
75
+ "role": "required_missing_mdl",
76
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Glass/Tinted_Glass_R50.mdl",
77
+ "size_bytes": 573,
78
+ "sha256": "e7ecd1c16ab4361c07e387246087d0aadd71c64afa80866dc14167792464e54d"
79
+ },
80
+ {
81
+ "relative_path": "Material/mdl/Base/Glass/Tinted_Glass_R75.mdl",
82
+ "role": "required_missing_mdl",
83
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Glass/Tinted_Glass_R75.mdl",
84
+ "size_bytes": 576,
85
+ "sha256": "5d71f57b5e64e91b63d53ad56589b2424535ef4f42fee8aa20c01d17562efe99"
86
+ },
87
+ {
88
+ "relative_path": "Material/mdl/Base/Templates/GlassUtils.mdl",
89
+ "role": "relative_module",
90
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Templates/GlassUtils.mdl",
91
+ "size_bytes": 2417,
92
+ "sha256": "18baaa8cd508d85075148b80097c56c4924212928bb196f2d9ee2352d5c618a4"
93
+ },
94
+ {
95
+ "relative_path": "Material/mdl/Base/Templates/GlassWithVolume.mdl",
96
+ "role": "relative_module",
97
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Templates/GlassWithVolume.mdl",
98
+ "size_bytes": 4906,
99
+ "sha256": "54f4f99e1bd8c6cde022dd246a954b9efe9b251a169854f49f582501a9bdf089"
100
+ },
101
+ {
102
+ "relative_path": "Material/mdl/Base/Wood/Ash_Planks.mdl",
103
+ "role": "required_missing_mdl",
104
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Wood/Ash_Planks.mdl",
105
+ "size_bytes": 1537,
106
+ "sha256": "90c5dff6ee8cc1d40b45231615e68a0e3e8665a8645a84186c48e1d0dec6da98"
107
+ },
108
+ {
109
+ "relative_path": "Material/mdl/Base/Wood/Ash_Planks/Ash_Planks_BaseColor.png",
110
+ "role": "resource",
111
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Wood/Ash_Planks/Ash_Planks_BaseColor.png",
112
+ "size_bytes": 7053459,
113
+ "sha256": "341f342eabab32a60e7fae1b8c2b4c7f2cc891a9ce7415899786fd36d1654c5b"
114
+ },
115
+ {
116
+ "relative_path": "Material/mdl/Base/Wood/Ash_Planks/Ash_Planks_Normal.png",
117
+ "role": "resource",
118
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Wood/Ash_Planks/Ash_Planks_Normal.png",
119
+ "size_bytes": 5821106,
120
+ "sha256": "c0a2349416bf434f6b04dacacc6201889c019b84cc933dddffdc0a6af6824ec1"
121
+ },
122
+ {
123
+ "relative_path": "Material/mdl/Base/Wood/Ash_Planks/Ash_Planks_ORM.png",
124
+ "role": "resource",
125
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/Base/Wood/Ash_Planks/Ash_Planks_ORM.png",
126
+ "size_bytes": 678309,
127
+ "sha256": "2ca5929b6921983a5d12a00c0fc49afc730e7eb34483cbd1aafb6adc17ff6cd0"
128
+ },
129
+ {
130
+ "relative_path": "Material/mdl/textures/3075963_diff.jpg",
131
+ "role": "resource",
132
+ "source_url": "https://twinbru.s3.eu-west-1.amazonaws.com/omniverse/Twinbru%20Fabrics/Drapery/textures/3075963_diff.jpg",
133
+ "size_bytes": 3078288,
134
+ "sha256": "d949ce62c971c8e3faa74eff0fefc16b81ad447aa1ce136d191f42a2ca11e017"
135
+ },
136
+ {
137
+ "relative_path": "Material/mdl/textures/3075963_metl.jpg",
138
+ "role": "resource",
139
+ "source_url": "https://twinbru.s3.eu-west-1.amazonaws.com/omniverse/Twinbru%20Fabrics/Drapery/textures/3075963_metl.jpg",
140
+ "size_bytes": 4135719,
141
+ "sha256": "1c54fd99384a4fac3861b4566fc47b669985428bc6d01e7aaa0f80dc779374c6"
142
+ },
143
+ {
144
+ "relative_path": "Material/mdl/textures/3075963_norm.jpg",
145
+ "role": "resource",
146
+ "source_url": "https://twinbru.s3.eu-west-1.amazonaws.com/omniverse/Twinbru%20Fabrics/Drapery/textures/3075963_norm.jpg",
147
+ "size_bytes": 2488701,
148
+ "sha256": "120bc512425fbb9749b848a35e272b027fec8ba855478f3aabeb03ffa4ca744d"
149
+ },
150
+ {
151
+ "relative_path": "Material/mdl/textures/3075963_roug.jpg",
152
+ "role": "resource",
153
+ "source_url": "https://twinbru.s3.eu-west-1.amazonaws.com/omniverse/Twinbru%20Fabrics/Drapery/textures/3075963_roug.jpg",
154
+ "size_bytes": 2163311,
155
+ "sha256": "39adc80bad2c2dad135f8d25e658e83c28a6b1b314201435a182bd92b0e6bdd3"
156
+ },
157
+ {
158
+ "relative_path": "Material/mdl/vMaterials_2/Concrete/Mortar.mdl",
159
+ "role": "required_missing_mdl",
160
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Concrete/Mortar.mdl",
161
+ "size_bytes": 30216,
162
+ "sha256": "aca026b5a8bcc6cbe6a3821a09aadbbc4d734a5ffac456521fac8eac27d5e659"
163
+ },
164
+ {
165
+ "relative_path": "Material/mdl/vMaterials_2/Concrete/textures/mortar_diff.jpg",
166
+ "role": "resource",
167
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Concrete/textures/mortar_diff.jpg",
168
+ "size_bytes": 1973915,
169
+ "sha256": "4ba01f0c53f3ab271c4765611a65cf2bd72c4c7e273bb7e7ab1b64023c991d28"
170
+ },
171
+ {
172
+ "relative_path": "Material/mdl/vMaterials_2/Concrete/textures/mortar_multi_R_rough_G_ao_B_noise.jpg",
173
+ "role": "resource",
174
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Concrete/textures/mortar_multi_R_rough_G_ao_B_noise.jpg",
175
+ "size_bytes": 5753857,
176
+ "sha256": "f169403a99ae882c446f4148816c5a7e95be54d8aa798a83010b4234a3a3e627"
177
+ },
178
+ {
179
+ "relative_path": "Material/mdl/vMaterials_2/Concrete/textures/mortar_norm.jpg",
180
+ "role": "resource",
181
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Concrete/textures/mortar_norm.jpg",
182
+ "size_bytes": 4323469,
183
+ "sha256": "2a51e470390be20256a8859e6b87b2c32eca24bf79f9685fb57f65ff89d5fb2c"
184
+ },
185
+ {
186
+ "relative_path": "Material/mdl/vMaterials_2/Glass/Glass_Glazing_Spandrel.mdl",
187
+ "role": "required_missing_mdl",
188
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Glass/Glass_Glazing_Spandrel.mdl",
189
+ "size_bytes": 47275,
190
+ "sha256": "f10612d3aaf1aa5b021da13b8e33bbf068cb57709dae71738a74f1f075b4c69e"
191
+ },
192
+ {
193
+ "relative_path": "Material/mdl/vMaterials_2/Glass/textures/glass_dirt_multi_mask.jpg",
194
+ "role": "resource",
195
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Glass/textures/glass_dirt_multi_mask.jpg",
196
+ "size_bytes": 5242750,
197
+ "sha256": "9e85a43dd58367a9ddd08957f8ddeda1f7193c5b88b8bef20a45efbcd4038ed1"
198
+ },
199
+ {
200
+ "relative_path": "Material/mdl/vMaterials_2/Glass/textures/glass_frit_dist.png",
201
+ "role": "resource",
202
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Glass/textures/glass_frit_dist.png",
203
+ "size_bytes": 1571505,
204
+ "sha256": "bed81e250c80c6992c11eb41ed8403b6b7bf4021fad226135493fb2c233d742f"
205
+ },
206
+ {
207
+ "relative_path": "Material/mdl/vMaterials_2/Glass/textures/glass_smudges_clouds_multi.jpg",
208
+ "role": "resource",
209
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Glass/textures/glass_smudges_clouds_multi.jpg",
210
+ "size_bytes": 2406562,
211
+ "sha256": "024fa34c026bc6beee1ed5c2d660bd9b687305ce9b0bb91a74785366f9b02b68"
212
+ },
213
+ {
214
+ "relative_path": "Material/mdl/vMaterials_2/Ground/Ground_Leaves.mdl",
215
+ "role": "required_missing_mdl",
216
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/Ground_Leaves.mdl",
217
+ "size_bytes": 51809,
218
+ "sha256": "cc386394e171c34864e8e40213b25a95c2a443918fef3d795113449c4f877565"
219
+ },
220
+ {
221
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_ao.png",
222
+ "role": "resource",
223
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_ao.png",
224
+ "size_bytes": 3247081,
225
+ "sha256": "fde864f6f71e95f64fb54a13f5ac37d82754d97aa4fbdf5392fc2a805b789624"
226
+ },
227
+ {
228
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_diff.jpg",
229
+ "role": "resource",
230
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_diff.jpg",
231
+ "size_bytes": 3713792,
232
+ "sha256": "8102a552846e80f08a3a447a8f4a581e1f7f9d2b38b1f211410c51945de5587d"
233
+ },
234
+ {
235
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_dis.png",
236
+ "role": "resource",
237
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_dis.png",
238
+ "size_bytes": 4724226,
239
+ "sha256": "65607654e9eb3329c597024e3c4898f15da4bc4b7157324ba3f9c5d8a3246a41"
240
+ },
241
+ {
242
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_grayscale_diff.png",
243
+ "role": "resource",
244
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_grayscale_diff.png",
245
+ "size_bytes": 7559756,
246
+ "sha256": "d1fb41b240e79de02c38188d74ebe9e2ad5d546e49900eec66ab1ddfcf1172bc"
247
+ },
248
+ {
249
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_norm.png",
250
+ "role": "resource",
251
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_norm.png",
252
+ "size_bytes": 18939033,
253
+ "sha256": "bd4d17b85f605912f7379758b50e135a77a29be75cb4c919f53cd01b5fa972f5"
254
+ },
255
+ {
256
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_ref.png",
257
+ "role": "resource",
258
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_ref.png",
259
+ "size_bytes": 3581205,
260
+ "sha256": "da5d94a0c3f74a21c8464d6abca847ae59e3985be49b1b62054d93eca2400064"
261
+ },
262
+ {
263
+ "relative_path": "Material/mdl/vMaterials_2/Ground/textures/leaves_rou.png",
264
+ "role": "resource",
265
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Ground/textures/leaves_rou.png",
266
+ "size_bytes": 6856919,
267
+ "sha256": "31eb766b24ff56e0113e5206c62b9712fb1f6c00489b3b9dd39a04d6d51e9a55"
268
+ },
269
+ {
270
+ "relative_path": "Material/mdl/vMaterials_2/Other/Retroreflective/Retroreflective_Material.mdl",
271
+ "role": "required_missing_mdl",
272
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Other/Retroreflective/Retroreflective_Material.mdl",
273
+ "size_bytes": 20467,
274
+ "sha256": "17f5f0c4d559d0fb7c5f8c159863a338bc989a9c05dda92b86e3f1e56268207c"
275
+ },
276
+ {
277
+ "relative_path": "Material/mdl/vMaterials_2/Other/Retroreflective/textures/glitter_noise_1k.png",
278
+ "role": "resource",
279
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Other/Retroreflective/textures/glitter_noise_1k.png",
280
+ "size_bytes": 839543,
281
+ "sha256": "08210cd09f455de30b5402e636407a91e185a62aa07ae4029b08884cb425d8cd"
282
+ },
283
+ {
284
+ "relative_path": "Material/mdl/vMaterials_2/Other/Retroreflective/textures/smudges_retro_paint.jpg",
285
+ "role": "resource",
286
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Other/Retroreflective/textures/smudges_retro_paint.jpg",
287
+ "size_bytes": 2528999,
288
+ "sha256": "fa61d9a4a26e7831ec30f1c278e88e24733b2fb29e4f3640f998f953b6ae4b17"
289
+ },
290
+ {
291
+ "relative_path": "Material/mdl/vMaterials_2/Other/Retroreflective/textures/tape_patterns_norm.jpg",
292
+ "role": "resource",
293
+ "source_url": "https://omniverse-content-production.s3-us-west-2.amazonaws.com/Materials/vMaterials_2/Other/Retroreflective/textures/tape_patterns_norm.jpg",
294
+ "size_bytes": 382888,
295
+ "sha256": "c6c5831b1795dcf374f2a116b962afa582d5f08df705fe1e074b14338ca4d79a"
296
+ }
297
+ ],
298
+ "official_mdl_compile_validation": {
299
+ "isaac_sim_version": "6.0.1",
300
+ "module_count": 7,
301
+ "modules": [
302
+ {
303
+ "relative_path": "Material/mdl/Base/Glass/Tinted_Glass_R50.mdl",
304
+ "registry_added": true,
305
+ "registry_loaded": true,
306
+ "expected_symbols": [
307
+ "Tinted_Glass_R50"
308
+ ],
309
+ "all_expected_symbols_resolved": true
310
+ },
311
+ {
312
+ "relative_path": "Material/mdl/Base/Glass/Tinted_Glass_R75.mdl",
313
+ "registry_added": true,
314
+ "registry_loaded": true,
315
+ "expected_symbols": [
316
+ "Tinted_Glass_R75"
317
+ ],
318
+ "all_expected_symbols_resolved": true
319
+ },
320
+ {
321
+ "relative_path": "Material/mdl/Base/Wood/Ash_Planks.mdl",
322
+ "registry_added": true,
323
+ "registry_loaded": true,
324
+ "expected_symbols": [
325
+ "Ash_Planks"
326
+ ],
327
+ "all_expected_symbols_resolved": true
328
+ },
329
+ {
330
+ "relative_path": "Material/mdl/vMaterials_2/Concrete/Mortar.mdl",
331
+ "registry_added": true,
332
+ "registry_loaded": true,
333
+ "expected_symbols": [
334
+ "Mortar_White"
335
+ ],
336
+ "all_expected_symbols_resolved": true
337
+ },
338
+ {
339
+ "relative_path": "Material/mdl/vMaterials_2/Glass/Glass_Glazing_Spandrel.mdl",
340
+ "registry_added": true,
341
+ "registry_loaded": true,
342
+ "expected_symbols": [
343
+ "Glass_Glazing_Spandrel_Dark_Blue"
344
+ ],
345
+ "all_expected_symbols_resolved": true
346
+ },
347
+ {
348
+ "relative_path": "Material/mdl/vMaterials_2/Ground/Ground_Leaves.mdl",
349
+ "registry_added": true,
350
+ "registry_loaded": true,
351
+ "expected_symbols": [
352
+ "ground_leaves_green"
353
+ ],
354
+ "all_expected_symbols_resolved": true
355
+ },
356
+ {
357
+ "relative_path": "Material/mdl/vMaterials_2/Other/Retroreflective/Retroreflective_Material.mdl",
358
+ "registry_added": true,
359
+ "registry_loaded": true,
360
+ "expected_symbols": [
361
+ "Retroreflective_Material_Yellow"
362
+ ],
363
+ "all_expected_symbols_resolved": true
364
+ }
365
+ ]
366
+ },
367
+ "official_twinbru_candidate": {
368
+ "relative_path": "Material/mdl/Graphical_White_Jacquard_FL_3075963.mdl",
369
+ "sha256": "50b0320f499201f6537cb12934a519853b4e8b46448609827b315c6216e1139c",
370
+ "shipped": false,
371
+ "replacement_reason": "The official Twinbru MDL reproducibly failed to terminate in UsdMdl.RegistryUtils.AddModuleToRegistry under the full dataset MDL search root; the same bytes only passed in a reduced staging root."
372
+ },
373
+ "fallbacks": [
374
+ {
375
+ "kind": "neutral_mdl_fallback",
376
+ "generator_version": "grscenes-runtime-mdl-fallback-v1",
377
+ "target_relative_path": "Material/mdl/Graphical_White_Jacquard_FL_3075963.mdl",
378
+ "reason": "The official Twinbru MDL reproducibly failed to terminate in UsdMdl.RegistryUtils.AddModuleToRegistry under the full dataset MDL search root; the same bytes only passed in a reduced staging root.",
379
+ "exported_symbols": [
380
+ "Graphical_White_Jacquard_FL_3075963"
381
+ ],
382
+ "official_candidate_sha256": "50b0320f499201f6537cb12934a519853b4e8b46448609827b315c6216e1139c",
383
+ "generated_sha256": "9af2cddf57e5458c29f31601a6a386f4264a9b3f782f7fd33dfd07a98684e834",
384
+ "generated_size_bytes": 1156,
385
+ "module_dependency": "Material/mdl/KooPbr.mdl",
386
+ "texture_dependencies": [],
387
+ "appearance": {
388
+ "diffuse": [
389
+ 0.5,
390
+ 0.5,
391
+ 0.5
392
+ ],
393
+ "metallic": 0.0,
394
+ "emissive": [
395
+ 0.0,
396
+ 0.0,
397
+ 0.0
398
+ ],
399
+ "opacity": 1.0
400
+ },
401
+ "generated_utc": "2026-08-05T12:37:33.526255+00:00"
402
+ },
403
+ {
404
+ "kind": "neutral_texture_fallback",
405
+ "generator_version": "grscenes-eyes-neutral-jpeg/1.0.0",
406
+ "target_relative_path": "Material/mdl/textures/eyes03A.jpg",
407
+ "reason": "Original texture absent from the canonical dataset and approved laboratory search roots.",
408
+ "visual_semantics": "uniform 50% gray; no attempt to reconstruct the original eye texture",
409
+ "encoding": {
410
+ "format": "JPEG",
411
+ "mode": "RGB",
412
+ "width": 64,
413
+ "height": 64,
414
+ "rgb": [
415
+ 128,
416
+ 128,
417
+ 128
418
+ ],
419
+ "quality": 95,
420
+ "subsampling": 0,
421
+ "progressive": false,
422
+ "optimize": false
423
+ },
424
+ "size_bytes": 737,
425
+ "sha256": "94b2f9daa78a89a37eced1a78698e54f9201ad0908106f52d03d760fbc1d552f",
426
+ "generated_utc": "2026-08-04T14:06:53.310558+00:00"
427
+ }
428
+ ]
429
+ },
430
+ "validation": {
431
+ "windows_isaac_sim": {
432
+ "version": "6.0.1",
433
+ "status": "PASS",
434
+ "stages": 99,
435
+ "passed": 99,
436
+ "failed": 0
437
+ },
438
+ "windows_gui": {
439
+ "status": "INCOMPLETE_DISCLOSED",
440
+ "launch_gate": false,
441
+ "strict_automated_report_status": "FAIL",
442
+ "targeted_scene_count": 13,
443
+ "strict_automated_passed": 0,
444
+ "known_limitations": [
445
+ "The strict GUI survey did not reach PASS because of unapproved Kit/RTX/SdfPath/normal-primvar warnings and memory limits.",
446
+ "Scene 10 produced a black automated frame.",
447
+ "Scene 12 later produced a dark frame with warnings.",
448
+ "Scene 13 remained memory-blocked and has no accepted screenshot.",
449
+ "The neutral eyes03A.jpg fallback has not been visually confirmed from a front-facing character view."
450
+ ]
451
+ },
452
+ "wsl_ubuntu_22_04": {
453
+ "status": "PASS",
454
+ "platform": "linux",
455
+ "distribution": "Ubuntu-22.04-isaac",
456
+ "payload_paths": 394508,
457
+ "fast_manifest": "PASS",
458
+ "keyfiles_manifest": "PASS",
459
+ "relative_path_validation": "PASS",
460
+ "case_validation": "PASS",
461
+ "link_validation": "PASS"
462
+ },
463
+ "linux_isaac_sim": {
464
+ "status": "PENDING_RECIPIENT_FEEDBACK",
465
+ "launch_gate": false
466
+ }
467
+ },
468
+ "packaging": {
469
+ "shard_count": 21,
470
+ "asset_buckets": 18,
471
+ "material_buckets": 2,
472
+ "scene_buckets": 1,
473
+ "zstandard_level": 3,
474
+ "zstandard_frame_checksum": true,
475
+ "python_version": "3.13.9",
476
+ "zstandard_version": "0.25.0",
477
+ "tar_format": "PAX_FORMAT",
478
+ "shards": [
479
+ {
480
+ "sha256": "f82e1487bee4f98dd6302c5d9de29396df92d1632b62e434b5bc7adc1f74bd21",
481
+ "size_bytes": 7182573303,
482
+ "payload_files": 20909,
483
+ "payload_bytes": 13034124786,
484
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-00.tar.zst"
485
+ },
486
+ {
487
+ "sha256": "288deaede19ad7579da550ee7d6fecc3744123b25ad543498203ed4a94fc72ba",
488
+ "size_bytes": 7179389486,
489
+ "payload_files": 20342,
490
+ "payload_bytes": 14053456269,
491
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-01.tar.zst"
492
+ },
493
+ {
494
+ "sha256": "d00e7ee7942aa7e53ea4646691177c593984193d9d74f3bbf7002f935a5d1dd9",
495
+ "size_bytes": 7114931825,
496
+ "payload_files": 21049,
497
+ "payload_bytes": 13760264840,
498
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-02.tar.zst"
499
+ },
500
+ {
501
+ "sha256": "064af846671191ce161c2a7083e08e9444067933ac8b81f0043f1620a8ed9a49",
502
+ "size_bytes": 7704770583,
503
+ "payload_files": 20146,
504
+ "payload_bytes": 14260671225,
505
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-03.tar.zst"
506
+ },
507
+ {
508
+ "sha256": "156f75b6da096c743da7127eaac38b752c8a4c3b53d63ed33a7cf629ae6137f5",
509
+ "size_bytes": 7781335736,
510
+ "payload_files": 20741,
511
+ "payload_bytes": 14368935455,
512
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-04.tar.zst"
513
+ },
514
+ {
515
+ "sha256": "2d35049de8576c791b6999261984e60c4e073fd780a46e1bd1f11b87409b808e",
516
+ "size_bytes": 7869424319,
517
+ "payload_files": 20944,
518
+ "payload_bytes": 14079729455,
519
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-05.tar.zst"
520
+ },
521
+ {
522
+ "sha256": "b164fbb9cbe40afab8547629caa20185804f77be64c7ca03f60218a17c7a71f8",
523
+ "size_bytes": 7716310716,
524
+ "payload_files": 20496,
525
+ "payload_bytes": 14151009527,
526
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-06.tar.zst"
527
+ },
528
+ {
529
+ "sha256": "11e8f1fdb7a8d5e0f6eed7db81a969699b1af6cf29350a21b83824532843347d",
530
+ "size_bytes": 7739912493,
531
+ "payload_files": 20363,
532
+ "payload_bytes": 14665972743,
533
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-07.tar.zst"
534
+ },
535
+ {
536
+ "sha256": "1c40f857d7f2ea8e15d54e495841299b1bf0265f598b81a5f560a58437b1b40b",
537
+ "size_bytes": 7523180084,
538
+ "payload_files": 20265,
539
+ "payload_bytes": 13657634875,
540
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-08.tar.zst"
541
+ },
542
+ {
543
+ "sha256": "152b51d2da8cc6d590dd6e8baf4edaa3490ad0b9830a6187ce46ebf36d847846",
544
+ "size_bytes": 8256536680,
545
+ "payload_files": 20475,
546
+ "payload_bytes": 15244670911,
547
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-09.tar.zst"
548
+ },
549
+ {
550
+ "sha256": "b312dd4fd953c6cf0dc6aa8f27267925be7cc71fc274ee1195847f014962ef7c",
551
+ "size_bytes": 7463068648,
552
+ "payload_files": 20321,
553
+ "payload_bytes": 13860268762,
554
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-10.tar.zst"
555
+ },
556
+ {
557
+ "sha256": "1ca6ce47ca5b25fcec2be35f229620557e0aadc2b516053f3da3530ebaff4be8",
558
+ "size_bytes": 7234559129,
559
+ "payload_files": 20602,
560
+ "payload_bytes": 13939322023,
561
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-11.tar.zst"
562
+ },
563
+ {
564
+ "sha256": "9eafc07f265c7b5696cdaa900d023bdb89381025c1c417526b453fe5fe16990b",
565
+ "size_bytes": 7895808000,
566
+ "payload_files": 20790,
567
+ "payload_bytes": 14222802955,
568
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-12.tar.zst"
569
+ },
570
+ {
571
+ "sha256": "1465a6ad3f10bb1066abd512b4579ccdd58a6755f60369fbae020ac288483a1a",
572
+ "size_bytes": 7905890189,
573
+ "payload_files": 20944,
574
+ "payload_bytes": 14600557022,
575
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-13.tar.zst"
576
+ },
577
+ {
578
+ "sha256": "d9134ebb9f97e8237101b72da40bf1e6a9de8c9e2318129c866ec1d634638a26",
579
+ "size_bytes": 8298518467,
580
+ "payload_files": 20693,
581
+ "payload_bytes": 16265606063,
582
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-14.tar.zst"
583
+ },
584
+ {
585
+ "sha256": "90aadcf9fb2ea57a0860332e06514ac56b5120f450eb6565f58d92b29bc65397",
586
+ "size_bytes": 8216971865,
587
+ "payload_files": 20923,
588
+ "payload_bytes": 15261399110,
589
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-15.tar.zst"
590
+ },
591
+ {
592
+ "sha256": "e9842b149b2cdbe7025c6eddf63f05d29bc161e1d8fc61903fb0028a54852b57",
593
+ "size_bytes": 8941426631,
594
+ "payload_files": 21315,
595
+ "payload_bytes": 16215998712,
596
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-16.tar.zst"
597
+ },
598
+ {
599
+ "sha256": "fd909cab4b378f91326176f1a2a9114f66d6a3810ddfc3b6dbd69f7a4ea7dde4",
600
+ "size_bytes": 7920457184,
601
+ "payload_files": 20853,
602
+ "payload_bytes": 15142282788,
603
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-assets-17.tar.zst"
604
+ },
605
+ {
606
+ "sha256": "3363748e9615c172966c1ac8e41290fb591afe13e2d8607f49dd43f9e4a10cc1",
607
+ "size_bytes": 14898069980,
608
+ "payload_files": 11093,
609
+ "payload_bytes": 15086533017,
610
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-material-00.tar.zst"
611
+ },
612
+ {
613
+ "sha256": "1eebe30293bc0dd87d6c0ed70d338cfab0d0621a4f3ca87a9435136ec02fdce1",
614
+ "size_bytes": 14970706850,
615
+ "payload_files": 11145,
616
+ "payload_bytes": 15139654381,
617
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-material-01.tar.zst"
618
+ },
619
+ {
620
+ "sha256": "5b906f5e5596ad0b1fe3f8997d5c6e783f52b459396f657387441149b7b50aaa",
621
+ "size_bytes": 26503108,
622
+ "payload_files": 99,
623
+ "payload_bytes": 170462831,
624
+ "relative_path": "shards/grscenes-portable-v1.0.0-rc1-scenes.tar.zst"
625
+ }
626
+ ]
627
+ },
628
+ "download_toolchain": {
629
+ "python": "3.13.9",
630
+ "huggingface_hub": "1.26.0",
631
+ "hf_xet": "1.6.0",
632
+ "zstandard": "0.25.0",
633
+ "hf_xet_high_performance": false
634
+ },
635
+ "limitations": [
636
+ "No MDL-to-UsdPreviewSurface conversion is included.",
637
+ "The original eyes03A.jpg could not be recovered and is represented by the disclosed neutral fallback.",
638
+ "The Twinbru Graphical White Jacquard module is represented by a disclosed neutral MDL fallback because its official candidate did not reliably register under the full dataset search root.",
639
+ "Complete Windows GUI visual acceptance is pending and is not a v1.0.0-rc1 launch gate.",
640
+ "Actual Linux Isaac Sim 6.x validation is pending recipient feedback and is not a v1.0.0-rc1 launch gate.",
641
+ "Isaac Sim, Omniverse Kit, and NVIDIA drivers are not distributed."
642
+ ]
643
+ }
README.md CHANGED
@@ -1,22 +1,215 @@
1
  ---
2
  license: cc-by-nc-sa-4.0
 
 
 
3
  tags:
4
  - robotics
5
  - embodied-ai
 
6
  - isaac-sim
7
  - openusd
 
 
 
 
 
8
  ---
9
 
10
- # GRScenes Portable v1.0.0-rc1 — upload in progress
11
 
12
- This public Dataset repository is being initialized for the GRScenes Portable
13
- `v1.0.0-rc1` release candidate.
 
 
14
 
15
- The release is **not available yet**. A public `refs/pr/*` revision is unreleased
16
- validation staging. Do not download, cite, mirror, or use it until the same tree is
17
- merged to `main` and published under the immutable `v1.0.0-rc1` tag.
 
 
18
 
19
- The completed release candidate will include CC BY-NC-SA 4.0 licensing, attribution,
20
- material fallback disclosure, deterministic shard manifests, safe extraction tools,
21
- and its validation status. Complete GUI visual acceptance and real Linux Isaac Sim
22
- validation are not claimed for this RC.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-sa-4.0
3
+ language:
4
+ - en
5
+ - zh
6
  tags:
7
  - robotics
8
  - embodied-ai
9
+ - simulation
10
  - isaac-sim
11
  - openusd
12
+ - grscenes
13
+ - 3d-scenes
14
+ pretty_name: GRScenes Portable v1.0.0-rc1
15
+ size_categories:
16
+ - 100B<n<1T
17
  ---
18
 
19
+ # GRScenes Portable v1.0.0-rc1
20
 
21
+ > **Release candidate.** Complete Windows GUI visual acceptance and actual Linux
22
+ > Isaac Sim validation are still pending. Reproducible downloads must use the
23
+ > immutable `v1.0.0-rc1` tag, not the mutable `main` branch. A `refs/pr/*` view is
24
+ > public upload staging and must not be treated as a release.
25
 
26
+ GRScenes Portable is a GRScenes laboratory-authorized portable release maintained
27
+ by a project member. It preserves the original scene and asset organization while
28
+ removing private `/cpfs` material paths, restoring two transport-damaged USD layers
29
+ from the laboratory canonical copy, and closing a small set of missing material
30
+ dependencies. It is a compatibility repair, not a new dataset.
31
 
32
+ The payload contains 99 environments (69 home and 30 commercial), their
33
+ deduplicated asset library, and the required MDL/material resources. The release
34
+ contains 394,508 payload files and 291,181,357,750 bytes before archive compression.
35
+ All authored USD asset paths are intended to resolve after extraction at an
36
+ arbitrary Windows or Linux location. Isaac Sim, Omniverse Kit, and NVIDIA drivers
37
+ are not included.
38
+
39
+ For a Chinese quick start, see [README_zh-CN.md](README_zh-CN.md).
40
+
41
+ ## License and access terms
42
+
43
+ The released GRScenes data is licensed under
44
+ [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
45
+ Attribution, non-commercial use, and ShareAlike requirements apply. Preserve
46
+ `LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt` and `ATTRIBUTION.md` when sharing adaptations.
47
+
48
+ The upstream project also asks users to complete the GRScenes-100 Dataset Access
49
+ User Agreement. This public mirror does not waive that requirement. See the
50
+ [official GRScenes Dataset Card](https://huggingface.co/datasets/InternRobotics/GRScenes)
51
+ and [InternUtopia assets documentation](https://github.com/InternRobotics/InternUtopia#-assets).
52
+
53
+ ## Requirements
54
+
55
+ - Approximately 291 GB (271 GiB) for the extracted payload, plus compressed shards,
56
+ Hugging Face cache, and a safety margin during installation.
57
+ - Python 3.10 or newer for downloading and verification.
58
+ - `huggingface_hub` with `hf_xet`, plus `zstandard`; tested versions are pinned in
59
+ `requirements-download.txt`.
60
+ - NVIDIA Isaac Sim 6.x to render and run USD stages with MDL materials.
61
+
62
+ ## Download, verify, and extract
63
+
64
+ Install the downloader requirements from this repository, then run the public
65
+ interface pinned to the release-candidate tag:
66
+
67
+ ```bash
68
+ python -m pip install -r requirements-download.txt
69
+ python tools/download_and_extract.py \
70
+ --repo-id jandan138/GRScenes-portable \
71
+ --revision v1.0.0-rc1 \
72
+ --output /data/grscenes
73
+ ```
74
+
75
+ The downloader retrieves all 21 `tar.zst` shards through Hugging Face/Xet, verifies
76
+ every shard SHA-256, rejects unsafe archive members, extracts with per-file atomic
77
+ replacement, and automatically runs both payload checks. It refuses to overwrite a
78
+ non-empty output directory.
79
+
80
+ ```text
81
+ --cache-dir PATH place the Hugging Face cache on a selected volume
82
+ --download-only verify downloads without extracting
83
+ --extract-only extract an already downloaded local shard set
84
+ --resume reuse only files whose path, size, and SHA-256 match
85
+ --keep-shards retain materialized shard copies after success
86
+ ```
87
+
88
+ Manual verification after extraction:
89
+
90
+ ```bash
91
+ python /data/grscenes/tools/verify_dataset.py --dataset /data/grscenes --fast
92
+ python /data/grscenes/tools/verify_dataset.py --dataset /data/grscenes --keyfiles
93
+ ```
94
+
95
+ ## Isaac Sim usage
96
+
97
+ On Linux, add the bundled MDL root only for the current shell:
98
+
99
+ ```bash
100
+ source /data/grscenes/tools/setup_isaacsim_env.sh
101
+ ```
102
+
103
+ Then open a scene such as:
104
+
105
+ ```text
106
+ /data/grscenes/GRScenes100/home/MV7J6NIKTKJZ2AABAAAAADA8_usd/layout.usd
107
+ ```
108
+
109
+ Validate every layout using the Python environment shipped with Isaac Sim:
110
+
111
+ ```bash
112
+ /path/to/isaac-sim/python.sh \
113
+ /data/grscenes/tools/validate_stages.py \
114
+ --dataset /data/grscenes \
115
+ --output-json /data/grscenes/stage-validation.json \
116
+ --output-csv /data/grscenes/stage-validation.csv
117
+ ```
118
+
119
+ On Windows, use Isaac Sim's `python.bat` with Windows paths. A generic PyPI
120
+ `usd-core` environment is not a substitute for MDL/Kit validation.
121
+
122
+ ## Payload and archive layout
123
+
124
+ ```text
125
+ dataset/
126
+ ├── GRScenes100/ # 99 layout.usd entry points
127
+ ├── GRScenes_assets/ # deduplicated object and layout assets
128
+ ├── Material/ # MDL modules and texture resources
129
+ ├── tools/ # verification and Isaac Sim helper scripts
130
+ ├── MANIFEST.payload.csv
131
+ ├── MANIFEST.keyfiles.sha256
132
+ ├── PORTABLE_RELEASE.json
133
+ ├── README.md
134
+ └── ATTRIBUTION.md
135
+ ```
136
+
137
+ The Hub payload is stored in 21 deterministic archives: one scenes shard, 18
138
+ hash-stable asset shards, and two hash-stable Material shards. Members are rooted at
139
+ `dataset/` and contain only regular files and directories. The release does not rely
140
+ on symlinks, junctions, hardlinks, or device files.
141
+
142
+ ## Portable repair and material disclosure
143
+
144
+ The release replaces the approved private Material prefix with layer-relative
145
+ POSIX-style AssetPaths and localizes one authored Twinbru URL. Layout layers were not
146
+ rewritten by the portability pass; the two transport-damaged layouts were restored
147
+ byte-for-byte from the laboratory canonical source before release.
148
+
149
+ Seven formerly missing MDL modules and their required runtime closure came from
150
+ official NVIDIA distribution locations and passed Isaac Sim 6.0.1 MDL validation.
151
+ Two compatibility fallbacks are disclosed:
152
+
153
+ - `Material/mdl/Graphical_White_Jacquard_FL_3075963.mdl` is a neutral, texture-free
154
+ 50% gray MDL fallback. The official Twinbru candidate did not reliably terminate
155
+ registration under the full dataset MDL search root. The fallback preserves the
156
+ USD-required symbol and has SHA-256
157
+ `9af2cddf57e5458c29f31601a6a386f4264a9b3f782f7fd33dfd07a98684e834`.
158
+ - `Material/mdl/textures/eyes03A.jpg` is a true-JPEG 64×64 uniform 50% gray
159
+ compatibility texture. It does not reconstruct the missing eye texture and has
160
+ SHA-256 `94b2f9daa78a89a37eced1a78698e54f9201ad0908106f52d03d760fbc1d552f`.
161
+
162
+ No MDL-to-UsdPreviewSurface conversion was performed. Software without NVIDIA MDL
163
+ support may display geometry without complete materials.
164
+
165
+ ## Validation status and known GUI limitations
166
+
167
+ The immutable tag records machine-readable details in `PORTABLE_RELEASE.json`.
168
+ The non-GUI release-candidate gates are:
169
+
170
+ - Windows Isaac Sim 6.0.1 structural validation: 99/99 layouts passed; unresolved
171
+ references, outside-dataset dependencies, and Stage hard errors were zero.
172
+ - MDL validation: 1,574/1,574 unique bindings passed with zero failed batches.
173
+ - Local and Hugging Face PR archive round-trips must pass shard hashes, payload
174
+ manifests, Windows Stage/MDL validation, and WSL structure validation before the
175
+ PR is merged and tagged.
176
+ - WSL Ubuntu 22.04 checks exact filename case, relative-path containment, absence of
177
+ link/reparse dependencies, and both manifest modes.
178
+
179
+ Complete GUI visual acceptance is **not** claimed for `v1.0.0-rc1`:
180
+
181
+ - the strict targeted GUI survey did not reach PASS because of unapproved
182
+ Kit/RTX/SdfPath/normal-primvar warnings and memory limits;
183
+ - Scene 10 produced a black automated frame;
184
+ - Scene 12 later produced a dark frame with warnings;
185
+ - Scene 13 remained memory-blocked and has no accepted screenshot;
186
+ - the neutral `eyes03A.jpg` fallback has not been confirmed from a front-facing
187
+ character view.
188
+
189
+ These observations do not mean the structural or MDL gates failed. Complete Windows
190
+ GUI acceptance and at least one real Linux Isaac Sim 6.x recipient validation are
191
+ required before a stable `v1.0.0` release.
192
+
193
+ ## Upstream and citation
194
+
195
+ - [Official GRScenes Dataset Card](https://huggingface.co/datasets/InternRobotics/GRScenes)
196
+ - [InternUtopia](https://github.com/InternRobotics/InternUtopia)
197
+ - [GRUtopia: Dream General Robots in a City at Scale](https://arxiv.org/abs/2407.10943)
198
+
199
+ ```bibtex
200
+ @inproceedings{grutopia,
201
+ title={GRUtopia: Dream General Robots in a City at Scale},
202
+ author={Wang, Hanqing and Chen, Jiahe and Huang, Wensi and Ben, Qingwei and Wang, Tai and Mi, Boyu and Huang, Tao and Zhao, Siheng and Chen, Yilun and Yang, Sizhe and Cao, Peizhou and Yu, Wenye and Ye, Zichao and Li, Jialun and Long, Junfeng and Wang, ZiRui and Wang, Huiling and Zhao, Ying and Tu, Zhongying and Qiao, Yu and Lin, Dahua and Pang, Jiangmiao},
203
+ year={2024},
204
+ booktitle={arXiv}
205
+ }
206
+ ```
207
+
208
+ ## Versioning and support
209
+
210
+ `v1.0.0-rc1` is immutable. A payload correction will use a new tag such as
211
+ `v1.0.0-rc2`; this tag and its manifests will never be moved or overwritten. Stable
212
+ `v1.0.0` will be published through a separate reviewed tree after the remaining GUI
213
+ and Linux gates pass. Report problems with the scene path, platform, Isaac Sim
214
+ version, validator JSON, and failing manifest path without attaching licensed
215
+ payload files to public issues.
README_zh-CN.md ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GRScenes Portable v1.0.0-rc1 中文快速说明
2
+
3
+ > 这是公开的候选版,不是稳定版。完整 Windows GUI 视觉验收和实际 Linux
4
+ > Isaac Sim 验证仍未完成。可复现实验必须固定使用不可变标签
5
+ > `v1.0.0-rc1`,不要依赖可变的 `main`;`refs/pr/*` 只是公众可访问的上传验收区。
6
+
7
+ 这是由 GRScenes 实验室授权、团队成员维护的跨平台兼容发行版。它不是新数据集:
8
+ 主要变更是把私有 `/cpfs` 材质路径改为相对路径、从实验室权威副本恢复两个传输
9
+ 损坏的 USD,并补齐少量材质依赖。
10
+
11
+ 解包后的 payload 包含 394,508 个文件、291,181,357,750 字节,约 271 GiB。
12
+
13
+ ## 许可与访问要求
14
+
15
+ GRScenes 数据采用 [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/):
16
+ 必须署名、仅限非商用,并以相同许可分享修改版本。上游项目还要求用户完成
17
+ GRScenes-100 数据访问协议;本公开镜像不免除该要求。请保留
18
+ `LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt` 和 `ATTRIBUTION.md`。
19
+
20
+ ## 下载、校验和解包
21
+
22
+ 安装仓库中固定的下载依赖,然后运行:
23
+
24
+ ```bash
25
+ python -m pip install -r requirements-download.txt
26
+ python tools/download_and_extract.py \
27
+ --repo-id jandan138/GRScenes-portable \
28
+ --revision v1.0.0-rc1 \
29
+ --output /data/grscenes
30
+ ```
31
+
32
+ 脚本下载全部 21 个 `tar.zst` 分片,逐分片校验 SHA-256,拒绝绝对路径、`..`、
33
+ Symlink、Hardlink、设备文件、重复或越界成员,再执行原子解包和两种 payload 验证。
34
+ 它默认拒绝覆盖非空目录。
35
+
36
+ ```text
37
+ --cache-dir PATH 把 Hugging Face 缓存放到指定磁盘
38
+ --download-only 只下载并验证分片
39
+ --extract-only 解包已下载的本地分片
40
+ --resume 仅复用路径、大小和 SHA-256 全部匹配的文件
41
+ --keep-shards 成功后保留物化的分片副本
42
+ ```
43
+
44
+ ## Isaac Sim 使用
45
+
46
+ Linux 当前终端先执行:
47
+
48
+ ```bash
49
+ source /data/grscenes/tools/setup_isaacsim_env.sh
50
+ ```
51
+
52
+ 然后在 Isaac Sim 6.x 中打开某个 `layout.usd`,例如:
53
+
54
+ ```text
55
+ /data/grscenes/GRScenes100/home/MV7J6NIKTKJZ2AABAAAAADA8_usd/layout.usd
56
+ ```
57
+
58
+ 验证全部 99 个场景:
59
+
60
+ ```bash
61
+ /path/to/isaac-sim/python.sh \
62
+ /data/grscenes/tools/validate_stages.py \
63
+ --dataset /data/grscenes
64
+ ```
65
+
66
+ Windows 使用 Isaac Sim 自带的 `python.bat`。普通 PyPI `usd-core` 环境不能替代
67
+ Isaac Sim 的 MDL/Kit 验证。
68
+
69
+ ## 材质兼容处理
70
+
71
+ - 7 个缺失 MDL 及其必要依赖来自 NVIDIA 官方分发位置,并通过 Isaac Sim 6.0.1
72
+ MDL 验证。
73
+ - `Graphical_White_Jacquard_FL_3075963.mdl` 使用无纹理、50% 中性灰的兼容 MDL。
74
+ Twinbru 官方候选在完整数据集搜索根下无法可靠完成运行时注册;发行版没有保留在线依赖。
75
+ - `Material/mdl/textures/eyes03A.jpg` 使用真正 JPEG 编码的 64×64 中性灰兼容图;
76
+ 它不代表无法恢复的原始眼部纹理。
77
+ - 没有把 MDL 转换为 UsdPreviewSurface;不支持 NVIDIA MDL 的查看器可能只有几何,
78
+ 没有完整材质。
79
+
80
+ ## 验证状态与 GUI 限制
81
+
82
+ 已通过的候选版硬门槛:
83
+
84
+ - Windows Isaac Sim 6.0.1:99/99 Stage 结构验证通过;
85
+ - 1,574/1,574 个唯一 MDL binding 通过;
86
+ - unresolved、数据集外依赖和 MDL 硬失败为 0;
87
+ - 本地与 Hugging Face PR 回环必须完成分片哈希、payload manifest、Windows Stage/MDL
88
+ 和 WSL 结构验证,才能合并并创建标签。
89
+
90
+ `v1.0.0-rc1` 不声称完整 GUI 视觉验收通过:
91
+
92
+ - 严格 GUI 调查受到 Kit/RTX/SdfPath/normal-primvar 警告和内存限制影响;
93
+ - Scene 10 自动截图为黑帧;
94
+ - Scene 12 后续截图较暗且仍有警告;
95
+ - Scene 13 仍被内存门槛阻塞,没有可接受截图;
96
+ - `eyes03A.jpg` 中性 fallback 尚未通过正面人物视角确认。
97
+
98
+ 这些现象不等于 Stage 结构或 MDL 编译失败。正式 `v1.0.0` 必须补齐 GUI 视觉验收,
99
+ 并由至少一名接收者在真实 Linux Isaac Sim 6.x 环境验证。
100
+
101
+ 完整英文说明、引用和机器可读验证状态请查看 [README.md](README.md)、
102
+ `ATTRIBUTION.md` 和 `PORTABLE_RELEASE.json`。
requirements-download.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ huggingface_hub[hf_xet]==1.26.0
2
+ zstandard==0.25.0
shards/grscenes-portable-v1.0.0-rc1-assets-00.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f82e1487bee4f98dd6302c5d9de29396df92d1632b62e434b5bc7adc1f74bd21
3
+ size 7182573303
shards/grscenes-portable-v1.0.0-rc1-assets-01.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:288deaede19ad7579da550ee7d6fecc3744123b25ad543498203ed4a94fc72ba
3
+ size 7179389486
shards/grscenes-portable-v1.0.0-rc1-assets-02.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d00e7ee7942aa7e53ea4646691177c593984193d9d74f3bbf7002f935a5d1dd9
3
+ size 7114931825
shards/grscenes-portable-v1.0.0-rc1-assets-03.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:064af846671191ce161c2a7083e08e9444067933ac8b81f0043f1620a8ed9a49
3
+ size 7704770583
shards/grscenes-portable-v1.0.0-rc1-assets-04.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156f75b6da096c743da7127eaac38b752c8a4c3b53d63ed33a7cf629ae6137f5
3
+ size 7781335736
shards/grscenes-portable-v1.0.0-rc1-assets-05.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d35049de8576c791b6999261984e60c4e073fd780a46e1bd1f11b87409b808e
3
+ size 7869424319
shards/grscenes-portable-v1.0.0-rc1-assets-06.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b164fbb9cbe40afab8547629caa20185804f77be64c7ca03f60218a17c7a71f8
3
+ size 7716310716
shards/grscenes-portable-v1.0.0-rc1-assets-07.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11e8f1fdb7a8d5e0f6eed7db81a969699b1af6cf29350a21b83824532843347d
3
+ size 7739912493
shards/grscenes-portable-v1.0.0-rc1-assets-08.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c40f857d7f2ea8e15d54e495841299b1bf0265f598b81a5f560a58437b1b40b
3
+ size 7523180084
shards/grscenes-portable-v1.0.0-rc1-assets-09.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:152b51d2da8cc6d590dd6e8baf4edaa3490ad0b9830a6187ce46ebf36d847846
3
+ size 8256536680
shards/grscenes-portable-v1.0.0-rc1-assets-10.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b312dd4fd953c6cf0dc6aa8f27267925be7cc71fc274ee1195847f014962ef7c
3
+ size 7463068648
shards/grscenes-portable-v1.0.0-rc1-assets-11.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ca6ce47ca5b25fcec2be35f229620557e0aadc2b516053f3da3530ebaff4be8
3
+ size 7234559129
shards/grscenes-portable-v1.0.0-rc1-assets-12.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eafc07f265c7b5696cdaa900d023bdb89381025c1c417526b453fe5fe16990b
3
+ size 7895808000
shards/grscenes-portable-v1.0.0-rc1-assets-13.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1465a6ad3f10bb1066abd512b4579ccdd58a6755f60369fbae020ac288483a1a
3
+ size 7905890189
shards/grscenes-portable-v1.0.0-rc1-assets-14.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9134ebb9f97e8237101b72da40bf1e6a9de8c9e2318129c866ec1d634638a26
3
+ size 8298518467
shards/grscenes-portable-v1.0.0-rc1-assets-15.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90aadcf9fb2ea57a0860332e06514ac56b5120f450eb6565f58d92b29bc65397
3
+ size 8216971865
shards/grscenes-portable-v1.0.0-rc1-assets-16.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9842b149b2cdbe7025c6eddf63f05d29bc161e1d8fc61903fb0028a54852b57
3
+ size 8941426631
shards/grscenes-portable-v1.0.0-rc1-assets-17.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd909cab4b378f91326176f1a2a9114f66d6a3810ddfc3b6dbd69f7a4ea7dde4
3
+ size 7920457184
shards/grscenes-portable-v1.0.0-rc1-material-00.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3363748e9615c172966c1ac8e41290fb591afe13e2d8607f49dd43f9e4a10cc1
3
+ size 14898069980
shards/grscenes-portable-v1.0.0-rc1-material-01.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1eebe30293bc0dd87d6c0ed70d338cfab0d0621a4f3ca87a9435136ec02fdce1
3
+ size 14970706850
shards/grscenes-portable-v1.0.0-rc1-scenes.tar.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b906f5e5596ad0b1fe3f8997d5c6e783f52b459396f657387441149b7b50aaa
3
+ size 26503108
tools/download_and_extract.py ADDED
@@ -0,0 +1,437 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Download, verify, and safely extract GRScenes Portable release shards."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import csv
8
+ import hashlib
9
+ import json
10
+ import os
11
+ import re
12
+ import shutil
13
+ import subprocess
14
+ import sys
15
+ import tarfile
16
+ import time
17
+ from datetime import datetime, timezone
18
+ from pathlib import Path, PurePosixPath
19
+
20
+ import zstandard
21
+ from huggingface_hub import hf_hub_download
22
+
23
+
24
+ DEFAULT_REPO = "jandan138/GRScenes-portable"
25
+ DEFAULT_REVISION = "v1.0.0-rc1"
26
+ READ_SIZE = 8 * 1024 * 1024
27
+ SHA256_RE = re.compile(r"^([0-9a-fA-F]{64})\s{2}(.+)$")
28
+ PAYLOAD_ROOTS = ("GRScenes100", "GRScenes_assets", "Material")
29
+ CONTROL_FILES = (
30
+ ".gitattributes",
31
+ "README.md",
32
+ "README_zh-CN.md",
33
+ "LICENSE-GRSCENES-CC-BY-NC-SA-4.0.txt",
34
+ "ATTRIBUTION.md",
35
+ "PORTABLE_RELEASE.json",
36
+ "MANIFEST.payload.csv",
37
+ "MANIFEST.keyfiles.sha256",
38
+ "MANIFEST.shards.sha256",
39
+ "requirements-download.txt",
40
+ "tools/download_and_extract.py",
41
+ "tools/verify_dataset.py",
42
+ "tools/validate_stages.py",
43
+ "tools/setup_isaacsim_env.sh",
44
+ )
45
+
46
+
47
+ def sha256_file(path: Path) -> str:
48
+ digest = hashlib.sha256()
49
+ with path.open("rb", buffering=0) as stream:
50
+ for chunk in iter(lambda: stream.read(READ_SIZE), b""):
51
+ digest.update(chunk)
52
+ return digest.hexdigest()
53
+
54
+
55
+ def load_sha256_manifest(path: Path) -> list[tuple[str, str]]:
56
+ rows: list[tuple[str, str]] = []
57
+ seen: set[str] = set()
58
+ for line_number, line in enumerate(path.read_text(encoding="utf-8-sig").splitlines(), 1):
59
+ if not line:
60
+ continue
61
+ match = SHA256_RE.match(line)
62
+ if not match:
63
+ raise RuntimeError(f"invalid SHA-256 manifest line {line_number}: {path}")
64
+ digest, rel = match.groups()
65
+ if (
66
+ rel.startswith("/")
67
+ or "\\" in rel
68
+ or any(part in {"", ".", ".."} or ":" in part for part in rel.split("/"))
69
+ ):
70
+ raise RuntimeError(f"unsafe manifest path: {rel!r}")
71
+ if rel in seen:
72
+ raise RuntimeError(f"duplicate manifest path: {rel}")
73
+ seen.add(rel)
74
+ rows.append((digest.lower(), rel))
75
+ return rows
76
+
77
+
78
+ def load_payload_manifest(path: Path) -> dict[str, dict[str, object]]:
79
+ result: dict[str, dict[str, object]] = {}
80
+ folded: dict[str, str] = {}
81
+ with path.open("r", encoding="utf-8-sig", newline="") as stream:
82
+ reader = csv.DictReader(stream)
83
+ required = {"relative_path", "size_bytes", "mtime_utc", "shard_name", "sha256"}
84
+ if not reader.fieldnames or not required.issubset(reader.fieldnames):
85
+ raise RuntimeError(f"payload manifest lacks required fields: {reader.fieldnames}")
86
+ for row in reader:
87
+ rel = row["relative_path"]
88
+ parts = rel.split("/")
89
+ if (
90
+ not rel
91
+ or rel.startswith("/")
92
+ or "\\" in rel
93
+ or any(part in {"", ".", ".."} or ":" in part for part in parts)
94
+ or parts[0] not in PAYLOAD_ROOTS
95
+ ):
96
+ raise RuntimeError(f"unsafe payload path: {rel!r}")
97
+ if rel in result:
98
+ raise RuntimeError(f"duplicate payload path: {rel}")
99
+ prior = folded.setdefault(rel.casefold(), rel)
100
+ if prior != rel:
101
+ raise RuntimeError(f"case-ambiguous payload paths: {prior!r} / {rel!r}")
102
+ digest = row["sha256"].lower()
103
+ if not re.fullmatch(r"[0-9a-f]{64}", digest):
104
+ raise RuntimeError(f"invalid payload SHA-256: {rel}")
105
+ result[rel] = {
106
+ "size_bytes": int(row["size_bytes"]),
107
+ "mtime_utc": row["mtime_utc"],
108
+ "mtime_seconds": int(
109
+ datetime.fromisoformat(row["mtime_utc"].replace("Z", "+00:00")).timestamp()
110
+ ),
111
+ "shard_name": row["shard_name"],
112
+ "sha256": digest,
113
+ }
114
+ return result
115
+
116
+
117
+ def download_file(
118
+ repo_id: str,
119
+ revision: str,
120
+ filename: str,
121
+ local_dir: Path,
122
+ cache_dir: Path | None,
123
+ ) -> Path:
124
+ result = hf_hub_download(
125
+ repo_id=repo_id,
126
+ repo_type="dataset",
127
+ revision=revision,
128
+ filename=filename,
129
+ cache_dir=str(cache_dir) if cache_dir else None,
130
+ )
131
+ cached = Path(result)
132
+ # Hub snapshots normally expose cached blobs through relative symlinks.
133
+ # Hard-linking the snapshot entry itself on Windows can reproduce that
134
+ # symlink in ``local_dir`` with a now-invalid relative target. Resolve the
135
+ # snapshot entry first so the round-trip repository always contains a
136
+ # regular file (or a hard link to the real blob), never a cache symlink.
137
+ source = cached.resolve(strict=True)
138
+ if not source.is_file() or source.is_symlink():
139
+ raise RuntimeError(f"Hub cache did not resolve to a regular file: {filename}")
140
+ target = local_dir.joinpath(*filename.split("/"))
141
+ target.parent.mkdir(parents=True, exist_ok=True)
142
+ if target.exists():
143
+ if not target.is_symlink() and target.is_file() and os.path.samefile(target, source):
144
+ return target
145
+ temporary = target.with_name(target.name + ".cache-link-part")
146
+ if temporary.exists():
147
+ temporary.unlink()
148
+ try:
149
+ os.link(source, temporary)
150
+ except OSError:
151
+ shutil.copyfile(source, temporary)
152
+ if temporary.is_symlink() or not temporary.is_file():
153
+ raise RuntimeError(f"download staging is not a regular file: {filename}")
154
+ os.replace(temporary, target)
155
+ if target.is_symlink() or not target.is_file():
156
+ raise RuntimeError(f"download target is not a regular file: {filename}")
157
+ return target
158
+
159
+
160
+ def download_release(
161
+ repo_id: str,
162
+ revision: str,
163
+ repo_dir: Path,
164
+ cache_dir: Path | None,
165
+ ) -> list[tuple[str, str]]:
166
+ repo_dir.mkdir(parents=True, exist_ok=True)
167
+ for filename in CONTROL_FILES:
168
+ print(f"download control: {filename}", flush=True)
169
+ download_file(repo_id, revision, filename, repo_dir, cache_dir)
170
+ shard_manifest = load_sha256_manifest(repo_dir / "MANIFEST.shards.sha256")
171
+ for expected, rel in shard_manifest:
172
+ if not rel.startswith("shards/") or not rel.endswith(".tar.zst"):
173
+ raise RuntimeError(f"unexpected shard path in manifest: {rel}")
174
+ print(f"download shard: {rel}", flush=True)
175
+ download_file(repo_id, revision, rel, repo_dir, cache_dir)
176
+ return shard_manifest
177
+
178
+
179
+ def verify_local_shards(repo_dir: Path) -> list[tuple[str, str]]:
180
+ rows = load_sha256_manifest(repo_dir / "MANIFEST.shards.sha256")
181
+ if len(rows) != 21:
182
+ raise RuntimeError(f"expected 21 shards, manifest has {len(rows)}")
183
+ for index, (expected, rel) in enumerate(rows, 1):
184
+ path = repo_dir.joinpath(*rel.split("/"))
185
+ if not path.is_file():
186
+ raise RuntimeError(f"missing shard: {rel}")
187
+ actual = sha256_file(path)
188
+ if actual != expected:
189
+ raise RuntimeError(f"shard SHA-256 mismatch: {rel}: {actual} != {expected}")
190
+ print(f"verified shard {index}/{len(rows)}: {rel}", flush=True)
191
+ return rows
192
+
193
+
194
+ def safe_member_name(name: str) -> tuple[str, str]:
195
+ if "\\" in name or not name or name.startswith("/"):
196
+ raise RuntimeError(f"unsafe tar member name: {name!r}")
197
+ pure = PurePosixPath(name)
198
+ parts = pure.parts
199
+ if any(part in {"", ".", ".."} or ":" in part for part in parts):
200
+ raise RuntimeError(f"unsafe tar member name: {name!r}")
201
+ if not parts or parts[0] != "dataset":
202
+ raise RuntimeError(f"tar member is outside dataset/: {name!r}")
203
+ if len(parts) == 1:
204
+ return "", "dataset"
205
+ rel = PurePosixPath(*parts[1:]).as_posix()
206
+ return rel, pure.as_posix()
207
+
208
+
209
+ def file_matches(path: Path, expected: dict[str, object]) -> bool:
210
+ if not path.is_file() or path.is_symlink():
211
+ return False
212
+ if path.stat().st_size != int(expected["size_bytes"]):
213
+ return False
214
+ return sha256_file(path) == expected["sha256"]
215
+
216
+
217
+ def preflight_resume_output(output: Path, payload: dict[str, dict[str, object]]) -> None:
218
+ for root_name in PAYLOAD_ROOTS:
219
+ root = output / root_name
220
+ if not root.exists():
221
+ continue
222
+ if not root.is_dir() or root.is_symlink():
223
+ raise RuntimeError(f"resume payload root is not a regular directory: {root_name}")
224
+ for current, dirs, files in os.walk(root, followlinks=False):
225
+ current_path = Path(current)
226
+ for name in list(dirs):
227
+ path = current_path / name
228
+ if path.is_symlink():
229
+ raise RuntimeError(
230
+ f"resume output contains a directory link: {path.relative_to(output).as_posix()}"
231
+ )
232
+ for name in files:
233
+ path = current_path / name
234
+ rel = path.relative_to(output).as_posix()
235
+ if path.is_symlink() or not path.is_file():
236
+ raise RuntimeError(f"resume output contains a non-regular entry: {rel}")
237
+ if path.stat().st_nlink != 1:
238
+ raise RuntimeError(f"resume output contains a hard-linked payload file: {rel}")
239
+ if rel not in payload:
240
+ if not rel.endswith(".grscenes-part") or rel[: -len(".grscenes-part")] not in payload:
241
+ raise RuntimeError(f"resume output contains an extra payload file: {rel}")
242
+
243
+
244
+ def extract_shards(
245
+ repo_dir: Path,
246
+ output: Path,
247
+ payload: dict[str, dict[str, object]],
248
+ shard_rows: list[tuple[str, str]],
249
+ *,
250
+ resume: bool,
251
+ workspace: Path,
252
+ ) -> None:
253
+ if output.exists() and any(output.iterdir()) and not resume:
254
+ raise RuntimeError(
255
+ f"output already exists and is non-empty: {output}; use --resume only for this release"
256
+ )
257
+ output.mkdir(parents=True, exist_ok=True)
258
+ if resume:
259
+ preflight_resume_output(output, payload)
260
+ orphans = workspace / "orphan-partials"
261
+ seen_files: set[str] = set()
262
+ seen_folded: dict[str, str] = {}
263
+
264
+ by_shard: dict[str, set[str]] = {}
265
+ for rel, record in payload.items():
266
+ by_shard.setdefault(str(record["shard_name"]), set()).add(rel)
267
+ manifest_shards = {Path(rel).name for _, rel in shard_rows}
268
+ if set(by_shard) != manifest_shards:
269
+ raise RuntimeError(
270
+ f"payload/shard manifest disagree: payload={sorted(by_shard)} shards={sorted(manifest_shards)}"
271
+ )
272
+
273
+ for shard_index, (_digest, shard_rel) in enumerate(shard_rows, 1):
274
+ shard_path = repo_dir.joinpath(*shard_rel.split("/"))
275
+ shard_name = shard_path.name
276
+ expected_files = by_shard[shard_name]
277
+ expected_dirs = {""}
278
+ for rel in expected_files:
279
+ parts = rel.split("/")
280
+ expected_dirs.update("/".join(parts[:i]) for i in range(1, len(parts)))
281
+ found_in_shard: set[str] = set()
282
+ print(f"extract shard {shard_index}/{len(shard_rows)}: {shard_name}", flush=True)
283
+ with shard_path.open("rb", buffering=0) as raw:
284
+ with zstandard.ZstdDecompressor().stream_reader(raw) as decompressed:
285
+ with tarfile.open(fileobj=decompressed, mode="r|", bufsize=READ_SIZE) as archive:
286
+ for member in archive:
287
+ rel, normalized = safe_member_name(member.name)
288
+ if member.issym() or member.islnk() or member.isdev() or member.isfifo():
289
+ raise RuntimeError(f"dangerous tar member type: {member.name}")
290
+ if member.isdir():
291
+ if rel not in expected_dirs:
292
+ raise RuntimeError(f"unexpected directory in shard {shard_name}: {rel}")
293
+ if rel:
294
+ target_dir = output.joinpath(*rel.split("/"))
295
+ if target_dir.exists() and not target_dir.is_dir():
296
+ raise RuntimeError(f"directory collides with file: {rel}")
297
+ target_dir.mkdir(parents=True, exist_ok=True)
298
+ try:
299
+ target_dir.chmod(0o755)
300
+ except OSError:
301
+ pass
302
+ continue
303
+ if not member.isreg():
304
+ raise RuntimeError(f"non-regular tar member: {member.name}")
305
+ if rel not in expected_files:
306
+ raise RuntimeError(f"unexpected payload member in {shard_name}: {rel}")
307
+ if rel in seen_files or rel in found_in_shard:
308
+ raise RuntimeError(f"duplicate payload member: {rel}")
309
+ prior = seen_folded.setdefault(rel.casefold(), rel)
310
+ if prior != rel:
311
+ raise RuntimeError(f"case-ambiguous tar members: {prior!r} / {rel!r}")
312
+ expected = payload[rel]
313
+ if member.size != int(expected["size_bytes"]):
314
+ raise RuntimeError(
315
+ f"tar member size mismatch: {rel}: {member.size} != {expected['size_bytes']}"
316
+ )
317
+ target = output.joinpath(*rel.split("/"))
318
+ target.parent.mkdir(parents=True, exist_ok=True)
319
+ temporary = target.with_name(target.name + ".grscenes-part")
320
+ if temporary.exists():
321
+ orphans.mkdir(parents=True, exist_ok=True)
322
+ temporary.replace(
323
+ orphans / f"{hashlib.sha256(rel.encode()).hexdigest()}-{int(time.time())}.part"
324
+ )
325
+ if resume and target.exists() and file_matches(target, expected):
326
+ found_in_shard.add(rel)
327
+ seen_files.add(rel)
328
+ continue
329
+ source = archive.extractfile(member)
330
+ if source is None:
331
+ raise RuntimeError(f"could not read tar payload: {rel}")
332
+ digest = hashlib.sha256()
333
+ copied = 0
334
+ with temporary.open("xb") as destination:
335
+ while True:
336
+ chunk = source.read(READ_SIZE)
337
+ if not chunk:
338
+ break
339
+ destination.write(chunk)
340
+ digest.update(chunk)
341
+ copied += len(chunk)
342
+ destination.flush()
343
+ os.fsync(destination.fileno())
344
+ if copied != int(expected["size_bytes"]) or digest.hexdigest() != expected["sha256"]:
345
+ raise RuntimeError(f"extracted payload verification failed: {rel}")
346
+ os.replace(temporary, target)
347
+ try:
348
+ target.chmod(0o644)
349
+ except OSError:
350
+ pass
351
+ os.utime(target, (int(expected["mtime_seconds"]), int(expected["mtime_seconds"])))
352
+ found_in_shard.add(rel)
353
+ seen_files.add(rel)
354
+ missing = expected_files - found_in_shard
355
+ if missing:
356
+ raise RuntimeError(f"shard {shard_name} lacks {len(missing)} manifest files")
357
+ if seen_files != set(payload):
358
+ raise RuntimeError(
359
+ f"extracted payload set mismatch: seen={len(seen_files)} expected={len(payload)}"
360
+ )
361
+
362
+
363
+ def copy_release_metadata(repo_dir: Path, output: Path) -> None:
364
+ for rel in CONTROL_FILES:
365
+ source = repo_dir.joinpath(*rel.split("/"))
366
+ target = output.joinpath(*rel.split("/"))
367
+ target.parent.mkdir(parents=True, exist_ok=True)
368
+ temporary = target.with_name(target.name + ".metadata-part")
369
+ shutil.copyfile(source, temporary)
370
+ os.replace(temporary, target)
371
+
372
+
373
+ def run_verifiers(output: Path) -> None:
374
+ verifier = output / "tools" / "verify_dataset.py"
375
+ for mode in ("--fast", "--keyfiles"):
376
+ command = [sys.executable, str(verifier), "--dataset", str(output), mode]
377
+ print("run:", subprocess.list2cmdline(command), flush=True)
378
+ subprocess.run(command, check=True)
379
+
380
+
381
+ def main() -> int:
382
+ parser = argparse.ArgumentParser()
383
+ parser.add_argument("--repo-id", default=DEFAULT_REPO)
384
+ parser.add_argument("--revision", default=DEFAULT_REVISION)
385
+ parser.add_argument("--output", required=True, type=Path)
386
+ parser.add_argument("--cache-dir", type=Path)
387
+ modes = parser.add_mutually_exclusive_group()
388
+ modes.add_argument("--download-only", action="store_true")
389
+ modes.add_argument("--extract-only", action="store_true")
390
+ parser.add_argument("--resume", action="store_true")
391
+ parser.add_argument("--keep-shards", action="store_true")
392
+ args = parser.parse_args()
393
+
394
+ output = args.output.resolve()
395
+ workspace = output.parent / f".{output.name}.grscenes-portable-{args.revision.replace('/', '_')}"
396
+ repo_dir = workspace / "repo"
397
+ cache_dir = args.cache_dir.resolve() if args.cache_dir else None
398
+ try:
399
+ if not args.extract_only:
400
+ download_release(args.repo_id, args.revision, repo_dir, cache_dir)
401
+ shard_rows = verify_local_shards(repo_dir)
402
+ if args.download_only:
403
+ print(f"download status=PASS repository_files={repo_dir}")
404
+ return 0
405
+ payload = load_payload_manifest(repo_dir / "MANIFEST.payload.csv")
406
+ extract_shards(
407
+ repo_dir,
408
+ output,
409
+ payload,
410
+ shard_rows,
411
+ resume=args.resume,
412
+ workspace=workspace,
413
+ )
414
+ copy_release_metadata(repo_dir, output)
415
+ run_verifiers(output)
416
+ completion = {
417
+ "schema_version": 1,
418
+ "status": "PASS",
419
+ "repo_id": args.repo_id,
420
+ "revision": args.revision,
421
+ "completed_utc": datetime.now(timezone.utc).isoformat(),
422
+ "payload_files": len(payload),
423
+ "shards": len(shard_rows),
424
+ }
425
+ marker = output / ".GRSCENES_PORTABLE_COMPLETE.json"
426
+ marker.write_text(json.dumps(completion, indent=2) + "\n", encoding="utf-8")
427
+ if not args.keep_shards:
428
+ shutil.rmtree(repo_dir / "shards")
429
+ print(f"extract status=PASS output={output}")
430
+ return 0
431
+ except Exception as exc:
432
+ print(f"FATAL: {exc}", file=sys.stderr)
433
+ return 2
434
+
435
+
436
+ if __name__ == "__main__":
437
+ raise SystemExit(main())
tools/setup_isaacsim_env.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Source this file; do not execute it: source tools/setup_isaacsim_env.sh
3
+
4
+ _grscenes_this="${BASH_SOURCE[0]}"
5
+ _grscenes_tools_dir="$(cd -- "$(dirname -- "${_grscenes_this}")" >/dev/null 2>&1 && pwd -P)" || return 1
6
+ export GRSCENES_DATASET_ROOT="$(cd -- "${_grscenes_tools_dir}/.." >/dev/null 2>&1 && pwd -P)" || return 1
7
+ _grscenes_mdl="${GRSCENES_DATASET_ROOT}/Material/mdl"
8
+
9
+ if [[ ":${MDL_SYSTEM_PATH:-}:" == *":${_grscenes_mdl}:"* ]]; then
10
+ :
11
+ elif [[ -n "${MDL_SYSTEM_PATH:-}" ]]; then
12
+ export MDL_SYSTEM_PATH="${_grscenes_mdl}:${MDL_SYSTEM_PATH}"
13
+ else
14
+ export MDL_SYSTEM_PATH="${_grscenes_mdl}"
15
+ fi
16
+
17
+ unset _grscenes_this _grscenes_tools_dir _grscenes_mdl
18
+ printf 'GRSCENES_DATASET_ROOT=%s\n' "${GRSCENES_DATASET_ROOT}"
19
+ printf 'MDL_SYSTEM_PATH prepended with %s/Material/mdl\n' "${GRSCENES_DATASET_ROOT}"
tools/validate_stages.py ADDED
@@ -0,0 +1,334 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Validate every GRScenes layout with Isaac Sim/OpenUSD and emit JSON/CSV reports."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import csv
8
+ import gc
9
+ import json
10
+ import os
11
+ import re
12
+ import sys
13
+ import time
14
+ from datetime import datetime, timezone
15
+ from pathlib import Path
16
+
17
+ from isaacsim import SimulationApp
18
+
19
+
20
+ HARD_WARNING_PATTERN = re.compile(
21
+ r"(unresolved|could not (?:open|resolve|find)|failed to (?:open|resolve|load|compile)|"
22
+ r"missing (?:asset|file|texture|material)|mdl.*(?:error|failed)|texture.*(?:error|failed)|"
23
+ r"(?:crate|lz4).*(?:error|fail|corrupt))",
24
+ re.IGNORECASE,
25
+ )
26
+
27
+
28
+ class LogRecorder:
29
+ def __init__(self, logging_module) -> None:
30
+ self.module = logging_module
31
+ self.logging = logging_module.acquire_logging()
32
+ self.handle = self.logging.add_logger(self._on_log)
33
+ self.rows: list[dict[str, object]] = []
34
+
35
+ def _on_log(self, source, level, file_name, line_number, message) -> None:
36
+ if int(level) not in {
37
+ self.module.LEVEL_WARN,
38
+ self.module.LEVEL_ERROR,
39
+ self.module.LEVEL_FATAL,
40
+ }:
41
+ return
42
+ self.rows.append(
43
+ {
44
+ "source": str(source),
45
+ "level": int(level),
46
+ "file": str(file_name),
47
+ "line": int(line_number),
48
+ "message": str(message),
49
+ }
50
+ )
51
+
52
+ def clear(self) -> None:
53
+ self.rows.clear()
54
+
55
+ def close(self) -> None:
56
+ self.logging.remove_logger(self.handle)
57
+
58
+
59
+ def is_inside(path: Path, root: Path) -> bool:
60
+ try:
61
+ path.resolve(strict=False).relative_to(root.resolve(strict=False))
62
+ return True
63
+ except ValueError:
64
+ return False
65
+
66
+
67
+ def asset_text(value: object) -> tuple[str, str]:
68
+ raw = getattr(value, "path", None)
69
+ resolved = getattr(value, "resolvedPath", None)
70
+ return str(raw if raw is not None else value), str(resolved or "")
71
+
72
+
73
+ def dependency_report(UsdUtils, Sdf, layout: Path, dataset: Path) -> dict[str, object]:
74
+ layers, assets, unresolved = UsdUtils.ComputeAllDependencies(Sdf.AssetPath(str(layout)))
75
+ layer_rows: list[dict[str, object]] = []
76
+ asset_rows: list[dict[str, object]] = []
77
+ outside: list[str] = []
78
+ unresolved_rows: list[str] = []
79
+ for layer in layers:
80
+ identifier = str(getattr(layer, "realPath", "") or getattr(layer, "identifier", layer))
81
+ inside = bool(identifier) and is_inside(Path(identifier), dataset)
82
+ layer_rows.append({"path": identifier, "inside_dataset": inside})
83
+ if identifier and not inside and not identifier.startswith("anon:"):
84
+ outside.append(identifier)
85
+ for asset in assets:
86
+ raw, resolved = asset_text(asset)
87
+ effective = resolved or raw
88
+ inside = bool(effective) and is_inside(Path(effective), dataset)
89
+ asset_rows.append({"authored": raw, "resolved": resolved, "inside_dataset": inside})
90
+ if effective and not inside:
91
+ outside.append(effective)
92
+ for item in unresolved:
93
+ raw, resolved = asset_text(item)
94
+ unresolved_rows.append(resolved or raw)
95
+ return {
96
+ "layers": layer_rows,
97
+ "assets": asset_rows,
98
+ "unresolved": sorted(set(unresolved_rows)),
99
+ "outside_dataset": sorted(set(outside)),
100
+ }
101
+
102
+
103
+ def collect_mdl_bindings(stage) -> list[tuple[str, str]]:
104
+ found: set[tuple[str, str]] = set()
105
+ for prim in stage.TraverseAll():
106
+ source = prim.GetAttribute("info:mdl:sourceAsset")
107
+ if not source or not source.HasAuthoredValueOpinion():
108
+ continue
109
+ value = source.Get()
110
+ raw = str(getattr(value, "path", value) or "")
111
+ resolved = str(getattr(value, "resolvedPath", "") or "")
112
+ sub_attr = prim.GetAttribute("info:mdl:sourceAsset:subIdentifier")
113
+ symbol = str(sub_attr.Get() or "") if sub_attr else ""
114
+ found.add((resolved or raw, symbol))
115
+ return sorted(found)
116
+
117
+
118
+ def validate_mdl_bindings(UsdMdl, Sdf, UsdShade, stage, bindings, dataset: Path):
119
+ results: list[dict[str, object]] = []
120
+ failures: list[str] = []
121
+ for index, (path_text, symbol) in enumerate(bindings):
122
+ path = Path(path_text)
123
+ inside = is_inside(path, dataset)
124
+ exists = path.is_file()
125
+ source = Sdf.AssetPath(str(path), str(path) if exists else "")
126
+ added = bool(UsdMdl.RegistryUtils.AddModuleToRegistry(source)) if exists else False
127
+ loaded = bool(UsdMdl.RegistryUtils.IsModuleLoaded(source)) if exists else False
128
+ node_found = None
129
+ if exists and symbol:
130
+ shader = UsdShade.Shader.Define(stage, f"/PortableValidation/Mdl/M{index:06d}")
131
+ set_asset = bool(shader.SetSourceAsset(source, UsdMdl.Tokens.Mdl))
132
+ set_symbol = bool(shader.SetSourceAssetSubIdentifier(symbol, UsdMdl.Tokens.Mdl))
133
+ node_found = UsdMdl.RegistryUtils.FindShaderNodeForPrim(shader.GetPrim()) is not None
134
+ else:
135
+ set_asset = exists
136
+ set_symbol = not symbol
137
+ ok = inside and exists and added and loaded and set_asset and set_symbol and node_found is not False
138
+ if not ok:
139
+ failures.append(f"{path_text}::{symbol}")
140
+ results.append(
141
+ {
142
+ "path": path_text,
143
+ "symbol": symbol,
144
+ "inside_dataset": inside,
145
+ "exists": exists,
146
+ "registry_added": added,
147
+ "registry_loaded": loaded,
148
+ "shader_node_found": node_found,
149
+ "ok": ok,
150
+ }
151
+ )
152
+ return results, failures
153
+
154
+
155
+ def write_csv(path: Path, rows: list[dict[str, object]]) -> None:
156
+ fields = [
157
+ "layout",
158
+ "status",
159
+ "prim_count",
160
+ "layer_count",
161
+ "asset_count",
162
+ "unresolved_count",
163
+ "outside_dataset_count",
164
+ "mdl_binding_count",
165
+ "mdl_failure_count",
166
+ "hard_log_count",
167
+ "elapsed_seconds",
168
+ ]
169
+ with path.open("w", encoding="utf-8", newline="") as stream:
170
+ writer = csv.DictWriter(stream, fieldnames=fields, lineterminator="\n")
171
+ writer.writeheader()
172
+ writer.writerows({field: row.get(field) for field in fields} for row in rows)
173
+
174
+
175
+ def main() -> int:
176
+ parser = argparse.ArgumentParser()
177
+ parser.add_argument("--dataset", type=Path, default=Path(__file__).resolve().parents[1])
178
+ parser.add_argument("--output-json", type=Path)
179
+ parser.add_argument("--output-csv", type=Path)
180
+ parser.add_argument("--updates", type=int, default=3)
181
+ parser.add_argument("--limit", type=int, default=0, help="Debug only; 0 validates all 99 layouts.")
182
+ args, _kit_args = parser.parse_known_args()
183
+
184
+ dataset = args.dataset.resolve()
185
+ output_json = (args.output_json or dataset / "stage-validation.json").resolve()
186
+ output_csv = (args.output_csv or dataset / "stage-validation.csv").resolve()
187
+ layouts = sorted((dataset / "GRScenes100").glob("*/*_usd/layout.usd"))
188
+ if len(layouts) != 99:
189
+ print(f"FATAL: expected 99 layouts, found {len(layouts)}", file=sys.stderr)
190
+ return 2
191
+ if args.limit:
192
+ layouts = layouts[: args.limit]
193
+
194
+ app = SimulationApp({"headless": True})
195
+ import carb.logging
196
+ import omni.UsdMdl as UsdMdl
197
+ import omni.usd
198
+ from pxr import Sdf, UsdShade, UsdUtils
199
+
200
+ recorder = LogRecorder(carb.logging)
201
+ context = omni.usd.get_context()
202
+ reports: list[dict[str, object]] = []
203
+ summaries: list[dict[str, object]] = []
204
+ try:
205
+ for index, layout in enumerate(layouts, 1):
206
+ started = time.monotonic()
207
+ relative = layout.relative_to(dataset).as_posix()
208
+ recorder.clear()
209
+ context.close_stage()
210
+ app.update()
211
+ opened = context.open_stage(str(layout))
212
+ for _ in range(max(1, args.updates)):
213
+ app.update()
214
+ stage = context.get_stage()
215
+ errors: list[str] = []
216
+ if stage is None:
217
+ errors.append("omni.usd context returned no Stage")
218
+ dep = {"layers": [], "assets": [], "unresolved": [relative], "outside_dataset": []}
219
+ prim_count = 0
220
+ mdl_results: list[dict[str, object]] = []
221
+ mdl_failures: list[str] = []
222
+ else:
223
+ prim_count = sum(1 for _ in stage.TraverseAll())
224
+ try:
225
+ dep = dependency_report(UsdUtils, Sdf, layout, dataset)
226
+ except Exception as exc:
227
+ dep = {"layers": [], "assets": [], "unresolved": [str(exc)], "outside_dataset": []}
228
+ errors.append(f"ComputeAllDependencies failed: {exc}")
229
+ bindings = collect_mdl_bindings(stage)
230
+ stage.SetEditTarget(stage.GetSessionLayer())
231
+ mdl_results, mdl_failures = validate_mdl_bindings(
232
+ UsdMdl, Sdf, UsdShade, stage, bindings, dataset
233
+ )
234
+ hard_logs = [
235
+ row
236
+ for row in recorder.rows
237
+ if row["level"] in {carb.logging.LEVEL_ERROR, carb.logging.LEVEL_FATAL}
238
+ or (
239
+ row["level"] == carb.logging.LEVEL_WARN
240
+ and HARD_WARNING_PATTERN.search(str(row["message"]))
241
+ )
242
+ ]
243
+ if dep["unresolved"]:
244
+ errors.append(f"unresolved dependencies: {len(dep['unresolved'])}")
245
+ if dep["outside_dataset"]:
246
+ errors.append(f"dependencies outside dataset: {len(dep['outside_dataset'])}")
247
+ if mdl_failures:
248
+ errors.append(f"MDL binding failures: {len(mdl_failures)}")
249
+ if hard_logs:
250
+ errors.append(f"hard Kit log messages: {len(hard_logs)}")
251
+ elapsed = time.monotonic() - started
252
+ report = {
253
+ "layout": relative,
254
+ "status": "PASS" if not errors else "FAIL",
255
+ "errors": errors,
256
+ "prim_count": prim_count,
257
+ "root_layer": str(stage.GetRootLayer().realPath) if stage else None,
258
+ "dependencies": dep,
259
+ "mdl_bindings": mdl_results,
260
+ "mdl_failures": mdl_failures,
261
+ "hard_logs": hard_logs[:1000],
262
+ "all_warning_error_log_count": sum(
263
+ 1
264
+ for row in recorder.rows
265
+ if row["level"]
266
+ in {carb.logging.LEVEL_WARN, carb.logging.LEVEL_ERROR, carb.logging.LEVEL_FATAL}
267
+ ),
268
+ "elapsed_seconds": elapsed,
269
+ }
270
+ reports.append(report)
271
+ summary = {
272
+ "layout": relative,
273
+ "status": report["status"],
274
+ "prim_count": prim_count,
275
+ "layer_count": len(dep["layers"]),
276
+ "asset_count": len(dep["assets"]),
277
+ "unresolved_count": len(dep["unresolved"]),
278
+ "outside_dataset_count": len(dep["outside_dataset"]),
279
+ "mdl_binding_count": len(mdl_results),
280
+ "mdl_failure_count": len(mdl_failures),
281
+ "hard_log_count": len(hard_logs),
282
+ "elapsed_seconds": round(elapsed, 3),
283
+ }
284
+ summaries.append(summary)
285
+ print(
286
+ f"stage {index}/{len(layouts)} {summary['status']} prims={prim_count} "
287
+ f"unresolved={summary['unresolved_count']} outside={summary['outside_dataset_count']} "
288
+ f"mdl_failures={summary['mdl_failure_count']} hard_logs={summary['hard_log_count']} "
289
+ f"{relative}",
290
+ flush=True,
291
+ )
292
+ context.close_stage()
293
+ app.update()
294
+ del stage
295
+ gc.collect()
296
+ finally:
297
+ recorder.close()
298
+ context.close_stage()
299
+ app.close()
300
+
301
+ failed = [row for row in summaries if row["status"] != "PASS"]
302
+ document = {
303
+ "schema_version": 1,
304
+ "generated_utc": datetime.now(timezone.utc).isoformat(),
305
+ "dataset": str(dataset),
306
+ "isaac_sim_validation": "Isaac Sim 6.0.1 Windows headless",
307
+ "status": "PASS" if not failed else "FAIL",
308
+ "stage_count": len(reports),
309
+ "passed": len(reports) - len(failed),
310
+ "failed": len(failed),
311
+ "stages": reports,
312
+ }
313
+ output_json.parent.mkdir(parents=True, exist_ok=True)
314
+ output_csv.parent.mkdir(parents=True, exist_ok=True)
315
+ output_json.write_text(json.dumps(document, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
316
+ write_csv(output_csv, summaries)
317
+ print(
318
+ json.dumps(
319
+ {
320
+ "status": document["status"],
321
+ "passed": document["passed"],
322
+ "failed": document["failed"],
323
+ "output_json": str(output_json),
324
+ "output_csv": str(output_csv),
325
+ },
326
+ ensure_ascii=False,
327
+ ),
328
+ flush=True,
329
+ )
330
+ return 0 if not failed else 1
331
+
332
+
333
+ if __name__ == "__main__":
334
+ raise SystemExit(main())
tools/verify_dataset.py ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Verify an extracted GRScenes Portable payload using only the stdlib."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import csv
8
+ import hashlib
9
+ import os
10
+ import re
11
+ import sys
12
+ import time
13
+ from pathlib import Path
14
+
15
+
16
+ PAYLOAD_ROOTS = ("GRScenes100", "GRScenes_assets", "Material")
17
+ SHA256_RE = re.compile(r"^([0-9a-fA-F]{64})\s{2}(.+)$")
18
+ READ_SIZE = 8 * 1024 * 1024
19
+ FILE_ATTRIBUTE_REPARSE_POINT = 0x400
20
+
21
+
22
+ def has_reparse_point(path: Path) -> bool:
23
+ stat = path.lstat()
24
+ return bool(getattr(stat, "st_file_attributes", 0) & FILE_ATTRIBUTE_REPARSE_POINT)
25
+
26
+
27
+ def sha256_file(path: Path) -> str:
28
+ h = hashlib.sha256()
29
+ with path.open("rb", buffering=0) as stream:
30
+ for chunk in iter(lambda: stream.read(READ_SIZE), b""):
31
+ h.update(chunk)
32
+ return h.hexdigest()
33
+
34
+
35
+ def safe_relative(value: str) -> str:
36
+ if "\\" in value:
37
+ raise ValueError(f"manifest path contains a backslash: {value!r}")
38
+ pure = Path(*value.split("/"))
39
+ if not value or value.startswith("/") or any(
40
+ part in {"", ".", ".."} or ":" in part for part in value.split("/")
41
+ ):
42
+ raise ValueError(f"unsafe manifest path: {value!r}")
43
+ if value.split("/", 1)[0] not in PAYLOAD_ROOTS:
44
+ raise ValueError(f"manifest path is outside payload roots: {value!r}")
45
+ return pure.as_posix()
46
+
47
+
48
+ def load_payload_manifest(path: Path) -> dict[str, dict[str, object]]:
49
+ rows: dict[str, dict[str, object]] = {}
50
+ folded: dict[str, str] = {}
51
+ with path.open("r", encoding="utf-8-sig", newline="") as stream:
52
+ reader = csv.DictReader(stream)
53
+ required = {"relative_path", "size_bytes", "mtime_utc", "verification_category", "shard_name"}
54
+ if not reader.fieldnames or not required.issubset(reader.fieldnames):
55
+ raise RuntimeError(f"payload manifest fields are incomplete: {reader.fieldnames}")
56
+ for row in reader:
57
+ rel = safe_relative(row["relative_path"])
58
+ if rel in rows:
59
+ raise RuntimeError(f"duplicate payload manifest path: {rel}")
60
+ prior = folded.setdefault(rel.casefold(), rel)
61
+ if prior != rel:
62
+ raise RuntimeError(f"case-ambiguous payload paths: {prior!r} / {rel!r}")
63
+ size = int(row["size_bytes"])
64
+ if size < 0:
65
+ raise RuntimeError(f"negative payload size: {rel}")
66
+ rows[rel] = {
67
+ "size_bytes": size,
68
+ "mtime_utc": row["mtime_utc"],
69
+ "verification_category": row["verification_category"],
70
+ "shard_name": row["shard_name"],
71
+ }
72
+ return rows
73
+
74
+
75
+ def inventory_dataset(dataset: Path) -> tuple[dict[str, int], list[str]]:
76
+ actual: dict[str, int] = {}
77
+ problems: list[str] = []
78
+ folded: dict[str, str] = {}
79
+ for root_name in PAYLOAD_ROOTS:
80
+ root = dataset / root_name
81
+ if not root.is_dir():
82
+ problems.append(f"missing payload root: {root_name}")
83
+ continue
84
+ for current, dirs, files in os.walk(root, followlinks=False):
85
+ dirs.sort(key=str.casefold)
86
+ files.sort(key=str.casefold)
87
+ current_path = Path(current)
88
+ for name in list(dirs):
89
+ path = current_path / name
90
+ if path.is_symlink() or has_reparse_point(path):
91
+ problems.append(f"link/reparse directory is forbidden: {path.relative_to(dataset).as_posix()}")
92
+ dirs.remove(name)
93
+ for name in files:
94
+ path = current_path / name
95
+ rel = path.relative_to(dataset).as_posix()
96
+ if path.is_symlink() or has_reparse_point(path):
97
+ problems.append(f"link/reparse file is forbidden: {rel}")
98
+ continue
99
+ if not path.is_file():
100
+ problems.append(f"non-regular payload entry: {rel}")
101
+ continue
102
+ prior = folded.setdefault(rel.casefold(), rel)
103
+ if prior != rel:
104
+ problems.append(f"case-ambiguous extracted paths: {prior!r} / {rel!r}")
105
+ actual[rel] = path.stat().st_size
106
+ return actual, problems
107
+
108
+
109
+ def verify_fast(dataset: Path, manifest: dict[str, dict[str, object]]) -> list[str]:
110
+ actual, problems = inventory_dataset(dataset)
111
+ expected_paths = set(manifest)
112
+ actual_paths = set(actual)
113
+ for rel in sorted(expected_paths - actual_paths):
114
+ problems.append(f"missing payload file: {rel}")
115
+ for rel in sorted(actual_paths - expected_paths):
116
+ problems.append(f"extra payload file: {rel}")
117
+ for rel in sorted(expected_paths & actual_paths):
118
+ expected_size = int(manifest[rel]["size_bytes"])
119
+ if actual[rel] != expected_size:
120
+ problems.append(
121
+ f"size mismatch: {rel}: actual={actual[rel]} expected={expected_size}"
122
+ )
123
+ return problems
124
+
125
+
126
+ def load_keyfiles(path: Path) -> list[tuple[str, str]]:
127
+ rows: list[tuple[str, str]] = []
128
+ seen: set[str] = set()
129
+ for line_number, line in enumerate(path.read_text(encoding="utf-8-sig").splitlines(), 1):
130
+ if not line:
131
+ continue
132
+ match = SHA256_RE.match(line)
133
+ if not match:
134
+ raise RuntimeError(f"invalid keyfile manifest line {line_number}")
135
+ digest, rel_value = match.groups()
136
+ rel = safe_relative(rel_value)
137
+ if rel in seen:
138
+ raise RuntimeError(f"duplicate keyfile path: {rel}")
139
+ seen.add(rel)
140
+ rows.append((digest.lower(), rel))
141
+ return rows
142
+
143
+
144
+ def verify_keyfiles(dataset: Path, rows: list[tuple[str, str]]) -> list[str]:
145
+ problems: list[str] = []
146
+ total = len(rows)
147
+ started = time.monotonic()
148
+ for index, (expected, rel) in enumerate(rows, 1):
149
+ path = dataset.joinpath(*rel.split("/"))
150
+ if not path.is_file() or path.is_symlink() or has_reparse_point(path):
151
+ problems.append(f"missing/non-regular keyfile: {rel}")
152
+ continue
153
+ actual = sha256_file(path)
154
+ if actual != expected:
155
+ problems.append(f"SHA-256 mismatch: {rel}: actual={actual} expected={expected}")
156
+ if index % 1000 == 0 or index == total:
157
+ print(
158
+ f"keyfiles {index}/{total} elapsed={time.monotonic() - started:.1f}s failures={len(problems)}",
159
+ flush=True,
160
+ )
161
+ return problems
162
+
163
+
164
+ def main() -> int:
165
+ parser = argparse.ArgumentParser()
166
+ parser.add_argument(
167
+ "--dataset",
168
+ type=Path,
169
+ default=Path(__file__).resolve().parents[1],
170
+ help="Extracted dataset root; defaults to the parent of tools/.",
171
+ )
172
+ modes = parser.add_mutually_exclusive_group(required=True)
173
+ modes.add_argument("--fast", action="store_true", help="Verify all payload paths and sizes.")
174
+ modes.add_argument("--keyfiles", action="store_true", help="Hash every keyfile in the release manifest.")
175
+ parser.add_argument("--payload-manifest", type=Path)
176
+ parser.add_argument("--keyfile-manifest", type=Path)
177
+ args = parser.parse_args()
178
+
179
+ dataset = args.dataset.resolve()
180
+ payload_path = (args.payload_manifest or dataset / "MANIFEST.payload.csv").resolve()
181
+ keyfile_path = (args.keyfile_manifest or dataset / "MANIFEST.keyfiles.sha256").resolve()
182
+ try:
183
+ payload = load_payload_manifest(payload_path)
184
+ if args.fast:
185
+ problems = verify_fast(dataset, payload)
186
+ checked = len(payload)
187
+ mode = "fast"
188
+ else:
189
+ keyfiles = load_keyfiles(keyfile_path)
190
+ unknown = sorted(rel for _, rel in keyfiles if rel not in payload)
191
+ if unknown:
192
+ raise RuntimeError(f"keyfile manifest paths absent from payload manifest: {unknown[:10]}")
193
+ problems = verify_keyfiles(dataset, keyfiles)
194
+ checked = len(keyfiles)
195
+ mode = "keyfiles"
196
+ except Exception as exc:
197
+ print(f"FATAL: {exc}", file=sys.stderr)
198
+ return 2
199
+
200
+ if problems:
201
+ for problem in problems[:200]:
202
+ print(f"FAIL: {problem}", file=sys.stderr)
203
+ if len(problems) > 200:
204
+ print(f"FAIL: {len(problems) - 200} additional problems omitted", file=sys.stderr)
205
+ print(f"verification mode={mode} status=FAIL checked={checked} problems={len(problems)}")
206
+ return 1
207
+ print(f"verification mode={mode} status=PASS checked={checked}")
208
+ return 0
209
+
210
+
211
+ if __name__ == "__main__":
212
+ raise SystemExit(main())