I don't have the time to write the script for it anytime soon, but this is all the information needed to fix the track query function so ya'll can easily download tracks. If someone does take the time for fixing it, I can provide the hosting if needed for it.
Code: Select all
4x4 Evolution Track Query Script/Response Breakdown
INPUT:
Example:
www.4x4evolution.com/test.txt?ver=2&lang=english&plat=Intel&first=0&count=19&name=TrackName&author=AuthorName&content=p&sort=filename"
TrackQueryURL:
www.4x4evolution.com/test.txt
This address is defined in the backend.txt stored on 4x4evolution & dreamcast-talk.com.
Version:
?ver=2
Version number, no information as to what it did
Language:
&lang=english
Language, it appears to always be English with no other options.
Platform:
&plat=Intel
Type of machine you are running. (Intel = PC, Mac, Dreamcast, PX2 = PS2 (Unused), XBox (Unused))
First Result to show:
&first=0
Used for page views, a higher number will show other results
Total to show:
&count = 19
Determined by screen resolution, DC = 7, absolute maximum of 25
Track name:
&name=<TRACKNAME HERE>
Likely search for a string somewhere inside a track name
Author name:
&author=<AUTHORNAME HERE>
Likely search for a string somewhere inside an authors name
Content
&content=p
Type of track p = POD file (Dreamcast can not use POD files), l = LTE file
Sort Type:
&sort=name
Type of sorting for the query. (filename, name, smallest, largest, mostDownloads, newest)
OUTPUT: (This is returned after the query)
EXAMPLE:
--PAK_CHOOIE_UNF--
0
1
STARTMU
www.4x4evolution.com/tracks/Evo1LTE/[RCG]CrazyOffroad.LTE
[RCG]Crazy Offroad
TEST DESCRIPTION
TEST AUTHOR
38263
1
L
1999-09-09
0
--GRABUALSA--
Breakdown:
--PAK_CHOOIE_UNF-- // Command start the start reading the query
0 // First result, used for other pages
1 // Amount of results to show (Limited by screen resolution
STARTMU // Command to return read a result, THIS IS DONE BEFORE EACH LISTING
www.4x4evolution.com/tracks/Evo1LTE/[RCG]CrazyOffroad.LTE // Full download URL of the track
[RCG]Crazy Offroad // Name of the track
TEST DESCRIPTION // Description of the track
TEST AUTHOR // Author of the track
38263 // Size of the file to download
1 // Race mode? (Doesn't seem to be used here)
L // Track file type L = LTE (Dreamcast/PC), P = POD (PC Only)
1999-09-09 // Date YYYY-MM-DD format
0 // Total downloads
--GRABUALSA-- // Command to end the query without error, use STARTMU to add another result