Replaydirector
#41
Posted Apr 15 2020 - 01:35 PM
https://www.youtube....YKawNIJDdVCzaGQ
#42
Posted Apr 22 2020 - 11:58 AM
#43
Posted Apr 22 2020 - 01:21 PM
#44
Posted Apr 22 2020 - 02:28 PM
EDIT: Nevermind. After installing a non-US GPL.exe the mod works perfectly now.
Edited by Cybernerd, Apr 22 2020 - 02:46 PM.
#45
Posted Apr 23 2020 - 02:53 AM
Thanks Cybernerd, I have added to the readme that US exes doesn't work.
BR Olaf
#46
Posted Apr 23 2020 - 07:12 AM
#47
Posted Apr 24 2020 - 12:53 AM
Base of operations in my projects was my (german) exe. From time to time in developing process I tested it with an english exe. And all worked like it should.
After month of work anyone with an US exe (in this case cybernerd) wants to use the patch and it doesn't work. The same issue I had with dirtgearpatch.
Then I see US exe is different to all other exes (In dirtgearpatch I had seen some adresses which are in non US exes doesn't been used, are used in US exe). But at this point it would cost a lot of time to bring it to work.
My patches are in close cooperation to the exe files. If the exe in main part is different I would have to change the code maybe on hundred places.
If anyone want's to use the patches he can simple change your exe from US to ENG or an other exe. It costs him 15 min or so (see Cybernerd in exemple) - not weeks.
But I'd been very interested in knowing why the US exe is different so much. Do you know why, Lee? And...what - and how much - are the differences? I know Nothing about that.
BR Olaf
Edited by Olaf Lehmann, Apr 24 2020 - 12:55 AM.
#48
Posted Apr 24 2020 - 07:22 AM
Normal patches use relative memory locations for all gpl.exe addresses. GEM+ takes that into account when patching the mod .exe and automatically patches the correct memory address depending on the donor gpl.exe version.
For patch data that is located at a fixed address, patches use absolute addressing regardless of country .exe.
Apparently with your .dll, you are using fixed memory addresses from the Euro .exe. So for a U.S. version, you need to subtract 8 bytes from each.
Even with my patches, there are some cases where I have to adjust the code for the different country .exes, but normally relative addressing does the trick.
#49
Posted Apr 29 2020 - 06:23 AM
Maybe I'll try to make an US Version if I have the time. But I would need an US exe...
Before I have done this I repeat my hint again: It's possible to replace the US exe with an Euro exe. I have putted my german exe in programm folder (in dirtgearpatch folder is an english NON US exe). But In this case for safety please copy your exe before!
BR Olaf
Edited by Olaf Lehmann, Apr 29 2020 - 06:30 AM.
#50
Posted Jun 09 2020 - 05:33 PM
Olaf Lehmann, on Apr 13 2020 - 04:12 AM, said:
It seems to me only a few people has really realized the advantage of replay director in combination with livestream and changed pribluda.
Hello Olaf,
thank you for your hard work on Replaydirector!
Your latest version replaydirector_v9a is great to watch our GPLRACER league replays.
My favorite is the option replaydirector_conservative and cockpit view.
What for did you include a gpl.exe in your replaydirector_v9a folder?
I think about doing live streams of our GPLRACER league races.
As I am new to live streaming I have already watched some tutorials on how to do live streaming on YouTube.
Olaf, I have read your pribinlivereplay readme but I am still not sure how it really works.
Olaf can you, or maybe someone of Historic F1 Esports League give me tips on how I have to set everything up on my GPL server, please?
I would live stream from my race server (not the PC I race).
Which software are you using? OBS?
To get the best graphics of a race track I presume it would be necessary to have the best graphics of the track installed on the server including track updates, wouldn`t it?
Atm I have only the minimum track version installed (server track versions if available) as the graphics are not important when you host.
Edited by Stefan Roess, Jun 09 2020 - 07:50 PM.
#51
Posted Jun 10 2020 - 04:02 AM
There is a version of the rpy director called "livestream" which is the one you use when streaming live. In addition comes the pribluda hack which replaces the original pribluda to get the on-screen info up.
We use wirecast in HIES to livestream , not sure about the config but we have the screen zoomed in to the upper edge of the textbox and slightly below the textbox on the bottom of the screen to get the line up with kph , revs etc.. We have a decent PC in terms of specs to stream and we use as much graphics as possible to get it to look as good as possible.
What I would recommend is first get the stream going with the rpy director and then work on getting the pribluda on top. Best of luck to you and hopefully Andrè and Olaf can assist you as well in this project.
#52
Posted Jun 10 2020 - 08:54 AM
to the livestreaming tools I cannot say anything. I haven't made a livestream by myself. I'm not acquainted with OBS,...only with OBI. In OBI sometimes I buy hammers, saws, seed...and much more…
HIES uses a separat client for livestreaming. The server itself could be the "livestreamer", but then the server have to be a very fast computer and the gpl and livestream process needs a lot of bandwidth I think.
Selfmade...if you would install better graphics then you have a nicer stream, but then the server PC have to be very, very fast.
But principially every client could be the livestreamer. For example: Some leagues have two grids - one grid makes their race one week, the second grid a week later. In this case a guy from the second grid (or anyone who doesn't drive in this cup) could be the livestreamer for the first grid...and vice versa. Only a small ping, enough bandwidth and a not to slow PC is recommended.
Some hints to replaydirector/pribluda, etc.:
You don't need the gpl.exe in programm folder - it's only for guys with US.exe.
The pribluda displays works only with live data, not If you load a replay.
For livestreams you should use replaydirector_livestream, because the pribluda displaying is only tested with this version. The …_livestream version essistencially works like the …_conservative version. It has only some newer improvements.
As Dag says it makes sense at first to bring the livestream tool to work. Next steps:
For the pribluda displays you have to rename your pribluda.dll and to put the pribluda.dll from programm subfolder into your gpl folder. If your pribluda is the same version which I have used for my hacking (second of Brrrs version 1.1.2.1. I believe) you are a lucky man. Then it's not needed to use the PRIBLUDA.ini from programm subfolder. Otherwise you have to rename your PRIBLUDA.ini and use the subfolder .INI too.
It's possible to use 77Dv3 No Letterbox_replay (a special version of letterbox patch - then you have no letterbox in replay screen).
Then you can start gpl via GEM+ (don't forget to choice replaydirector_livestream). If the menus are flickering no panic - go simple to the replayscreen. Then all should be normal.
As I remember correct the special pribluda version works only with ogl_v2 rasterizer.
That's what spontan comes in my mind.
If you have more questions I wrote from time time in this thread.
BR Olaf
Edited by Olaf Lehmann, Jun 10 2020 - 09:03 AM.
#53
Posted Jun 11 2020 - 12:10 PM
After watching several test and configuration videos I will try OBS software.
Atm I have to wait 24 hours until YouTube has activated live streaming for my Channel.
Until then I can not go on as I need the stream key to enter in OBS.
I will keep you updated.
The low power of my mini server could be a problem.
Well, we will see.
#54
Posted Jun 15 2020 - 03:30 PM
Olaf Lehmann, on Jun 10 2020 - 08:54 AM, said:
But principially every client could be the livestreamer. For example: Some leagues have two grids - one grid makes their race one week, the second grid a week later. In this case a guy from the second grid (or anyone who doesn't drive in this cup) could be the livestreamer for the first grid...and vice versa. Only a small ping, enough bandwidth and a not to slow PC is recommended.
My Mini Server does not have enough power to stream. It won`t work.
This is what the server records: https://www.youtube....h?v=w324Cmlc-cs (video will get deleted when not needed anymore)
But streaming works on my race PC.
But when I stream while driving I can only record what I can see on the monitor or is there a way to live stream in Replaydirector_livestream or Replaydirector_conservative mode?
I noticed it works while watching the others drive in Replaydirector_livestream mode, but not when I drive myself.
I guess there is no way to live stream in Replaydirector_livestream mode, isn`t it?
Edited by Stefan Roess, Jun 15 2020 - 03:42 PM.
#55
Posted Jun 16 2020 - 07:11 AM
Quote
But streaming works on my race PC.
But when I stream while driving I can only record what I can see on the monitor or is there a way to live stream in Replaydirector_livestream or Replaydirector_conservative mode?
I noticed it works while watching the others drive in Replaydirector_livestream mode, but not when I drive myself.
A solution could be - if you have two PCs at home - to use one for driving and the second (with installed OBS or other livestreaming tool) for livestreaming.
Or...I'm not a specialist for dedicated server and such things, but maybe you can use the server as gpl server and additional running (as a second process) as client for livestreaming.
I don't know exactrly where HIES livestreaming client is running. I only know HIES uses an extra client for streaming.
BR Olaf
Edited by Olaf Lehmann, Jun 16 2020 - 07:12 AM.
#56
Posted Jun 21 2020 - 11:00 AM
As the GPLRACER Mini Server does not have a proper 3D graphics card and not enough power to live stream (it is so small like a package of cigarettes ) and only built for hosting.
But I used the server replay and broadcasted it on my race PC to YouTube using the GPL Replaydirector patch TV1, TV2, Cockpit and the freeware OSB to stream.
Olaf, the patch is brilliant!
Would it be possible to improve the start as the cam is changing from car to car way to quickly? And would it be possible during a race to switch to another driver if it was on the focus for too long, when the car is very close to another car for a long time?
Please see our GPLRACER forum for more infos to my requests and GPLRACER's first race stream.
GPLRACER Race Stream & YouTube Channel
https://neuforum.gplr...c.php?f=6&t=335
Edited by Stefan Roess, Jun 22 2020 - 12:47 PM.
#57
Posted Jun 22 2020 - 05:58 AM
Quote
Would it be possible to improve the start as the cam is changing from car to car way to quickly?
Because the fact that pribluda displays doesn't work with saved replays I had no motivation to make the patch for saved replays better.
At Saturday I had a look what could be the reason that the livestream patch isn't working with saved replays. I thought it would be hard to find out...but fortunately the first idea I had was the solution.
So yesterday I uploaded the new version. The name of the new one is simply replaydirector (because it works with live data and saved replays).
I deleted he old versions except the …_ego version. This is only for people who would watching himself when no action is in the race.
In all other cases replaydirector.xml is the best choice. In comparision to the old _tv1_on_tv2 or conservative versions are much more inprovements in it. I had edited the two readmes and hope it's better to understand.
Quote
And would it be possible during a race to switch to another driver if it was on the focus for too long, when he is very close to another car for a long time?
By the way the gplracer race was very close. Is it typycal? If it is so maybe you should decrease the distance valus when the focus will switches to the leader.
And if you want more OnBoard view you can adjust the value in the seventh sequence (see readme for specialist) from 06 to 07 0r FF.
Quote
As the GPLRACER Mini Server does not have a proper 3D graphics card and not enough power to live stream (it is so small like a package of cigarettes
) and only built for hosting.
Quote
Olaf, the patch is brilliant!
BR Olaf
#58
Posted Jun 22 2020 - 09:53 AM
Your patch made me realise how hard it must be to direct any broadcast of a race, no wonder they need a whole team of people for it in real life. So many choices to be made and you're trying to automate it with a single patch, really impressive!
Edited by Millennium, Jun 22 2020 - 09:54 AM.
#59
Posted Jun 22 2020 - 02:23 PM
Olaf Lehmann, on Jun 22 2020 - 05:58 AM, said:
Because the fact that pribluda displays doesn't work with saved replays I had no motivation to make the patch for saved replays better.
At Saturday I had a look what could be the reason that the livestream patch isn't working with saved replays. I thought it would be hard to find out...but fortunately the first idea I had was the solution.
So yesterday I uploaded the new version. The name of the new one is simply replaydirector (because it works with live data and saved replays).
I deleted he old versions except the …_ego version. This is only for people who would watching himself when no action is in the race.
In all other cases replaydirector.xml is the best choice. In comparision to the old _tv1_on_tv2 or conservative versions are much more inprovements in it. I had edited the two readmes and hope it's better to understand.
Thank you very much for looking into it again!
Your new replaydirector_v9b is a big improvement.
The start is great now, the camera doesn`t switch quickly from one car to another anymore.
Olaf Lehmann, on Jun 22 2020 - 05:58 AM, said:
By the way the gplracer race was very close. Is it typycal? If it is so maybe you should decrease the distance valus when the focus will switches to the leader.
And if you want more OnBoard view you can adjust the value in the seventh sequence (see readme for specialist) from 06 to 07 0r FF.
I had a look at the readme_rd_forspecialists but I haven`t edited the replaydirector XLM file yet.
Thank you for your detailed information on how to edit it.
Our GPLRACER online races are often very close, especially the 65 F1 mod races.
Olaf Lehmann, on Jun 22 2020 - 05:58 AM, said:
When I was just testing your latest patch v9b on my race PC using a server replay I have also got the ??? at the display in the top black bar again.
I get it with these patches activated:
- replaydirector
- 77Dv3 No Letterbox_replay
- 77Dv4 No Letterbox
Quote of your readme_rd:
Quote
Is there no chance to make Pribluda work with saved server replays?
-----------------------------
Olaf and Lee, have you ever thought about co-working on GPL patches?
#60
Posted Jun 23 2020 - 04:07 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users