Commit 1834df2
committed
Various bugfixes (v1.2c)
# Misc changes
* Added dummy entry as 0th entry for the default MKWii definition data file
* Disabled debug mode (for users)
* Refactored hiding Of THP Tab data into its own HideTHPData() function
* AssignSelPath_FBD() func
* Added new optional param to define default directory to use if path is unset
* Assigned new default directories for affected FolderBrowserDialog boxes in Options menu
* FFMPEG Exe Root = "Program Files" folder
* FFPlay WorkDir = "Downloads" folder
* Handled via special Shell32 marshalled DLL call
* Will use root directory instead if failure (due to running on legacy Windows etc.)
* Data File Dir = Current Application path
# **Bugfixes**
## Issue #11
**THP Data Dir bugs:**
* Removed initialization of DataFile Dir path on application boot in Main_Load() func
* Set the DataFile Dir OpenFileDialog box to start at the application's current directory if path box is unset
* Force the user to define the DataFile Dir path every boot (or load it from settings INI file)
* Made setting the DataFile Dir path call InitTHPData function, in order to reload the data files
* Tweaked InitTHPData function
* To use the DataFile Dir path for reading the data files
* To clear and update the THP combo box contents
* To set the THP combo box index to 0th, and force a SelectedIndexChanged event
* Data files must now have a dummy entry defined as 0th entry
* This event hides some THP tab data, and will force the user to select a valid THP to initialize displayed data
* To hide the THP tab contents (call HideTHPData func) if failure due to caught errors
**TryParseErr_Single function culture bug:**
* Tweaked function to parse Single via Float number type and with Invariant culture
* Untested bugfix
## Issue #12: KeepInRange parsing bugs
* Disabled some Log_MsgBox function calls for less liberal error trapping
## Issue #13: Path Separator Char
* Work from previous commit
* Made path separators use OS' Path.DirectorySeparatorChar instead of hardcoded backslash\ char
* Made certain FFMPEG params (time trimming) use hardcoded backslash\ char
## Issue #14: Lingering File I/O
* Refactored all closing, disposing, and nulling of non-null StreamReaders/Writers blocks into KillStream() func caws.
* Overload for KillStream upon StreamWriter object can optionally delete file being written to
* Modified all Catch blocks made upon StreamReaders/Writers code to call KillStream() before error message box is shown1 parent cc2f6b4 commit 1834df2
File tree
6 files changed
+282
-228
lines changed- Thwimp
6 files changed
+282
-228
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments