|
|
bfd37dc7c2
|
Add Game Asset Preservation System Foundation
DATABASE SCHEMA:
+ GameAsset entity added to RR3DbContext
- Asset identification (ID, type, filename)
- EA CDN tracking (original URL, CDN path)
- Local storage (path, size, SHA256)
- Metadata (downloads, access count, timestamps)
- Game-specific (carId, trackId, category)
FEATURES:
- Track all cached assets in database
- Store EA CDN URLs while available
- SHA256 integrity checking
- Access statistics
- Category organization
- Version tracking
PURPOSE:
Foundation for full asset caching system.
Next step: AssetsController with EA CDN proxying.
STORAGE STRUCTURE:
wwwroot/assets/
├── cars/
├── tracks/
├── textures/
├── audio/
├── models/
└── misc/
PRESERVATION STRATEGY:
Phase 1 (EA online): Proxy + cache assets
Phase 2 (EA offline): Serve from cache
Result: Complete game preservation! 🎮💾
Package added: Microsoft.Extensions.Http (for CDN proxying)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
2026-02-17 22:50:04 -08:00 |
|