Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. # Cheats need to be on for this to work
  2. # Will output whenever an achievement would be earned
  3. # "A Good Listener", "Last Stable Version", "QR Reader", and "Thorough Researcher" will not output due to a game bug
  4. # Make sure the variable LOG_FILE points to your log file
  5.  
  6. import time
  7. LOG_FILE = "C:\Program Files (x86)\Steam\steamapps\common\The Talos Principle\Log\Talos.log"
  8.  
  9. with open(LOG_FILE, "w"): pass
  10. log = open(LOG_FILE, "rb")
  11.  
  12. while True:
  13. latestLine = log.readline()[16:]
  14. if not latestLine:
  15. time.sleep(0.017)
  16. else:
  17. if latestLine.startswith(b"Achievement '"):
  18. print(latestLine.decode("utf-8").split("'")[1])
  19.  
  20. # All obtainable achievement ids:
  21. # BlessedMessenger
  22. # BreakDownBarriers
  23. # ChangedMyMind
  24. # DealWithTheDeceiver
  25. # EternalLife
  26. # ExtremePersistenceDetected
  27. # FreeWill
  28. # HallsOfHisTemple
  29. # HedgingMyBets
  30. # HelpFromAbove
  31. # IntoTheUnknown
  32. # KnowYourLimits
  33. # LOL
  34. # LandOfDeath
  35. # LandOfFaith
  36. # LeaveYourMark
  37. # LogicCheckSuccess
  38. # MakeConnections
  39. # NotACube
  40. # OffTheRadar
  41. # OnTheEdge
  42. # OnTopOfThings
  43. # PressTheSerpent
  44. # SacredGrounds
  45. # SeeDouble
  46. # SigilsAreNotEnough
  47. # SilenceTheSerpent
  48. # Solipsist
  49. # SplitPersonality
  50. # TakeItWithYou
  51. # Transgression
  52. # Uplifted
  53. # Ascension
  54. # First
  55. # FreeAdmin
  56. # WelcomeToGehenna
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement