Description:
This mod allow you to create your own custom loading screen in html, css and java like FiveM. You can animate it and do whatever website is capable off.
This mod comes with a ready made loading screen of Los Santos and a live progress bar with percentage. 
 Note: I used a cheap partially accurate percentage calculation based on OpenIV.log file, you will need to have OpenIV.asi plugin or else the progress bar won't appear in the sample loading screen. ( i'll find a better way asap)

Installation:
Copy everything to the root folder. If you want to use yours, open the folder called "loadingscreen", rename the original "index.html" file to something else, copy your .html file in the folder and MAKE SURE TO NAME IT TO "index.html" so the mod can load it.

How to create yours : 
you can use the sample html file located inside the folder "loadingscreen" as a reference to create yours, you can modify the sample script to have local files instead of urls for the background images, I allowed the browser engine to access the local files so you can load your images offline.
or upload the sample to an LLM (ChatGPT, Claude...) and ask it to make you a custom one.

IMPORTANT: THE AUDIO IS DISABLED DURING THE LOADING SCREEN SO YOU CAN USE YOUR OWN THEME SONG, currently the sample doesn't have any theme song included because i uploaded this mod on a hurry.

Bugs : -The custom loading screen override the warning screen ( like if you hit alt and F4 )

If there a WebView runtime error ( rare in case its not installed, it basically comes with every windows 11 and 10 installation) installation link :
https://developer.microsoft.com/en-us/microsoft-edge/webview2?form=MA13LH

How does it work : I used OSR with WebView2 to display the web content.

For more Web Based mods check this framework :"https://www.gta5-mods.com/tools/nuilight"
Credits: ShadowOne.
