{"id":31809258,"url":"https://github.com/meshiest/heightmap2brz","last_synced_at":"2025-12-26T02:58:42.301Z","repository":{"id":46971925,"uuid":"261351810","full_name":"Meshiest/heightmap2brz","owner":"Meshiest","description":"Generate Brickadia Save files from PNG heightmaps","archived":false,"fork":false,"pushed_at":"2025-09-30T05:11:31.000Z","size":52835,"stargazers_count":3,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-30T07:07:58.569Z","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":"2025-09-30T05:09:27.000Z","dependencies_parsed_at":"2023-01-31T05:16:14.817Z","dependency_job_id":null,"html_url":"https://github.com/Meshiest/heightmap2brz","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/Meshiest/heightmap2brz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meshiest","download_url":"https://codeload.github.com/Meshiest/heightmap2brz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fheightmap2brz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006362,"owners_count":26084084,"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-10-11T02:00:06.511Z","response_time":55,"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-10-11T05:24:57.728Z","updated_at":"2025-12-26T02:58:42.295Z","avatar_url":"https://github.com/Meshiest.png","language":"Rust","readme":"# Heightmap2BRZ\r\n\r\n[Download here](https://github.com/Meshiest/heightmap2brz/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            --glow         Make the heightmap glow at 0 intensity\r\n            --greedy       Use greedy optimization\r\n        -h, --help         Prints help information\r\n            --hdmap        Using a high detail rgb color encoded heightmap\r\n        -i, --img          Make the heightmap flat and render an image\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            --snap         Snap bricks to the brick grid\r\n            --stud         Render bricks as stud cubes\r\n            --tile         Render bricks as tiles\r\n        -V, --version      Prints version information\r\n\r\n    OPTIONS:\r\n        -c, --colormap \u003ccolormap\u003e    Input colormap image (PNG/JPG)\r\n        -o, --output \u003coutput\u003e        Output file (BRDB, BRZ)\r\n        -s, --size \u003csize\u003e            Brick stud size (default 1)\r\n        -v, --vertical \u003cvertical\u003e    Vertical scale multiplier (default 1)\r\n\r\n    ARGS:\r\n        \u003cINPUT\u003e...    Input heightmap image files (PNG/JPG)\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.brz`\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%2Fheightmap2brz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshiest%2Fheightmap2brz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshiest%2Fheightmap2brz/lists"}