Trader Converter - Browser Edition
A browser-based converter that transforms TraderConfig.txt and TraderObjects.txt files into the TBDynamicTrader format. No server required - everything runs in your browser!
Features
- 🌐 100% Browser-Based - No server, no Node.js installation needed
- 📤 File Upload - Drag & drop or click to upload
- 📦 Automatic ZIP Creation - All converted files packaged in a single ZIP
- 📊 Progress Tracking - Real-time progress bar and status updates
- 🎨 Modern UI - Clean, responsive interface
- ⚡ Fast Processing - Efficient client-side processing
- 🔄 Category Matching - Automatically matches items to dealer points based on categories
Usage
- Open
index.htmlin any modern web browser - Click the upload area or drag & drop your
TraderConfig.txtandTraderObjects.txtfiles - Configure options (grouping mode, proximity distance, sell tax)
- Click "Convert & Download ZIP"
- Wait for processing (progress bar will show status)
- ZIP file will automatically download when complete
Input Files
TraderConfig.txt
Contains trader definitions with categories and items:
<Trader> TraderName- Defines a trader<Category> CategoryName- Defines a category within a traderItemName, Quantity, BuyValue, SellValue- Item definitions
TraderObjects.txt
Contains trader positions and metadata:
<TraderMarker> ID- Trader ID<TraderMarkerPosition> X, Y, Z- Trader position<TraderMarkerSafezone> Radius- Safezone radius<ObjectOrientation> Yaw, Pitch, Roll- Object orientation
Output Structure
The converter creates the same structure as TraderPlusConverter:
TraderItemConfigs/- Folder containing individual item JSON filesDealerPoints/- Folder containing dealer point JSON filesDealerPoints.json- Main configuration file listing all dealer points
Options
Grouping Mode:
- Group by Proximity - Groups traders within a specified distance
- One Dealer Point per Trader - Creates separate dealer point for each trader
Proximity Distance: Distance in meters for grouping traders (only used with proximity mode)
Default Sell Tax: Sell tax for dealer points (0.0 to 1.0)
Windows Security Warning
If you see a Windows Security Warning when extracting the ZIP file, this is normal. Windows blocks files downloaded from the internet for security. To fix this:
- Right-click on the downloaded ZIP file
- Select Properties
- At the bottom, check the "Unblock" checkbox (if available)
- Click OK
- Now you can extract the ZIP file normally
Requirements
- Modern web browser (Chrome, Firefox, Edge, Safari)
- No additional software or server needed
- JSZip library is loaded from CDN automatically
Technical Details
- Uses JSZip library (loaded from CDN) for ZIP creation
- All processing happens client-side using JavaScript
- No data is sent to any server - complete privacy
- Automatically matches items to dealer points based on category relationships
- Handles various quantity formats (*, S, W, M, V, VNK, numbers)
