New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magic numbers for versionlib macro? #9
Comments
Hello, thank you for sharing. I'll try to check out what happened after work today. |
As for your inquiry, the number (address ID) is utilized for locating addresses for the machine code and data in SkyrimSE.exe. Initially, I identified the raw addresses by reverse engineering, and @lukasaldersley introduced versionlib here (#1 (comment)). As a result, we need to reverse engineer it again to find the addresses from the scratch. EDIT: |
The only missing address is 21890. I'm gonna check if I can workaround for it.
|
I think I found it - 441582 and this id does not exist in 1.6.640 or 1.6.659. @megapatato Could you please test if it works? You can download the build here: https://github.com/qbx2/sse-mod-skyrim-search-se/actions/runs/8555262349 For the history: |
Hey there! I'm glad you were able to take a look at it. I've tested the build, but I got a CTD.
I tested this on a new game, waiting for the initializations to finish (Gate to Sovengarde collection) The crash logger (this one) starts with the following:
If useful, I can share the rest of the crash log; |
The CTD turns out to be caused by the inappropriate usage of unsafe in prettytable-rs (See issue phsym/prettytable-rs#145). I updated the version and it seems to work well. I am gonna release new version to nexusmods.com now. Thank you so much for your support! |
Works like a charm, thanks! If you have the time, you might also want to check the documentation on the Nexus page; the second line of the Description pane admits the readme is outdated, and the changelog does not mention v0.10 yet. |
@megapatato I updated the description, although it has not much meaning anyway. The changelog is also updated. Thanks. |
Hiya! I'm trying to update this for more recent versions of the game; I've got it compiling for 1.6.659.0, and got the newer versionlibs from the Address Library for SKSE project. After editing the
target_version.txt
file, I get:This holds for 1.6.1130 and onwards. From looking up the behavior when building against 1.6.318.0, it seems the macro looks up the corresponding address for a given offset? (e.g. mapping 21890 to 0d3127808 | 0x2fba00, which tracks with what I'm seeing from the offsets file for 1.6.318.0, which has that at 1402fba00)
I see their usage in console, actor reference, cell, mod, npc, and quest contexts. What is the significance of the numbers used for versionlib? How would one find the relevant bits on newer versionslibs ?
The text was updated successfully, but these errors were encountered: