Skip to content

Post Infinity

dark0davedark0dave Member Posts: 1
edited March 2023 in BGII:EE Mods
I am slowly remaking a tool like similarly to EEKeeper, with some functionality from Near Infinity. My first goal is to convert the binary game files into more readable json format via following the key file, this is now complete. This tool is written in rust for speed and safety. There has also been some focus on extensibility, I have compartmentalized the file parsing so it can be reused.

However, I am not super sure what to do next. But I could use some community input as to what to do next. Anyways find the links to the tool below:

Github:
https://github.com/dark0dave/post_infinity
Source hut:
https://git.sr.ht/~dark0dave/post_infinity
Gitlab:
https://gitlab.com/dark0dave/post_infinity

An example of extracting the spell file gate is below:
$ cargo run models/fixtures/gate1.spl
$ cat gate1.json
{
"header": {
"header": {
"signature": "SPL ",
"version": "V1 "
},
"unidentified_spell_name": 14260,
"identified_spell_name": 9999999,
"completion_sound": "CAS_M03",
"flags": 0,
"spell_type": 1,
"exclusion_flags": 0,
"casting_graphics": "\u0012",
"min_level": 0,
"primary_spell_school": 2,
"min_strength": 0,
"secondary_spell_school": 6,
"min_strenth_bonus": 0,
"kit_usability_1": 0,
"min_intelligence": 0,
"kit_usability_2": 0,
"min_dexterity": 0,
"kit_usability_3": 0,
"min_wisdom": 0,
"kit_usability_4": 0,
"min_constitution": 0,
"min_charisma": 0,
"spell_level": 9,
"max_stackable": 1,
"spellbook_icon": "SPWI905C",
"lore": 0,
"ground_icon": "rbUn",
"base_weight": 0,
"spell_description_generic": "",
"spell_description_identified": "",
"description_icon": "",
"enchantment": 0,
"offset_to_extended_headers": 114,
"count_of_extended_headers": 1,
"offset_to_feature_block_table": 154,
"offset_to_casting_feature_blocks": 0,
"count_of_casting_feature_blocks": 0
},
"extended_headers": [
{
"spell_form": 1,
"freindly": 0,
"location": 2,
"memorised_icon": "SPWI905B",
"target_type": 4,
"target_count": 0,
"range": 25,
"level_required": 1,
"casting_time": 4,
"times_per_day": 0,
"dice_sides": 6,
"dice_thrown": 0,
"enchanted": 0,
"damage_type": 1,
"count_of_feature_blocks": 1,
"offset_to_feature_blocks": 0,
"charges": 1,
"projectile": 1
}
],
"equiping_feature_blocks": []
}
Sign In or Register to comment.