peterth / gedosatotool Goto Github PK
View Code? Open in Web Editor NEWUI and loader for GeDoSaTo
Home Page: http://blog.metaclassofnil.com/?page_id=582
UI and loader for GeDoSaTo
Home Page: http://blog.metaclassofnil.com/?page_id=582
Its kinda brute and ugly way how Updater backups entire folder every time even if no changes was made, a lot of trash backup up for no reason, and some important files like shaders that main people need to setup again never got backed up.
I suggest to change updated behavior to this:
if it is possible, even better way would be enum list of files and hashes of updated files from server, compare with local hashes and download only missing and mismatching updated files, and backup only mismatching old files.
What you think about this idea?
Hello,
I have an error when I run GeDoSaTo Updater.exe ==>
************** Debug JIT **************
To enable just-in-time (JIT) debugging, the configuration file for this
application or this computer (machine.config) should have value
jitDebugging defined in the system.windows.forms section.
The application must also be compiled with debugging
activated.
For example :
When just-in-time debugging is enabled, unhandled exceptions
will be sent to the JIT debugger registered on the computer
rather than being handled by this dialog
here is the complete detail of this error==>
"See the end of this message for more details on the debug call
just-in-time (JIT) instead of this dialog box.
************** Exception text **************
System.IO.IOException: Attempt to move the file pointer before the beginning of the file.
to System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.SeekCore (Int64 offset, SeekOrigin origin)
at System.IO.FileStream.Seek (Int64 offset, SeekOrigin origin)
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory ()
System.Windows.Forms.resources
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2556.0 built by: NET471REL1"
Thanks for your help
Like other programs that need admin priviledges to auto start, program should add a task scheduler entry with highest priviledges so that the option can actually work. Currently it does not without creating the entry yourself on an admin account.
If you create a shortcut to launch GeDoSaToTool and change it so it launches minimized, you will still see the balloon tip, even if you have the option to hide it enabled.
I run into a similar problem to PeterTh/gedosato#172 when I moved the "C:\GeDoSaTo" folder during installation (I don't like having stuff in C:).
It seems like it's trying to remove the folder that it created and crashes if it's not there.
If you change what file to edit in the settings-editor then you can immediately press CTRL+Z and the contents of the previous file will appear. If you save at this point then the file you changed to is overwritten.
A possible fix would be to empty the edit history when swapping file.
Also, when pressing the 'u'-button it will create a new entry in the list regardless of whether or not the file already exists.
A solution would be to only add it to the list if the file doesn't exist (in which case chances are that it's already in the list.) Alternatively compare entries and see if it's already present.
Reporting this again as requested here: PeterTh/gedosato#172
There is a crash in the installer when starting it on Windows 7 if there is not a C:\ drive on the machine. This happens immediately after the information message prompting the user to select a permanent installation path. The current work around is to add a C:\ drive to the machine (inserting a USB flash device, for example) allowing the user to continue to choose a installation path on another drive.
Error message:
Could not find a part of the path 'C:/GeDoSaTo'
Crash details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\GeDoSaTo'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path)
at GeDoSaToUpdater.MainForm.MainForm_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///D:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
GeDoSaToUpdater
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Users/User/Downloads/GeDoSaToUpdater.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///D:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///D:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18331 built by: FX45GDRSTAGE
CodeBase: file:///D:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
DESCRIPTION
When GeDoSaTo can't find a profile with the string entered in the text editor filter, the program crashes.
v0.14.1501
STEPS
Open GeDoSaTo
Click Edit settings
Click on filter
Enter a string that does not match any profiles
EXPECTED
Message that says no profile found with the filter
ACTUAL
GeDoSaTo crashes
************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at GeDoSaToTool.TextForm.filterTextBox_TextChanged(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.OnTextChanged(EventArgs e)
at System.Windows.Forms.TextBoxBase.WmReflectCommand(Message& m)
at System.Windows.Forms.TextBoxBase.WndProc(Message& m)
at System.Windows.Forms.TextBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Not a big issue but easy to fix.
Since Gedosato backing up configs with every update its folder became trashed a lot with configs
i suggest to move existing configs by pattern config_backup* and new configs to folder structured like that
Backups\YY_MM_DD_HH_Mm_SS\Config
and in case if shader backups will be implemented Assets folder should go to Backups\YY_MM_DD_HH_Mm_SS
In Windows, users are used to the bottom option in a tray icon's right-click menu being 'Exit'. Having 'Exit' first and 'Restore' as second makes for bad UX. Please invert. Thank you!
Needs a start minimized option. Autostart with windows still ain't working so forcing it to autostart through other means makes the program start maximized. Making a windows shortcut to force it to start minimized doesn't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.