GNL.tv is an open source racecast system for Papyrus Nascar Racing 2003. It allows thousands of people to watch a NR2003 race live on the internet. This is the first step to providing the online racing community a true live experience watching other racers competing in their leagues.

A small server application connects to a NR2003 installation on the same computer and collects standings data and all car positions during the race. A PHP based webpage connects to the server application and displays the results. There is also a java applet that displays the car positions on a track map.
Originally developed for the german Virtual Racing e.V. league, GNL.tv has now been released as open source software. The goal behind this step is to provide a solid framework for building a sophisticated TV application with the help of the racing community that addresses all requirements for a unique watching experience.

GNL.tv features:
- Very streamlined server with no impact on the performance of the hosting system
- Server may monitor a dedicated NR2003 server or run on a NR2003 client connecting to a dedicated server
- Communication with GNL.tv server is done via standardized XmlRpc interface
- Car Position updates are distributed using a custom streaming protocol
- Compressed communication leads to very low network bandwidth requirements
- Services up to thousands of viewers by caching the standing results and using proxy servers to distribute the load
- Easy to setup
- Works with all addon tracks
Running GNL.tv with PHP5
Please take a look at my blog entry to read how to enable PHP5 support in GNL.tv.
Downloads
For installation instructions, please consult the included readme-files. All files are released under the GPL license.
GNL.tv Version 1.4 (latest version)
GNL.tv Version 1.4 Source (source code for latest version)
GNL.tv uses the SVG file format to render track overviews. You can create these SVG files automatically based on the NR2003 track files with the utility PtfConverter. You only need this utility if you plan to convert new tracks yourself.
PtfConverter Version 1.0 (latest version)
PtfConverter Version 1.0 Source (source code for latest version)
Soory, it is, forgotten to past it…
So, what problem do you have exactly with the nbsp?
Hello
The problem is that started places are not displayed on the page racestats.php when a race is on…
Hiya Peter.
Wondering if you have a sec to explain how to have the tracks and session shown on the marquee? I’ve seen some sites where the marquee will read the what track is loaded along with how many laps they are into it.
I’ve been looking into the gnltv.inc.php and the marqueestats.php to see what lines are needed to be added. Nothing I’m trying is working.
Is this something you can help me on?
Thanks in advance.
Duck
You need to add the following line to marquestats before the line
for ($i = 0; $i < $size; $i++) {:Take a lookat all the methods in gnltv.inc.php. There is a method for each kind of information you get from the server.
Wow! Now that’s a quick response and thanks! That did it. =) Another question.. LOL in regards to the same thing. Without the track actually being loaded, is there a way to show what track is selected? Thinking for those who see the site, they know what the server is prepared for.
To make it easier to understand, I’m trying to get the results that this site has.. http://69.13.121.1:2008/ARCAHotlaps/Marquee.htm
It can only display the currently loaded track. It is not possible to detect which track is selected ingame when the event has not been started.
Will this work for offline races?
Yes.
Is there anyone who has this installed and does it still work?
Also if you know how to install it can you install it for our league?
If you can please email me at ihpracing@hotmail.com
GNLtv is still used by various leagues. The installation instructions are included in a readme file. There are also a lot of installation hints in the comments on this web page.
hey i would like some help meand other admins at my league could not figure how we can get this GNL TV to work…We race race by IP
email me bcracing02@hotmail.com with some directions or even some tip how to get this to work thank you
Peter,
Thank you for a fantastic program in GNL.tv. We use the leaderboard at our racing league in conjunction with live online broadcasts; it’s very popular!
Have you created or released any other NR2003 programs or tools?
Regards,
Steve Luvender
VidaneRacing.com
Hi Steve,
no, GNL.tv is my only NR2003 related program.
is there a switch or something that I can use to make gnltv work with the nr2005 mod? currently it only works with 2003
No, it only works with NR2003.
Hi Peter!
Congratulations by the GNLtv. It’s really a fantastic tool for NR2003.
I need your help to solve the issue below.
How Mathias sad in this comment page, the option Started in racestats.php isn’t working.
I see on gnltv.inc.php in line 237, this function responsible to get the Qualy position…
function getQualiPosition($standings) {
if ($standings["started"] != -1) {
return “$standings[started]“;
} else {
return “ ”;
}
}
So, For me the code it’s ok, but I try a lot of changes in the code
and I can’t solve this.
In top of this page, I see that the picture of GNLtv doesn’t have this collumm “Started”.
Can you help me?
Best Regards!
Fabricio Silveira
msn:fabricio.fapa@bol.com.br
ohhhhh, I made a mistake…
There is the collum Started in the picture on the top of this page, but for me it is another order, in 3rd collum
But, I wait by your comment about my issue.
Thanks again
Fabricio Silveira
Sorry, I have no idea why the “started” column does not display anything.