Jump to content


- - - - -

Replaydirector


  • Please log in to reply
90 replies to this topic

#41 D_J

D_J

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 236 posts
  • Gender:Male
  • Interests:GPL
  • Sim interest:GPL

Posted Apr 15 2020 - 01:35 PM

There is a livestream tomorrow at 2000 CET , mighty Dundrod , round 7.

https://www.youtube....YKawNIJDdVCzaGQ

#42 Cybernerd

Cybernerd

    Jackie Ickx

  • Members
  • Pip
  • 2 posts
  • Interests:Sim racing
  • Sim interest:GPL

Posted Apr 22 2020 - 11:58 AM

Simply amaaaaaazing! This will make simulating my 1967 season much more enjoyable, as I'm constantly trying to switch drivers and cameras to find the most action and best views. You are a legend!

#43 D_J

D_J

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 236 posts
  • Gender:Male
  • Interests:GPL
  • Sim interest:GPL

Posted Apr 22 2020 - 01:21 PM

This is very true , not sure if I can claim this at all but it might be the one project Olaf has put the most work into. It took a while to get it to where its at now. And who knows , there might be some further development coming down the line somewhere. The process was really cool to be a part of even though Olaf did all of the heave lifting. I would ask if something like so and so was possible and Olaf`s first response would usually be that "this is not possible or at least very difficult" and then an hour later he would say "ok , fixed it". Amazing!

#44 Cybernerd

Cybernerd

    Jackie Ickx

  • Members
  • Pip
  • 2 posts
  • Interests:Sim racing
  • Sim interest:GPL

Posted Apr 22 2020 - 02:28 PM

I downloaded and tried this patch, but as soon as I try to load a replay my game just instantly crashes. Is there something I'm missing? I'm trying v9 which is the one linked in the top post.

EDIT: Nevermind. After installing a non-US GPL.exe the mod works perfectly now.

Edited by Cybernerd, Apr 22 2020 - 02:46 PM.


#45 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

Posted Apr 23 2020 - 02:53 AM

Not under all circumstances the Slogan "Americans first!" is valid. :tongue2:
Thanks Cybernerd, I have added to the readme that US exes doesn't work.

BR Olaf

#46 Lee200

Lee200

    Denny Hulme

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,042 posts
  • Gender:Male
  • Interests:Football
  • Sim interest:GPL

Posted Apr 23 2020 - 07:12 AM

Olaf, why haven't you made a version for the U.S. .exe?

#47 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

Posted Apr 24 2020 - 12:53 AM

It has no political reasons or so, Lee.
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 Lee200

Lee200

    Denny Hulme

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 2,042 posts
  • Gender:Male
  • Interests:Football
  • Sim interest:GPL

Posted Apr 24 2020 - 07:22 AM

U.S. .exe memory addresses are 8 bytes less than the Euro addresses.  I don't know why the U.S. .exe is coded differently.

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 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

Posted Apr 29 2020 - 06:23 AM

Thanks for Infos, Lee!

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 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 3,096 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Jun 09 2020 - 05:33 PM

View PostOlaf Lehmann, on Apr 13 2020 - 04:12 AM, said:

I'm wondering. About one year after finishing replaydirector I know only one league that uses the livestream/replaydirector combination.
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! :thumbup:

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.

:wave:

Edited by Stefan Roess, Jun 09 2020 - 07:50 PM.


#51 D_J

D_J

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 236 posts
  • Gender:Male
  • Interests:GPL
  • Sim interest:GPL

Posted Jun 10 2020 - 04:02 AM

Thats great news Stefan , Im gonna watch once you get going.

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 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

Posted Jun 10 2020 - 08:54 AM

Hallo Stefan,
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… :bgrin:
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 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 3,096 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Jun 11 2020 - 12:10 PM

Thx for your tips D_J and Olaf!

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. :whistling:
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 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 3,096 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Jun 15 2020 - 03:30 PM

View PostOlaf Lehmann, on Jun 10 2020 - 08:54 AM, said:

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.

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 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

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.

Yes, you cannot be the driver and livestreamer at the same time. You'll see yourself when you drive. And if you use the ..._livestream version of the director you should not go to track. Otherwise under some circumstances gpl could crash.
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 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 3,096 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Jun 21 2020 - 11:00 AM

Thx again for your feedback, Olaf.

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 Olaf Lehmann

Olaf Lehmann

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Sim interest:GPL

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?

This was solved since a long time - but only in the livestream version. The three other versions are very old. As I saw at this time nobody outside of HIES are really interested for the patch I concentrated my power completely of the livestreams. After developing some steps I saw the actuell version of this time doesn't work with saved replays anymore.
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?

This would make a conflict with the normal "nearest distance algorhythm".  But with the newest version is something adjustable - see readme for specialists.

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.

I had a look at your server stream. I'm wondering about the ??? at the displays like driver name, laptimes etc. I can't believe it has anything to do with your Server. It seems to me that the patch doesn't work correct, but I don't know why.

Quote

Olaf, the patch is brilliant!

Nice to hear...


BR Olaf

#58 Millennium

Millennium

    ErikGPL

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 740 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:GPL
  • Sim interest:GPL

Posted Jun 22 2020 - 09:53 AM

Great work Olaf!

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!

:thankyou:

Edited by Millennium, Jun 22 2020 - 09:54 AM.


#59 Stefan Roess

Stefan Roess

    Denny Hulme

  • GPLLinks Team
  • PipPipPipPipPipPipPipPipPipPip
  • 3,096 posts
  • Gender:Male
  • Location:Bavaria, Germany
  • Interests:racing :)
  • Sim interest:GPL and P&G

Posted Jun 22 2020 - 02:23 PM

View PostOlaf Lehmann, on Jun 22 2020 - 05:58 AM, said:

This was solved since a long time - but only in the livestream version. The three other versions are very old. As I saw at this time nobody outside of HIES are really interested for the patch I concentrated my power completely of the livestreams. After developing some steps I saw the actuell version of this time doesn't work with saved replays anymore.
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! :thumbup:
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.


View PostOlaf Lehmann, on Jun 22 2020 - 05:58 AM, said:

This would make a conflict with the normal "nearest distance algorhythm".  But with the newest version is something adjustable - see readme for specialists.


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. :)

View PostOlaf Lehmann, on Jun 22 2020 - 05:58 AM, said:

I had a look at your server stream. I'm wondering about the ??? at the displays like driver name, laptimes etc. I can't believe it has anything to do with your Server. It seems to me that the patch doesn't work correct, but I don't know why.

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
and Lee`s
  • 77Dv4 No Letterbox
But activating all of them makes of course no sense, so don`t worry about the ???. :)


Quote of your readme_rd:

Quote

It is possible to draw some pribluda displays if you use the pribluda.dll and PRIBLUDA.INI (you find it in subfolder pribinlivereplay) instead of the normal pribluda files. But pribluda works only with live data - not for saved replays.

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?

:wave:

#60 D_J

D_J

    Denny Hulme

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 236 posts
  • Gender:Male
  • Interests:GPL
  • Sim interest:GPL

Posted Jun 23 2020 - 04:07 AM

Link to stream \ youtube channel Stefan..?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Sim Racing Links