Jump to content

Photo

EFF V2.0 file format bug


6 replies to this topic

#1 c4_angel

c4_angel
  • Modders
  • 46 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 02 August 2018 - 11:33 AM

As both from NI and DLTCEP v7.8, and also tested in BG2EE v2.5 release:

0x68: should be parameter5(unused) and should be 4 bytes long

0x70: resource2 aka vvc, 8 bytes

0x78: resource3, 8 bytes

 

in IESDP of Last update: 24.06.2018



#2 Endurium

Endurium
  • Members
  • 32 posts
  • Gender:Male

Posted 02 August 2018 - 02:19 PM

Are you using Argent77's NI fork? It's the most up to date version I'm aware of and presents EFF 2.0 as you say it should be.

 

https://github.com/A...7/NearInfinity/



#3 lynx

lynx
  • Modders
  • 3114 posts
  • Gender:Male
  • Location:Ljubljana, Slovenija

Posted 02 August 2018 - 09:59 PM

It doesn't add up, it would introduce a gap. But that's just parameter6. Fixed.


Edited by lynx, 03 August 2018 - 03:01 AM.

GemRB - IE anywhere.
Mages needed! Looking for Planescape: Torment testers
Play android version IS NOT SUPPORTED ANYMORE: reported bugs will be ignored! Still looking for builders ...


#4 argent77

argent77
  • Modders
  • 819 posts
  • Gender:Male

Posted 03 August 2018 - 12:25 AM

Param6 is actually the time when a limited effect has been applied (in ticks).



#5 c4_angel

c4_angel
  • Modders
  • 46 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 03 August 2018 - 01:50 AM

Are you using Argent77's NI fork? It's the most up to date version I'm aware of and presents EFF 2.0 as you say it should be.

 

https://github.com/A...7/NearInfinity/

Yes, v2.1 20180615 release, and IESDP from https://gibberlings3...iesdp/index.htm directly.

 

It doesn't add up, it would introduce a gap. But that's just param6. Fixed.

OK thanks.

 

Param6 is actually the time when a limited effect has been applied (in ticks).

Not quite understood. Which effect uses param 6?

 



#6 argent77

argent77
  • Modders
  • 819 posts
  • Gender:Male

Posted 03 August 2018 - 01:57 AM

 

Param6 is actually the time when a limited effect has been applied (in ticks).

Not quite understood. Which effect uses param 6?

 

Any effect can use this field to store the time of casting (automatically set by the engine). For example, EFF V2 is used for CRE effects. You can check by casting a spell (e.g. Stoneskin), save the game and inspect the effect in NI.


Edited by argent77, 03 August 2018 - 02:03 AM.


#7 c4_angel

c4_angel
  • Modders
  • 46 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 03 August 2018 - 02:23 AM

Any effect can use this field to store the time of casting (automatically set by the engine). For example, EFF V2 is used for CRE effects. You can check by casting a spell (e.g. Stoneskin), save the game and inspect the effect in NI.

Understood. Thank you for explanation.

Edited by c4_angel, 03 August 2018 - 02:24 AM.




Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users