Item Drops & Steals

Any information you would like to share or ask in regards to the hacking of Legend of Legaia
User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Item Drops & Steals

Post by meth962 » Tue Jan 05, 2016 10:26 am

Nope, they do not stack on one character. Most accessories just set a flag to TRUE or FALSE. So stacking won't do anything for item drops.
まさかつあがつ

zkshd
Level 5
Posts: 10
Joined: Sun Nov 20, 2016 2:22 pm

Re: Item Drops & Steals

Post by zkshd » Mon Nov 21, 2016 8:52 pm

meth962 wrote: But here's the thing, the game does have one calculation that look like it was designed for an amplifier to steal. Whether or not it's in the game is uncertain but I see it takes the base steal % and multiplies it by 1. That number may have been meant for an accessory that boosts your steal % by 2 or 3! I tried using Ivory Book, Good Luck Bell, 2xEvil God Icons, etc...nothing would change that x1.
Hi again, I know I asking quite much :roll: but since you already done it could you post the address (in memory or disc files) of the steal table and that formula "it takes the base steal % and multiplies it by 1". Thanks :) .

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Item Drops & Steals

Post by meth962 » Wed Nov 23, 2016 11:33 pm

I don't think I ever saved where that was on the game files. The table gets loaded into memory of the playstation at 0x77829.
まさかつあがつ

zkshd
Level 5
Posts: 10
Joined: Sun Nov 20, 2016 2:22 pm

Re: Item Drops & Steals

Post by zkshd » Thu Nov 24, 2016 7:16 pm

meth962 wrote:I don't think I ever saved where that was on the game files. The table gets loaded into memory of the playstation at 0x77829.
Indeed, thanks.

Here it is:

Code: Select all

00 FF 1E 7E 19 7F 14 F2 1E 78 1E 7B 1E 79 1E 77 1E 78
14 F3 1E 77 1E 79 1E 7D 1E 8A 1E 8A 1E 8A 1E 8B 1E 8C
1E 8D 1E 77 1E 78 14 FC 1E A3 1E A3 1E A3 1E 7C 1E 7C
1E 7D 1E 77 1E 78 1E 79 1E 98 1E 98 1E 98 1E 7E 1E 7F
1E 80 1E 77 1E 78 1E 79 1E 77 1E 78 1E 79 1E 7E 1E 7F
1E 80 1E 77 1E 7C 1E 7D 1E 77 1E 7C 1E 7D 1E 77 1E 78
1E 7B 1E 77 1E 7C 1E 7D 1E 77 1E 78 1E 79 1E 7E 1E 7F
1E 80 1E 77 1E 78 1E 79 1E 77 1E 78 1E 79 1E 99 1E 99
1E 99 1E 8E 1E 8E 1E 8E 1E 8E 1E 8E 1E 8E 1E 8E 1E 7B
1E 7C 1E 7D 1E 78 1E 7A 1E 7B 1E 78 1E 7A 1E 7B 1E 7C
1E 7D 05 86 1E 7B 1E 7C 1E 7D 1E 77 1E 78 1E 7B 1E 7B
1E 7C 1E 7D 1E 78 1E 7B 1E 79 1E 81 1E 81 1E 81 1E 7A
1E 7B 1E 79 1E 7C 1E 7D 05 86 1E 88 1E 89 1E 8A 1E 7D
1E 80 05 87 1E 7C 1E 7D 1E 89 05 83 05 84 05 85 05 83
05 84 05 85 05 82 05 82 05 87 05 86 05 86 05 87 1E 7B
1E 79 1E 8E 1E 8E 1E 8E 1E 8E 1E 8E 05 82 05 83 05 84
05 85 05 86 05 C5 05 87 05 82 01 E5 05 83 05 84 01 E6
05 85 05 86 01 E5 05 87 05 82 03 EF 05 83 05 84 05 8E
1E 85 1E 86 1E 87 1E 82 1E 83 01 6D 1E 84 1E 85 1E 86
01 8E 01 8E 01 8E 01 8E 1E 6D 1E 79 1E 79 1E 79 1E 87
1E 8E 64 ED 01 6D 00 00 03 05 06 08 09 04 06 07 09 0A
03 05 06 08 09 00 00 00 00 00 00 00 00 00 00 00 00 00
It doesn't seem to be in an specific place of the game files at least not in PROT.DAT or DMY.DAT, I guess I will have to track how it is loaded into the memory.
But I couldn't, place a breakpoint at memory read/write and it won't stop, it just load the entire memory...

Here is a vid:
https://www.dropbox.com/s/gx6jkml56notl ... d.avi?dl=0

Anyway I found it. Hate this game coding, it was in "SCUS_942.54" file at 68000h, more precisely at 68029h.

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Item Drops & Steals

Post by meth962 » Fri Nov 25, 2016 3:45 am

Yeah psxfin doesn't work with execute or cd read breakpoints so the emulator is just flawed. Lucky though all that data is in the .54 file! I forgot there are some other table lookups in there. The best emulators I've used for debugging and breakpointing like that are pcsx2 for ps2 and dolphin for gamecube.

Looks like you're well on your way to uncovering game secrets though :)
まさかつあがつ

zkshd
Level 5
Posts: 10
Joined: Sun Nov 20, 2016 2:22 pm

Re: Item Drops & Steals

Post by zkshd » Fri Nov 25, 2016 6:17 am

meth962 wrote:Looks like you're well on your way to uncovering game secrets though :)
Nah, I am just a code butcher, all my progress is only because you did all the hard work, and hopefully you are still around ;) . My first playthrough was 16 years ago, I was a kid, and all LoL fans should be eternally grateful for what you have done for this game.

I did know about pcsx2, a pity it doesn't emu ps1 yet, but didn't about dolphin.

User avatar
meth962
Level 23
Posts: 266
Joined: Tue Apr 03, 2012 8:37 am
Location: USA
Contact:

Re: Item Drops & Steals

Post by meth962 » Sun Nov 27, 2016 2:20 pm

Haha well, this was the game that pushed me to learn all this stuff. I could barely operate a gameshark before! It wasn't until I played it some 16 years ago and was dissatisfied that I only 83% of the treasure or so (can't remember). So I gave it another try in college after spending days of forum digging to find all the people that found items in the game. Funny enough, it was enough for me to get 100% but the last two items I did not save my game after. So I submitted to defeat and told the gamefaq forum that I only got 98.8% and that the FAQ I wrote for "treasure checklist" or something was not guaranteed to get you 100% even though I counted 170 items in the guide.

Wasn't long after that, that someone messaged me on GameFAQs saying they DID get 100% with my guide. I figured they found two items I didn't but he couldnt' think of any. He graciously took my save and went looking and immediately found the two sidequest items I did not save after getting. So haha I technically wasn't the first to get 100%! He was! Silly me.

Come to think of it.....all the work I did for this game and I was never the first on anything! >:O
I remember having to go to my flight lesson or scuba diving or something and I was rushing to quickly uncover the Spirit fish. I was already late and I found the fish tables and it showed you needed a MEDIUM lure and at one location for it to be possible. I hastily posted my findings on GameFAQs and ran off to my late appointment. Once I got home I eagerly check the forums and people are blowin' up with links and videos of them catching spirit fish. Was like less than 9 minutes after I posted. Although I was super excited, I was like....野菜....I was late again! haha

Woah...sorry to ramble on there. History of Meth962 lol.
まさかつあがつ

User avatar
IronJustice
Level Rusty
Posts: 489
Joined: Sun Nov 04, 2012 9:18 pm
Location: St. Louis

Re: Item Drops & Steals

Post by IronJustice » Mon Nov 28, 2016 5:52 pm

meth962 wrote:Haha well, this was the game that pushed me to learn all this stuff. I could barely operate a gameshark before! It wasn't until I played it some 16 years ago and was dissatisfied that I only 83% of the treasure or so (can't remember). So I gave it another try in college after spending days of forum digging to find all the people that found items in the game. Funny enough, it was enough for me to get 100% but the last two items I did not save my game after. So I submitted to defeat and told the gamefaq forum that I only got 98.8% and that the FAQ I wrote for "treasure checklist" or something was not guaranteed to get you 100% even though I counted 170 items in the guide.

Wasn't long after that, that someone messaged me on GameFAQs saying they DID get 100% with my guide. I figured they found two items I didn't but he couldnt' think of any. He graciously took my save and went looking and immediately found the two sidequest items I did not save after getting. So haha I technically wasn't the first to get 100%! He was! Silly me.

Come to think of it.....all the work I did for this game and I was never the first on anything! >:O
I remember having to go to my flight lesson or scuba diving or something and I was rushing to quickly uncover the Spirit fish. I was already late and I found the fish tables and it showed you needed a MEDIUM lure and at one location for it to be possible. I hastily posted my findings on GameFAQs and ran off to my late appointment. Once I got home I eagerly check the forums and people are blowin' up with links and videos of them catching spirit fish. Was like less than 9 minutes after I posted. Although I was super excited, I was like....野菜....I was late again! haha

Woah...sorry to ramble on there. History of Meth962 lol.
Haha good to know man! That is awesome to hear about.
Legend of Legaia, a pinnacle of human achievement, will always have a place in my heart
Image

User avatar
Nightshade
Level 60
Posts: 1797
Joined: Tue Jul 26, 2011 9:07 pm
Location: the the the the

Re: Item Drops & Steals

Post by Nightshade » Mon Nov 28, 2016 6:39 pm

meth962 wrote:Haha well, this was the game that pushed me to learn all this stuff. I could barely operate a gameshark before! It wasn't until I played it some 16 years ago and was dissatisfied that I only 83% of the treasure or so (can't remember). So I gave it another try in college after spending days of forum digging to find all the people that found items in the game. Funny enough, it was enough for me to get 100% but the last two items I did not save my game after. So I submitted to defeat and told the gamefaq forum that I only got 98.8% and that the FAQ I wrote for "treasure checklist" or something was not guaranteed to get you 100% even though I counted 170 items in the guide.

Wasn't long after that, that someone messaged me on GameFAQs saying they DID get 100% with my guide. I figured they found two items I didn't but he couldnt' think of any. He graciously took my save and went looking and immediately found the two sidequest items I did not save after getting. So haha I technically wasn't the first to get 100%! He was! Silly me.

Come to think of it.....all the work I did for this game and I was never the first on anything! >:O
I remember having to go to my flight lesson or scuba diving or something and I was rushing to quickly uncover the Spirit fish. I was already late and I found the fish tables and it showed you needed a MEDIUM lure and at one location for it to be possible. I hastily posted my findings on GameFAQs and ran off to my late appointment. Once I got home I eagerly check the forums and people are blowin' up with links and videos of them catching spirit fish. Was like less than 9 minutes after I posted. Although I was super excited, I was like....野菜....I was late again! haha

Woah...sorry to ramble on there. History of Meth962 lol.
I feel like I'm the guilty party in at least one of these stories.
Do not question yourself with the why or the how. I simply am, and that is all you need to know.

Post Reply