Make work with astra

This commit is contained in:
Andras Schmelczer 2026-09-14 08:01:49 +01:00
commit c8ee5045e2
14 changed files with 6338 additions and 4613 deletions

74
Recovery/README.md Normal file
View file

@ -0,0 +1,74 @@
# Source recovery
The checkout contained asset contents replaced by `.meta` data, metadata
replaced by models/images/source code, duplicated GUIDs, and directories named
like missing files. The old Library cache was also damaged. Recoveries preserve
existing asset references wherever the original GUID could be recovered.
## Provenance
- `UnityProject/Assets/junctionAssets.zip`: restored the corrupted buildings and
fence models, seven materials, four prefabs, and several metadata files from
the bundled `junctionAssets - Copy` archive. Intact source files were retained.
- `UnityProject/Scripts/other.zip`: restored metadata for `canvasChooser`,
`serverRunningMenu`, and `destroyCar`.
- The bundled Windows server's `Simulation_Data/Managed/Assembly-CSharp.dll`:
decompiled `CarLL` and `trafficLightColor` with ILSpy 9.1.0.7988. Removed
generated UNet weaving methods and changed the woven `CallRpcDecodeBits` call
back to the source `RpcDecodeBits`, so Unity can weave the assembly again.
The assembly SHA-256 was
`9b23bd2b83c61ce07b579da9b594ddd535ed543435545b355f2c94d09d53a6e4`.
- [Unity PostProcessing v1](https://github.com/Unity-Technologies/PostProcessing/tree/933df236f509ed64ae5763ed57af33f2342cd1c2),
commit `933df236f509ed64ae5763ed57af33f2342cd1c2`: restored damaged editor
scripts, missing model editors, shaders, blue-noise textures, and metadata.
- Unity's original 2018.1.6 Standard Assets distribution, downloaded from the
[official release installer](https://download.unity3d.com/download_unity/a68afd074ea7/MacStandardAssetsInstaller/StandardAssets.pkg)
(MD5 `b891fafc108fec1232c5b1409c79bb9c`): restored `VirtualInput.cs`, the
damaged mobile control prefab/sprite, and associated metadata from the
CrossPlatformInput package.
- Original cached Unity import records: recovered lost GUIDs, model sub-asset
IDs/material mappings, and native asset metadata. Texture metadata uses the
corresponding intact neighboring import settings and the recovered GUID.
- Original cached textures: recovered `Lightmap-0_comp_dir.png` including its
directionality alpha channel, and `Lightmap-1_comp_light.exr` with HDR values.
UnityPy decoded the directional BC7 texture; [bcdec](https://github.com/iOrange/bcdec)
decoded BC6H into floating point for OpenEXR output. These are recoveries from
the imported, compressed cache, not byte-identical original source images.
The HDR decoding/orientation was checked against an intact source lightmap.
The old `UnityProject/Library` is preserved locally at
`Builds/recovery/Library-original`. Recovery intermediates and audit files are
under `Builds/recovery/`. Neither directory is required by the restored build.
## Small compatibility and startup changes
- Renamed `Assets/!ext` to `Assets/ThirdParty`, keeping its GUIDs. In the original
folder, the legacy Linux player build omitted the vendor C# classes although
editor compilation succeeded. The renamed folder produces the post-processing
and particle-effect classes in the player, eliminating missing-script warnings.
- Initialized traffic control and notification spawning in `OnStartServer`, so
starting networking after the scene loads works correctly.
- Initialized RPC receiver state before the first update can arrive and corrected
the client disconnect callback's base method.
- Added `--server`, `--connect`, `--traffic-url`, and `--event-url` startup options,
disabled the old resolution popup, and removed repetitive server log output.
- Added a launcher for the original Python backends plus separate UNet server
and client processes. The launcher binds the HTTP services to localhost; their
standalone default remains unchanged.
- Unity regenerated damaged PresetManager and UnityConnectSettings files, which
had contained unrelated PlayerSettings and TimeManager data respectively.
## Unrestored optional files
`unrestored/` preserves corrupt files outside Unity's import tree, under their
original paths. They are not required by Main:
- One unused motion-capture FBX animation.
- An unused `tweet.prefab`; the working scene uses `clientGame.prefab` instead.
- A reference photograph and three FBX exporter documentation/archive files.
- `FbxExportSettings.asset`, which incorrectly contained EditorSettings YAML
rather than the exporter's JSON settings and caused an import exception.
These files still need an intact source if their optional functionality is
wanted. The Windows-only FBX exporter tools were not ported. Existing backup
`.blend1` files are retained and ignored by Git.

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 479a3739c785a11469f3ee1f463994f7
timeCreated: 1507217626
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 479a3739c785a11469f3ee1f463994f7
timeCreated: 1507217626
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fa5e8bc9da963d949955cf16217de64f
timeCreated: 1500302146
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fa5e8bc9da963d949955cf16217de64f
timeCreated: 1500302146
licenseType: Store
TextScriptImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bd3a79df710fe68418617efeba366df4
timeCreated: 1510244436
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bd3a79df710fe68418617efeba366df4
timeCreated: 1510244436
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,84 @@
fileFormatVersion: 2
guid: 28527290b099e5d4ca9a3c784dd0c784
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 5
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,85 @@
fileFormatVersion: 2
guid: ebfb0e86bee8ff248ba3f2f493a0b917
TextureImporter:
fileIDToRecycleName:
2186277476908879412: ImportLogs
externalObjects: {}
serializedVersion: 5
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
wrapU: -1
wrapV: -1
wrapW: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bc42d458b2f94f841b4bcd4c99b47cf2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 526ef531e646a9c47b143534bf877233
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 7
m_ExternalVersionControlSupport: Visible Meta Files
m_SerializationMode: 2
m_LineEndingsForNewScripts: 2
m_DefaultBehaviorMode: 0
m_SpritePackerMode: 0
m_SpritePackerPaddingPower: 1
m_EtcTextureCompressorBehavior: 1
m_EtcTextureFastCompressor: 1
m_EtcTextureNormalCompressor: 2
m_EtcTextureBestCompressor: 4
m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
m_ProjectGenerationRootNamespace:
m_UserGeneratedProjectSuffix:
m_CollabEditorSettings:
inProgressEnabled: 1