Jump to content

[1.2.1] AnyRes v1.4.1 - Closer and closer to Unity 4.6 UI


Guest

Recommended Posts

7 minutes ago, meyerweb said:

I have a bug report (which I’ll file at GitHub, but I’m documenting here for other users who don’t look at Github issues): the keyboard shortcut can create a permanent yaw trim if you use it in a flight scene, including the map.  See this from @hvacengi, who helped me work out a problem over on the kOS thread:

So if I’m looking at a ship or the map view while flying a ship, and I call up, then dismiss, AnyRes with [alt+A], I’ve twice pushed the trim to the left.

I'll change the modifier key.

Link to comment
Share on other sites

Hmm.... I wonder....  About the ALT-A yaw trim problem:

Would there be value in setting up some kind of online registry of keybindings that the stock game and all the mods have claimed?  Something like CKAN where the mod authors update the database themselves by adding a data file to their mods when they release them.  For people writing mods it might be useful to have a single list to go look at when choosing a hotkey, to make sure your hotkey isn't clashing with anyone else's.  This is especially true of hotkeys that are meant to activate "globally" rather than just in one focused widget window.

 

Link to comment
Share on other sites

1 hour ago, Steven Mading said:

Would there be value in setting up some kind of online registry of keybindings that the stock game and all the mods have claimed? 

I really wish there was.  More reason for me to learn PHP.

Link to comment
Share on other sites

Version 1.2.1 released:

- Fixed control locking issue
- Rebound modifier key to alt + /

[removed]

Edited by Guest
Link to comment
Share on other sites

  • 4 weeks later...

Update 1.3:

Changes:

  • Added the ability to create and load presets (suggested by @meyerweb)
  • Attempted to fix NullReferenceExceptions (I'm working on it)
  • Minor bug fixes, added some logging
Edited by Guest
Link to comment
Share on other sites

  • 2 weeks later...

got some bug for you (dont want to push or anything .. just unsure how to post else)

got this error log (looks like its connected to AnyRes):

[EXC 04:22:45.547] DllNotFoundException: CSteamworks
	Steamworks.InteropHelp.TestIfAvailableClient ()
	Steamworks.SteamController.Shutdown ()
	SteamController.KSPSteamController.OnDestroy ()
	SteamController.KSPSteamController.OnApplicationQuit ()
[EXC 04:22:45.580] DllNotFoundException: CSteamworks
	Steamworks.InteropHelp.TestIfAvailableClient ()
	Steamworks.SteamController.Shutdown ()
	SteamController.KSPSteamController.OnDestroy ()
[EXC 04:22:45.584] NullReferenceException: Object reference not set to an instance of an object
	AnyRes.AnyRes.OnDisable ()

hope you find that helpful :lol:

Link to comment
Share on other sites

15 hours ago, LatiMacciato said:

got some bug for you (dont want to push or anything .. just unsure how to post else)

got this error log (looks like its connected to AnyRes):


[EXC 04:22:45.547] DllNotFoundException: CSteamworks
	Steamworks.InteropHelp.TestIfAvailableClient ()
	Steamworks.SteamController.Shutdown ()
	SteamController.KSPSteamController.OnDestroy ()
	SteamController.KSPSteamController.OnApplicationQuit ()
[EXC 04:22:45.580] DllNotFoundException: CSteamworks
	Steamworks.InteropHelp.TestIfAvailableClient ()
	Steamworks.SteamController.Shutdown ()
	SteamController.KSPSteamController.OnDestroy ()
[EXC 04:22:45.584] NullReferenceException: Object reference not set to an instance of an object
	AnyRes.AnyRes.OnDisable ()

hope you find that helpful :lol:

Thank you.  I am already aware of this and I'm working to fix it, but thanks for the heads up still. :) 

Link to comment
Share on other sites

  • 2 weeks later...

New update has been released:

  • Removed foreach loop when loading presets
  • AnyRes should be a little more efficient now

Once KSP 1.2 hits, I will update AnyRes to use the new Unity UI system instead of what it currently uses.  This means that it is very likely that I will not have it officially updated for quite some time after the release.  I will, however, post an 'unofficial' update as a precursor to the major 1.2 update.

Edited by Guest
Link to comment
Share on other sites

  • 4 weeks later...
On 6/3/2016 at 11:33 PM, CliftonM said:

Update 1.3:

Changes:

  • Added the ability to create and load presets (#3 suggested by @meyerweb)
  • Attempted to fix NullReferenceExceptions (I'm working on it)
  • Minor bug fixes, added some logging

The ability to load presets seems to have a couple of  problems:

No easy way to close the New Preset, and Load Preset window, other than by changing scenes.  Please add either a close button

The Load Preset window opens up right on top of the AnyRes window, and then the New Preset and Load Preset windows open up right on top of that.  Again, changing scenes seems to close the windows.

Link to comment
Share on other sites

Just now, linuxgurugamer said:

The ability to load presets seems to have a couple of  problems:

No easy way to close the New Preset, and Load Preset window, other than by changing scenes.  Please add either a close button

The Load Preset window opens up right on top of the AnyRes window, and then the New Preset and Load Preset windows open up right on top of that.  Again, changing scenes seems to close the windows.

They can be closed by clicking the button again.  I'll add a little "x" on the corner to prevent confusion.  As far as the window positions, I'll change them to open in different locations.

Link to comment
Share on other sites

Just now, CliftonM said:

They can be closed by clicking the button again.  I'll add a little "x" on the corner to prevent confusion.  As far as the window positions, I'll change them to open in different locations.

If you mean the toolbar button, if I click the Presets button, then the Presets window opens up, then when I click the toolbar button, the first window closes, but the Presets window stays open.  I would expect that all windows would close when clicking the toolbar button the 2nd time

I like the mod, appreciate the work you did on it, and hope these reports help

Link to comment
Share on other sites

11 minutes ago, linuxgurugamer said:

If you mean the toolbar button, if I click the Presets button, then the Presets window opens up, then when I click the toolbar button, the first window closes, but the Presets window stays open.  I would expect that all windows would close when clicking the toolbar button the 2nd time

I like the mod, appreciate the work you did on it, and hope these reports help

I mean clicking the presets button toggles the presets window.  Also, thanks for telling me that the toolbar button doesn't close all of them.  I will patch thatall of it when I get the chance.

Link to comment
Share on other sites

Just ran into a small bug:

Mostly new install, new save.  Lots of mods.

While I had never started AnyRes in this save, I think I did use it in a different save.  But that save was deleted.

Started game, first thing i did was go into Settings.

The AnyRes window showed up.  It did go away when I returned to the main menu.

It should be prevented from displaying on the settings screen

Link to comment
Share on other sites

4 hours ago, linuxgurugamer said:

Just ran into a small bug:

Mostly new install, new save.  Lots of mods.

While I had never started AnyRes in this save, I think I did use it in a different save.  But that save was deleted.

Started game, first thing i did was go into Settings.

The AnyRes window showed up.  It did go away when I returned to the main menu.

It should be prevented from displaying on the settings screen

That's probably something that popped up with the 1.1 UI change.  It used to pop up in a good position in settings, but I can see what you're talking about.  Thanks so much for all of the bugs you've reported.  I should call the next patch the Linux Guru Gamer Update. :wink: 

Link to comment
Share on other sites

35 minutes ago, CliftonM said:

That's probably something that popped up with the 1.1 UI change.  It used to pop up in a good position in settings, but I can see what you're talking about.  Thanks so much for all of the bugs you've reported.  I should call the next patch the Linux Guru Gamer Update. :wink: 

No objection to that

Link to comment
Share on other sites

  • 2 weeks later...

I am getting some exceptions at startup:

NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.Start () [0x00000] in <filename unknown>:0 
    .
    .
    .
NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.OnDisable () [0x00000] in <filename unknown>:0 
 
    .
    .
    .
    
MissingMethodException: Method not found: 'PopupDialog.SpawnPopupDialog'.

 
(Filename:  Line: -1)

[AnyRes] Loaded
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.Start () [0x00000] in <filename unknown>:0 
 

here is a link to the full log:  https://www.dropbox.com/s/k8h6qhz9xo8m9ah/anyres_exception_output_log.txt?dl=0

Link to comment
Share on other sites

On 8/5/2016 at 9:11 AM, linuxgurugamer said:

I am getting some exceptions at startup:


NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.Start () [0x00000] in <filename unknown>:0 
    .
    .
    .
NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.OnDisable () [0x00000] in <filename unknown>:0 
 
    .
    .
    .
    
MissingMethodException: Method not found: 'PopupDialog.SpawnPopupDialog'.

 
(Filename:  Line: -1)

[AnyRes] Loaded
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 64)

NullReferenceException: Object reference not set to an instance of an object
  at AnyRes.AnyRes.Start () [0x00000] in <filename unknown>:0 
 

here is a link to the full log:  https://www.dropbox.com/s/k8h6qhz9xo8m9ah/anyres_exception_output_log.txt?dl=0

Noted.  I'll attempt to fix for the next update.  Again, I am still busy and will not have a new update out for likely a few weeks.

Link to comment
Share on other sites

  • 3 weeks later...
On 7/24/2016 at 10:02 PM, linuxgurugamer said:

The ability to load presets seems to have a couple of  problems:

No easy way to close the New Preset, and Load Preset window, other than by changing scenes.  Please add either a close button

The Load Preset window opens up right on top of the AnyRes window, and then the New Preset and Load Preset windows open up right on top of that.  Again, changing scenes seems to close the windows.

I've fixed the following problems:

  1. Fixed exceptions caused by adding to toolbar when toolbar wasn't there
  2. Fixed all windows opening up on top of each other
  3. Closing main window will now close all windows

I've created a PR for the author, in the meantime, you can get my unofficial build from the following link:

https://github.com/linuxgurugamer/AnyRes/releases/tag/1.3.1a

On 8/6/2016 at 10:14 PM, CliftonM said:

Noted.  I'll attempt to fix for the next update.  Again, I am still busy and will not have a new update out for likely a few weeks.

My unofficial update fixes your problems

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

OK, sorry about the delayed release, but I needed to be sure everything was in good working order.

Changelog

  • Recompiled to 1.2
  • Bug fixes
  • Enhanced performance


 

Please note that this has not been added to SpaceDock yet, as 1.2 has not been added there.

Edited by Guest
Link to comment
Share on other sites

  • 4 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...