Skip to main content

Add your description here

Project description

unity-scene-repacker

When modding a unity game, you often want to Instantiate objects from a scene that isn't loaded. One solution for this is to load all the scenes you're interested in at startup, copy the gameobjects somewhere and unload the scene. This works, but is slow and memory intensive.

This project lets you read scenes from the distributed game, take only what you need, and package those objects into an AssetBundle that you can load at runtime.

Usage

objects.json
{
    "A6_S3_Tutorial_And_SecretBoss_Remake": [
        "A6_S3/Room/Prefab/Enemy/StealthGameMonster_RunningHog (3)",
        "A6_S3/Room/Prefab/Enemy_2/\u5f29\u83c1\u82f1"
    ],
    "A0_S7_CaveReturned": [
        "A0_S7/Room/StealthGameMonster_TutorialDummyNonAttack"
    ],
    "AG_SG1": [
        "AG_SG1/Room/Shield Crawler Spawner \u4e1f\u91d1\u96fb\u87f2"
    ],
    ...
}
uvx unity-scene-repacker 
    --game-dir "C:/Program Files (x86)/Steam/steamapps/common/Nine Sols-Speedrunpatch/NineSols_Data" \
    --objects objects.json \
    --output mybundle.unity3d

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unity_scene_repacker-1.0.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unity_scene_repacker-1.0.0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file unity_scene_repacker-1.0.0.tar.gz.

File metadata

File hashes

Hashes for unity_scene_repacker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 395fd35241caa7debac5626ff5729c6281da76d3c65c02cb369d784ea8c4feb9
MD5 03a01cdb7968bcb766f5cf532c2dfdd3
BLAKE2b-256 ef3f3947d6c0c401a6cb18062f5a0b1701a2ac740883b2de6d812086f794b97a

See more details on using hashes here.

File details

Details for the file unity_scene_repacker-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for unity_scene_repacker-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 978dfe63bd25cb56040ceb1972dd019e334797a7fe631157c2b1de5f34001f5c
MD5 5bdaaec845e12936b087694aa68a1b0e
BLAKE2b-256 9f920c1f1dbf3205fca2e4ba2323c4727438745508d313a9c6795b3f348fb344

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page