Add Asset Download System with CDN Support

ASSET CONTENT DELIVERY:
+ ContentController.cs
  - Serves game assets (cars, tracks, textures, audio)
  - Downloads from EA CDN (while available)
  - Caches for offline serving
  - Manifest endpoint for asset lists
  - Health check endpoint

FEATURES:
- Asset manifest (/synergy/content/manifest)
- Download assets (/synergy/content/download/{type}/{id})
- Asset metadata (/synergy/content/info/{type}/{id})
- List by type (/synergy/content/list/{type})
- Status checking (HEAD requests)
- MD5 checksums for integrity
- Automatic directory structure

STORAGE:
+ Assets/ directory with structure:
  - cars/
  - tracks/
  - textures/
  - audio/
+ README.md - Complete asset guide
+ .gitignore - Excludes .pak files (copyrighted)

DIRECTOR UPDATE:
* DirectorController.cs
  - Added synergy.content URL
  - Game will request assets from community server

DOCUMENTATION:
+ Assets/README.md
  - How to extract assets
  - Legal guidelines (preservation only)
  - Testing instructions
  - Asset formats and naming

PURPOSE:
Game preservation after EA shutdown.
Users extract assets they own, server hosts them.
Post-shutdown: Full offline gameplay possible.

LEGAL:
- For preservation of owned content only
- Do not distribute EA's copyrighted assets
- Private server use

This enables complete game functionality
independent of EA's servers! 🎮

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-17 22:46:12 -08:00
parent 934fa51524
commit 3970ecd9a3
18 changed files with 525 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("RR3CommunityServer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fbe421847e7dfad2014a3887a980b21816b089c2")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+934fa5152419080c5b5141b2593477e484c01afe")]
[assembly: System.Reflection.AssemblyProductAttribute("RR3CommunityServer")]
[assembly: System.Reflection.AssemblyTitleAttribute("RR3CommunityServer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]