r0.res fetch in build.sh