Files
rr3-apk/SERVER_ASSET_CAPTURE.md

333 lines
8.2 KiB
Markdown

# 🎯 SERVER-SIDE RR3 ASSET CAPTURE GUIDE
**Environment:** OVH Server via RDP
**Status:** 🟢 **OPTIMAL SETUP FOR PRESERVATION**
**Date:** 2026-02-18
---
## ✅ Your Advantages
Server environment is **PERFECT** for this task:
- ✅ Plenty of storage (can mirror everything)
- ✅ Fast network (OVH bandwidth)
- ✅ 24/7 availability
- ✅ Easy traffic capture (Wireshark available)
- ✅ Direct file access (no USB needed)
- ✅ Can run scripts unattended
---
## 📍 STEP 1: Locate Downloaded Assets
### BlueStacks File Locations
```
C:\ProgramData\BlueStacks_nxt\Engine\UserData\SharedFolder\
C:\ProgramData\BlueStacks_nxt\Engine\Android\
%USERPROFILE%\AppData\Local\BlueStacks_nxt\Engine\UserData\SharedFolder\
Inside emulator:
/sdcard/Android/data/com.ea.games.r3_row/files/
/sdcard/Android/obb/com.ea.games.r3_row/
```
### NoxPlayer File Locations
```
C:\Users\%USERNAME%\Nox_share\
C:\Program Files\Nox\bin\BignoxVMS\
Inside emulator:
/mnt/shared/
/sdcard/Android/data/com.ea.games.r3_row/files/
```
### LDPlayer File Locations
```
C:\Users\%USERNAME%\Documents\LDPlayer\
C:\LDPlayer\LDPlayer4.0\vms\
Inside emulator:
/sdcard/Android/data/com.ea.games.r3_row/files/
```
### MEmu File Locations
```
C:\Users\%USERNAME%\Documents\MEmu\
D:\MEmu\MemuHyperv VMs\
Inside emulator:
/sdcard/Android/data/com.ea.games.r3_row/files/
```
---
## 🔍 STEP 2: Find RR3 Assets
### Option A: Use Emulator's File Manager
```
1. Open emulator
2. Open file manager app
3. Navigate to: Android/data/com.ea.games.r3_row/files/
4. Look for:
- .pak files (car/track assets)
- .pka files (asset packages)
- .z files (compressed textures)
- manifest files
5. Share/export to Windows (emulator shared folder)
```
### Option B: ADB Command (From Server)
```powershell
# Check if ADB is available
adb devices
# If emulator is listed, pull files:
adb pull /sdcard/Android/data/com.ea.games.r3_row/files/ E:\rr3\captured-assets\
# Also check OBB directory:
adb pull /sdcard/Android/obb/com.ea.games.r3_row/ E:\rr3\captured-obb\
```
### Option C: Search Windows Filesystem
```powershell
# Search for RR3 asset files on entire server
Get-ChildItem -Path C:\ -Recurse -Include *.pak,*.pka,*.z -ErrorAction SilentlyContinue |
Where-Object { $_.FullName -like "*com.ea.games.r3_row*" } |
Select-Object FullName, Length, LastWriteTime
```
---
## 📡 STEP 3: Capture Network Traffic
### Option A: Wireshark (GUI)
```
1. Download: https://www.wireshark.org/download.html
2. Install on server
3. Start capture on active network interface
4. Filter: http or tls or ssl
5. Let RR3 download
6. Stop capture
7. Filter display: http.host contains "ea.com"
8. Export: File → Export Objects → HTTP
```
### Option B: Microsoft Message Analyzer (Built-in)
```
1. Start → Microsoft Message Analyzer
2. New Session → Live Trace
3. Select network adapter
4. Start capture
5. Let RR3 download
6. Stop and analyze
```
### Option C: tcpdump (Command Line)
```powershell
# If tcpdump is available (WSL or native)
tcpdump -i any -w E:\rr3\capture.pcap host ea.com
# Let it run while RR3 downloads
# Press Ctrl+C when done
# Analyze with Wireshark later
```
### Option D: Fiddler (HTTP Proxy)
```
1. Download: https://www.telerik.com/fiddler
2. Install and run
3. Tools → Options → HTTPS → Capture HTTPS CONNECTs
4. Tools → Options → HTTPS → Decrypt HTTPS traffic
5. Emulator should auto-detect proxy
6. Watch traffic in Sessions panel
7. File → Export → All Sessions
```
---
## 🌐 STEP 4: Extract CDN URLs
Once you have captured traffic, look for:
### URL Patterns to Find:
```
https://cloudcell.ea.com/...
https://cdn.ea.com/...
https://*.cloudfront.net/...
https://s3.amazonaws.com/ea-*/...
Common paths:
/rr3/assets/...
/realracing3/...
/mobile/rr3/...
```
### In Wireshark:
```
1. File → Export Objects → HTTP
2. Look at hostnames column
3. Filter for .pak, .pka, .z files
4. Note the full URLs
5. Export to text file
```
### In Fiddler:
```
1. Filter to show only ea.com hosts
2. Right-click session → Copy → Just URL
3. Paste all URLs to text file
4. Look for asset download patterns
```
---
## 📥 STEP 5: Mass Download Assets
### Once You Have the CDN Base URL:
```powershell
# Example: CDN is at https://cloudcell.ea.com/rr3/assets/
$cdnBase = "https://cloudcell.ea.com/rr3/assets"
$outputDir = "E:\rr3\cdn-mirror"
# Create output directory
New-Item -ItemType Directory -Path $outputDir -Force
# Download with wget (if available)
wget -r -np -nH --cut-dirs=3 -A pak,pka,z,json -e robots=off $cdnBase
# Or use PowerShell (slower but built-in)
# We'll create a script once we know the structure
```
---
## 🔧 QUICK COMMANDS
### Find All Asset Files on Server:
```powershell
Get-ChildItem -Path C:\ -Recurse -Include *.pak,*.pka,*.z |
Select-Object FullName, @{Name="SizeMB";Expression={[math]::Round($_.Length/1MB,2)}} |
Sort-Object SizeMB -Descending
```
### Check Emulator Process Details:
```powershell
Get-Process | Where-Object {$_.ProcessName -like "*Nox*" -or $_.ProcessName -like "*BlueStacks*" -or $_.ProcessName -like "*MEmu*" -or $_.ProcessName -like "*LD*"} |
Select-Object ProcessName, Id, Path, @{Name="MemoryMB";Expression={[math]::Round($_.WorkingSet/1MB,0)}}
```
### Monitor Network Usage:
```powershell
Get-NetAdapterStatistics | Select-Object Name, ReceivedBytes, SentBytes
```
### Check Free Disk Space:
```powershell
Get-PSDrive C | Select-Object Used, Free, @{Name="FreeMB";Expression={[math]::Round($_.Free/1GB,2)}}
```
---
## 📦 STEP 6: Package and Preserve
### Create Archive:
```powershell
# Once all assets are captured
$timestamp = Get-Date -Format "yyyyMMdd"
$archivePath = "E:\rr3\rr3-assets-$timestamp.zip"
# Compress with maximum compression
Compress-Archive -Path "E:\rr3\captured-assets\*" -DestinationPath $archivePath -CompressionLevel Optimal
# Check size
(Get-Item $archivePath).Length / 1GB
```
### Generate Manifest:
```powershell
# Create file list with hashes
Get-ChildItem -Path "E:\rr3\captured-assets" -Recurse -File |
Select-Object FullName, Length,
@{Name="MD5";Expression={(Get-FileHash $_.FullName -Algorithm MD5).Hash}} |
Export-Csv "E:\rr3\asset-manifest.csv" -NoTypeInformation
```
---
## 🎯 WHAT TO DO RIGHT NOW
```powershell
# 1. Check where assets are being downloaded
Get-ChildItem -Path "C:\ProgramData" -Recurse -Include *.pak,*.pka -ErrorAction SilentlyContinue |
Where-Object { $_.LastWriteTime -gt (Get-Date).AddHours(-1) } |
Select-Object FullName, Length, LastWriteTime
# 2. Check emulator's shared folders
Get-ChildItem -Path "$env:USERPROFILE\*" -Recurse -Include *.pak,*.pka -ErrorAction SilentlyContinue |
Where-Object { $_.LastWriteTime -gt (Get-Date).AddHours(-1) } |
Select-Object FullName, @{Name="SizeMB";Expression={[math]::Round($_.Length/1MB,2)}}, LastWriteTime
# 3. Start network capture (if Wireshark installed)
# Or use built-in Windows tools
```
---
## 💡 TIPS FOR SERVER ENVIRONMENT
1. **Keep RDP session active**
- Prevent auto-logout
- Keep emulator running
2. **Monitor disk space**
- Assets could be several GB
- Ensure 20+ GB free
3. **Backup immediately**
- Copy files to separate location
- Consider OVH backup service
4. **Document everything**
- Save URLs to text file
- Screenshot download progress
- Log all steps
5. **Share with community**
- Upload to Internet Archive
- Share in Discord
- Create torrent
---
## 🚨 IF DOWNLOAD STOPS
```powershell
# Check if RR3 process is still running
Get-Process | Where-Object {$_.ProcessName -like "*RealRacing*" -or $_.MainWindowTitle -like "*Real Racing*"}
# Check network activity
Get-NetTCPConnection | Where-Object {$_.OwningProcess -in (Get-Process | Where-Object {$_.ProcessName -like "*Nox*" -or $_.ProcessName -like "*BlueStacks*"}).Id}
# Restart if needed and let it resume
```
---
## 📞 WHAT TO REPORT BACK
1. **What emulator are you using?**
2. **How much has it downloaded?** (MB/GB)
3. **Where are the files located?** (path)
4. **Can you see any URLs in network monitor?**
5. **Do you have Wireshark or Fiddler available?**
Once I know these details, I can give you exact commands to run!
---
**Status:** 🟢 **Waiting for download to complete**
**Next:** Extract URLs, mirror CDN, preserve forever! 🏁