Sadly, once the forums shuts down, there's no returning it. Unless you can somehow self host the forums by convincing Hampa to send you ALL of the files, which is ignoring all the hidden threads, staff-only stuff, permissions management, payment and addresses, IP and location information, I doubt the forums will ever return. Unless you have enough money to persuade him and physically purchasing his hardware.
Discord exists and has been the primary mode of connection for many since 2018, and it has the advantage of having a static invite link (
https://discord.gg/toribash) that's been referred in the game as soon as you open it, so anyone that downloads and plays the game will find their way to the Discord server eventually. Unfortunately this means that in the case that Discord revamps its links or flat out disappears, Toribash will no longer have a direct link to its community, but owell Let's focus on archiving today instead of in 2036.
What about the attachments on the forums? Well... The link to attachments is
https://forum.toribash.com/attachmen...attachmentid=# so if the goal went from "try to download EVERYTHING" to "download only attachments uploaded to threads" then it's doable with a script that downloads every attachment id by incrementing it up by 1. The question now becomes do you have enough storage to download all of that?
I've attached something to this post just to see how many IDs exists and will put it here.
Edit: As of writing this, the number of attachments on the forums is 633,670. Using forum.toribash.com/newattachment.php link, the biggest file size possible ranges from 9.8 KB for .inc file format and 10 MB for the .mdmp file format.
This means if EVERY file was a 1 byte file, it'd be 0.604 MB, and if they were 10 MB .mdmp files, the size explodes to 6.04 TB. Realistically, it's way lower than 6.04 TB, but WAY higher than a few GB's, so good luck downloading every attachment there ever was if you wanted to archive the forums' attachments. I'd not be surprised if attachments were more than a terabyte.
Of course, this goes without saying that EVERY attachment has to be sorted, from images to shader files, from replay files to lua scripts, and so on. Good luck.