VideoCommon: rewrite custom textures
VideoCommon: Merge code to generate texture names on dumping
VideoCommon: make hash independet from hires textures