[Question] Winhex - parameters

01/11/2009 04:03 Suprav12#1
Hello guys!

Can anyone help me how to change a parameter without changing the data.pak file size, for example :

I have this pattern


Code:
1708,6,8,20,6,2000,2000,1200,[COLOR="Red"][B]1000[/B][/COLOR],0,0,0,50,2,0,4,2 ,0,0,0,0,0,0,10,5,0,2,12,5

and I want to change 1000 to 500, how to change the parameter without altering any byte?


Or if I want to do the opposite change 500 to 1000.


I search for it already on forums but haven't found a good answer.




Thanks in advance!
01/11/2009 04:12 DavidPerry#2
try that one

Code:
1708,6,8,20,6,2000,2000,1200,500,,0,0,0,50,2,0,4,2 ,0,0,0,0,0,0,10,5,0,2,12,5
01/11/2009 04:22 Suprav12#3
David, and what should I do If i want to change this:

Code:
1708,6,8,20,6,2000,2000,1200,1000,0,0,0,[COLOR="Red"][B]50[/B][/COLOR],2,0,4,2 ,0,0,0,0,0,0,10,5,0,2,12,5
50 to 5000 ?

Just want to know because some guides ask you to change a single paramter to a bigger number
01/11/2009 05:17 DavidPerry#4
you cant just "add" numbers - but you can take numbers or chars away somewhere else to get the space

if 500 is enough i would do it like this

Code:
1708,6,8,20,6,2000,2000,1200,[COLOR="Red"][COLOR="Lime"]100[/COLOR][/COLOR],0,0,0,[COLOR="Red"]500[/COLOR],2,0,4,2 ,0,0,0,0,0,0,10,5,0,2,12,5
01/11/2009 05:48 Suprav12#5
Yeah I just want to move not alter data.pak size. But how did you move one "0" from 1000 to 50?

Like pressing "," then replacing the next parameters until I reach 50?
01/11/2009 05:56 DavidPerry#6
yes, you have to "rewrite" that part ;)
01/11/2009 06:12 Suprav12#7
One last question buddy, If I go for adding a byte and I change the data.pak size this just matters if I have to pass crc check right? Pserver don't use GG or crc check ryt

In some tutos they ask to change stuff like this:

Code:
2251,6,15,18,6,2000,2000,1200,1000,0,0,0,50,2,0,4, 3,0,0,0,0,0,0,18,10,0,2,20,10,5,0,0,0,0,0,0,0,0,0, 0,1
To this

Code:
 2251,99,99,99,6,20,20,1200,300,0,0,0,50,99,0,99,99,0,0, 0,0,0,0,18,10,0,2,20,10,5,0,0,0,0,0,0,0,0,0,0,1
Like I see that can't be change just by moving numbers.