Skip to content

Commit e7ae7da

Browse files
committed
update readme
1 parent 6e433ea commit e7ae7da

4 files changed

Lines changed: 77 additions & 16 deletions

File tree

NewStarGP-TelemetryMod.sln

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NewStarGPTelemetryMod", "NewStarGPTelemetryMod.csproj", "{2664687F-2C11-F749-66EE-0BBB49ACC5CA}"
6+
EndProject
7+
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TelemetryLib", "..\SharedLib\TelemetryLib.shproj", "{EEB444E9-0B1F-467D-B01C-EDBA291BC941}"
8+
EndProject
9+
Global
10+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
11+
Debug|Any CPU = Debug|Any CPU
12+
Release|Any CPU = Release|Any CPU
13+
EndGlobalSection
14+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15+
{2664687F-2C11-F749-66EE-0BBB49ACC5CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{2664687F-2C11-F749-66EE-0BBB49ACC5CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{2664687F-2C11-F749-66EE-0BBB49ACC5CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{2664687F-2C11-F749-66EE-0BBB49ACC5CA}.Release|Any CPU.Build.0 = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(SolutionProperties) = preSolution
21+
HideSolutionNode = FALSE
22+
EndGlobalSection
23+
GlobalSection(ExtensibilityGlobals) = postSolution
24+
SolutionGuid = {7F34D497-F08F-4A60-9C44-422F889D372B}
25+
EndGlobalSection
26+
GlobalSection(SharedMSBuildProjectFiles) = preSolution
27+
..\SharedLib\TelemetryLib.projitems*{2664687f-2c11-f749-66ee-0bbb49acc5ca}*SharedItemsImports = 5
28+
..\SharedLib\TelemetryLib.projitems*{eeb444e9-0b1f-467d-b01c-edba291bc941}*SharedItemsImports = 13
29+
EndGlobalSection
30+
EndGlobal

NewStarGPTelemetryMod.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<TargetFramework>net46</TargetFramework>
55
<AssemblyName>NewStarGPTelemetryMod</AssemblyName>
66
<Product>Newstar Telemetry Plugin</Product>
7-
<Version>0.0.1</Version>
7+
<Version>1.0.0</Version>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9-
<LangVersion>12.0</LangVersion>
9+
<LangVersion>latest</LangVersion>
1010
<RestoreAdditionalProjectSources>
1111
https://api.nuget.org/v3/index.json;
1212
https://nuget.bepinex.dev/v3/index.json;

NewStarTelemetryData.cs

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ namespace com.drowhunter.NewStarGPTelemetryMod
55
[StructLayout(LayoutKind.Sequential)]
66
internal struct NewStarTelemetryData
77
{
8-
//public Quaternion Orientation;
9-
108
public float Pitch;
119
public float Yaw;
1210
public float Roll;
@@ -29,7 +27,9 @@ internal struct NewStarTelemetryData
2927
/// Speed in Meter per Second
3028
/// </summary>
3129
public float Speed;
30+
3231
public float RPM;
32+
3333
public int CurrentGear;
3434

3535
public float TireFL;
@@ -44,16 +44,6 @@ internal struct NewStarTelemetryData
4444
internal bool IsRacing;
4545
internal bool IsEventOver;
4646

47-
//public float WheelFL;
48-
//public float WheelFR;
49-
//public float WheelBL;
50-
//public float WheelBR;
51-
//public bool GamePaused;
52-
//public bool IsRacing;
53-
//public bool Boost;
54-
55-
56-
5747

5848
}
5949

README.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,48 @@
1-
# UnityMods
1+
# New Star GP Telemetry Mod
2+
3+
## Instructions
4+
5+
### Normal Install
6+
1. Install BepinEx v5 [link](https://github.com/BepInEx/BepInEx/releases/tag/v5.4.23.2) into your game folder.
7+
8+
2. Place plugin dll file into `BepinEx/plugins` folder
9+
10+
### UUVR install
11+
1. Download RaiPal [click here](https://github.com/Raicuparta/rai-pal/releases)
12+
2. Scan for your games, then click on your game.
13+
3. Install **UUVR Mono Modern** (which includes BepinEx)
14+
4. Click the 3 dots next to **UUVR Mono Modern** and then click `Open Mod Folder` (the folder will look like `%APPDATA%\raicuparta\rai-pal\data\installed-mods\[ModId]\`)
15+
5. Place Telemetry Mod dll into `BepinEx/plugins` folder
16+
17+
18+
## Building
19+
1. Clone this repository
20+
21+
2. This project also references a project named SharedLib (located [here](https://github.com/Unity-Telemetry-Mods/SharedLib))
22+
23+
- Check out SharedLib folder beside this project
24+
25+
- folder structure should look like
26+
```
27+
[This Project]\
28+
SharedLib\
29+
```
30+
31+
3. The following files will need to be copied from
32+
33+
`New Star GP\release\NSGP_Data\Managed\`
34+
35+
to
36+
37+
`[Project]\lib`
38+
- netstandard.dll
39+
- Assembly-CSharp_publicized.dll **
40+
41+
4. Open sln file located inside Project Folder
242
343
---
44+
** *You will need to publicize the Assembly-CSharp file from game using a tool like [Assembly Publicizer](https://github.com/CabbageCrow/AssemblyPublicizer/releases)*
445
546
## Changelog
647
7-
v 1.2 Added Distance Telemetry Mod
48+
v 1.0 First Release

0 commit comments

Comments
 (0)