[DiscordArchive] what mechanism does blizzard use to force assets to load that are "dynamically" required so to speak
[DiscordArchive] what mechanism does blizzard use to force assets to load that are "dynamically" required so to speak
Archived author: Azarchius • Posted: 2023-11-05T16:09:59.138000+00:00
Original source
what mechanism does blizzard use to force assets to load that are "dynamically" required so to speak? e.g. blp loaded via chat will appear green if the client is incomplete and the client won't realize it "needs" the file. But somehow Blizzard has no issue with files that are only used by Lua scripts as far as incomplete clients go.
I noticed there are manifest db2s. Is that all there is?
Archived author: tester • Posted: 2023-11-05T16:33:17.701000+00:00
Original source
i always assumed htere was some file check and if it couldnt find it, just load the default green to show that it couldnt find it
Archived author: tester • Posted: 2023-11-05T16:33:37.484000+00:00
Original source
some if file.exists() sorta thing
Archived author: robinsch • Posted: 2023-11-05T16:44:46.783000+00:00
Original source
files have a callback that is invoked once they are loaded / streamed
Archived author: tester • Posted: 2023-11-05T16:48:02.284000+00:00
Original source
oh you meant streamed assets, i see.
Archived author: robinsch • Posted: 2023-11-05T16:48:27.071000+00:00
Original source
it kinda works the same for streamed / async loaded files