Quote from: BaroniusIn that case, you say that even an important part of a mod's main concept should be sacrificed just to make it compatible with other mods?That's not what I'm saying at all. Overwriting and patching are different methodologies--modifying files for your mod--that are applied to accomplish the concept of your mod. The end result is the same.
Quote from: BaroniusAdvice (to all modders): compatibility is important (only) as long as your mod's real purpose stays completed. If the price of compatibility (patching) is the risk that the mod's main point might be harmed in certain cases, stay with traditional overwriting.
Quote from: BaroniusIf your mod is a good mod, players will prefer it to certain other mods if it collides with some other mods.
Quote from: BaroniusTo sum up, don't let your main concept modified just for compatibility reasons.
QuoteIn that case, you say that even an important part of a mod's main concept should be sacrificed just to make it compatible with other mods?I just hope that, speaking generally and slightly aside, the plot of the mod is not sacrificed for such an ideal.
Quote from: BaroniusIt seems that you didn't understand my point.I understood. I disagreed.
QuoteFor example, if you wanted to let cleric/thieves use any item a single class thief can use, you would have to either manually edit >90% of the .itm files, or simply use this code:These are not the only two possibilities obviously. As far as I'm concerned, I certainly wouldn't edit hundreds of files, I would either use a WeiDU code (i.e. I would ask someone to give me one, as I don't have time to learn advanced WeiDU) or I would write an own program to process those ITM files.
COPY_EXISTING_REGEXP GLOB ~^.+\.itm$~ ~override~
READ_BYTE 0x1f "useoneb"
READ_BYTE 0x20 "useonec"
PATCH_IF ("%useonec%" BAND 0b01000000) = 0x01000000) BEGIN // if usable by thieves
WRITE_BYTE 0x1f ("%useoneb%" BAND 0b11111101) // make usable by cleric/thieves
END
BUT_ONLY_IF_IT_CHANGESQuote from: CamDawgStart learning new and better ways to do things, and don't stop. Especially when those skills lead directly to better mods--from a maintainability standpoint, from a seamlessness standpoint, and (most importantly) from a player's convenience and experience standpoint.It seems that you didn't understand my point.
Quote from: aigleborgneIf both mod change the same parameter, the last installed mod will overwrite the parameter. pretty obvious no?
Quote from: NiGHTMAREAre you suggesting there are things you can do with overwriting which you can't with patching?As I've written, I was speaking generally. I suppose there are, perhaps not in the case of this mod.

Quote from: Ascension64Well, hopefully the 'source parameter' and the 'overwriting parameter', isn't, say, adding a spell, and changing an item name, respectively. If the 'overwriting parameter' does not read offsets and byte-patches the item, then it will clearly miss (due to changed offsets by adding a spell) and corrupt the item file.I didn't understand your example.
For example, if I decide to add the spell 'Globe of Invulnerability' to a creature, than another mod decides to change that creature's 'Staffspear+3' to a normal 'Staff', then the second mod must ensure that they don't just WRITE_ASCII 0x3f0 ~STAF01~ #8. Not that that will ever happen, I hope.![]()

