Once you got it right you can reverse any game and find out game format
Software used: API MONITOR [http://www.rohitab.com/apimonitor]
- Code: Select all
Start API Monitor v2 64bit [ as administrator ]
In API filter uncheck all
DataAccess and Storage >> Local File Systems >> File Management >> check Kernel32.dll
Save filter
- Code: Select all
Go to file >> Monitor new process >> Find NBA2K15.exe [ remember to run STEAM first so game starts up]
Select StaticImport and Click OK
Game will start
Wait until main menu and exit game [F4]
Go to File>Save to save monitoring
In middle window there are calls
TO SEE BYTES CLICK PostCall Value under lpBuffer
this is one
# Time of Day Relative Time Thread Module API Return Value Error Duration
280 11:42:58.767 AM 0:00:01:282 1 NBA2K15.exe CreateFileA ( "0B", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ) 0x0000000000000278 0.0001616
at 280th call game opens OB file [ and all 0x0000000000000278 calls will be for OB ]
# Time of Day Relative Time Thread Module API Return Value Error Duration
281 11:42:58.767 AM 0:00:01:282 1 NBA2K15.exe GetFileSizeEx ( 0x0000000000000278, 0x0000000000b5f310 ) TRUE 0.0000123
at 281 we have that it calls it under 0x0000000000000278 handle
# Time of Day Relative Time Thread Module API Return Value Error Duration
282 11:42:58.767 AM 0:00:01:282 1 NBA2K15.exe ReadFile ( 0x0000000000000278, 0x0000000000b5faa8, 12, 0x0000000000b5f820, 0x0000000000b5f830 ) TRUE 0.0000725

at 282 it reads 12 bytes in big endianorder [and you have them on right side of screen 94ef3bff88000000 ]
# Time of Day Relative Time Thread Module API Return Value Error Duration
283 11:42:58.767 AM 0:00:01:282 1 NBA2K15.exe ReadFile ( 0x0000000000000278, 0x000000000586d54c, 124, 0x0000000000b5f820, 0x0000000000b5f830 ) TRUE 0.0000090

at 283 it reads file info
at 284 it reads 2840314 bytes [ and that is KD boot screen ]

on right side of screen you can see those bytes
So from IFF file size of KD TitleScreen is 2840450 bytes [12+124+2840314 call 282/283/284]
Open 0B with hexeditworkshop and search for bytes
Copy it to new file [2840450 bytes] and you have isolated file to research