Resource repository

From Armagetron

Resource Repository Server

Files can be uploaded at the Repository Upload page. If you have any questions, feel free to contact Light on his site, clan site, or Armagetron forums.

For bulk uploads, you can attempt to use this bash script. Be sure to find and copy the value of your session cookie from the repository, it should be called PHPSESSID:

  • NB: This script may break if SSL is properly implemented or the repository is converted into a multi-instance repository. If that happens, contact delinquent on the forums, or via @NorthernScrub on discord.

   echo -n "Enter the directory location where the map files are stored: "
   read -r dir
   if [ ! -d "$dir" ]; then
       echo "Error: Directory $dir does not exist."
       exit 1
   echo -n "Enter the intended directory target - e.g: for '/delinquent/ladle/filename.aamap.xml' enter 'ladle': "
   read -r targetdir
   find "$dir" -type f | while IFS= read -r file; do
       filename=$(basename "$file")
       curl -s -o /dev/null -H "Host:" \
           -H "User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/123.0" \
           -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
           -H "Accept-Language: en-GB" \
           -H "Accept-Encoding: gzip, deflate" \
           -H "DNT: 1" \
           -H "Upgrade-Insecure-Requests: 1" \
           -H "Origin:" \    
           -H "Referer:" \
           -H "Cookie: PHPSESSID=<sessionid>" \
           -H "Content-Type: multipart/form-data" \
           -F "upload-file=@${file}" -F "upload-path=${dest}" \
       sleep 1


Armagetron Forums: Light Kira Kira