}How possible is it to change Mark Howell's zip program to run v8 games?
}Is it a matter of changing a few lines here and there, or does it require
}massive amounts of recoding?
Simple-- from my Mac port (which I am NOT calling MinZip :-) )
In MAIN.C, main():
Change
configure (V1, V5);
to
configure (V1, V8);
In MAIN.c, configure():
Add
if ((h_type == V7) || (h_type == V6))
fatal ("Unsupported version");
After
if (h_type < min_version || h_type > max_version || (get_byte (H_CONFIG) & CONFIG_BYTE_SWAPPED))
fatal ("wrong game or version");
and add
if (h_type == V8) {
story_scaler = 8;
story_shift = 4;
}
after
} else {
story_scaler = 4;
story_shift = 2;
property_mask = P4_MAX_PROPERTIES - 1;
property_size_mask = 0x3f;
}
-- Matthew T. Russotto russotto@pond.com russotto@his.com "Extremism in defense of liberty is no vice, and moderation in pursuit of justice is no virtue."