If you opened this looking for hacks then please leave this thread. This thread was created to give the average player a bit more understanding on what is exactly a .pak file.
Created By: Namek303
What is the .Pak file?
The .Pak file is the basic instructions that the client(1) uses to make it's own decisions within the game. This file is needed to take a strain off the busy server(2).
I still don't understand the concept of a .pak file.
Well we can explain the .pak file like this. Lets pretend you decide to move to a new home on the other side of town.
Only a moron will take each item in his house one at a time to his new home.
The average person puts it in a box to take to the house.
Well in this case the box is the .pak file and the items in your house is the contents inside the .pak file.
The reason most people can't open the .pak file without a hex editor(3) is because the box is sealed and we need a way to open it. in this case a hex editor would be like cutting a small hole in the box and having limited access into what you can do with the items in the box.
But a decompiler(4) is like getting a knife and opening the box and laying out all your items on the floor so you can do as you see fit.
To recompile something you would need to find out what method they used to compile it in the first place so everything goes in smoothly. Followed by sealing the box(.pak file).
There is another version of a .pak file. It does not work the same as a pak file but the concept is the same. I am referring to a winzip file or a .rar file.
The only difference between a .pak file and a .rar file is that we can easily compile and decompile a .rar files since we have been given the tools.
Why can we only edit it with a hex editor?
Well the reason is because no one managed to release a compiler that works properly.
Also there would be issues if we try to recompile the files after we edit it.
If we make changes for example change a file something from 'true' to 'false' then notice that true only has 4 characters and false has 5 characters.
a simple change like that changes the file size and will lead to 2moons not working properly and it might not even start.
Is a .Pak compiler possible?
Yes! it is, but most people would not edit things properly and if they try to recompile, chances are 2moons will not accept that pak file anot give you some error when you start 2moons.
Can you provide an example of another form of compression type so that i can further under stand this?
Well a prime example of BAD compression is ipod games. if you actually get it and rename the extension from .ipg to .zip then you can extract all its contents. Thats another way of doing it. BUT sadly a method like this does not work for the .pak file.
Any questions. I will answer to my best knowledge or maybe another forum member can help too. PLEASE note this thread was not created to teach you how to hack or how to edit the .pak file. ONLY understand it.
word bank
1- The client is the program that the end user (you) use to interpret the game data. essentially it is the game.
2-The server is where all the important data is stored for the game. The client sends and receives data from the server.
3- A program used to edit a file, it is an advance form of notepad.
4- a program used to extract files from another compressed file, in this case the .pak file.
Created By: Namek303
What is the .Pak file?
The .Pak file is the basic instructions that the client(1) uses to make it's own decisions within the game. This file is needed to take a strain off the busy server(2).
I still don't understand the concept of a .pak file.
Well we can explain the .pak file like this. Lets pretend you decide to move to a new home on the other side of town.
Only a moron will take each item in his house one at a time to his new home.
The average person puts it in a box to take to the house.
Well in this case the box is the .pak file and the items in your house is the contents inside the .pak file.
The reason most people can't open the .pak file without a hex editor(3) is because the box is sealed and we need a way to open it. in this case a hex editor would be like cutting a small hole in the box and having limited access into what you can do with the items in the box.
But a decompiler(4) is like getting a knife and opening the box and laying out all your items on the floor so you can do as you see fit.
To recompile something you would need to find out what method they used to compile it in the first place so everything goes in smoothly. Followed by sealing the box(.pak file).
There is another version of a .pak file. It does not work the same as a pak file but the concept is the same. I am referring to a winzip file or a .rar file.
The only difference between a .pak file and a .rar file is that we can easily compile and decompile a .rar files since we have been given the tools.
Why can we only edit it with a hex editor?
Well the reason is because no one managed to release a compiler that works properly.
Also there would be issues if we try to recompile the files after we edit it.
If we make changes for example change a file something from 'true' to 'false' then notice that true only has 4 characters and false has 5 characters.
a simple change like that changes the file size and will lead to 2moons not working properly and it might not even start.
Is a .Pak compiler possible?
Yes! it is, but most people would not edit things properly and if they try to recompile, chances are 2moons will not accept that pak file anot give you some error when you start 2moons.
Can you provide an example of another form of compression type so that i can further under stand this?
Well a prime example of BAD compression is ipod games. if you actually get it and rename the extension from .ipg to .zip then you can extract all its contents. Thats another way of doing it. BUT sadly a method like this does not work for the .pak file.
Any questions. I will answer to my best knowledge or maybe another forum member can help too. PLEASE note this thread was not created to teach you how to hack or how to edit the .pak file. ONLY understand it.
word bank
1- The client is the program that the end user (you) use to interpret the game data. essentially it is the game.
2-The server is where all the important data is stored for the game. The client sends and receives data from the server.
3- A program used to edit a file, it is an advance form of notepad.
4- a program used to extract files from another compressed file, in this case the .pak file.