Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Lua script requirements:
- - Access the dynamic 64-bit CommSys random context, using the value of the 32-bit static pointer 0x02257740 + 8 as an offset
- - Output the value of these memory addresses directly from memory
- - Inject testing memory values in the underground, before commencing the dig minigame
- - Show the number of times the CommSys RNG has advanced from its initial state (Dist. seed) using the seeding formula : seed = seed * 5D588B656C078965 + 269EC3
- -----------------------------------
- Simulator requirements:
- - Generate full boards for a given range of seeds, print a full dirt pattern, number of items, names of items, and co-ordinates of items (preferably in an intuitive GUI)
- - Implement the logic to re-roll for an item if the placement collides with a previously generated item
- - Be able to take a dirt pattern/item coordinates from the user, and spit out the seed(s) using a given range of seconds from a date/time
- - Must not be written in garbage Python at all costs, will be searching through millions of seeds
- -----------------------------------
- Example of dynamic data structure from instance of play on DeSmuME
- 023A94C8 - 023A94CC = two pointers
- 023A94D0 - 023A94D4 = random context
- 023A94D8 - 023A94DC = multiple
- 023A94E0 - increment
- Value 023A94C8 located at 02257740 (02251380 in DP)
- 6C078965 multiple can be RAM searched
Advertisement
Add Comment
Please, Sign In to add comment