Jump to content


Photo

NearInfinity


  • Please log in to reply
928 replies to this topic

#921 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 05 February 2018 - 12:04 PM

Thank you!

 

The zip creation for save games is fantastic. I do a lot of repairs for people who have bugs in their saves and this function really makes life easier. Great idea.

 

(Question, does it require the user to have some zip function installed on

No. Zip functionality is already provided by the Java Runtime.

Brilliant - makes the instruction of *how do I upload a saved game in EE* much easier, at least if you have NI.


Edited by Roxanne, 05 February 2018 - 12:04 PM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*


#922 Creepin

Creepin
  • Administrator
  • 1037 posts

Posted 06 February 2018 - 12:59 AM

Improved list of color location descriptions, used by opcodes 7, 8, 9, 50, 51, 52 and 61, to be more modder-friendly.
Just checked new implementation, and wow does it look cool! Thank you Argent77 :)

Edited by Creepin, 06 February 2018 - 12:59 AM.

The Old Gold - v0.1 WIP (mod for BGT/BWP/BWS)


#923 Creepin

Creepin
  • Administrator
  • 1037 posts

Posted 26 April 2018 - 05:13 AM

It bug me for a long time that there's different names of fields for effects in NearInfinity and IESDP. In most cases I was able to draw a correlation by a guesswork, however his time I stuck.

So, # 22 Luck. IESDP says following:

#22 (0x16) Stat: Cumulative Luck Bonus
Parameter #1: Statistic Modifier
Parameter #2: Type

continuing with explanation of parameters.

IESDP on the other hand has fields like "target", "power", "value" and so on, the usual. Let's say I want to put 1 in Parameter #1 and 0 in Parameter #2, which fields in NI should I use? Or, better yet, how in general I could figure out on my own which fields should I use?


Edited by Creepin, 26 April 2018 - 05:14 AM.

The Old Gold - v0.1 WIP (mod for BGT/BWP/BWS)


#924 Gwendolyne

Gwendolyne
  • Member
  • 258 posts

Posted 26 April 2018 - 06:08 AM

If it is a EFF v1 : parameter is 0x4 after opcode field, and parameter 2 0x8.

If it is a EFf v2 : parameter 1 is 0x1c after signature, and parameter2 0x20. In fact : opcode, target, power, parameter1 (whatever the name used in NI), parameter2...


CARPE DIEM ....



In progress : Menace sur le Royaume de Diamant Éternel there.

#925 Creepin

Creepin
  • Administrator
  • 1037 posts

Posted 26 April 2018 - 06:20 AM

If it is a EFF v1 : parameter is 0x4 after opcode field, and parameter 2 0x8.
If it is a EFf v2 : parameter 1 is 0x1c after signature, and parameter2 0x20.

Sadly, NI doesn't allow me to see raw data of effects, so I can't count 0x4 or any other within NI. I'm sure it will come handy in WeiDU though, so thanks for letting me know!

In fact : opcode, target, power, parameter1 (whatever the name used in NI), parameter2...

Aha, that's cool. Simply saying I should in any case use 4th field for parameter1 and 5th field for parameter2? As in, in case of the attached, I should put 1 in "value" field and 0 in "Unused" field event though it is, well, unused? :)

Attached Images

  • screen.jpg

Edited by Creepin, 26 April 2018 - 06:21 AM.

The Old Gold - v0.1 WIP (mod for BGT/BWP/BWS)


#926 Argent77

Argent77
  • Member
  • 892 posts

Posted 26 April 2018 - 06:27 AM

You can enable Options > Show Hex Offsets. It's a tremendously helpful option.

Attached Images

  • ni_offsets.png


#927 Creepin

Creepin
  • Administrator
  • 1037 posts

Posted 26 April 2018 - 06:42 AM

Argent77, that's super cool, thank you! With that option on and Gwendolyne's hint about +4 for param1 and +8 for param2 everything is clear, like pieces of a puzzle falling into place. To fully close the issue, how much should I add to opcode offset to find field for parameter 3? I remember it's used somewhere...


Edited by Creepin, 26 April 2018 - 06:52 AM.

The Old Gold - v0.1 WIP (mod for BGT/BWP/BWS)


#928 Argent77

Argent77
  • Member
  • 892 posts

Posted 26 April 2018 - 07:56 AM

To fully close the issue, how much should I add to opcode offset to find field for parameter 3? I remember it's used somewhere...

 

That's nothing a quick look into the EFF file description can't solve. ;) Parameter 3 is located at offset 0x60 (EFF v2 only).



#929 Creepin

Creepin
  • Administrator
  • 1037 posts

Posted 26 April 2018 - 09:04 AM

Parameter 3 is located at offset 0x60 (EFF v2 only).

And it is also honestly marked as such in NI. Shame on me :) I checked embedded EFF (EFF v1), saw none of it, and decided it's a mystery to solve :whistling:


The Old Gold - v0.1 WIP (mod for BGT/BWP/BWS)