A simple script for Python 3 to extract AoB from a CE script.
Code: Select all
code = """
"""
aob = ''.join([line.split(':')[1].split('-')[0].strip().replace(' ', '') for line in code.split('\n') if line.strip() != '' and not line.strip().startswith('//')])
formatted_aob = ' '.join([aob[i:i + 2] for i in range(0, len(aob), 2)])
print(formatted_aob)
Premise this does not work if you have the opportunity to see the modules activated.
Guide to disable it:
First of all you have to click on "Memory View", then on "View" and then you have to remove the check from "Show Symbols" (I recommend reactivating the tick after use).
(There is no need to do this for all games depends if the game uses Modules or Mono, in that case you do.)
Spoiler
Here are the steps to be made:
Open the script go all the way and select the piece of code from which you want to extract the AoB. Copy the code and paste between
Code: Select all
code = """
"""
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
[Link] [Link] [Link]
I hope it is useful