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.
#!/bin/bash
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
fi
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")
dest="$targetdir/$filename"
curl -s -o /dev/null -H "Host: resource.armagetronad.net" \
-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: http://resource.armagetronad.net" \
-H "Referer: http://resource.armagetronad.net/upload" \
-H "Cookie: PHPSESSID=<sessionid>" \
-H "Content-Type: multipart/form-data" \
-F "upload-file=@${file}" -F "upload-path=${dest}" \
-L http://resource.armagetronad.net/upload/file.php
sleep 1
done
Usernames
Armagetron Forums: Light
Lightron.org Kira
RxTron.com Kira