Final Fantasy Forums > Scripting and Reverse Engineering
(FF7 PSX) Impossible to win all item drops from multiple enemies?
Vgr:
A neat way to find out would be to find out which offsets points to the Random Number Generator Look-Up Table then try each value.
antd:
--- Quote ---A neat way to find out would be to find out which offsets points to the Random Number Generator Look-Up Table then try each value.
--- End quote ---
Yep, a good idea. But beyond my skills at the moment. I may try this when I have enough spare time to find the relevant memory addresses!
--- Quote from: NFITC1 on 2011-12-28 21:12:30 ---Statistically I'd say yes. 256 attempts would be enough given there are only 256 values in the RNGLUT. However, there are eight pointers to it at any given time and I don't know for certain what each of them are for and when the game cycles though them nor at what rate. So 2048 (256 * 8 ) would be enough if you knew where the pointer started and what value was next in the RNGLUT. I'm not convinced that the RNG is shuffled every frame like other RPG games do.
That would only work for consecutive values, however. If you knew what value made an item drop and got the RNGLUT pointer back to that value for every enemy then you could likely get all the items from enemy drops. There is room in the data for four unique items although the quantity is variable. This point is moot because an enemy will only drop one item (if any) and there can only be three enemy types in a battle.
--- End quote ---
Interesting info!
Currently at 44,000 attempts and no maximum item drops. Only, 0, 1, and 2 drops. Not 3.
I'll let this script run until it crashes or until it reaches 1 million attempts. On average, it is currently testing 140,000 attempts per day. So should hit 1 million in just over 1 week.
Surely if it reaches 1 million consecutive attempts it would have tried pretty much all variations of RNG position?
Vgr:
I can do it for you if you want, given you already do a lot of work to do. I'll do it through Cheat Engine and pSX, but I think you'd probably prefer through psxjin given that's what you use for your TAS. Shouldn't be too hard. I don't know how to manipulate it *in* the game though.
antd:
--- Quote from: Vgr on 2011-12-29 18:02:00 ---I can do it for you if you want, given you already do a lot of work to do. I'll do it through Cheat Engine and pSX, but I think you'd probably prefer through psxjin given that's what you use for your TAS. Shouldn't be too hard. I don't know how to manipulate it *in* the game though.
--- End quote ---
oh nice! you can get the relevant memory addresses?
i can write a lua script (psxjin) that automatically changes the values in game and reports the item drop
also: 58,000 consecutive attempts so far and no 3*T/S bomb drop from 3*Flapbeats!
Vgr:
Wait, to automatically change might work, but will it work if someone uses the file to replicate the run? Because AFAIK if you want to post it on TASvideos you need replayability (I had read their rules...) so unless the lua script gets along with the emulator movie file, I think there has to be some way around.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version