Textures, recreate headers, conversions, algorithms and parsing of image files
			
		
		
			- 
				
																			
								Ekey							 
									
		- Posts: 1383
 		- Joined: Sat Aug 09, 2014 2:34 pm
 		
		
						
						
		
		
						
					
													
							
						
									
						Post
					
								by Ekey » 
			
			
			
			
			
			There are several types of textures i can convert with normal DDS.
Code: Select all
0x48080008
0x48090008
0x4D010002
0x4E010062
for each file
Code: Select all
DWORD dwType; //??
DWORD dwUnknown; //??
SHORT m_Width;
SHORT m_Height;
DWORD dwDataSize;
Data begin always at offset 128
But last type 0x5F090008 I can not understand. Seems compressed. Can someone look it?
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			
								PlanK69							 
									
		- Posts: 73
 		- Joined: Thu Sep 10, 2015 10:17 pm
 		
		
						
						
		
		
						
					
													
							
						
									
						Post
					
								by PlanK69 » 
			
			
			
			
			
			Ekey, which program/method did you use to extract the game files? I'm just getting garbled file names with all the methods that I've attempted
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			- 
				
																			
								id-daemon							 
									
		- Posts: 1040
 		- Joined: Sun Mar 22, 2015 7:09 pm
 		
		
						
						
		
		
						
					
													
							
						
									
						Post
					
								by id-daemon » 
			
			
			
			
			
			first byte is DXGI format.
0x5F = DXGI_FORMAT_BC6H_UF16
But you probably already figured that out long time ago. So I just leave this here for history.