Code: Select all
packzip.c
71: u32 offset = 0, -> unsigned long long offset = 0x0,
138: case 'o': offset = get_num(argv[++i]); break; -> case 'o': offset = strtoull(argv[++i],NULL,0); break;
179:fprintf(stderr,
"- offset 0x%08x\n"
"- windowbits %d\n",
offset, wbits);
if(offset) {
fprintf(stderr, "- seek offset\n");
if(fseek(fdo, offset, SEEK_SET)) std_err();
}
->
¨ fprintf(stderr,
"- offset %llx\n",
offset);
fprintf(stderr,
"- windowbits %d\n"
,wbits);
//fseek();
if(offset) {
fprintf(stderr, "- seek offset\n");
if(fseeko64(fdo, offset, SEEK_SET)) std_err();
}
So, OffZip/PackZip can modify Witcher 3 textures.