Difference between revisions of "Wiimm's Custom Archive"

From Custom Mario Kart
Jump to navigation Jump to search
Line 11: Line 11:
  
 
The interface allows searching for tracks or arenas by a list of keywords. Consoles, names, part of names, version numbers, authors and additional attributes can be used as keywords.
 
The interface allows searching for tracks or arenas by a list of keywords. Consoles, names, part of names, version numbers, authors and additional attributes can be used as keywords.
 +
 +
== Searching ==
 +
 +
If [https://ct.wiimm.de/ searching a track], you have to select the track class (tracks or arenas at the moment) and to enter a list of 1 or more keywords.
 +
 +
First the keyword list is normalized: All signs except letters, digits, point and minus signs are removed. Letters are converted to lower case. The same is done for all track names. And now the list of keywords is compared to all track names. At the moment only complete words are compared.
 +
 +
If at least one match is found, maximum 100 tracks are listed. For each track a hit rate rate is calculated and the list is ordered by this rate.
  
 
== Permanent Links ==
 
== Permanent Links ==

Revision as of 20:38, 21 October 2017

Wiimm's Custom Archive is a service by Wiimm. It allows an easy access to his private custom track and arena archive.


Status

All Tracks of Wiimm's track archive were uploaded to the new website https://ct.wiimm.de/. The main goal for the website is to have stable download links of custom stuff. At the moment custom tracks and custom arenas are supported.

Some tracks are marked as private. They exist, but can't be accessed in the moment.

The interface allows searching for tracks or arenas by a list of keywords. Consoles, names, part of names, version numbers, authors and additional attributes can be used as keywords.

Searching

If searching a track, you have to select the track class (tracks or arenas at the moment) and to enter a list of 1 or more keywords.

First the keyword list is normalized: All signs except letters, digits, point and minus signs are removed. Letters are converted to lower case. The same is done for all track names. And now the list of keywords is compared to all track names. At the moment only complete words are compared.

If at least one match is found, maximum 100 tracks are listed. For each track a hit rate rate is calculated and the list is ordered by this rate.

Permanent Links

ct.wiimm.de/d/NUMBER

NUMBER is the internal and unique file id. This ID will never change. So this is the optimal permanent link for other resources like this Wiiki.

If you search a track, the column named Link gives you a link of this kind.

Is using such link, the download file name is the internal and current name of the track.

ct.wiimm.de/d/NAME

If NAME is not a number (contains other characters than digits), it is interpreted a track name of the old archive. A following .wbz or .szs is removed from the name. If a track with this name exists or have existed, then a redirect to the permanent link is created and the download begins.

Plans

  • A bot is planned to replace all links of this Wiki into the old archive by new permanent links.
  • The search engine should be replaced by a better one.
  • Upload service.
  • Changing of laps, speed factor and slots on the fly.
  • Distribution management.
  • many more ...

Development

2017-10-20
  • Start of development.
  • Scan all szs files and store information into a database. Each file gets an unique identifier that will never change, even if the filename will changes.
  • Convert all files to WBZ and use the unique identifier as filename.
  • Upload 3110 WBZ files (4.6GB)
  • Create a new website: https://ct.wiimm.de/
  • Create a PHP script to access the WBZ files.
2017-10-21
  • Create and test an Search Interface. The created links are permanent and can be used in this wiki.