Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							583ae0fbf3 
							
						 
					 
					
						
						
							
							fssystem: fix support for parsing newer-format BKTR NCAs  
						
						... 
						
						
						
						Apparently, at some point they started allowing maxlayers=3, which caused this code to not work.
Looking at latest FS, they always reference DataStorage instead of level+2 for the final level.
This fixes parsing update romfs for newer games, e.g. Super Mario Galaxy 2. 
						
					 
					
						2025-10-07 17:33:38 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							a6ebdbf3af 
							
						 
					 
					
						
						
							
							fs: fix uninit warnings on windows localfilesystem  
						
						
						
					 
					
						2025-05-09 12:10:00 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e590e1adc5 
							
						 
					 
					
						
						
							
							strat: ldr::PlatformId -> ncm::ContentMetaPlatform  
						
						
						
					 
					
						2025-05-09 12:09:59 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							9dc1479dee 
							
						 
					 
					
						
						
							
							loader: update to reflect latest 18.0.0 changes  
						
						... 
						
						
						
						well, this sure is late, whoops 
						
					 
					
						2024-06-05 09:22:26 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							ea17b60da6 
							
						 
					 
					
						
						
							
							fssystem: fix typo error in BucketTree::Visitor::MoveNext  
						
						
						
					 
					
						2023-08-21 17:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								Liam 
							
						 
					 
					
						
						
						
						
							
						
						
							05852b0ffd 
							
						 
					 
					
						
						
							
							libstrat: comment fixes for fssystem  
						
						
						
					 
					
						2023-08-21 17:26:50 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							450218773f 
							
						 
					 
					
						
						
							
							libstrat: fix more minor style issues pointed out by Pharynx  
						
						
						
					 
					
						2023-08-21 17:26:49 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0ae75a5fd4 
							
						 
					 
					
						
						
							
							fs: add extension GetEntryList to AesCtrCounterExtendedStorage  
						
						
						
					 
					
						2022-10-12 09:15:40 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							b91294d3b9 
							
						 
					 
					
						
						
							
							ams: fs accuracy fixes, bump to 1.3.2  
						
						
						
					 
					
						2022-04-29 16:14:24 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1ac83a92e5 
							
						 
					 
					
						
						
							
							strat: fix linux clang build  
						
						
						
					 
					
						2022-04-29 16:14:20 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							91ef9bb92c 
							
						 
					 
					
						
						
							
							fs: fix null check in AesXtsStorageExternal  
						
						
						
					 
					
						2022-04-29 16:14:19 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0a6fec909b 
							
						 
					 
					
						
						
							
							fs: update signature for VerifySign1  
						
						
						
					 
					
						2022-04-04 17:47:03 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1aa71e6e44 
							
						 
					 
					
						
						
							
							fssystem: add unique lock apis  
						
						
						
					 
					
						2022-04-04 17:47:03 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							08787303a2 
							
						 
					 
					
						
						
							
							fs: update romfs types  
						
						
						
					 
					
						2022-04-04 17:47:02 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							8127091934 
							
						 
					 
					
						
						
							
							fs: remove dead code  
						
						
						
					 
					
						2022-04-04 17:47:02 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							37089309b2 
							
						 
					 
					
						
						
							
							fs: update LocalFileSystem  
						
						
						
					 
					
						2022-04-04 17:47:01 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							f2480c7b33 
							
						 
					 
					
						
						
							
							fs: fixup all OperateRange implementations  
						
						
						
					 
					
						2022-04-04 17:47:01 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							87f3e02042 
							
						 
					 
					
						
						
							
							fs: also update comment, for locking  
						
						
						
					 
					
						2022-04-04 17:46:59 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							08c3748b87 
							
						 
					 
					
						
						
							
							fs: fix inverted optional-lock condition  
						
						
						
					 
					
						2022-04-04 17:46:59 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							45db9a519b 
							
						 
					 
					
						
						
							
							fs: implement new 14.0.0 spl-ctr dispatch semantics  
						
						
						
					 
					
						2022-04-04 17:46:58 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6a5d2ced4b 
							
						 
					 
					
						
						
							
							ams: globally prefer R_RETURN to return for ams::Result  
						
						
						
					 
					
						2022-04-04 17:46:58 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							6f4618ea60 
							
						 
					 
					
						
						
							
							ams: use R_SUCCEED, R_THROW globally  
						
						
						
					 
					
						2022-04-04 17:46:57 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							99fba44125 
							
						 
					 
					
						
						
							
							fs: update IStorage::Check functions for 14.0.0  
						
						
						
					 
					
						2022-04-04 17:46:57 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							e7d6626ef6 
							
						 
					 
					
						
						
							
							fs: update a few loose missed results  
						
						
						
					 
					
						2022-04-04 17:46:56 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							cdadb5e9a2 
							
						 
					 
					
						
						
							
							fs: update nca drivers (and dependents/callees) for 14.0.0 changes  
						
						
						
					 
					
						2022-04-04 17:46:56 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							05fdf2ae75 
							
						 
					 
					
						
						
							
							fs: update HashGeneratorFactorySelector to reflect 14.0.0  
						
						
						
					 
					
						2022-04-04 17:46:55 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							b8be94ed7e 
							
						 
					 
					
						
						
							
							strat: only include windows.h in translation units where actually needed  
						
						
						
					 
					
						2022-03-23 09:15:56 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							c895603abf 
							
						 
					 
					
						
						
							
							fs: add indirection to raw storage open, for hac2l  
						
						
						
					 
					
						2022-03-23 09:15:55 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							ce44fe4ea9 
							
						 
					 
					
						
						
							
							fs: revise allocation-fail result names  
						
						
						
					 
					
						2022-03-23 09:15:54 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							0d2e2df552 
							
						 
					 
					
						
						
							
							strat: revise fs unsupported operation results, add overflow utils  
						
						
						
					 
					
						2022-03-23 09:15:53 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							a759a00e96 
							
						 
					 
					
						
						
							
							fs: fix locking in FileSystemBufferManager  
						
						
						
					 
					
						2022-03-23 09:15:53 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							8785a53d2b 
							
						 
					 
					
						
						
							
							fs: move bitmap classes out of save::  
						
						
						
					 
					
						2022-03-23 09:15:52 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							a9e2c6a9c0 
							
						 
					 
					
						
						
							
							fs: first pass at compressed storage (works on iridium with wip hac2l code)  
						
						
						
					 
					
						2022-03-23 09:15:51 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							493001fdd7 
							
						 
					 
					
						
						
							
							fssrv: add ExternalKeyManager (rights-id crypto) for hac2l  
						
						
						
					 
					
						2022-03-23 09:15:51 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							cdce4416e0 
							
						 
					 
					
						
						
							
							remove leftover debug print  
						
						
						
					 
					
						2022-03-23 09:15:48 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							7a689dc29e 
							
						 
					 
					
						
						
							
							libs: add ongoing work to facilitate hactool rewrite  
						
						
						
					 
					
						2022-03-23 09:15:48 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							78af849848 
							
						 
					 
					
						
						
							
							libs: begin adding capacity for doing crypto on generic os (using externally-preset keys)  
						
						
						
					 
					
						2022-03-23 09:15:47 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							eb768f0e86 
							
						 
					 
					
						
						
							
							fs: add just in case bounds checking to linux/macos dirent read  
						
						
						
					 
					
						2022-03-23 09:15:47 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							d7a9c7ec4c 
							
						 
					 
					
						
						
							
							ams: support building unit test programs on windows/linux/macos  
						
						
						
					 
					
						2022-03-23 09:15:46 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							936b36fc6e 
							
						 
					 
					
						
						
							
							ams_mitm: update to use new NcaFileSystemDriver intf  
						
						
						
					 
					
						2022-03-23 09:15:45 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							9b2c279d81 
							
						 
					 
					
						
						
							
							fs: add Sha256HashGenerator, LZ4 decompressor  
						
						
						
					 
					
						2022-03-23 09:15:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							b37eba086f 
							
						 
					 
					
						
						
							
							fs: revise NcaFileSystemDriver for latest semantics  
						
						
						
					 
					
						2022-03-23 09:15:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							78797b87d7 
							
						 
					 
					
						
						
							
							fssystem: revise allocator logic for latest semantics  
						
						
						
					 
					
						2022-03-23 09:15:44 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							c8621b9a5a 
							
						 
					 
					
						
						
							
							fssrv: skeleton more program registry logic  
						
						
						
					 
					
						2022-03-23 09:15:43 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							5b4528214f 
							
						 
					 
					
						
						
							
							fs: implement newer allocator templates  
						
						
						
					 
					
						2022-03-23 09:15:42 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							1e98da6d08 
							
						 
					 
					
						
						
							
							fssrv: skeleton server manager setup/registration  
						
						
						
					 
					
						2022-03-23 09:15:42 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							c9bcd87e73 
							
						 
					 
					
						
						
							
							fs: add skeleton dir for sysmodule code  
						
						... 
						
						
						
						Please note this isn't likely to immediately be the active ams project. 
						
					 
					
						2022-03-23 09:15:41 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							c5030ec4d4 
							
						 
					 
					
						
						
							
							typofix: boogaloo: electric.  
						
						
						
					 
					
						2022-03-23 09:15:39 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							136339ca49 
							
						 
					 
					
						
						
							
							fix typo-bug in HierarchicalSha256Storage::Read  
						
						
						
					 
					
						2022-03-23 09:15:39 -07:00 
						 
				 
			
				
					
						
							
							
								Michael Scire 
							
						 
					 
					
						
						
						
						
							
						
						
							9436b9a555 
							
						 
					 
					
						
						
							
							ams: deduplicate static initialization logic  
						
						
						
					 
					
						2022-01-19 16:28:54 -08:00