lanylow / genshin-utility

Utility tool for Genshin Impact and Honkai: Star Rail.
GNU General Public License v3.0
114 stars 13 forks source link

Borderless Fullscreen? #12

Closed Doobyy closed 1 year ago

Doobyy commented 1 year ago

hi is it possible to have the game launch in borderless fullscreen? If i didnt use the loader and played the game normally. I would have created a shortcut to genshinimpact.exe and then add [-popupwindow -screenfullscreen 0] at the end of the target line and this would make it run in borderless fullscreen.. is there any way to implement this into the loader?

lanylow commented 1 year ago

Yes, that's totally possible. If you are able to implement it yourself, you can just pass these parameters to CreateProcessA.

Doobyy commented 1 year ago

Unfortunately I don't know a thing about code. I just know how to use those parameters on the genshinimpact.exe no idea how I would add that to the loader.exe

Doobyy commented 1 year ago

nevermind. i was able to figure it out and added the parameters into the main.c and build the project to work. thanks for the guidance!

lanylow commented 1 year ago

Glad to hear that, maybe next update I will make it possible to just pass arguments to genshin.