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

Do not load streaming files on dedicated server #412

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

BobTheBob9
Copy link
Member

prevents dedicated server from loading streaming probe files (stbsp) or streamed texture data (starpaks)

@GeckoEidechse GeckoEidechse changed the title dont load streaming files on dedicated server Do not load streaming files on dedicated server Feb 2, 2023
Copy link
Member

@GeckoEidechse GeckoEidechse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sample log snippet from before

...
[02:12:24] [NORTHSTAR] [info] Host_Init()
[02:12:24] [RPAK_FSYS] [info] LoadPakAsync common.rpak 1
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream.starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(03).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(06).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(07).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(05).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(04).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(08).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(11).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(09).starpak
[02:12:24] [RPAK_FSYS] [info] LoadStreamPak: pc_stream(10).starpak
[02:12:25] [RPAK_FSYS] [info] Not loading pak ui.rpak for dedicated server
[02:12:25] [RPAK_FSYS] [info] Not loading pak particle_scripts.rpak for dedicated server
...

and after

...
[02:14:33] [NORTHSTAR] [info] Host_Init()
[02:14:33] [RPAK_FSYS] [info] LoadPakAsync common.rpak 1
[02:14:34] [RPAK_FSYS] [info] Not loading pak ui.rpak for dedicated server
[02:14:34] [RPAK_FSYS] [info] Not loading pak particle_scripts.rpak for dedicated server
...

Server seemed to run fine in limited testing with 2 players.

@BobTheBob9 BobTheBob9 merged commit b77baa4 into main Feb 7, 2023
@BobTheBob9 BobTheBob9 deleted the no-starpak-on-dedi-pr branch February 7, 2023 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants