* Close .assets-local.txt before attempting to remove it in extract_assets.py
* Bare $(MAKE) doesn't work if the path to make has spaces, so quote it
* Suppress warning for unused parameter in Flips.cpp
* Don't override OS environment variable, since it broke MinGW
* Specify extension for aiff_extract_codebook target, fixes dependency order for MinGW
* add makefile util function to extract all assets
* indent
* start leveraging multiple-export functionality in extract_assets
* find-rom util; use the native hash library in detect-baseroms
* look back on my variable naming decisions with shame
* more docs; remove debug prints
* what if i just have detect_baseroms list the roms
* beef up usage string in extract_assets
* only one python invocation now; fix failure condition
* remove commented hashlib
* give it a last documentation pass
* warning fix that doesnt happen on my end
* long
---------
Co-authored-by: someone2639 <someone2639@gmail.com>
Placing all music samples in the same folder allows for samples like Bowser organ and the course_select 'la' samples to be used among other samples (extended soundbank should be updated eventually to take advantage of this). Compatibility tables additionally allow for use of both legacy soundbanks and those designed around Refresh 16 (instruments folder only).
* preliminary attempt
* simplify a bit
* oops
* Move declaration
* error out if you try to make patch
* style fix
* Update Makefile
* I hate makefile
* Update Makefile
* compression: added racing DMA LZ4 & LZ4T implementations
* debug: added reworked level load time measurement
* Get rid of LZ4, updated LZ4T to latest version
* lz4t: remove LIKELY/UNLIKLELY use, optimized slow decompressor for size
* lz4t: remove pointless goto
* lz4t: remove function macros, use static inlines instead
* perf: rework measurements for level loads to be more accurate
* perf: avoid hardcoded constants in time calculations
* Fix puppyprint rendering lowercase z and tilde, minor font fixes
* Add support for generating pre word swapped textures
* Use image for fasttext font texture
* Adjustments to fasttext font and puppyprint outline font
This allows referencing a custom UNFLoader path to be used, ideally for placing on the C drive for WSL instances. UNFLoader tends to hang for an unbearably long time when saved somewhere within the WSL directory structure, and simply using the Linux build isn't an option because it can't access Windows USB devices trivially.
* Start work on envmap rotation stuff
* n64graphic envmap rotation working
* Add comment to rotation function
* Fix DLs of non 32x32 env maps, fix envmap rotation
* fix metal flying vanish cap
* fix metal mario's medium poly butt
* new asset version for flipped env maps
* added missing env textures to extract script
* restore asset_needs_update
* Skip asset_needs_update calls if local version matches new version
* removed the goddard textures from envmap rotation
---------
Co-authored-by: mineqwerty <mineqwerty25@gmail.com>
Co-authored-by: thecozies <79979276+thecozies@users.noreply.github.com>
* Look for shared baserom directory using XDG_DATA_DIR instead of polluting the home directory
* move global baserom folder detection to a new file that the makefile can use
* ignore __pycache__ in tools
* edit make patch to use global baserom detector
* Extract jp/sh/eu from global folder too
* genericize asset extraction for all versions
* force at least US to extract
---------
Co-authored-by: Matt Pharoah <mtpharoah@gmail.com>
Co-authored-by: someone2639 <someone2639@gmail.com>
* remove gen_asset_list (frozen)
* move format.sh
* remove rasm2armips (decompilation helper)
* remove patch_libmalloc (IDO exclusive)
* remove unnecessary sha1's and makefile definitions
* remove libultra math script (IDO exclusive)
* remove patch_elf_32bit
* actually remove bitwidth tool
* remove the need for all the sha1 files
* extract_assets can now find a baserom named anything
* added error handling and some more graceful error handling
* formatting the error message
* more relevant error info
* add a check for a roms folder
* fix gitignore to prevent patch_elf from being re-committed
* naming clarity; change to baseroms/; feedback addressed
* skip rom verification if assets have been extracted
* changes addressed
---------
Co-authored-by: someone2639 <someone2639@gmail.com>