Terraria – How to reset all achievements

Terraria – How to reset all achievements 1 - steamlists.com
Terraria – How to reset all achievements 1 - steamlists.com

Hey there, welcome to this post, In this guide, we will tell you everything about Terraria – How to reset all achievements Follow this guide each steps.
 
 
SAM and SAM Rewritten are not compatible on MacOS. This guide will teach you how to reset all achievements in Steam's client console, without the need for any other software.
 

Resetting achievements in Terraria using Steam

Here's what I learned from an extended period:
 
 

  1. Utilize Steam's secret console as well as the achievement_clear commands to clear achievements.
  2. You will require the game ID number and achievement id string to unlock this achievement.
  3. We will make use of keyboard simulation because there is no command to "clear all achievements". Instead we will copy the commands into the console of steam.

 
 

How to go about it

 
 

  1. Go to https://steamdb.info/ – [steamdb.info]
     
    and find your game (I will use Terraria), then go to https://steamdb.info/app/105600/stats/ – [steamdb.info]
     
    Look up a table of achievements
  2. Scrape all achievement codes from the first column and paste them into an array of text. You can implement this script by copying it into the console of your browser on the steamdb page.
     
     
     

    console.log(Array.from(document.querySelectorAll('#js-achievements table tr[id^=achievement]')).map(a => a.querySelector('td:first-child').innerText).join('\n'))
    
  3. Start Steam's console by clicking on
     
     

    steam://open/console

     
     
    . You can copy and paste this code into your browser to allow Steam to open.

  4. This is a difficult task because you have to execute a variety of commands, and doing it manually would be slow (I've tried). You'll need to use Oascript to emulate keystrokes.
  5. If you're planning to use this code, you must first execute it using the zsh program. Make sure that your terminal has access to System Events and computer control permissions. Otherwise it won't be capable of copying commands and pressing the'return key' for you.
     
     
     

    echo "tell application \"System Events\" to keystroke \"aboba\" & return" | osascript
    

     
     
    You might see something.
     
     

    zsh: command not found: aboba

     
     
    You're now ready to go!

  6. You can now use this syntax to include a list of prepared lists to the command:
     
     
     

    echo "delay 5\ntell application \"System Events\" to keystroke \"achievement_clear GAMEID ACHIEVEMENTID1\" & return\ntell application \"System Events\" to keystroke \"achievement_clear GAMEID ACHIEVEMENTID2\" & return" | osascript
    

     
     
    Then, you can execute the command. Then, you can quickly get to the console for steam. Concentrate on the input field.
     
     
    Use my script below If you're not sure what "insert prepared list to this command" is.
     
     
    Run the script below in any JS environment, such as an online compiler.
     
     
     

    const GAMEID = 'PASTE_GAME_ID_NUMBER_HERE'
    const list = `
    PASTE YOUR LIST IN PLACE OF THIS LINE. DO NOT TOUCH CODE BELOW
    `
    
    const achievements = list.split('\n').filter(Boolean)
    const commands = achievements.map(a => (
     `\\ntell application \\"System Events\\" to keystroke \\"${`achievement_clear ${GAMEID} ${a}`}\\" & return\\ndelay 0.1`
    ))
    console.log('\n\n\nPASTE COMMAND BELOW TO YOUR TERMINAL, HIT ENTER, THEN FOCUS ON STEAM\n\n\n')
    console.log(`echo "delay 3${commands.join('')}" | osascript`)
    console.log('\n\n')
    

     
     
    Copy the outputted command and paste it into the zsh program. The Steam client should be focused on the console to search for commands.

 
 
Source:
https://gist.github.com/VityaSchel/57a887d680d9f910009669c56561c1a2 – [github.com]
 

 
 
Share your comments on our most recent post, Terraria – How to reset all achievements, and let us know if there’s anything we can do to improve it or if you notice an error. We’ll make the required modifications as soon as we can. We appreciate you so much and wish you a wonderful rest of the day. The inspiration for this piece came from the author/creator VityaSchel. Don’t forget to add us to your bookmarks if you like the post; we update the site frequently with fresh articles.
 


Be the first to comment

Leave a Reply

Your email address will not be published.


*