Popular Post Alexander Blade 1,424 Posted November 9, 2019 Popular Post Share Posted November 9, 2019 (edited) RDR2 SCRIPT/NATIVE RESEARCH After looking into RDR2 I can say it's a lot like the companion app when it comes to the script engine, while the PC version introduces changes aimed to make the game less moddable in general, who would've guessed, right ? (1) There are no names in rtti. (2) Lots of pointers (like pools) in the game are dynamically encrypted on write and decrypted on read. (3) Comparing to the companion scripts have opcodes in random order, highly likely this thing is going to change almost every major patch, just like natives in GTAV. Meanwhile! (1) (completed!) Lots of natives in RDR2 can be matched to GTAV ones. (2) (completed!) Name native namespaces. I spent two days doing this. (3) (completed!) Generate natives.h. (4) (completed!) Port the hook. (5) (completed!) Unshuffle opcode table. (6) (completed!) YSC -> C, the game has few new patterns for high level, like 3d arrays. (7) (completed!) Write basic version of NativeTrainer. (8) (completed!) Release the hook. (9) (completed!) Release new SDK. (10) Native DB. Edited November 20, 2019 by Alexander Blade VideoTech_, kay0, PacketOverload_x64bit and 64 others 67 Link to post Share on other sites
Cal_fromdabow 10 Posted November 9, 2019 Share Posted November 9, 2019 Quote problems Hmmm. I don't really care for any of the technical explanations, "ALEX BLADE", I just want to have a bugatti veyron replace my horse. Possible or not?! AlwaysKaffaNL, Samuel0l, rahyarpaul and 5 others 8 Link to post Share on other sites
mikecyclexxx 132 Posted November 9, 2019 Share Posted November 9, 2019 The post we’ve all been waiting for! It doesn’t matter how long it takes, this is what I’m interested in 👌🏻👌🏻 frangershwing 1 Link to post Share on other sites
Havi 21 Posted November 9, 2019 Share Posted November 9, 2019 Good luck Alexander and thank you so much for your hard work! Red Dead Rebel, SantasLittleHelper, frangershwing and 1 other 4 Link to post Share on other sites
skeeze415 1 Posted November 9, 2019 Share Posted November 9, 2019 5 hours ago, Cal_fromdabow said: Hmmm. I don't really care for any of the technical explanations, "ALEX BLADE", I just want to have a bugatti veyron replace my horse. Possible or not?! And nobody cares if you want a dam Bugatti...SMH...be respectful. Shnockered1 1 Link to post Share on other sites
PatrickJr. 365 Posted November 9, 2019 Share Posted November 9, 2019 Excited to see what you can do! Link to post Share on other sites
Tuskin38 218 Posted November 9, 2019 Share Posted November 9, 2019 6 hours ago, Cal_fromdabow said: Hmmm. I don't really care for any of the technical explanations, "ALEX BLADE", I just want to have a bugatti veyron replace my horse. Possible or not?! Rude. Link to post Share on other sites
Ghost901 0 Posted November 9, 2019 Share Posted November 9, 2019 11 hours ago, Alexander Blade said: while the PC version introduces changes aimed to make the game less moddable in general, who would've guessed, right ? Are those changes going to be a problem compared to GTA V? Link to post Share on other sites
Xerukal 12,777 Posted November 9, 2019 Share Posted November 9, 2019 Good luck! Thanks for getting on this. Looking forward to seeing what's possible. frangershwing 1 Link to post Share on other sites
Carl Johnson (JAL) 69 Posted November 9, 2019 Share Posted November 9, 2019 Great luck man, Nice to here from you! frangershwing 1 Link to post Share on other sites
PacketOverload_x64bit 1,724 Posted November 10, 2019 Share Posted November 10, 2019 So awesome(!) Alexander Blade! Thank you for all that you've done to enable modding on these titles. I can't even count the amount of hours spent (enjoying) modding thanks to you (1000's). Good luck and can't wait to see the modding EXPLODE(!) frangershwing 1 Link to post Share on other sites
RFOoD x MoDz 1 Posted November 10, 2019 Share Posted November 10, 2019 Thanks frangershwing 1 Link to post Share on other sites
SilverRST 4,022 Posted November 10, 2019 Share Posted November 10, 2019 (edited) Very interested to see what's possible when it's done! Edited November 10, 2019 by SilverRST Link to post Share on other sites
GN 92 3,743 Posted November 10, 2019 Share Posted November 10, 2019 Woohoo!!! Link to post Share on other sites
Ethenski 1 Posted November 10, 2019 Share Posted November 10, 2019 Okay this is epic, thanks for your work! frangershwing 1 Link to post Share on other sites
cowabunga 44 Posted November 12, 2019 Share Posted November 12, 2019 I couldn't thank you enough for all the great time I've had thanks to you, seriously! frangershwing 1 Link to post Share on other sites
WilliamHalverd 1 Posted November 12, 2019 Share Posted November 12, 2019 Thats a good lot of stuff, good Job Alex!! frangershwing 1 Link to post Share on other sites
TheRouLetteBoi 7 Posted November 15, 2019 Share Posted November 15, 2019 Decompiled scripts wen? Vrock_wave 1 Link to post Share on other sites
Alexander Blade 1,424 Posted November 20, 2019 Author Share Posted November 20, 2019 (completed!) Release new SDK. frangershwing, crazedZ10, 7aken and 6 others 9 Link to post Share on other sites
Mercuito 3 Posted November 20, 2019 Share Posted November 20, 2019 (edited) 2 hours ago, Alexander Blade said: (completed!) Release new SDK. Thanks so much, Alex! I checked out the SDK and looked around, but I noticed that the createTexture and drawTexture functions are missing in the published functions in the SctiphookV.dll, did I miss something, or is there another function to call now or is not possible for RDR2? Edited November 20, 2019 by Mercuito Link to post Share on other sites
jedijosh920 1,229 Posted November 21, 2019 Share Posted November 21, 2019 (edited) PROMPT research: Registering prompt, enabling and making it visible: int prompt = UI::_BEGIN_REGISTER_PROMPT(); UI::_0xF4A5C4509BF923B1(prompt, 0); UI::_PROMPT_SET_TEXT(prompt, "WARDROBE_INSPECT_PROMPT"); UI::_PROMPT_SET_CONTROL_ACTION(prompt, joaat("INPUT_INSPECT_ZOOM")); UI::_PROMPT_SET_HOLD_INDEFINITELY_MODE(prompt); UI::_END_REGISTER_PROMPT(prompt); UI::_PROMPT_SET_ENABLED(prompt, true); UI::_PROMPT_SET_VISIBLE(prompt, true); Disabling prompt, making it not visible, and deleting: UI::_PROMPT_SET_ENABLED(prompt, false); UI::_PROMPT_SET_VISIBLE(prompt, false); UI::_PROMPT_DELETE(prompt); Edited November 21, 2019 by jedijosh920 Alexander Pierce, const96b, kay0 and 1 other 4 Link to post Share on other sites
floof 204 Posted November 25, 2019 Share Posted November 25, 2019 (edited) Hi. Is there any documentation on the script format for RDR2? I'm mostly looking for header and opcode information. I'd like to add support to my own compiler build. Edited November 25, 2019 by floof Link to post Share on other sites
cgimda 0 Posted January 10, 2020 Share Posted January 10, 2020 @jedijosh920 Do you have any idea how to find the list of the right arguments to use UI::_PROMPT_SET_TEXT? Link to post Share on other sites