In this setting, the Dutch fleet consists of 11 ships lead by Admiral Cornelis Matelief de Jonge while the Portuguese fleet has 20 ships lead by vice-roy Martim Afonso de Castro.
Even though the Dutch lost this battle, it was enough to convince the Sultanate of Johor to support the Dutch in the Dutch-Portuguese War, and eventually end the Portuguese supremacy in the region.
The French summoned a bigger convoy later, which lost another battle at the Cape Finisterre, leading to the end of French naval operations for the rest of the war. In this setting the English privateers have 5 ships commanded by John Hawkins and the Spanish forces have 3 ships commanded by Francisco Luján.
The privateers were anchored at San Juan de Ulúa for repairs and resupply when a Spanish escort fleet arrived in the port. Because of a treaty between the two nations the privateers were not afraid for their safety.
However, the privateers had been plundering for a full year and Luján was aware of this and swiftly attacked the privateer fleet.