Add a more configurable version of loader, fix player_int and raster.