Repository navigation
Closed
Description
Download: v3.8.0
Features
- theme customization
- Dark Theme #3
- theme editor
- convert existing coloring configuration to the custom (user) theme
- autocomplete list coloring
- community themes
- update language files
- documentation
- update translations
- integrate with https://library.sannybuilder.com/
- integrate with Sanny Builder Library files core#8
- automatic/on-demand update
- clicking the bottom panel navigates to the library
- documentation
- Special Hex String Construct for Mobile Label Addresses #33
- Disassembler should retain words in keyword lines #108
- Allow options override via CLI #93
- new debug option "SKIP_EXTRA_INFO" to ignore custom information attached to the compiled script
- String variable constants are not highlighted #140
- User templates should be stored in a separate file and kept between updates #154
- update CLEO+ plugin
- Sanny Builder installs CLEO+ plugin along with other CLEO plugins
- the installer action "Associate with Sanny Builder" changes the Windows Registry for the current user only (Conform to User Account Control on Windows #43 (comment))
- update hotkeys
Bug Fixes
- LCS/VCS support
- [VCS] Game is not playable with a custom main.scm #85
- [Stories] compiler incorrectly assigns a new global variable id #164
- [Stories] compiler incorrectly counts compound conditions #165
- compiler adds 8 redundant bytes in a headless script in LCS/VCS modes
- incorrect data type picked for labels in LCS/VCS modes
- EAccessViolation when attempting to compile via CLI #117
- Constant syntax highlighting doesn't work (associated files) #131
- Critical error in enum interpreter. #139
- Occasional app crashes when Language service is disabled #146
- Disassembler can't properly handle classes with variadic arguments #149
- disassembler incorrectly treats label type in classes
- compiler fails on a deprecated "extended" param (reported here)
- incorrect status of the language service in the status bar
- "New CLEO script" menu item only accessible when another document is open
- template list displays duplicate entries
- CLEO installation from the installer does not work
Activity
x87 commentedon May 30, 2021
3.8.0-alpha.0 is available for preview and testing
List of changes
Download
Please report any issues found in this version.
wmysterio commentedon Jun 1, 2021
My test script compiled without problems, the game didn't crash. I checked out some of the new options. So far I have not seen anything suspicious.
Templates are not added to my code (
CTRL+J). When I press Enter or click, the template name is inserted, not all of its content.x87 commentedon Jun 1, 2021
thank you for checking 👍
VitalRus95 commentedon Jun 1, 2021
All in all, the update is great! I liked the new features, especially theme editor and opcode hints. The existing colour scheme settings have transferred to the new version nice, the only exception being the editor background, I had to set it again but that's a minor inconvenience. That's how SB looks with 3.8.0 alpha:

I also tested compiling a script from command line, works fine now even without
{$NOSOURCE}, thank you, @x87!As for small bugs, there are some:
Other than that, the new version is a big step forward, I like it! By the way, will there be an offline version of the opcode library just in case? Good luck in further development and thanks for making SB better!
x87 commentedon Jun 1, 2021
@VitalRus95 thank you for your support! I will look into the issues you've reported.
in the current implementation the opcode library is completely offline. There are gta3.json/vc.json/sa.json files in the respective mode directories (controlled by the new
<library>property in modes.xml). I plan to make an automatic and on-demand update of those files from within the IDE. Also you can download newer versions from https://github.com/sannybuilder/library and update your local installation.https://github.com/sannybuilder/library/blob/master/gta3/gta3.json
https://github.com/sannybuilder/library/blob/master/vc/vc.json
https://github.com/sannybuilder/library/blob/master/sa/sa.json
x87 commentedon Jun 6, 2021
Published 3.8.0-alpha.1
https://github.com/sannybuilder/dev/releases/tag/v3.8.0-alpha.1
wmysterio commentedon Jun 8, 2021
I have not noticed any problems. A later I will test the CLI options.
VitalRus95 commentedon Jun 8, 2021
Templates now work perfectly fine, thanks! I haven't tested opening a script or source from Windows Explorer, but the rest of the issues I listed above are still present. Also, there's a little problem I encountered as early as in 3.7.0 version of SB:

However, when I click OK, thus closing the error windows, SB continues working without any errors. Strange. But at least there's nothing that breaks the coding, just some inconvenience. I'm glad the programme is getting better and receives new nice features!
x87 commentedon Jun 8, 2021
is this reproducible in 3.8.0? Can you share the sanny.log ?
VitalRus95 commentedon Jun 8, 2021
Yes, it keeps happening in 3.8.0. I would willingly share the .log, but I don't have one near sanny.exe, unfortunately. All I have is these three errors at the same time:

When I close them, SB loads and works like nothing happened.
x87 commentedon Jun 9, 2021
Published 3.8.0-alpha.2
https://github.com/sannybuilder/dev/releases/tag/v3.8.0-alpha.2
VitalRus95 commentedon Jun 9, 2021
@x87, thanks for the new alpha!
Two problems have been fixed:
Two little things remain:
By the way, I noticed that templates are reset to standard ones after installing new versions, which is also an inconvenience, since I, for one, have my own CLEO template and slightly modified standard templates of conditions and loops. It would be cool to have them saved until a serious change is needed.
A thought crossed my mind about templates: maybe if a user creates their own CLEO template, it could be used by SB in “Create new CLEO script” menu option. But these are just suggestions, not a high priority thing to consider.
I like how fast you react to the feedback, good luck with further development! I'll also try to spread the word about the new features that will appear in 3.8.0 to make people more interested in updating. :-)
26 remaining items
wmysterio commentedon Jul 30, 2021
I renamed the specified file ("gta_sa.exe"), since the game starts with this name only once.
I installed CLEO only with the Sunny Builder installer. The file "cleo.asi" existed. Shouldn't it be overwritten?
x87 commentedon Jul 30, 2021
sorry, I'm a bit confused about the order of the steps you made. I see multiple issues here.
Installing CLEO during Sanny Builder installation does not work. Even if you specify the correct directory and select the option install CLEO it does nothing, this code is broken. So after Sanny Builder installation there should be no changes made to the game directory.
I have fixed this and in the next version Sanny Builder's installer should properly copy CLEO files to the game directory.
Selecting game directory during install should work and Sanny Builder should keep this path in the settings. Can you make some testing on your end and confirm that it does not happen to you? Try to make a fresh install, select the game directory and then launch Sanny Builder and see if it has the path in the options?
wmysterio commentedon Jul 31, 2021
@x87 I did tests on "3.8.0-beta.1" and they showed that the path to the game is not saved if the folder does not contain "gta_sa.exe". In all other cases, the path disappears from the settings. If this behavior is expected, then there will be no more questions. I just wondered why the "gta_sa.exe" plays a strong role when only the directory is needed.
x87 commentedon Jul 31, 2021
@wmysterio this is because when you select a directory Sanny Builder should somehow identify the edit mode it belongs to. It can be GTA III, VC or SA. Exe file is a good marker. If, let's say, the directory has
gta3.exeSanny will remember this directory for GTA III edit mode.Possibly this option can be rethought, and instead of asking for one directory the installer could offer 3 different fields, one for each game. Then there won't be a need for an executable in the directory.
wmysterio commentedon Jul 31, 2021
@x87 Hmm, now I installed SB without CLEO and with "gta_sa.exe". Result: edit mode "gta sa 1.0", but the path to the game was not saved o_0. Some strange behavior.
x87 commentedon Jul 31, 2021
@wmysterio can you share settings.ini from this installation?
wmysterio commentedon Jul 31, 2021
@x87 sure, settings.ini.
x87 commentedon Jul 31, 2021
@wmysterio I don't see any game related settings. I looks like the installer was unable to identify the game for that directory. I tried to reproduce the same: created a new folder and added file gta_sa.exe in it. Then I run 3.8.0-beta.1 installer, selected that folder, skipped CLEO library installation and did not run Sanny Builder after installation. My settings ini has the following lines:
Can you do one more experiment. Repeat all steps again, but don't launch Sanny Builder automatically after installation. Go to its folder and share what's in the settings.ini. There should be only a few lines.
this is a default choice if no other edit mode was set.
wmysterio commentedon Jul 31, 2021
@x87 File after these steps, but without autorun:
Hmm, tried another identical test, but with autostart and "settings.ini" it became identical to the lines above o_0. Very strange. I wonder if other users have similar incidents or is it just me? ..
x87 commentedon Jul 31, 2021
@wmysterio so, first of all, there is another issue that I found looking into our initial settings.ini. Installer generates the file with
EditModevalue set to an integer, whereas Sanny Builder expects this option to be a string: https://docs.sannybuilder.com/cli#mode The correct values are 'gta3', 'vc', 'sa'. I have fixed this.As for your observations, I can't say for sure what is going on, but maybe you have multiple Sanny Builder installations and you are installing SB in one directory, but checking settings.ini in the other directory?
wmysterio commentedon Jul 31, 2021
@x87
Before installing, I always delete the "Sanny Builder 3" folder and I will install all new versions from scratch. I also have a "Sanny Builder 3.5.2" folder, but she's unlikely to be involved in this. I'll do some more tests for now. I don’t know what’s going on yet.
wmysterio commentedon Aug 17, 2021
Rapported by @VitalRus95 . The error is also reproducible for me.:
The behavior of the tabs remains the same.
x87 commentedon Aug 17, 2021
@wmysterio we have a ticket #151