PDA

View Full Version : PCars2 Telemetry Browsing with Button BOX



nabezokodaikon
16-11-2017, 09:43
Overview
This application is a server that converts UDP data sent by PROJECT CARS 2 to HTTP.
By accessing this server with WebBrowser, you can browse the telemetry etc of PROJECT CARS 2.
This application can only be accessed within the same LAN as the UDP data being transmitted by PROJECT CARS 2.
Source code (https://github.com/nabezokodaikon/pcars2-telemetry-browsing)

Change log (https://github.com/nabezokodaikon/pcars2-telemetry-browsing/blob/master/doc/changelog.md)


Install

Download 'pcars2-telemetry-browsing.zip' on release page. (https://github.com/nabezokodaikon/pcars2-telemetry-browsing/releases)
Expand the downloaded 'pcars2-telemetry-browsing.zip'.


Uninstall

Delete the expanded 'pcars2-telemetry-browsing' directory.


Dependencies

Java Runtime Environment(JRE)


Usage
Application setting
Edit the following items in 'application.conf' file.

Change ip-address to the IP address of the PC running this application.
Change to the free port number of the PC that will run port.(Please change when it does not work with the default 9000.)
Please run `start-for-windows.bat` and access to the displayed address by WebBrowser of PC, mobile phone, android or IOS device in LAN.


PROJECT CARS 2 setting

Select OPTIONS > SYSTEM
Shared Memory: No
UDP Frequency: 4 (Around 4 to 6 is appropriate.)
UDP Protocol Version: Project CARS 2


Please note for BUTTON BOX

BUTTON BOX works only when you play PROJECT CARS 2 on a PC running this application.
BUTTON BOX is just sending key inputs to the application window. Therefore, if the window except PROJECT CARS 2 is active, send the key to that active window. (For example, if the notepad is active, it will be typed in the notepad.)


iPhone or iPad Web page to Home short cut

From the status bar of Safari, tap Add to Home Screen to create a shortcut on the home screen and display it in full screen.


iPhone fix it Landscape
See here. (https://support.apple.com/en-us/HT202612)

Screen shot
MENU
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/menu.png

DEFAULT View
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/default.png

ENGINE View
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/engine.png

DAMAGE View (Interim)
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/damage.png

TIME View
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/time.png

BUTTON BOX View
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/button-box.png

BUTTON BOX CUSTOMIZE View
https://raw.githubusercontent.com/nabezokodaikon/pcars2-telemetry-browsing/master/screenshot/button-box-customize.png


TODO

RANK View
TYRE View

NaRP
11-12-2017, 09:54
I don't like java. Sorry. I'm looking for an other soft. But, this one is good.

nabezokodaikon
12-12-2017, 02:56
The programming language I use is my personal hobby so it can not be helped. Thank you.

jasje
12-12-2017, 09:18
I don't like java. Sorry. I'm looking for an other soft. But, this one is good.
Java is only the server-side layer. The rest seems pure HTML/Javacript (React)

Interesting project, I'll take a look!

nasika
17-02-2018, 04:08
Hi,

Good software!!

Could you please add function to record min/max Horse power and Torque ??

nabezokodaikon
17-02-2018, 14:03
Thank you!

I will verify.
Please wait a moment as I have not seen the source code recently!

nabezokodaikon
18-02-2018, 06:59
Hi,

Good software!!

Could you please add function to record min/max Horse power and Torque ??

Updated to v0.9.0

* Add min and max value on engine info.

jimmyb_84
18-02-2018, 11:23
I like what you've done looks great. Does this work with console or PC only? I'm on Ps4 and would like to try it out.

nabezokodaikon
18-02-2018, 12:39
I like what you've done looks great. Does this work with console or PC only? I'm on Ps4 and would like to try it out.

Thank you for having interest.

I can not check it because I do not have a PS4, but I think it is probably possible if PS4, PC and tablet are in the same network.

Communication route
PS4 UDP-> PC(Running this application) HTTP-> tablet or mobile phone

However, there is a possibility that a delay may occur because one UDP communication route increases.

Also, the button box can not be used on PS4. Sorry.

Maskmagog
18-02-2018, 14:36
Hi, nice work!
I'm playing PC2 on Xbox, and I'm looking for ways to show telemetry etc without using my Windows laptop, but instead use Raspberry Pi's with connected displays/lcd/led. Sorry for my maybe stupid question, but could your code run on a Raspberry Pi? Either running Raspbian or Win 10 IoT.

nabezokodaikon
19-02-2018, 01:50
Hi, nice work!
I'm playing PC2 on Xbox, and I'm looking for ways to show telemetry etc without using my Windows laptop, but instead use Raspberry Pi's with connected displays/lcd/led. Sorry for my maybe stupid question, but could your code run on a Raspberry Pi? Either running Raspbian or Win 10 IoT.

I do not know exactly what Raspberry PI is but I think it will work if you can install JRE.

By the way, for applications like "RS Dash" of Android and iOS, you can use it without using Windows.
This application is still unfinished, so I recommend you that. Hahaha.

nasika
19-02-2018, 04:06
Thanks for quick work!!!

This software can see telemetry data from replay cars(All!!) and Time Trial ghost.
Itís marvelous.

Maskmagog
27-06-2018, 20:42
Hi, I can't get this to work, unfortunately. UDP is on, and other apps are receiving data from my Xbox One.
Have you any idea what the problem could be?

I've tried the app on my Windows 10, and a Raspberry Pi. Same problem.
I've accessed the web page from Windows 10, Iphone, Raspberry Pi = same problem.

SMS updated some UDP stuff in patch 5, could that be the issue? See here (https://www.projectcarsgame.com/project-cars-2-api/?lang=en-us).

This is what the screens look like:
256899256900256901256902

nabezokodaikon
05-07-2018, 13:15
I think that it does not correspond to our new API, for example. Well it is always undecided that I correspond. I'm sorry!

Maskmagog
05-07-2018, 18:33
Hey, thanks for your reply. I understand if you don't have the time, but if you update your program, then I'll be happy :)
It runs on a small Raspberry Pi, with 7" screen, which I happen to have and don't use.
No worries! :)

nabezokodaikon
02-01-2019, 16:01
Sorry. Development is closed.