{"id":29928692,"url":"https://github.com/meshiest/heightmap2brs","last_synced_at":"2025-08-02T14:10:21.806Z","repository":{"id":46971925,"uuid":"261351810","full_name":"Meshiest/heightmap2brs","owner":"Meshiest","description":"Generate Brickadia Save files from PNG heightmaps","archived":false,"fork":false,"pushed_at":"2022-12-27T21:39:58.000Z","size":52803,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-19T17:32:42.713Z","etag":null,"topics":["brickadia","heightmap","save-files"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Meshiest.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}},"created_at":"2020-05-05T03:20:29.000Z","updated_at":"2024-03-19T17:32:42.713Z","dependencies_parsed_at":"2023-01-31T05:16:14.817Z","dependency_job_id":null,"html_url":"https://github.com/Meshiest/heightmap2brs","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/Meshiest/heightmap2brs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meshiest","download_url":"https://codeload.github.com/Meshiest/heightmap2brs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":["brickadia","heightmap","save-files"],"created_at":"2025-08-02T14:10:13.346Z","updated_at":"2025-08-02T14:10:21.797Z","avatar_url":"https://github.com/Meshiest.png","language":"Rust","readme":"# Heightmap2BRS\r\n\r\n[Download here](https://github.com/Meshiest/heightmap2brs/releases)\r\n\r\n![Example output](https://i.imgur.com/QdPLN09.png)\r\n![GTAV Map](https://i.imgur.com/J9XpmT3.png)\r\n![Gui](https://i.imgur.com/8v9MXnl.png)\r\n\r\n### Compiling\r\n\r\nYou need [rust](https://www.rust-lang.org/).\r\n\r\nRun `cargo build` for the CLI, `cargo build --bin heightmap_gui --features gui` for the gui.\r\n\r\n### Usage\r\n\r\nCompile or download from releases.\r\n\r\n`heightmap.exe --help` for usage instructions:\r\n\r\n    USAGE:\r\n        heightmap.exe [FLAGS] [OPTIONS] \u003cINPUT\u003e\r\n\r\n    FLAGS:\r\n            --cull       Automatically remove bottom level bricks and fully transparent bricks\r\n        -h, --help       Prints help information\r\n            --hdmap      Using a high detail rgb color encoded heightmap\r\n            --lrgb       Use linear rgb input color instead of sRGB\r\n            --micro      Render bricks as micro bricks\r\n            --nocollide  Disable brick collision\r\n            --old        Use old unoptimized heightmap code\r\n            --snap       Snap bricks to the brick grid\r\n            --tile       Render bricks as tiles\r\n            --stud       Render bricks as stud cubes\r\n        -i  --img        Make heightmap flat (use as img2brick)\r\n        -V, --version    Prints version information\r\n\r\n    OPTIONS:\r\n        -c, --colormap \u003ccolormap\u003e    Input colormap PNG image\r\n        -o, --output \u003coutput\u003e        Output BRS file\r\n        -s, --size \u003csize\u003e            Brick stud size (default 1)\r\n        -v, --vertical \u003cvertical\u003e    Vertical scale multiplier (default 1)\r\n        --owner \u003cowner\u003e              Set the owner name (default Generator)\r\n        --owner_id \u003cowner_id\u003e        Set the owner id (default a1b16aca-9627-4a16-a160-67fa9adbb7b6)\r\n\r\n    ARGS:\r\n        \u003cINPUT\u003e...    Input heightmap PNG images\r\n\r\n###  Examples\r\n\r\nAn example command for generating the GTA V map would be:\r\n\r\n`heightmap example_maps/gta5_fixed2_height.png -c example_maps/gta5_fixed2_color.png -s 4 -v 20 --tile -o gta5.brs`\r\n\r\nTo use stacked heightmap for increased resolution, simply provide more input files. See the `stacked_N.png` files in the `example_maps` directory for example stacked heightmaps.\r\n\r\n`heightmap ./example_maps/stacked_1.png ./example_maps/stacked_2.png ./example_maps/stacked_3.png ./example_maps/stacked_4.png --tile`\r\n\r\nTo generate HD heightmaps for the `--hdmap` flag, check out [Kmschr's GeoTIFF2Heightmap tool](https://github.com/Kmschr/GeoTIFF2Heightmap).\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshiest%2Fheightmap2brs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshiest%2Fheightmap2brs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshiest%2Fheightmap2brs/lists"}