bilakispa

Getting Up - Map Strings thing

Aug 20th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. So there is a block of pointers that starts at: 0x664D68 (GettingUp.exe + 0x264D68)
  2. At the start of the game, before actually loading a map the first pointer points at a string with the destination of the game
  3. (e.x. "C:\Users\User\Documents\Getting Up - Contents Under Pressure\_Bin\GettingUp.exe").
  4. After the first map loading it loads a block of pointers AND it splits the first pointer into multiple ones by how many spaces are in the destination.
  5. So:
  6. 0x664D68: C:\Users\User\Documents\Getting
  7. 00664D6C: Up
  8. 00664D70: -
  9. 00664D74: Contents
  10. 00664D78: Under
  11. 00664D7C: Pressure\_Bin\GettingUp.exe
  12. Then the next values are: (don't care about the values)
  13. 00664D80: controller:-1
  14. 00664D84: memoryunit:0
  15. ~ 7 more pointers storing various stuff
  16. 00664DA4: map:[map_name_here]
  17. 00664DA8: title:0
  18. 00664DAC: previousmap:[map_name_here]
  19. ~ etc
  20.  
  21. That's all the values while playing any level first time after loading the game.
  22. When the level is finished it adds at the end of the block a pointer pointing to value "LastMapIndex:" and then moves to the end the map pointer.
  23. 00664DDC: LastMapIndex:3 (After i finished the second level and with the above destination)
  24. 00664DE0: map:m_rhapsody_shell
  25.  
  26. Then every time a level is loaded the "LastMapIndex:" pointer goes after the destination pointer and moves everything else by 4 bytes.
  27. 00664D80: LastMapIndex:3
  28. 00664D84: controller:-1
  29. ~ a coumple more stuff
  30. 00664DA8: map:[map_name_here]
  31. ~etc
  32.  
  33. ==========
  34. Conclusion
  35. ==========
  36. So according to the specific game destination, at the first time playing level the map name pointer is at: 00664DA4
  37. After ending any level the map name pointer is at: 00664DE0
  38. And after loading any level the map name pointer is at: 00664DA8
Add Comment
Please, Sign In to add comment