Author Topic: Finding keyitems? [FF7]  (Read 3829 times)

NobodyImportant

  • *
  • Posts: 92
    • View Profile
Finding keyitems? [FF7]
« on: 2006-05-16 21:49:20 »
Hello again. This time I'm looking for an suggestion as to how one might find the keyitems from a savemap. :)

I found something inside of the Jenova source, but it doesn't make much sense:
Code: [Select]
void CEditItems::LoadKeyItems()
{
int i;
char buf[25];
for (i=0;i<51;i++)
{
strcpy(buf," ");
strcat(buf,rgKeyItem[i].name);
m_KeyItemList.AddString(buf);
if (ff7->keyitems[div(i,8).quot] & (1 << (div(i,8).rem)))
{
m_KeyItemList.SetCheck(i,1);
}
}
}

So, I loaded eight bytes (as FF7.h and the wiki says) and went to the correct offset: 0x0BE4 + 0x09 (because of the PC header). However, when using this savemap, slot 15, my eight bytes are this:
Code: [Select]
    [1] => 0
    [2] => 199
    [3] => 255
    [4] => 207
    [5] => 15
    [6] => 0
    [7] => 0
    [8] => 0

Any ideas?

P.S. Thanks in advance, just for being here. This community has gotten me so much father along with my technical understnding of Final Fantasy VII. :)

dziugo

  • *
  • Posts: 1470
    • View Profile
    • A new copy of FF7 thanks to Salk. Pack (zip/rar/etc) your saved game before sending it to me.
Re: Finding keyitems? [FF7]
« Reply #1 on: 2006-05-16 21:57:46 »
Check this - look for a code section.

dziugo

NobodyImportant

  • *
  • Posts: 92
    • View Profile
Re: Finding keyitems? [FF7]
« Reply #2 on: 2006-05-16 22:14:14 »
I honestly don't know how you come up with these things.

You're amazing.

Qhimm

  • Founder
  • *
  • Posts: 1996
    • View Profile
    • Qhimm.com
Re: Finding keyitems? [FF7]
« Reply #3 on: 2006-05-17 10:04:38 »
He uses the button.

Sad Jari

  • Guest
Re: Finding keyitems? [FF7]
« Reply #4 on: 2006-05-17 10:23:48 »
To be, or not to be? That is the question!

Should
He uses the button.
be translated into "He uses the search button", or "He uses the search button button"? :-D

Does the picture of a button include a promise notion of a button, or does it have to be separately specified in sweet English language?

Is one button more equal than the other button?

Have I had too many bears to drink? Should I for more?


Sorry, sorry. Too many bears. I'll stap spomming now.

Qhimm

  • Founder
  • *
  • Posts: 1996
    • View Profile
    • Qhimm.com
Re: Finding keyitems? [FF7]
« Reply #5 on: 2006-05-17 11:14:30 »
Bears in the middle of the day?! You should stop that, or you'll feel really grizzly!

NobodyImportant

  • *
  • Posts: 92
    • View Profile
Re: Finding keyitems? [FF7]
« Reply #6 on: 2006-05-18 16:42:00 »
I always do before asking around. I also search the wiki.

Maybe I'm bad at it.