hi
I have a problem with unpacking the global.res file for the game Port Royale 4 version 1.5 (the latest).It extract file but there is empty global.txt file I use tools from Port Royale 3 that worked in older versions of Port Royale 4: port_royale3_text_export.exe and port_royale3_text_import.exe, . Needed files are in attachments, I also thought about quickbms but there is no batch file .bms ...Please help
The rules have been updated, read them now: Rules!
Port Royale 4 wrong unpacking global.res
Port Royale 4 wrong unpacking global.res
You do not have the required permissions to view the files attached to this post.
Re: Port Royale 4 wrong unpacking global.res
Tools pack/unpack txt for Port Royale 3 - works on older versions of Port Royale 4 (less than 1.5)
link to tools
https://dark0946.tistory.com/m/47?category=537202
in the attachment the older version of global.res by Port royale 4 .Please help unpacking globalnew.res
link to tools
https://dark0946.tistory.com/m/47?category=537202
in the attachment the older version of global.res by Port royale 4 .Please help unpacking globalnew.res
You do not have the required permissions to view the files attached to this post.
- ikskoks
- Moderator
- Posts: 820
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 474 times
- Been thanked: 216 times
- Contact:
Re: Port Royale 4 wrong unpacking global.res
Hello. I have compared both of your samples and there are indeed some differences as you said.
Here you can see my documentation http://wiki.xentax.com/index.php/Port_Royale_4_RES
I have also created a tool which will extract data to TXT file.
You can check it here https://github.com/bartlomiejduda/Tools ... ES_Tool.py
After extraction you will see something like this https://i.imgur.com/SQ0mixO.png
Here you can see my documentation http://wiki.xentax.com/index.php/Port_Royale_4_RES
I have also created a tool which will extract data to TXT file.
You can check it here https://github.com/bartlomiejduda/Tools ... ES_Tool.py
After extraction you will see something like this https://i.imgur.com/SQ0mixO.png
Re: Port Royale 4 wrong unpacking global.res
Hello
It works!!
You are the master - thank you. Global.res unpacking works.
I have a question: how to pack this txt file back to thearchive global.res
It works!!

You are the master - thank you. Global.res unpacking works.
I have a question: how to pack this txt file back to thearchive global.res

- ikskoks
- Moderator
- Posts: 820
- Joined: Thu Jul 26, 2012 5:06 pm
- Location: Poland, Łódź
- Has thanked: 474 times
- Been thanked: 216 times
- Contact:
Re: Port Royale 4 wrong unpacking global.res
Repacking would require creating custom import tool. Some values are stil unknown in the header section, also there is some new field (checksum?) in the info section which was not present in the 1.4 version of the game.
Theoretically copying unknown values from original global.res as-is to the new one could work,
but someone would need to do some testing on that.
So until someone will figure it out, you can only export.
Theoretically copying unknown values from original global.res as-is to the new one could work,
but someone would need to do some testing on that.
So until someone will figure it out, you can only export.