@Avenger_teambg... could you toss me the source for that., please? I think a BWP mega-mod may add more than that to the game. Is there a limit to the actual number of NPCs in the game?
I'm not saying, >24 is not possible. BGEE has more than 24 with the 3 new npcs. I'm just curious what won't work. Will something crash or just won't work, etc. I was always curious since i noticed that array in the saved game.
The answer to this may seem obvious, but is the last post on page 2 detailing the save game (GAM) format? I Just wanted to make sure, because it looks that way.
These posts are just to fill in unknowns, right? Does this mean that the formats of other file types (CHR and CRE files, for example) must be checked manually to see if they contain changes? Perhaps this would be a quick process, as changes would probably be minimal or non-existant. I didn't find differences after comparing the GAM file format posted to what is in Gatekeeper and ShadowKeeper (though I may not have checked the second extensively), though I might need to check again more closely (they have more unknowns than what is listed on the IEDSP site, especially Gatekeeper).
This is fun. Perhaps I'll look into updating the save editors, at least for myself. It looks like the source posted for Shadowkeeper is for version 1.7.0, but there is a basic change list through version 2.1.4 posted as well that shows what was fixed after the source was posted. Of course, this might be unnecessary if the original author(s) updated sources, or at least posted more recent versions.
It sounds like the more major tools such as DLTCEP and NI are covered.
@klatu: the structureAlignment can be ignored. It's just there since there is a WORD(2 bytes), and a char(1 byte), then the structureAlignment1 to push it forward a byte so it ends up 32bit aligned.
WORD m_tiledObjectFlagsCount; DWORD m_tiledObjectFlagsOffset;
I cannot find any information on tiledObjectFlags. Can you provide any insight on those fields?
2.)
DWORD m_pointsOffset; WORD m_pointsCount;
What exactly is meant here? Is this simply a list of Point objects? It seems a Point is synonymous to a Vertex as described on the IEDSP. However, a simple list of points does not seem like a useful structure to me. What I would expect is a list of Polygons, which each hold some Vertices/points. If that is what is meant by those fields, it would be great if you could provide some documentation on that.
I'm guessing there is only one visibility map per ARE file, so m_visibilityMapCount would describe the number of bits used for the map, right? Can you confirm that?
Is it me or does there seem to be a lot of info missing on the item posting? A lot of what seems to be missing looks to be various flags, effect flags, ability flags, etc. or are these posted somewhere else and I'm just missing them?
(On the off chance anyone's still reading this...)
What I really need right now is a complete list of opcodes used to identify file types in KEY and BIF files. It'd be freakin' awesome if someone could expand on what I already have:
In my understanding, BIF, KEY, MUS, SAV, TLK, TOH, TOT anv VAR are never used within a BIF file. So there is no point in referencing them in the KEY file and they probably have no opcode. When they are not used as music (in the music directory), ACM files are embedded in WAVC files, as far as I know. If I understood properly, ogg files are also embedded in WAV files in BGEE.
WORD m_tiledObjectFlagsCount; DWORD m_tiledObjectFlagsOffset;
I cannot find any information on tiledObjectFlags. Can you provide any insight on those fields?
2.)
DWORD m_pointsOffset; WORD m_pointsCount;
What exactly is meant here? Is this simply a list of Point objects? It seems a Point is synonymous to a Vertex as described on the IEDSP. However, a simple list of points does not seem like a useful structure to me. What I would expect is a list of Polygons, which each hold some Vertices/points. If that is what is meant by those fields, it would be great if you could provide some documentation on that.
I'm guessing there is only one visibility map per ARE file, so m_visibilityMapCount would describe the number of bits used for the map, right? Can you confirm that?
Thanks!
1: These fields are unreferenced in the code
2: Doors, triggers, etc reference into this array. It's saying the list of points is at a certain offset, and there are Count number of points. Then for doors, the 4th field m_openSelectionPointStart is this element of that array, and then the following field is the number of points. This makes up the polygon
Comments
Does it affect only interact.2da or something else too
MAX_NUM_POENTIAL_PLAYER_CHARACTERS 24
...
LONG m_nNumberOfTimesInteractedWith[MAX_NUM_POENTIAL_PLAYER_CHARACTERS];
These posts are just to fill in unknowns, right? Does this mean that the formats of other file types (CHR and CRE files, for example) must be checked manually to see if they contain changes? Perhaps this would be a quick process, as changes would probably be minimal or non-existant. I didn't find differences after comparing the GAM file format posted to what is in Gatekeeper and ShadowKeeper (though I may not have checked the second extensively), though I might need to check again more closely (they have more unknowns than what is listed on the IEDSP site, especially Gatekeeper).
This is fun. Perhaps I'll look into updating the save editors, at least for myself. It looks like the source posted for Shadowkeeper is for version 1.7.0, but there is a basic change list through version 2.1.4 posted as well that shows what was fixed after the source was posted. Of course, this might be unnecessary if the original author(s) updated sources, or at least posted more recent versions.
It sounds like the more major tools such as DLTCEP and NI are covered.
A few more questions about the ARE format:
1.) I cannot find any information on tiledObjectFlags. Can you provide any insight on those fields?
2.) What exactly is meant here? Is this simply a list of Point objects? It seems a Point is synonymous to a Vertex as described on the IEDSP. However, a simple list of points does not seem like a useful structure to me.
What I would expect is a list of Polygons, which each hold some Vertices/points. If that is what is meant by those fields, it would be great if you could provide some documentation on that.
3) I'm guessing there is only one visibility map per ARE file, so m_visibilityMapCount would describe the number of bits used for the map, right?
Can you confirm that?
Thanks!
(On the off chance anyone's still reading this...)
What I really need right now is a complete list of opcodes used to identify file types in KEY and BIF files.
It'd be freakin' awesome if someone could expand on what I already have:
When they are not used as music (in the music directory), ACM files are embedded in WAVC files, as far as I know. If I understood properly, ogg files are also embedded in WAV files in BGEE.
2: Doors, triggers, etc reference into this array. It's saying the list of points is at a certain offset, and there are Count number of points. Then for doors, the 4th field m_openSelectionPointStart is this element of that array, and then the following field is the number of points. This makes up the polygon
3: The IEDSP description for these fields is here http://iesdp.gibberlings3.net/file_formats/ie_formats/are_v1.htm#formAREAV1_0_Explored