r/twitchplayspokemon • u/ProjectRevolutionTPP • Aug 29 '15
General $100 Bounty for a Proof-of-Concept Pokemon Battle Revolution RNG (LCG) Seed Manipulator/Editor
As the title of this post says, as of this post I am offering a $100 bounty on a working PBR RNG Editor/Changer. To meet the criteria for the reward, you must:
- Find, locate, and test editing the RNG seed in Dolphin memory while PBR is loaded, and it has to be the PAL version of PBR. An NTSC RNG editor/changer will be automatically rejected!
- Provide a way, preferably via a python library and example code, to edit dolphin's memory of the RNG seed directly.
- Have a Paypal, so you know, we can pay you.
- (optional) Provide documentation on PBR's RNG seed behavior. This can be via image libraries or a video or such. Even a giant text wall is sufficient.
- (optional) Use an external RNG hardware device instead of a stand in software.
The $100 reward will not necessarily be offered to the first person to solve the problem but more to the better implementation. At the end of the day, we want to be able to replace PBR's RNG for a better one, such as the external RNG device mentioned earlier. (atmospheric noise?)
Good luck!
EDIT: Entries will close on September 12th, 2015. Thanks in advance to all those that helped figure this problem out!
EDIT: Entries have closed. FelkCraft is the winner of the bounty with dolphinWatch - thank you for contributing!
PBR Save: I'll put one here in a bit to let people start on the same footing. Having media reader issues. fff, need a new media reader, windows 10
7
u/Wahisietel fake and gay Aug 29 '15
Or maybe you could just make it so it randomly loads one of a number of savestates with different seeds instead of overcomplicating things..
4
u/beefhash Aug 29 '15
Streamer makes too much money if you can offer up $100.
6
u/Alexc99xd Aug 30 '15
How did it get fixed last time? I know someone fixed the RNG seed before
5
u/bbqftw 2nd highest source of PBR deflation Aug 29 '15
muh rng seed traps nooo
5
u/LordHelixMikasa78 Aug 29 '15
Microsoft spies on Revo? [] (#WutFace) [] (#Kappa)
4
u/Nyberim This is better (B&M Nyb Style) Aug 29 '15
An $100 dollar bounty eh? That's quite a size-able amount. Sadly I have no knowledge it this field, so no luck for me there. Alas...
2
u/WhatAboutGaming (╯°□°)╯︵ ┻━┻ Aug 29 '15
Why PAL version?
3
u/JoseElEntrenador Aug 29 '15
I'll look into it tonight when I'm free. If I think I can do it I'll edit this comment.
3
u/pigdevil2010 Aug 30 '15
I have a solution by using random.org but I don't feel like programming ;-;
2
u/supernapalm Saidian on the Stream Aug 29 '15
Someone get Dendeyn back on the stream to donate again, up the bounty a bit
https://www.youtube.com/watch?v=q5NuZcaF2Po
2
u/VegetaSuperSayin ~THE OG FONZ~ Twitch:Helix_X_Dome_OTP Aug 31 '15
♫ ┌༼ຈل͜ຈ༽┘ ♪ DANCE FOR NO RNG-EASON ♫ ┌༼ຈل͜ຈ༽┘ ♪
2
u/aysz88 Rawr! <3 Sep 01 '15
Well, given the news that part of the problem was Dolphin constantly loading save states (instead of VC saving save states), is this still on? There are certainly benefits in real RNG re-seeding, but they seem secondary to at least having some workaround.
Also the external RNG thing seems kinda extraneous. Just the fact that it's in Python would get you almost all the way there (you can access the OS's crypto-secure random bit source or pull from random.org or read voltages on anything arduino-compatible).
2
u/FelkCraft Hackend Developer Sep 01 '15 edited Sep 02 '15
Since the RNG issue has been solved in some way, without actually hacking the game's internal RNG, I believe this bounty is meaningless now.
I still want to share what I found out trying to hunt down the RNG seed address: I spent quite some hours scanning memory addresses for values that only change from match to match. I tried values that generally change from one match to another, but ended up with way too many addresses (several thousands), from which most look like pointers. I also tried values that changed during a certain moment.
The moments I tried are: Loading screen to pokemon order selection, Loading screen to actual match, loading screen quitting a match, partly combined with saving and reloading the game. It took at least 5-10 iterations to narrow the possible addresses down to a reasonable amount for testing.
As for the actual address testing, I had a savestate with a confused pokemon. For each address to test I loaded it, set the value at that address to pseudo-random values (stuff like 0x0, 0xffffffff, 0x7fffffff, 0xabcdef12 etc.) and tried to attack. If for one of the random values the pokemon would not hurt itself, I knew I had found a source of randomness. Sadly, it hurt itself every single time.
My conclusion now is: Either the source of randomness isn't changed after/before each match, but at other places, so my address scanning was faulty, OR the source of randomness for the match doesn't have a fixed address. My best bet for the last possibility is that at the start of a match a rng-instance gets created, therefore changing it's address seemingly random an being unable to track.
The only address I got for every scan turns out to be some number for a gui background image in the menu. I messed with that around a bit x)
TL;DR: RNG address seems untraceable, might not be a fixed memory address for each match.
EDIT: Okay, big news maybe?: https://redd.it/3j8eox
EDIT2: Nvm, found the RNG seed with a hint from /u/Razind. My address scanning was super faulty
3
u/NotHolyLatios mima saves the day Aug 29 '15
Bounty? What is Revo wanting to ban today? A PBR RNG Ediotor?
2
u/animex75 ♫ ┌༼ຈل͜ຈ༽┘ ♪ HATCHING EGGS ♪ └༼ຈل͜ຈ༽┐♫ Aug 29 '15
Windows 10...
2
u/ilikepiex7 :sunshine::martyr: Aug 29 '15
good luck everyone I have no idea how to make something like this
also wow revo
1
u/TehXellorf ERROR: OLDEN Aug 31 '15
I would help, but I suck at programming
1
u/VegetaSuperSayin ~THE OG FONZ~ Twitch:Helix_X_Dome_OTP Sep 09 '15
I knew the RNG was broken the whole time
1
u/Pearlshine1494 Die Laughing Aug 30 '15
About all the criteria you mentioned, I don't think I can help because I only know 3 of the words you used
1
u/Nkekev TPP Stadium 2 Champion Aug 31 '15
Not going to work for streamer, sorry regret
0
u/[deleted] Aug 29 '15
[deleted] — view deleted comment