MojoW Posted June 10, 2016 Share Posted June 10, 2016 Native hash translation table for 1.34? Yeah i second that. It would really be appreciated. Thanks. What use do you have for the tables? There are still multiple ways to use menu's that are not based on scripthook but still use natives. Not everyone is gonna release or sell when they can make something theirself. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068843098 Share on other sites More sharing options...
cashdrop Posted June 10, 2016 Share Posted June 10, 2016 So I guess no GTA V Native hash translation table this update. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068843162 Share on other sites More sharing options...
froggz19 Posted June 10, 2016 Share Posted June 10, 2016 So I guess no GTA V Native hash translation table this update. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068845027 Share on other sites More sharing options...
huntingpickel Posted June 10, 2016 Share Posted June 10, 2016 Rockstar needs to chill out with the updates. They're working Alex like a mule. He's got a real life to manage along with Script Hook. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068845321 Share on other sites More sharing options...
Alexander Blade Posted June 11, 2016 Author Share Posted June 11, 2016 Native hash translation table from b678 to b757 http://pastebin.com/BhTbmXJe Jitnaught, Gaffa and Fireboyd78 3 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068846441 Share on other sites More sharing options...
MojoW Posted June 11, 2016 Share Posted June 11, 2016 Native hash translation table from b678 to b757 http://pastebin.com/BhTbmXJe Thank you very much! Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068846511 Share on other sites More sharing options...
staticg35 Posted June 15, 2016 Share Posted June 15, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068862488 Share on other sites More sharing options...
unknown modder Posted June 15, 2016 Share Posted June 15, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log say Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068862755 Share on other sites More sharing options...
staticg35 Posted June 16, 2016 Share Posted June 16, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log sayThe ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068865203 Share on other sites More sharing options...
InfamousSabre Posted June 16, 2016 Share Posted June 16, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log say The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? Update your scripthook Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068865498 Share on other sites More sharing options...
staticg35 Posted June 17, 2016 Share Posted June 17, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log say The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? Update your scripthook ive already updated the scripthook lol Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068865876 Share on other sites More sharing options...
staticg35 Posted June 17, 2016 Share Posted June 17, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log say The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? Update your scripthook ive already updated the scripthook lol ok guys i just deleted gtav and all of my mods and did a fresh start then i downloaded the updated version of scripthook put it in my directory and it still pops up FATAL: unknown game version, check http://dev-c.comfor updates! supported versions are 1.0.335.2, 1.0350.1/2 1.0.372.2, 1.0.393.2/4 1.0.463.1 1.0.505.2 1.0.573.1 1.0.617.1 1.0.678.1 seriously guys i need help! Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068865898 Share on other sites More sharing options...
unknown modder Posted June 17, 2016 Share Posted June 17, 2016 ok guys i just deleted gtav and all of my mods and did a fresh start then i downloaded the updated version of scripthook put it in my directory and it still pops up FATAL: unknown game version, check http://dev-c.comfor updates! supported versions are 1.0.335.2, 1.0350.1/2 1.0.372.2, 1.0.393.2/4 1.0.463.1 1.0.505.2 1.0.573.1 1.0.617.1 1.0.678.1 seriously guys i need help! 99% of people(myself included) are having no issue whatsoever with the latest version of ScriptHookV, Delete ScriptHookV.dll from GTAV directory, go to http://dev-c.com/gtav/scripthookv/, click the download button, make sure when you go to extract it, you arent extracting an old version still in your download folder. then copy the ScriptHookV.dll into you GTAV directory. then it should work. If it still doesnt work, do you have 2 different game installations on your pc? are you using a legit copy of GTA V(pirated copies will cause issue)? Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866144 Share on other sites More sharing options...
InfamousSabre Posted June 17, 2016 Share Posted June 17, 2016 dinput8.dll wont let me start my gta v i have all the installed updates for script hook! but whenever i delete the dinput8 file from the directory it lets me start the game but no mods because its required can anybody help me fix? windows 10 Im going to hazard a guess that its on of your mods thats the issue, not the asi loader, what do the asi loader log and scripthookv log say The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? The ask loader don't say anything I don't guess but when I install the new script hook and put the 3 files in my directory is says I don't have the latest version and it tells me the supported ones but I have them idk what's going on I can't even play anymore should I delete the game and the mods and fresh start? Update your scripthook ive already updated the scripthook lol Then do it again. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866161 Share on other sites More sharing options...
staticg35 Posted June 17, 2016 Share Posted June 17, 2016 Ok I finally got it! It was f*cking Jordan's menu messing me up can you play online with script hook? Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866197 Share on other sites More sharing options...
Jitnaught Posted June 17, 2016 Share Posted June 17, 2016 Ok I finally got it! It was f*cking Jordan's menu messing me up can you play online with script hook? No. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866943 Share on other sites More sharing options...
Chawral Posted June 17, 2016 Share Posted June 17, 2016 Ok I finally got it! It was f*cking Jordan's menu messing me up can you play online with script hook? No. Is it safe to use it in a private session (generate money), remove it and play online? Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866953 Share on other sites More sharing options...
Jitnaught Posted June 17, 2016 Share Posted June 17, 2016 Is it safe to use it in a private session (generate money), remove it and play online? No. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866955 Share on other sites More sharing options...
Chawral Posted June 17, 2016 Share Posted June 17, 2016 Is it safe to use it in a private session (generate money), remove it and play online? No. Thank you Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068866968 Share on other sites More sharing options...
Fireboyd78 Posted June 19, 2016 Share Posted June 19, 2016 (edited) Reverse engineering GTA 5 has never been easier: I wrote an IDA script to find every call to RegisterNative, get the hash in RCX, the function it registers in RDX, and dumped it to a separate file. Then, I made a separate program that downloads all the natives from NativeDB, looks for known natives in the dump file, and builds a script that produces the results you see above. I'm not entirely sure if this would be useful for newer versions of GTA 5, since Rockstar is constantly figuring out new ways to mess with us, lol. EDIT: Oops, some $UNK's actually belong in a namespace. I'll fix that Edited June 19, 2016 by Fireboyd78 sfinktah, mockba.the.borg, Transmet and 3 others 6 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068870995 Share on other sites More sharing options...
mockba.the.borg Posted June 19, 2016 Share Posted June 19, 2016 Which version of GTA5.exe is this? I only have 678.1, 757.2 and 757.4. I did some research the other day and found out that on 757.4 (and the others I have), the natives will not be on the GTA5.exe executable, but on a BTree that is built in memory. I wrote a small app to traverse the tree in memory, finding all the hashes and executable entry points for the natives, my next step now would be to identify "who" these natives are, and maybe see if I can automate the process of renaming them. Good job by the way. Is the IDA script Python? Thanks, Mockba. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068871730 Share on other sites More sharing options...
Fireboyd78 Posted June 20, 2016 Share Posted June 20, 2016 (edited) Which version of GTA5.exe is this? I only have 678.1, 757.2 and 757.4. I did some research the other day and found out that on 757.4 (and the others I have), the natives will not be on the GTA5.exe executable, but on a BTree that is built in memory. I wrote a small app to traverse the tree in memory, finding all the hashes and executable entry points for the natives, my next step now would be to identify "who" these natives are, and maybe see if I can automate the process of renaming them. Good job by the way. Is the IDA script Python? Thanks, Mockba. The version I have is 323. I used IDC but it could possibly be rewritten in Python. Could you PM me more information about this "BTree" (Binary Tree, yes?) research? You've got me curious about it now, haha. Oh and actually, if you can export the data to a file format I created for my NativeGenerator, I could provide you with an auto generated script that will rename them for you. Do you know the original hashses for them? If so, I can pull the data off NativeDB and provide the script like I said. Edited June 20, 2016 by Fireboyd78 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068872953 Share on other sites More sharing options...
Fireboyd78 Posted June 20, 2016 Share Posted June 20, 2016 The native generator tool is now open source! Find it here! More information can be found in the readme. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068873468 Share on other sites More sharing options...
sfinktah Posted July 3, 2016 Share Posted July 3, 2016 Good work @Fireboyd78, here's a couple of things that may help you and @mockba.the.borg or be useful to someone anyway. NativeHashFunctionFinder is a proof of concept based on an idea by Bucho back around page 6. Given a HASH for a Native Function, and a running copy of GTA5.exe, it will produce the address of the native function. This address matches what you would get from CE if you followed the same process. It was written and tested with the latest build (at this time, b757). n.b. it has only been tested with GET_PLAYER_PED. The assumption is that Bucho was correct when he wrote that the function address was 0x40 bytes before the HASH, which has proved to be the case with GET_PLAYER_PED. Btree what now? Also, there are copies of AB's natives.h, with the hashes updated to match any build of GTA5. So, if you want to look up a native hash in b757, you'll need to get the correct hash from natives-b757.txt.h (a sample hash is provided in the code for b757). Obviously you'll need to run the app (which is a console app, BTW) as Adminstrator. Incorporate into your own code as you wish. Sample output: C:\...\Debug>ConsoleApplication1.exeenter Native Hash (or 0 for GET_PLAYER_PED)0Found GTA5.exe, PID: 17124Scanning process for hash 0xc834a7c58deb59b40x1d81d610000: 0004Found hash at address: 0x 1d82b8e0428Pointer to Native Function is at: 0x 1d82b8e03e8Native Function Address: 7ff6cc2a39f4Found 1 results! NativeHashFunctionFinder.exe16K NativeHashFunctionFinder.cpp6.3K natives-b757.txt.h733K natives-b678.txt.h733K natives-b617.txt.h733K natives-b573.txt.h733K natives-b505.txt.h733K natives-b463.txt.h733K natives-b393.txt.h733K natives-b372.txt.h733K natives-b350.txt.h733K And if those links didn't work, just go to https://nt4.com/gta5/ mockba.the.borg 1 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068909098 Share on other sites More sharing options...
froggz19 Posted July 5, 2016 Share Posted July 5, 2016 Does anyone know the native for changing the accent color on the new X80 Proto? Thanks. Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068912555 Share on other sites More sharing options...
sfinktah Posted July 13, 2016 Share Posted July 13, 2016 Not sure if this will be any help in updating ScriptHookV to the next version, but I wrote some code that iterated all the hashes in b757 and produced memory locations and partial disassembly. https://github.com/sfinktah/NativeHashFunctionFinder/ It won't run against the new build, but I saved a copy of the output from b757: https://nt4.com/gta5/signatures.decompile.brief.b757.txt Disassembled with diStorm version: 3.3.4Scanning process for PLAYER::GET_PLAYER_PED hash 0xc834a7c58deb59b4Found hash at address: 0x 1f49ab20428Pointer to Native Function is at: 0x 1f49ab203e8Native Function Address: 0x 7ff7464a39f400007ff7464a39f4 (05) e9e82e9a02 JMP 0x7ff748e468e100007ff748e468e1 (05) 48895c24f8 MOV [RSP-0x8], RBX00007ff748e468e6 (05) 488d6424f8 LEA RSP, [RSP-0x8]00007ff748e468eb (04) 4883ec20 SUB RSP, 0x2000007ff748e468ef (04) 488b4110 MOV RAX, [RCX+0x10]00007ff748e468f3 (05) e9494b7f00 JMP 0x7ff74963b441Scanning process for PLAYER::GET_PLAYER_PED_SCRIPT_INDEX hash 0xf55c9372b9e63070Found hash at address: 0x 1f49ab21338Pointer to Native Function is at: 0x 1f49ab212f8Native Function Address: 0x 7ff7464a3a3400007ff7464a3a34 (05) e90f4bad00 JMP 0x7ff746f7854800007ff746f78548 (05) 488d6424f8 LEA RSP, [RSP-0x8]00007ff746f7854d (04) 48891c24 MOV [RSP], RBX00007ff746f78551 (05) e9adb9a901 JMP 0x7ff748a13f03Scanning process for PLAYER::SET_PLAYER_MODEL hash 0x3590a8146209253cFound hash at address: 0x 1f49ae170a0Pointer to Native Function is at: 0x 1f49ae17060Native Function Address: 0x 7ff7464acf9800007ff7464acf98 (05) e987382e03 JMP 0x7ff74979082400007ff749790824 (04) 488b4110 MOV RAX, [RCX+0x10]00007ff749790828 (03) 8b5008 MOV EDX, [RAX+0x8]00007ff74979082b (05) e94cd82bff JMP 0x7ff748a4e07c and so forth, and so on. mockba.the.borg and Sweet Bellic 2 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068937478 Share on other sites More sharing options...
P3ti Posted July 13, 2016 Share Posted July 13, 2016 Native hash translation table from b757 to b791 http://pastebin.com/SJM9CDBf Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068939092 Share on other sites More sharing options...
unknown modder Posted July 13, 2016 Share Posted July 13, 2016 Native hash translation table from b757 to b791 http://pastebin.com/SJM9CDBf dont even pretend you worked those out yourself Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068939360 Share on other sites More sharing options...
mockba.the.borg Posted July 13, 2016 Share Posted July 13, 2016 Well ... even if he pulled it from ScriptHookV, that means he worked it out himself ... Not the tranlsation, but the list ... Sweet Bellic 1 Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068939381 Share on other sites More sharing options...
unknown modder Posted July 13, 2016 Share Posted July 13, 2016 Well ... even if he pulled it from ScriptHookV, that means he worked it out himself ... Not the tranlsation, but the list ... theres a reason i never released the lists i pulled from shv Link to comment https://gtaforums.com/topic/717612-v-scriptnative-documentation-and-research/page/31/#findComment-1068939543 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now