{"id":16475321,"url":"https://github.com/dark0dave/post_infinity","last_synced_at":"2025-08-12T12:38:26.119Z","repository":{"id":162673532,"uuid":"612743231","full_name":"dark0dave/post_infinity","owner":"dark0dave","description":"Reads BGEE, BG2EE files from the command line","archived":false,"fork":false,"pushed_at":"2025-06-15T23:03:47.000Z","size":8003,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-16T00:34:39.067Z","etag":null,"topics":["bg1ee","bg2ee","eet","infinity-engine","modding-tools","rust","weidu"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dark0dave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-03-11T20:58:57.000Z","updated_at":"2025-05-24T17:05:44.000Z","dependencies_parsed_at":"2024-01-28T03:19:15.743Z","dependency_job_id":"ea901672-ffc9-45b7-8dd9-730ed1162f18","html_url":"https://github.com/dark0dave/post_infinity","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/dark0dave/post_infinity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark0dave%2Fpost_infinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark0dave%2Fpost_infinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark0dave%2Fpost_infinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark0dave%2Fpost_infinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dark0dave","download_url":"https://codeload.github.com/dark0dave/post_infinity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dark0dave%2Fpost_infinity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270062550,"owners_count":24520539,"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-12T02:00:09.011Z","response_time":80,"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":["bg1ee","bg2ee","eet","infinity-engine","modding-tools","rust","weidu"],"created_at":"2024-10-11T12:37:41.670Z","updated_at":"2025-08-12T12:38:26.097Z","avatar_url":"https://github.com/dark0dave.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Post Infinity\n[![](./docs/rust.svg)](https://www.rust-lang.org/tools/install)\n[![](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge\u0026logo=linux\u0026logoColor=black)](https://github.com/dark0dave/post_infinity/releases/latest)\n[![](https://img.shields.io/badge/Windows-0078D6?\u0026style=for-the-badge\u0026logoColor=white\u0026logo=git-for-windows)](https://github.com/dark0dave/post_infinity/releases/latest)\n[![](https://img.shields.io/badge/mac%20os-grey?style=for-the-badge\u0026logo=apple\u0026logoColor=white)](https://github.com/dark0dave/post_infinity/releases/latest)\n[![](https://img.shields.io/github/actions/workflow/status/dark0dave/post_infinity/main.yaml?style=for-the-badge)](https://github.com/dark0dave/post_infinity/actions/workflows/main.yaml)\n[![](https://img.shields.io/github/license/dark0dave/post_infinity?style=for-the-badge)](./LICENSE)\n\nThis tool can read infinity engine binary game files for BGEE and BG2EE. Similar to NearInfinity. It prints the binary game data files into human readable text. With optional json output.\n\n### Supported files\n\nTaken from [infinity file formats](https://gibberlings3.github.io/iesdp/file_formats/index.htm) on the iesdp.\n\n- [area](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/are_v1.htm)\n- [biff](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/bif_v1.htm)\n- [character](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/chr_v2.htm)\n- [creature](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/cre_v1.htm)\n- [dialogue](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/dlg_v1.htm)\n- [effect_v1](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/eff_v1.htm#effv1_Header)\n- [effect_v2](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/eff_v2.htm)\n- [game](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/gam_v2.0.htm)\n- [ids](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/ids.htm)\n- [item_table](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/cre_v1.htm#CREV1_0_Item)\n- [item](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/itm_v1.htm)\n- [key](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/key_v1.htm)\n- [save](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/sav_v1.htm)\n- [spell_table](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/cre_v1.htm#CREV1_0_KnownSpell)\n- [spell](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/spl_v1.htm)\n- [store](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/sto_v1.htm)\n- [tlk](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/tlk_v1.htm)\n- [twoda](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/2da.htm)\n- [world_map](https://gibberlings3.github.io/iesdp/file_formats/ie_formats/wmap_v1.htm#wmapv1_0_Header)\n\n### Other Supported files\n\n- .bio files - Text format Baldur's Gate 2 only, Character biography\n- embedded tileset files - Binary data for tilesets in maps can be viewed\n\n## Dependencies\n\n[Rust](https://www.rust-lang.org/tools/install)\n\n## How to run me\n\nEnsure rust is installed via rustup\n\n```sh\ncargo run \u003cpath to chitin.key\u003e / or target file\n```\n\n## Demo\n\n![](./docs/demo.gif)\n\n```sh\npost_infinity(.exe) models/fixtures/gate1.spl\n{\n  \"signature\": \"SPL \",\n  \"version\": \"V1  \",\n  \"unidentified_spell_name\": 14260,\n  \"identified_spell_name\": 9999999,\n  \"completion_sound\": \"CAS_M03\\u0000\",\n  \"flags\": 0,\n  \"spell_type\": 1,\n  \"exclusion_flags\": 0,\n  \"casting_graphics\": 18,\n  \"min_level\": 0,\n  \"primary_spell_school\": 2,\n  \"min_strength\": 0,\n  \"secondary_spell_school\": 6,\n  \"min_strength_bonus\": 0,\n  \"kit_usability_1\": 0,\n  \"min_intelligence\": 0,\n  \"kit_usability_2\": 0,\n  \"min_dexterity\": 0,\n  \"kit_usability_3\": 0,\n  \"min_wisdom\": 0,\n  \"kit_usability_4\": 0,\n  \"min_constitution\": 0,\n  \"min_charisma\": 0,\n  \"spell_level\": 9,\n  \"max_stackable\": 1,\n  \"spell_book_icon\": \"SPWI905C\",\n  \"lore\": 0,\n  \"ground_icon\": \"\\u0000\\u0000rb\\u0000\\u0000Un\",\n  \"base_weight\": 0,\n  \"spell_description_generic\": 4294967295,\n  \"spell_description_identified\": 9999999,\n  \"description_icon\": \"\",\n  \"enchantment\": 0,\n  \"offset_to_extended_headers\": 114,\n  \"count_of_extended_headers\": 1,\n  \"offset_to_feature_block_table\": 154,\n  \"offset_to_casting_feature_blocks\": 0,\n  \"count_of_casting_feature_blocks\": 0,\n  \"extended_headers\": [\n    {\n      \"spell_form\": 1,\n      \"friendly\": 0,\n      \"location\": 2,\n      \"memorised_icon\": \"SPWI905B\",\n      \"target_type\": 4,\n      \"target_count\": 0,\n      \"range\": 25,\n      \"level_required\": 1,\n      \"casting_time\": 4,\n      \"times_per_day\": 0,\n      \"dice_sides\": 6,\n      \"dice_thrown\": 0,\n      \"enchanted\": 0,\n      \"damage_type\": 1,\n      \"count_of_feature_blocks\": 1,\n      \"offset_to_feature_blocks\": 0,\n      \"charges\": 1,\n      \"charge_depletion_behaviour\": 1,\n      \"projectile\": 1\n    }\n  ],\n  \"equipping_feature_blocks\": [\n    {\n      \"opcode_number\": 177,\n      \"target_type\": 1,\n      \"power\": 9,\n      \"parameter_1\": 0,\n      \"parameter_2\": 2,\n      \"timing_mode\": 0,\n      \"dispel_resistance\": 2,\n      \"duration\": 100000,\n      \"probability_1\": 39,\n      \"probability_2\": 0,\n      \"resource\": \"balorsu\\u0000\",\n      \"dice_thrown_max_level\": 0,\n      \"dice_sides_min_level\": 0,\n      \"saving_throw_type\": [\n        0,\n        0,\n        0,\n        0\n      ],\n      \"saving_throw_bonus\": 0,\n      \"stacking_id\": 0\n    }\n  ]\n}\n```\n\n## How to build\n\n```sh\ncargo build --release\n```\n\n## Performance\n\nIt takes about 0.07 ish to read all the supported files in an unmodded bg1ee game, into memory, without parsing them.\n\n```sh\ntime cargo run -- \u003cpath to bgee dir\u003e/chitin.key\n0.07s user 0.58s system 99% cpu 0.655 total\n```\n\nyou can analyze performance:\n\n```sh\ncargo install flamegraph\nflamegraph -- target/release/post_infinity \u003cpath to chitin file\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdark0dave%2Fpost_infinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdark0dave%2Fpost_infinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdark0dave%2Fpost_infinity/lists"}