You will need some tools for this
1) One of this Hex editors
2) Any
pk2 Extractor & Editor
3)
Decimal to Hex convertor
DECIMAL to HEX converter
You can do it in 2 ways:
- First method
a) Extract
divisioninfo.txt from Media.pk2
b) Open this file with Hex editor
c) Find this value, this is why your regular edit do not work.
That value is IP character length
0B = 11, this mean character should have 11 characters, this include DOTs 111.222.3.1
If you have shorter or longer IP just edit that value. If you can't convert Decimals to Hex use link number 3.
d) If you have Long IP and no space to enter numbers just hit INSERT on your keyboard or from menu Edit -> Insert (number of bytes = number of characters you need)
e) Last thing, I don't know if it is required but be sure you have a empty byte at end of your file Hex value is >
00
Check 2nd spoiler for example.
- Second method
Open directly Media.pk2 with any Hex editor
Find where IP is and look for this byte, that value is IP character length
0B = 11, this mean character should have 11 characters, this include DOTs 111.222.3.1
P.S. I will recommend you first method, less chances that you will break Media.pk2 file.
P.P.S. sry for my "french"
