• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

PTBR Translation

I've been playing and making several small corrections to my translation. I see that when I buy treasure information it doesn't mark the red X on the map, and it also doesn't mark "escort destination" and "cargo destination". I only saw the red X mark when the treasure was in Barbados.
Question: Is this a known bug or did I bug the game with the translation?
 
Last edited:
Mission:

"The tailor of Kralendijk asked me to get 333 units of cotton from somewhere and deliver it back to him for 51948 gold coins. But I have to deliver it before September 9, 1754 or I will receive nothing."

I bought the cotton and went back to the tailor. The dialogue required to deliver the product does not appear.
The same thing happened with the tailor from Oranjestad.

Can you help with this?

follow save.
 

Attachments

  • -=Player=- QuickSave.zip
    1.1 MB · Views: 12
Mission:

"The tailor of Kralendijk asked me to get 333 units of cotton from somewhere and deliver it back to him for 51948 gold coins. But I have to deliver it before September 9, 1754 or I will receive nothing."

I bought the cotton and went back to the tailor. The dialogue required to deliver the product does not appear.
The same thing happened with the tailor from Oranjestad.

Can you help with this?

follow save.
I don't know what happened, I went to another island, the cotton I bought was gone, I bought it again, and I accomplished the mission.
 
Perhaps you sold the cotton? If you normally use the "Auto Trade" button instead of buying and selling goods individually, this could easily happen. Or perhaps you had a second ship, some of the cotton was on that, and you sold the ship?
 
Perhaps you sold the cotton? If you normally use the "Auto Trade" button instead of buying and selling goods individually, this could easily happen. Or perhaps you had a second ship, some of the cotton was on that, and you sold the ship?
I don't know, the mission was to buy cotton and take it to Curacao, I went to the nearest island of Boneire, then the dialog didn't appear, so I went to Aruba and coincidentally acquired a similar mission by changing the amount of cotton, the dialog didn't appear either. I remember now that I was tired and sleepy, maybe I didn't click ok when I went to buy the cotton the first time.

By the way, the fact that the map doesn't mark X or cargo destination is probably due to the translation of the island's name, I don't know which file to restore the name to fix this.
 
There's an easy way to test that. Set the game back to English. Start a FreePlay as a merchant - if you choose named character Piers Downing or Valerie Downing, you start with an East Indiaman which will give you plenty of cargo space. You should easily be able to get a delivery mission.

Then switch the game back to Portuguese, start another FreePlay and do the same.

If you consistently see cargo destinations on the map when playing in English and never see them when playing in Portuguese, it's the translation. Upload "compile.log", "system.log", and "error.log" if it exists, and I'll take a look to see if those show any clues as to what is going wrong.

If you don't see destinations on the map when playing in English either, the problem is with the game itself, not your translation.
 
There's an easy way to test that. Set the game back to English. Start a FreePlay as a merchant - if you choose named character Piers Downing or Valerie Downing, you start with an East Indiaman which will give you plenty of cargo space. You should easily be able to get a delivery mission.

Then switch the game back to Portuguese, start another FreePlay and do the same.

If you consistently see cargo destinations on the map when playing in English and never see them when playing in Portuguese, it's the translation. Upload "compile.log", "system.log", and "error.log" if it exists, and I'll take a look to see if those show any clues as to what is going wrong.

If you don't see destinations on the map when playing in English either, the problem is with the game itself, not your translation.
This is a b15 problem that Hammie hasn't solved yet.
 
There's an easy way to test that. Set the game back to English. Start a FreePlay as a merchant - if you choose named character Piers Downing or Valerie Downing, you start with an East Indiaman which will give you plenty of cargo space. You should easily be able to get a delivery mission.

Then switch the game back to Portuguese, start another FreePlay and do the same.

If you consistently see cargo destinations on the map when playing in English and never see them when playing in Portuguese, it's the translation. Upload "compile.log", "system.log", and "error.log" if it exists, and I'll take a look to see if those show any clues as to what is going wrong.

If you don't see destinations on the map when playing in English either, the problem is with the game itself, not your translation.
I did as you described EN language, Freeplay, Piers Downing. I got a delivery mission and it didn't show the delivery point. I have been observing that several times the ship is pointed out on the map in a different place than where I actually am, in the screenshot below I am in Mertinique and the location of the ship indicates that I am very far from there.
I still think I improperly translated some file with locale names.

Interestingly, when the treasure was in Barbados, the X appeared.

By the way, I haven't tried incorporating the PTBR language into the game yet, I'm using my .CMD script and replacing the Spanish one.
 

Attachments

  • 1711055506700.png
    1711055506700.png
    647.7 KB · Views: 10
Last edited:
@Grey Roger the file "\BNH\PROGRAM\QUESTS\Quest Messages.h" contains text that in my opinion should be translated, I suppose it would be convenient for this file to be in "\BNH\resource\INI\TEXTS\ENGLISH\"
 
I don't think that file is used in "New Horizons", so it probably isn't used in BNH either. Look in "RESOURCE\INI\TEXTS\ENGLISH\globals.txt", where you should find all those quest messages plus some other text. Function 'GlobalStringConvert' translates messages using this file. For example, if you have the updated version of "PROGRAM\Storyline\standard\quests\both_reaction.c", at case "Seen_Black_Pearl" you will see:
Code:
Log_SetStringToLog(GlobalStringConvert("QUEST_MESSAGE7"));

By the way, I haven't tried incorporating the PTBR language into the game yet, I'm using my .CMD script and replacing the Spanish one.
I have! It was in "New Horizons", not BNH, but the scripts should still work.
 

Attachments

  • Portuguese scripts.zip
    126.3 KB · Views: 13
I don't think that file is used in "New Horizons", so it probably isn't used in BNH either. Look in "RESOURCE\INI\TEXTS\ENGLISH\globals.txt", where you should find all those quest messages plus some other text. Function 'GlobalStringConvert' translates messages using this file. For example, if you have the updated version of "PROGRAM\Storyline\standard\quests\both_reaction.c", at case "Seen_Black_Pearl" you will see:
Code:
Log_SetStringToLog(GlobalStringConvert("QUEST_MESSAGE7"));


I have! It was in "New Horizons", not BNH, but the scripts should still work.

I abandoned NH because it doesn't work on Windows 10 home and to run it I need to use a VM. Therefore, I am only working in BNH and I don't know if all files translated from BNH will work in NH.
I applied the scripts for PTBR in BNH, the game didn't even start. I believe Hammie will easily solve this.

By the way, I made a change to buttons 2 and 3, using a shovel and pickaxe, I think they are more useful.

Let me know when the next version(BNH) is released and I will make my translation available including several corrections that I have been making day-to-day, until then I will continue correcting any errors I find.
 
Last edited:
I abandoned NH because it doesn't work on Windows 10 home and to run it I need to use a VM. Therefore, I am only working in BNH and I don't know if all files translated from BNH will work in NH.
I applied the scripts for PTBR in BNH, the game didn't even start. I believe Hammie will easily solve this.

By the way, I made a change to buttons 2 and 3, using a shovel and pickaxe, I think they are more useful.

Let me know when the next version(BNH) is released and I will make my translation available including several corrections that I have been making day-to-day, until then I will continue correcting any errors I find.
Write to Hammie and he will add you to Github as a translator.
Here is an example of how I create a branch.
You can write to me on discord, I’ll explain in more detail, or look at this link Contributing to Beyond New Horizons
 
Back
Top