Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
			
		
		
			
				
																			
								roocker666 							 
									
		Posts:  20 		Joined:  Sun Jun 23, 2019 5:13 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by roocker666   »  Sat Dec 10, 2022 6:21 am 
			
			
			
			
			
			Hi guys, Is it possible to extract the content of these .WAD files? I can see a table so this is what I know so far:
 
Maybe with this info we can create a quickbms script. BTW, here are a few samples if you want to check:
https://www.mediafire.com/file/ma4sy81o ... s.rar/file 
All these .WAD files have the same format.
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								BloodRaynare 							 
									
		Posts:  367 		Joined:  Fri Mar 10, 2017 7:23 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by BloodRaynare   »  Sat Dec 10, 2022 6:51 am 
			
			
			
			
			
			Here's the BMS script to extract your samples:
Code: Select all 
goto 0x10
IDString "TOC\x0"
get TOC_SZ long
get ZERO short
get FILES short
for i = 0 < FILES
	getDstring NAME 0x10
	getDstring EXT 0x04
	get OFFSET long
	get SIZE long
	get ZERO long
	string NAME + .
	string NAME + EXT
	log NAME OFFSET SIZE
next i
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								roocker666 							 
									
		Posts:  20 		Joined:  Sun Jun 23, 2019 5:13 am 		
		
						
						
		 
		
						
					
													
							
						
									
						Post 
					 
								by roocker666   »  Sat Dec 10, 2022 7:38 am 
			
			
			
			
			
			BloodRaynare wrote: Here's the BMS script to extract your samples: 
That was fast  
   , THANK YOU!