add support for RIFX archives
add the start of v4 support