San Andreas / Инструменты / Инструменты для создания автомобилей, карт, модов и т. д.
SCM Variable Usage Analyzer
- goodidea82 | загрузил goodidea82
- youtube.com/user/GoodIdea82...
- 11/11/2015
- 11642 Скачивания
Оценки:
Сначала войди в аккаунт.
Избранное:
Videos
Видео пока не добавлены.Войди в аккаунт, чтобы добавить видео к этому моду.
Описание
SCM Variable Usage Analyzer 0.1 by GoodIdea82, 2015
This is a tool for programmers who work with the main.scm. This is for GTA III, VC, and SA.
This is a quick and dirty python script. With this script you can analylze the usage of local and global variables in main.scm. Edit the script and change the
dir variable so that it contains the path to your main.txt. Generate main.txt
by decompiling main.scm using SannyBuilder. This script reads the decompiled
code and creates the files variableUsage.txt and sideEffectFreeVariables.txt.
The file variableUsage.txt finds for all sections (main, missions, external scripts)
which variables are used. After each variable it lists in which other section
the variable is also used. The file sideEffectFreeVariables.txt finds all
variables which occur only in one section and do not occur in main, mission 1,
or mission 2. Hence, the side-effect free variables are used only locally in a
one section. Actually not variables are analyzed by variable expressions.
For example the array access $123($45,i4) and $123(3,i4) may refer to
the same variable if $45=3.
This is a tool for programmers who work with the main.scm. This is for GTA III, VC, and SA.
This is a quick and dirty python script. With this script you can analylze the usage of local and global variables in main.scm. Edit the script and change the
dir variable so that it contains the path to your main.txt. Generate main.txt
by decompiling main.scm using SannyBuilder. This script reads the decompiled
code and creates the files variableUsage.txt and sideEffectFreeVariables.txt.
The file variableUsage.txt finds for all sections (main, missions, external scripts)
which variables are used. After each variable it lists in which other section
the variable is also used. The file sideEffectFreeVariables.txt finds all
variables which occur only in one section and do not occur in main, mission 1,
or mission 2. Hence, the side-effect free variables are used only locally in a
one section. Actually not variables are analyzed by variable expressions.
For example the array access $123($45,i4) and $123(3,i4) may refer to
the same variable if $45=3.
Комментарии
Опубликовано комментариев: 4.
07/12/2017 19:02
awesome , just what i need xd
Old but gold ;)
wow ! #dir = "C:\Games\GTA_SA\SAxVCxLC-Test\data\script\"
Deja Vu from 2015 xD
Цитировать | Ответить | (4)
Old but gold ;)
wow ! #dir = "C:\Games\GTA_SA\SAxVCxLC-Test\data\script\"
Deja Vu from 2015 xD
Цитировать | Ответить | (4)
11/12/2015 21:46
If you download this script, please leave a comment what you want to use it for. I'm just interested.
Цитировать | Ответить | (3)
If you download this script, please leave a comment what you want to use it for. I'm just interested.
Цитировать | Ответить | (3)
