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

Rpak loading issues #821

Open
NachosChipeados opened this issue Sep 11, 2024 · 5 comments
Open

Rpak loading issues #821

NachosChipeados opened this issue Sep 11, 2024 · 5 comments

Comments

@NachosChipeados
Copy link

NachosChipeados commented Sep 11, 2024

I tried updating some of my mods to use the new rpak loading structure but i found some issues:

Setting the loading option to "." or "mp_" causes the rpak to not get loaded at all.
Screenshot 2024-09-10 203617
Screenshot 2024-09-10 203628
Screenshot 2024-09-10 203643

Setting it to use a specific map causes the textures to load, but become invisible (though this doesn't happen with the example satchel mod)
Screenshot 2024-09-10 203722
Screenshot 2024-09-10 203733
Screenshot 2024-09-10 203747

Using the old structure (postload) works completely fine.
Screenshot 2024-09-10 204206
Screenshot 2024-09-10 204321

@NachosChipeados
Copy link
Author

NachosChipeados commented Sep 11, 2024

I set up three mods using the models above to quickly test this:

The first one (AAA) uses the old loading method
The second one (BBB) uses "."
The third one (CCC) uses "mp_angel_city"

https://www.mediafire.com/file/veo4tbh2yw7ip5y/wdwdasd.zip/file

(Uploading to mediafire because of githubs file size limit)
(Also, sorry for updating this one comment so much. This archive was quickly thrown together and i kept noticing issues with the setup)

@NachosChipeados
Copy link
Author

Archive now has the Hemlok model as well (i completely forgot to include it)

@ASpoonPlaysGames
Copy link
Contributor

Yeah, I can repro this... not really sure why it happens though. I'll need to spend some time reversing to look at what the difference between loading common and loading map rpaks is.

@ASpoonPlaysGames
Copy link
Contributor

So the difference between common.rpak and our ones is with the flags it seems. common.rpak gets a flags value of 0x2 but ours get a flags value of 0x7 when loading. Going to try giving ours the same flags as common.rpak and see what happens

@ASpoonPlaysGames
Copy link
Contributor

Tested various things, not sure I can do much about this. It seems to be to do with when the rpak is loaded in some capacity. Even using Postload with a different rpak results in the invisibility issue. I guess some of this stuff will have to remain using Postload for now?

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

No branches or pull requests

2 participants