Re-added -croc command line option as an alias for -mod. The help message for -mod now has "(Croc)" in parenthesis.
Added -nocolor command line option (no GUI option yet) to disable changing the console color when logging.
Added -autoselect command line option (menu items under Textures and Animations) that enables automatically selecting an animation's owner model, or automatically drawing the textures of a selected model to VRAM (only supports HMD for obvious reasons).
Added -autoplay command line option (menu item under Animations) that automatically starts playing an animation when selected.
Passing an empty string as the program filter will now default to "*" for all files.
When -debug is used, PSXPrev will pause with a "Press any key to continue..." message (only if the program returns either due to -help or the file path not being found).
Fix changes
Fix Textured flag not being applied for HMD Ground triangles.
HMDHelper now uses Program.Logger instead of Console for printing animation instructions.
Program.HaltRequested is now volatile, since it can be accessed from multiple threads.
Refactor changes
Added WaitWhileHalted function to replace all while (HaltRequested) loops.
Added WeakReferenceCollection class, which acts like an ICollection<T>, but stores a List<WeakReference<T>>.
RootEntity now has properties to assign owned textures and animations (using weak references).
Texture and Animation now have a property to assign the owner root entity (using a weak reference).
Changed logger noVerbose argument to the opposite: writeToConsole. True should now be passed to produce console output.
Logger now has default values for all constructor arguments, which defaults to the program's standard settings (no log, write to console, use color).
Command line changes
-croc
command line option as an alias for-mod
. The help message for-mod
now has "(Croc)" in parenthesis.-nocolor
command line option (no GUI option yet) to disable changing the console color when logging.-autoselect
command line option (menu items under Textures and Animations) that enables automatically selecting an animation's owner model, or automatically drawing the textures of a selected model to VRAM (only supports HMD for obvious reasons).-autoplay
command line option (menu item under Animations) that automatically starts playing an animation when selected."*"
for all files.-debug
is used, PSXPrev will pause with a"Press any key to continue..."
message (only if the program returns either due to-help
or the file path not being found).Fix changes
Refactor changes
while (HaltRequested)
loops.ICollection<T>
, but stores aList<WeakReference<T>>
.