Reverse Engineering/Game Patching Tutorial: Full Res RollerCoaster Tycoon with Ghidra+x64dbg+Python

Published: 30 December 2020
on channel: jeFF0Falltrades
337,223
10k

GitHub Repo: https://github.com/jeFF0Falltrades/Ga...

Time Markers:
00:00:00 - Introduction
00:01:57 - Target audience and caveats note
00:03:10 - Start of tutorial
00:07:08 - Loading the file into Ghidra/First steps of RE workflow
00:14:27 - Static analysis of window creation functions (CreateWindowExA)
00:25:42 - Quick detour to learn about Window Style values
00:37:07 - Dynamic analysis of window creation functions in x32dbg
00:48:38 - Static analysis of default window height/width values
00:58:21 - Dynamic analysis of default window height/width values
01:03:30 - Static analysis of window constraints and patching for windowed mode
01:12:15 - Patching to enable full screen mode
01:15:00 - Python patching script review and wrap-up

Corrections:

00:34:30: When viewing GetSystemMetrics, 0x20 and 0x21 are seen passed into this function in Ghidra, but the MSDN page is in decimal, so those values (32 and 33 decimal) are actually specifying SM_CXSIZEFRAME and SM_CYSIZEFRAME, the sizing borders of the window. I mistakenly confused them for SM_CYVSCROLL/SM_CXHSCROLL.


Hey everyone, I appreciate you joining me for this inaugural tutorial.

I'm usually playing with malware, but I thought a game patch was a more fun and light endeavor for beginners, and I hope that this video strikes that balance of being fun and informative.

I hope to do more of these sometime, if there is an appetite.

Reach out any time with questions or feedback.

Twitter:   / jeff0falltrades  


Free Learning Resources (Let me know if you have more, and I will update this list):

Programming and Operating System Concepts:
Harvard's CS50 Course: https://online-learning.harvard.edu/c...
MIT OpenCourseWare - Introduction to C and C++: https://ocw.mit.edu/courses/electrica...
Beej’s Guide to C Programming (H/T Echo): https://beej.us/guide/bgc/

Reverse Engineering:
/r/reverseengineering Beginner Resources:   / a_modest_proposal_absolutely_no_babies_inv...  
CS6038 (Spring 2020) - Malware Analysis - University of Cincinnati - Coleman Kane:    • CS6038 (Spring 2020) - Malware Analysis - ...  
hasherezade's 1001 nights: https://hshrzd.wordpress.com/how-to-s...
Reverse Engineering for Beginners (H/T Echo): https://beginners.re/

Tools:
Intro to RE with Ghidra (wrongbaud): https://hackaday.io/course/172292-int...
x64dbg Documentation: https://help.x64dbg.com/en/latest/

Books:
Practical Reverse Engineering: https://www.amazon.com/Practical-Reve...
The Ghidra Book: The Definitive Guide: https://www.amazon.com/Ghidra-Book-De...


On this page of the site you can watch the video online Reverse Engineering/Game Patching Tutorial: Full Res RollerCoaster Tycoon with Ghidra+x64dbg+Python with a duration of hours minute second in good quality, which was uploaded by the user jeFF0Falltrades 30 December 2020, share the link with friends and acquaintances, this video has already been watched 337,223 times on youtube and it was liked by 10 thousand viewers. Enjoy your viewing!