[Guide] Patching Media.pk2 ip address using XVI32
So, since some people had problems patching Media.pk2 using pk2 tools and media patchers, i decided to make a guide to explain, how to do it "manually" using only hex editor.
So, first of all, you will need some hex editor (i would preffer XVI32 for such thing to do). You can get it here :
After you are done downloading, extract it to a some folder, and run xvi32.exe, open your media.pk2 file, and preff Ctrl + F (search), select Text string as search option, and type in the current ip address, or hostname which media contains. After it finds the text string, just rewrite it with whichever ip/hostname you need. After you are done, you might get in situation when your hostname/ip is not same length as old one (smaller). If so, you will have to set remaining symbols to null. Following screen shot shows how to do it.
After you are done, just save your Media.
By