{"id":50399308,"url":"https://github.com/ttolerantss/liverylab-shells","last_synced_at":"2026-05-30T22:30:32.217Z","repository":{"id":356712491,"uuid":"1230734393","full_name":"ttolerantss/liverylab-shells","owner":"ttolerantss","description":"Extract paint-only bodyshells from GTA V .yft.xml files as clean OBJ meshes - part of the LiveryLab toolchain","archived":false,"fork":false,"pushed_at":"2026-05-09T10:20:36.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-09T12:29:02.419Z","etag":null,"topics":["bodyshell","electron","gta","gta5","gtav","liverylab","modding","obj","yft"],"latest_commit_sha":null,"homepage":"https://liverylab.cc","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ttolerantss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-06T09:12:39.000Z","updated_at":"2026-05-09T10:20:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ttolerantss/liverylab-shells","commit_stats":null,"previous_names":["ttolerantss/liverylab-shells"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ttolerantss/liverylab-shells","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttolerantss%2Fliverylab-shells","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttolerantss%2Fliverylab-shells/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttolerantss%2Fliverylab-shells/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttolerantss%2Fliverylab-shells/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttolerantss","download_url":"https://codeload.github.com/ttolerantss/liverylab-shells/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttolerantss%2Fliverylab-shells/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bodyshell","electron","gta","gta5","gtav","liverylab","modding","obj","yft"],"created_at":"2026-05-30T22:30:31.140Z","updated_at":"2026-05-30T22:30:32.211Z","avatar_url":"https://github.com/ttolerantss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiveryLab Shells\n\nA Windows desktop tool that extracts paint-only bodyshells from GTA V vehicle `.yft.xml` files and exports them as clean `.obj` meshes — part of the [LiveryLab](https://liverylab.cc) toolchain.\n\nDrop a YFT XML (CodeWalker / OpenIV export) on the window, click extract, get a `{name}_bodyshell.obj` containing only the painted body — no windows, no lights, no interior, no decals. The resulting OBJ is the foundation mesh for livery preview pipelines like [livery-viewer](https://github.com/ttolerantss/liverylab-repaint).\n\n## Features\n\n- **Drag-and-drop** or browse to select a `.yft.xml` file\n- **Highest-LOD only** — automatically picks `DrawableModelsHigh`, falls back to Med/Low/VeryLow if needed\n- **Top-level drawable only** — child fragments (damage / breakable parts) are skipped\n- **Editable paint shader whitelist** — defaults cover all stock GTA paint slots; add or remove names as needed\n- **Y-up output** — converts from GTA's native Z-up so the OBJ lands cleanly in Blender / glTF / Three.js\n- **Per-chunk groups** — surviving geometries are grouped (`g paint1`, `g paint2`, …) so they're easy to identify in modeling software\n- **Safe writes** — auto-renames `(1)`, `(2)`, etc. instead of overwriting an existing file\n\n## Default paint shader whitelist\n\n```\nvehicle_paint, vehicle_paint_generic,\nvehicle_paint1, vehicle_paint2, vehicle_paint3, vehicle_paint4,\nvehicle_paint5, vehicle_paint6, vehicle_paint7, vehicle_paint8, vehicle_paint9\n```\n\nThe whitelist is editable inside the **Paint shader whitelist** disclosure section in the UI. `.sps` is stripped automatically and matching is case-insensitive.\n\n## Workflow\n\n```\nCodeWalker -\u003e .yft.xml -\u003e LiveryLab Shells -\u003e .obj -\u003e (Blender) -\u003e .glb -\u003e livery-viewer\n```\n\n## Installation\n\n### From Release\n\nDownload the latest `LiveryLab Shells Setup \u003cversion\u003e.exe` from the [Releases](https://github.com/ttolerantss/liverylab-shells/releases) page and run it.\n\n### From Source\n\n```bash\ngit clone https://github.com/ttolerantss/liverylab-shells.git\ncd liverylab-shells\nnpm install\nnpm start\n```\n\n### Build Executable\n\n```bash\nnpm run build       # NSIS installer in dist/\nnpm run build:dir   # Unpacked .exe in dist/win-unpacked/\n```\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| Desktop framework | [Electron](https://www.electronjs.org/) |\n| XML parsing | [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) |\n| Bundler | [esbuild](https://esbuild.github.io/) |\n| Installer | [electron-builder](https://www.electron.build/) (NSIS) |\n\n## Project Structure\n\n```\nliverylab-shells/\n  src/\n    main/main.js              Electron main process (window, IPC, parse/write orchestration)\n    renderer/\n      index.html              UI markup + LiveryLab design tokens\n      renderer.js             UI logic (drag/drop, options, IPC calls)\n    lib/\n      shaders.js              Default paint shader whitelist\n      yft-parser.js           XML -\u003e geometry chunks\n      obj-writer.js           geometry chunks -\u003e OBJ file\n    assets/                   Logo + branding (shared with the LiveryLab family)\n  package.json\n```\n\n## Notes\n\n- Vertex format is read from each geometry's `\u003cLayout type=\"GTAV1\"\u003e` block; positions, normals, and TexCoord0 are emitted to the OBJ when present.\n- `vehicle_paint_fd` is intentionally **not** in the default whitelist — it's a custom 4-channel paint variant. Add it manually in the UI if you need it.\n- This is a personal tool — no telemetry, no cloud features, no licensing.\n\n## Related Projects\n\n- [LiveryLab Repaint](https://github.com/ttolerantss/liverylab-repaint) — live PSD livery preview on 3D vehicle models\n- [LiveryLab Export](https://github.com/ttolerantss/psd-exporter) — color-coded PSD layer variant exporter\n\n## License\n\nISC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttolerantss%2Fliverylab-shells","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttolerantss%2Fliverylab-shells","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttolerantss%2Fliverylab-shells/lists"}