Texture upscale

Hello. Are anyone know a method to edit AoC textures? I mean how to unpack .rdb files and then pack textures back? I want to upscale them with ESRGAN or similar method, but dont know how to extract them.

i know about rdb extractor but dont know how to use it because for me its a mess