linuxgurugamer Posted January 27, 2018 Share Posted January 27, 2018 (edited) Forum user @CliftonM write this nice little utility which changes the screen resolution on the fly. He hasn't been around since August, and since I use this, I'm adopting it. Original thread is here: https://forum.kerbalspaceprogram.com/index.php?/topic/134621-12 New Dependencies Click Through Blocker ToolbarController What does it do? It allows you to quickly and easily change the screen resolution and switch between fullscreen and windowed. You can use any resolution imaginable as long as it is positive number. How do I use it? In any scene, simply press alt + /, or click the toolbar button if it's available. It will automatically open up when you're in the settings menu. Pictures: I was never happy with the original interface, and took this opportunity to redo it in a cleaner method. The changes I've done include: Rewrote all windows to make it a much simpler interface Removed the confusing presets windows Created Changelog file Added support for ToolbarController, for Blizzy toolbar support Added settings page for Toolbar control Added Toggle on window for toolbar control Dependencies This mod is now dependent on two other mods, the Click Through Blocker and the Toolbar Controller. These mods are not included in the download, you need to download and install them yourself. CKAN installs will automatically install them There is a hard dependency on the Click Through Blocker mod, available here: There is a hard dependency on the Toolbar Controller mod, available here: Download Spacedock: https://spacedock.info/mod/1681/AnyRes Continued Source Code: https://github.com/linuxgurugamer/AnyRes License: CC-BY Available in CKAN Donations gratefully accepted https://www.patreon.com/linuxgurugamer Edited May 1, 2018 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
Apaseall Posted January 28, 2018 Share Posted January 28, 2018 I think I am stalking you. Quote Link to comment Share on other sites More sharing options...
Apaseall Posted January 28, 2018 Share Posted January 28, 2018 Oh dear. https://www.dropbox.com/s/83rpdcz36s3qiqf/saves for AnyRes.1.output_log.txt?dl=0 . Seem to have some errors here: Spoiler NullReferenceException: Object reference not set to an instance of an object at AnyRes.AnyRes.Start () [0x00000] in <filename unknown>:0 Those might be causing these: Spoiler NullReferenceException: Object reference not set to an instance of an object at ToolbarControl_NS.ToolbarControl.OnGUI () [0x00000] in <filename unknown>:0 Thought I would be cheeky and throw this one in too: Spoiler Janitor's Closet: Error adding ApplicationLauncher button: Object reference not set to an instance of an object If it is any help, I am currently launching KSP in windowed mode. The errors appeared there. Resolution is for 4K, 3840 x 2160. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 28, 2018 Author Share Posted January 28, 2018 Please ping me when you post reports, otherwise I might miss them. And next time, please try to have a smaller log file, 136 meg is a bit much to wade through. Thanks for posting it though I already have the first one fixed, and am working on the second. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 28, 2018 Author Share Posted January 28, 2018 New release, 2.0.0.1: Fixed nullref which occurred before getting to the SpaceCenter Added logging class Added new setting: UseKSPSkin, in the settings page Deleted some commented-out code There is also an update for the ToolbarController which you should install also Quote Link to comment Share on other sites More sharing options...
Apaseall Posted January 28, 2018 Share Posted January 28, 2018 I posted the first log that I became aware of this. I realized it was rather big, so I posted the actual error messages so that you could do a quick search for them. I also thought not to tamper with the edit file, as I may edit out something that you might need. My apologies. How do I ping you? Great news that you already had it fixed. I will land this plane and give the updates a whirl. Thank you. Quote Link to comment Share on other sites More sharing options...
glibbo Posted January 28, 2018 Share Posted January 28, 2018 Hi, it seems that the spacedock link to toolbar controller is broken? keeps going to spacedock... Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 28, 2018 Author Share Posted January 28, 2018 (edited) 1 hour ago, glibbo said: Hi, it seems that the spacedock link to toolbar controller is broken? keeps going to spacedock... Huh? What link? I put a link to the forum thread for it, the Toolbar Controller is not on spacedock yet, only github Edit: Oh, you mean the link to it on Spacedock. Just fixed it Thanks. Edited January 28, 2018 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 28, 2018 Author Share Posted January 28, 2018 Minor release, 2.0.0.2: Disabled the window from showing up on the main stock settings page Quote Link to comment Share on other sites More sharing options...
DerGolgo Posted January 29, 2018 Share Posted January 29, 2018 (edited) Thanks for bringing back a great mod! Slight issue: I just installed 2.0.0.2 and started the game. And AVC comes on and tells me there's a newer version 2.0.0.3 available. I expect some typo someplace, nothing for getting headaches about. Just mentioning it, in case other users of AVC express confusion. Edited January 29, 2018 by DerGolgo Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted January 29, 2018 Author Share Posted January 29, 2018 New release, 2.0.0.3 Added missing toolbar buttons Fixed issue where multiple duplicate buttons were added in the Editor @DerGolgoI've been working on this patch, I think you crossed with my work. Anyway, the update is now available Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted February 21, 2018 Author Share Posted February 21, 2018 New release, 2.0.1: Added "X" to close the window Added support for ClickThroughBlocker (now a dependency) Quote Link to comment Share on other sites More sharing options...
glibbo Posted March 21, 2018 Share Posted March 21, 2018 V2.0.1 works in 1.4.1 with both dependencies, but the tool bar button is foggy, just saying, thanks. windows 7 x64 Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 22, 2018 Author Share Posted March 22, 2018 On 3/21/2018 at 11:46 AM, glibbo said: V2.0.1 works in 1.4.1 with both dependencies, but the tool bar button is foggy, just saying, thanks. windows 7 x64 Update the ToolbarController, the foggy button will be fixed with that update Quote Link to comment Share on other sites More sharing options...
Apaseall Posted March 25, 2018 Share Posted March 25, 2018 Another Yay for a 1.4.1 update. Quote Link to comment Share on other sites More sharing options...
DfA-DoM Posted March 27, 2018 Share Posted March 27, 2018 (edited) Hi, It seems that there's some trouble installing this extension onto 1.4.1 as it makes CKAN crash with the following message (I post here because I didn't had any trouble with other mods including some you're already maintaining): Unhandled exception: CKAN.InvalidModuleFileKraken: C:\Users\Dominique\AppData\Local\Temp\tmp9947.tmp has length 45239, should be 45237 à CKAN.NetModuleCache.Store(CkanModule module, String path, String description, Boolean move) à CKAN.NetAsyncModulesDownloader.ModuleDownloadsComplete(NetModuleCache cache, Uri[] urls, String[] filenames, Exception[] errors) à CKAN.NetAsyncModulesDownloader.<>c__DisplayClass8_0.<DownloadModules>b__3(Uri[] _uris, String[] paths, Exception[] errors) à CKAN.NetAsyncDownloader.triggerCompleted(Uri[] file_urls, String[] file_paths, Exception[] errors) à CKAN.NetAsyncDownloader.FileDownloadComplete(Int32 index, Exception error) à System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e) à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() à System.Threading.ThreadPoolWorkQueue.Dispatch() Testing with 7-zip the manually downloaded archive doesn't show any error. Edited March 27, 2018 by DfA-DoM gave more details Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 27, 2018 Author Share Posted March 27, 2018 4 hours ago, DfA-DoM said: Hi, It seems that there's some trouble installing this extension onto 1.4.1 as it makes CKAN crash with the following message (I post here because I didn't had any trouble with other mods including some you're already maintaining): Unhandled exception: CKAN.InvalidModuleFileKraken: C:\Users\Dominique\AppData\Local\Temp\tmp9947.tmp has length 45239, should be 45237 à CKAN.NetModuleCache.Store(CkanModule module, String path, String description, Boolean move) à CKAN.NetAsyncModulesDownloader.ModuleDownloadsComplete(NetModuleCache cache, Uri[] urls, String[] filenames, Exception[] errors) à CKAN.NetAsyncModulesDownloader.<>c__DisplayClass8_0.<DownloadModules>b__3(Uri[] _uris, String[] paths, Exception[] errors) à CKAN.NetAsyncDownloader.triggerCompleted(Uri[] file_urls, String[] file_paths, Exception[] errors) à CKAN.NetAsyncDownloader.FileDownloadComplete(Int32 index, Exception error) à System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e) à System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) à System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() à System.Threading.ThreadPoolWorkQueue.Dispatch() Testing with 7-zip the manually downloaded archive doesn't show any error. Clear the ckan cache and try again Quote Link to comment Share on other sites More sharing options...
DfA-DoM Posted March 27, 2018 Share Posted March 27, 2018 3 hours ago, linuxgurugamer said: Clear the ckan cache and try again Same result Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted March 27, 2018 Author Share Posted March 27, 2018 23 minutes ago, DfA-DoM said: Same result Ok, I was able to replicate it. I pushed out a new release, that seems to have fixed it. Make sure it is getting version 2.0.2.3 Quote Link to comment Share on other sites More sharing options...
DfA-DoM Posted March 27, 2018 Share Posted March 27, 2018 The 2.0.2.3 installed successfully. Nice! Thanks Quote Link to comment Share on other sites More sharing options...
AtleSt Posted April 6, 2018 Share Posted April 6, 2018 for some reason when i alt tab my game res bumps up to 4k which is an fps nightmare so this mod is great Quote Link to comment Share on other sites More sharing options...
LameLefty Posted April 6, 2018 Share Posted April 6, 2018 6 hours ago, AtleSt said: for some reason when i alt tab my game res bumps up to 4k which is an fps nightmare so this mod is great I’m having a similar problem as of about 10 days ago. I blame the latest Nvidia drivers. I launch my game and it’ll suddenly be in 4K. So I back out to the main setup screen, reset it back to 1920x1080, then load my save. Back to 4K again. Grrrrr. Lather, rinse, repeat ... Hoping to give this a try tonight. Quote Link to comment Share on other sites More sharing options...
AtleSt Posted April 6, 2018 Share Posted April 6, 2018 23 minutes ago, LameLefty said: I’m having a similar problem as of about 10 days ago. I blame the latest Nvidia drivers. I launch my game and it’ll suddenly be in 4K. So I back out to the main setup screen, reset it back to 1920x1080, then load my save. Back to 4K again. Grrrrr. Lather, rinse, repeat ... Hoping to give this a try tonight. yeah i know, having a 4k monitor is great and all but some unity games just don't work right Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted April 29, 2018 Author Share Posted April 29, 2018 New release, 2.0.2.4 Updated to use new ToolbarControl registration Removed Blizzy from settings page Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted May 4, 2018 Author Share Posted May 4, 2018 New release, 2.0.2.5 Added dependency lines to assemblyinfo updated version Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.