Commit 60dc0df
committed
Overhaul for Progress bars/WIP logging!
# Options changes:
## Settings
- Added new DataFileDir path.
- Used for determining location of the DB files
- DB files used to define THP data (especially for usage of Thwimp for other games)
- Audio checkbox
- Enables audio
- Custom audio for error and success
- **Elevator Music**
- Elevator Music checkbox
- Plays **song.wav** from exe dir during long THP Encoding process
- Less MsgBox
- Disables most informational MsgBoxes during THP Encoding
- Prevents interruption of progress
- Full logs checkbox
- Logs **everything** (including Process.Start cmdline calls)
- Not yet implemented!
- Save/Load Settings buttons
- Loads/saves a Thwimp INI settings file to/from a directory
- Loads/saves current settings
## Resources section
- Various new buttons to Thwimp resources
- Most launch a URL in the default browser
- Buttons
- Webpage
- Launch EagleSoft Ltd. Thwimp webpage URL
- About
- About box
- (Nothing changed)
- MKWiiki article
- Launch Thwimp MKWiiki article URL
- Manual (Github)
- Launch readme.md URL from Thwimp's Github repo
- Latest Release
- Launch Release URL from Thwimp's Github repo
- Cmdline
- Not yet implemented!
- Will display the cmdline options in MsgBox
- Save text into user-specified text file
# Progress bars/logging
- Added new Log group box
- Logs
- Text to a textbox
- Displays icon to show last icon from any MsgBoxes
- Controls
- Cls button
- Clears the log box, current and total progress bar groups
- Set current/total progress bar progress to 0-1, progress to 0, and percentage text to 0.00%
- Save button
- Saves contents of the log box to a text log file
- Default Log file named as "thwimp_date_time.log"
- date = mmddyyyy
- time = hhmmss (24-hour)
- MsgBox() calls within app refactored to call Log_MsgBox() func
- Wrapper function which logs title, message, and icon to the log group box
- Added new Progress group box
- Used for displaying progress of long processes (currently THP Encoding)
- Progress Bar elements
- Total progress
- Log textbox
- Progress bar
- Label (progress as percentage)
- Current progress
- Log textbox
- Progress bar
- Label (progress as percentage)
- Tweaked THP Encoding and its various co-subs/functions progress to log messages and progress to these bars
- Created 3 new functions to handle progress bars
- UpdateProg_Ttl
- Update total progress bar stuff
- Pre-defined wrapper call to UpdateProg
- UpdateProg_Cur
- Update current progress bar stuff
- Pre-defined wrapper call to UpdateProg
- UpdateProg
- Meat for updating either type progress bar
- Text logged to the progress bars is also dumped into the main log text box
- Params
- Bar type (total or current)
- Set current progress value and total available progress on bar (via 2-item array)
- Optional Message to log (with total and current progress timestamp)
- Optional Logging type
- Set text value
- **OR**
- Append text
- Optional application sleeping (3 seconds)
- Refactored THP Encoding to display and log progress
# Misc/bugfixes
- Fixed bug with Trunc Frame field in THP Encoder section not updating onChange of THP combo box
# Todo (v1.2c)
- Get Full Logging enabled
- Refactor all cmdline Processes to use a new function (RunProcess()
- Have RunProcess function intercept and log all stdoutput from processes if Full Logging flag set
- Progres/Logging for THP Ripper and THP Viewer
- THP Ripper
- Log/progress for THP ripping process
- THP Viewer
- Log/progress for 4-step process for playback
- Esp. audio-THPs such as title)1 parent cd7a663 commit 60dc0df
File tree
12 files changed
+3407
-319
lines changed- Thwimp
- My Project
- Resources
12 files changed
+3407
-319
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
127 | 139 | | |
Binary file not shown.
Binary file not shown.
Loading
Binary file not shown.
0 commit comments