Skip to content
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

GOG branch and SKSE versioning #7

Open
zkellsworth opened this issue Jul 2, 2023 · 1 comment
Open

GOG branch and SKSE versioning #7

zkellsworth opened this issue Jul 2, 2023 · 1 comment

Comments

@zkellsworth
Copy link

I saw on nexus you mentioned you didn't have the GOG version so couldn't do much in terms of testing. I'm just letting you know what I've seen, what I accomplished and what I didn't accomplish.

In src/lib.rs around line 64 you are providing the version number that matches the address library bin file and that you've configured with the file target version.txt

compatibleVersions: [ target_version!(), 0, 0,

Unfortunately looking at the SKSE source, if you decide you want to make a GOG or EPIC games build you might need another config file or something. In SKSE they have the following

#define RUNTIME_TYPE_BETHESDA	0
#define RUNTIME_TYPE_GOG		1
#define RUNTIME_TYPE_EPIC		2
.
.
.
#define RUNTIME_VERSION_1_6_659_GOG	MAKE_EXE_VERSION_EX(1, 6, 659, RUNTIME_TYPE_GOG)
															// 0x01062931
#define RUNTIME_VERSION_1_6_678_EPIC	MAKE_EXE_VERSION_EX(1, 6, 678, RUNTIME_TYPE_EPIC)
															// 0x01062A62

But the target_version!() macro is using the version string that is made for the path to the address library file. So when SKSE tries to load the compiled dll it will complain. I ended up just manually adding 0x01062931 as a compatible version in that list on line 65 to get things running and indeed it does. We can launch the gog version of skyrim we can type commands like ss help.

But thats about as far as I could get it. Any sort of command like ss cell whiterun will crash the program and I being a Rust newb and completely oblivious to how SKSE works have found myself stuck in progressing more without learning more about both of these things which I don't really have time for right now.

Anyway do with this info as you will, Imma go back to the steam version for now. But I wanted to say aside from SKSE itself, this is probably the best tool/mod ever made for the game when trying to build large orders. Thanks for your contribution.

@qbx2
Copy link
Owner

qbx2 commented Dec 10, 2023

I appreciate the information. I now have the time to address it, and I'd be happy if you could join https://discord.gg/mfSqNzBd for further assistance. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants