Jump to content

RDR2 NativeDB Discussion


Sam
 Share

Recommended Posts

Our new NativeDB is now live and available for all to use.  This is a project that we've been working on keenly since the game was launched, as we thought that having a proper and fully relational database for native functions would be a massive help for everyone.

 

The NativeDB can be freely edited by registered members, and we hope that everyone finds the enhanced functionality to be useful:

 

  • Search natives by return type, name or hash.
  • Filter search results by game version and whether or not the native has any comments.
  • WYSIWYG editor for native descriptions, including attachments/images support.
  • Basic code editor to provide code examples for any native.
  • Add descriptions for every native function parameter.
  • Fully featured comment threads on all native pages.
  • Ability to report natives/parameters/comments to website moderators.
  • Revision history for all natives and parameters - can be restored by moderators.

 

If there's any issues, feedback or suggestions that you have for the NativeDB, please let us know in this topic.

  • Like 1
Link to comment
Share on other sites

  • Sam pinned this topic
  • 2 weeks later...
  • 1 month later...

Trying to put it simple: Back in the days of GTA IV all names for native functions were included in in the game's exe file. Over the years and games this has changed quite a bit, with GTA V on console using hashed names instead of the "real" name. Since the hashing scheme on that version was known (it is the very common RAGE hashing scheme jenkins) it was possible to brute force a lot of the names. With GTA V on PC things changed again and R* went for a 64bit hashing scheme now for which the algorithm remains unknown. Furthermore hashes are most likely salted as they have changed between versions to make our lives a bit harder (the official reason being anti cheating more or less but everyone that has joined a public lobby in V knows how well this works). At this point for any new native, it was impossible to verify its original name, so people started guessing/estimating it based on the observed behavior and what other natives in the same code region were doing. These guessed names are often prefaced with a _. We don't know what exactly they do and what their name is, but usually the guesses are quite good. To document them you can try passing some values to them, decompile them, debug them, look at the game scripts etc. whatever works best for you

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

17th February: We've updated the native DB again with new natives that were added in a previous game release, as well as sync some natives that weren't named locally with datasets elsewhere.

  • Like 3
Link to comment
Share on other sites

  • 2 months later...

Something that's been missing with the site is the ability to see what's changed, which is especially important with the community Wikis.

We've now added a new 'Recent Changes' button to see all the new recent changes in all of the Wiki.

Edits will also now be visible on your profiles, and the All Activity feed.

  • Like 1
Link to comment
Share on other sites

It seems some information from earlier is still missing (e.g. in the native PLAY_PAIN there was a description with the painIDs which is missing).

Is there any way to fix that or did you overwrite earlier comments and descriptions while updating?

Link to comment
Share on other sites

1 hour ago, HughJanus said:

It seems some information from earlier is still missing (e.g. in the native PLAY_PAIN there was a description with the painIDs which is missing).

Is there any way to fix that or did you overwrite earlier comments and descriptions while updating?

Our update should have only touched natives where nothing had been changed. I will take a look into it.

Link to comment
Share on other sites

5 hours ago, Cyan said:

Our update should have only touched natives where nothing had been changed. I will take a look into it.

 

It didnt happen after the latest update, it was the one before that already erased some comments and descriptions.

Link to comment
Share on other sites

On 4/30/2020 at 8:39 PM, HughJanus said:

 

It didnt happen after the latest update, it was the one before that already erased some comments and descriptions.

I've messaged you so that we can look into this a bit more.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...