nemesis.c: use resnet for palette [Alex Jackson]