Closed sonnguyenasu closed 4 years ago
You will need to launch several game processes, and assign different ports:
(1) for the game executable:
+---PackagedEnvironment +---SceneName +---Demo +---Binaries +---Linux | Demo | unrealcv.ini
modify unrealcv.ini to assign a new port
(2) on the python side:
replace from unrealcv import client as UnrealCVClient
with
from unrealcv import Client UnrealCVClient = Client(('lovalhost', port_id))
where port_id is the new port the same as above
in
thank you for your answer, I think I got problem with the localhost of unrealcv. When I ran 2-3 terminals, the code would be stuck at client.GetAdjusted function usually. Do you have any possible way to work around that?
I want to make the image generation faster by running multiple terminal on the code. Is it feasible to do so? I am stuck cuz only one terminal work and the rest are just not responding