This is my initial release of OllySubScript, which is a program designed to help in writing scripts for use with the OllyScript/OdbgScript plugin. I tried some similar applications when I started scripting, but they were lacking a lot of features (even simple things like undo/redo), so I made this program to make life a little easier.
I've tried to include as many useful features as possible, including descriptions and examples of every available command. The current features include: - Syntax Highlighting (customizable) - Tabbed pages - List of every command (so far) - Detailed descriptions/examples of commands - Lists all Labels for easy navigation - Lists all Variables - Code Snippets - Code Completion - Simple Macro Recording - Find commands based on OllyDbg shortcuts - Handle Finder tool
I hope you will find this useful, especially if you are just learning to write scripts. Please let me know of any bugs or features you would like implemented and I'll see what I can do. Everything seems pretty self explanatory so there's no help file, but just ask if you need anything explaining. Enjoy!
Change Log ================== Version 1.4 - Added Completion Proposals ---- Completion Proposal for commands (Invoke with Ctrl+Space) ---- Completion Proposal for labels and variables (Invoke with Shift+Ctrl+Space) - The Command Info font will now update to match the editor font
Version 1.3.1 - Fixed a few minor graphical bugs that occurred when the main form was resized.
Version 1.3 - Added right click menus to the Code Snippet & Command Editors - Fixed bugs with new commands: ---- Syntax highlighting didn't work properly ---- Renaming new commands caused problems - Fixed a bug which occurred when opening a script after all tabs had been closed
Version 1.2 - Added Variables List: ---- Show All Variables (not perfect) ---- Show Only Declared Variables ---- Sort Variables - Added Code Snippets & Code Snippet Editor - Added Command Editor - Added Handle Finder tool - Added Format Menu: ---- Indent/Unindent ---- Uppercase/Lowercase ---- Toggle Comment - Option to sort Labels alphabetically - New Highlighting Features: ---- Change background colour ---- Highlight Command List ---- Highlight Variables List ---- Active Line Highlighting - Tabs can now be dragged to change their order - Added Bookmarks to toolbar - Greatly optimised code - Fixed some minor bugs
Version 1.1 - Included Wordwrap function - Fixed a syntax highlighting bug which occurred when using Implicit Variables
Hi, This is ollyScriptEditor, enjoy.(Updated Release) Updated:Jan 2nd 2009 changed the foreground color for default character .
Updated Jan 4th 2009: removed style accept for autocompletion and tips, to remove a bug reported by ahmadmansoor.
Updated on Jan 11th 2009 1-mru is added through right click on the empty portion of the toolbar 2- minimize & close to tray is added 3- tip for key word handle is added
Updated on Feb 2nd 2009: more highlight is added and keywords as well.
Updated on Feb 7 2009: 1-change bitmap for tips 2-added an option to enable\disable autocomplete
Updated to version 9 on 11/2/2009: added author name and file date to status. all most complete tips file added, there are few left ,which can be easily added if needed. if there is no bug reported this will be final.
Updated to version 10 on 23/2/2009: 1- Added a menu to create custom hilite through a color picker 2- reduced filckering 3- fixed a bug related to mru,this should be an old bug so you should redownload.
Updated to version 11 on 2/3/2009:
added Save as to child popup menu . mru is tuned to reflect not found file.
Updated to version 12 on 4/3/2009: menu is added to include variable in autocomplete as requested by ahmadmansoor. Corrected typing error in menu+some other small things.
Updated to version 13 on 11/3/2009: 1-added a menu to run script in ollydbg. 2-edit some menu names to more meaningful names.
Updated to version 14 on 16/3/2009: 1-Fixed Var bug reported by ahmadmansoor (Thank you ahmadmansoor for your reports,I could not do without) 2- Demo on how to use is included.
Updated to version 15 on 22/3/2009: 1-fixed small leak in var 2-added option in TestMe menu to debug script (Thank you SunBeam for the suggestion). 3-added a function in ODbgScript to enable debuging 4- added a menu in OSWrite plugin to patch ODbgScript.dll to work with modified ollydbg
Updated to version 16 on 25/3/2009: fixed tips's minor bug, reported by SunBeam(Thanks again SubBeam for the bug report).
Updated to version 17 on 27/3/2009 drag and drop is added (Thanks SunBeam for the suggestion and helpful debugging). once you drag , then the MRU and fileopened menu will be updated instantly. Recompiled ODbgScript.dll v1.67.3 for OSWrite.
Updated to version 18 on 3/4/2009: 1-add ability to lunch exe in ollydbg by dragging a short cut or an execute into oswrite 2-restricted oswrite, it is now except script files only; that is file with extension .txt or osc. 3- add option in testme menu to clear default oswrite debugger.(start ollydbg in presence of oswrite to set the default debugger).
Updated to version 19 on 8/4/2009: 1-added a skin menu (Thank you SunBeam for this one) 2- added setting menu (now you can set OSWrite to exit on closing).( Thanks goes to SunBeam as always). 3- small cosmetic changes. Regards.
Updated for tiny open skin dialog bug.
Updated to version 20 on 13/4/2009:
1-some menu names are changed as suggested by SunBeam to more meaningful names.(thanks SunBeam). 2-have oswrite sets scriptwindow always on top.
Updated to version 21 on 15/5/2009:
1- no popups in comments or in strings while they are active. 2- no need for space before comments; only for readability.(for var extraction). 3- var menu is slightly changed.
Updated to version 22 on 21/5/2009:
added win32help file for api help. To use, please position cursor on api and press F1 key. Please copy win32help file to OSWrite folder, here is a link if you don't have it http://rapidshare.com/files/235619602/WIN32.rar.html
Updated: Only download if you have the Winmsg.dll error, I removed the Winmsg.dll that shouldn't be there, I used it to test long time ago but I forgot all about it. My apology
Updated to version 23 on 8/6/2009:( any one downloaded this file before please redownload).
1-added patterns paste "PtrnPaste" function to ease testing and using code patterns. 2-revived some internal code of both OSWrite.exe and OSWrite.dll.
2nd update for small bug. redownload.
Updated to version 24 on 6/7/2009: (Thank you CCDebuger for Your suggestions). 1-Added selection to languages that require two bytes to display char. 2-Added ability to run untitled script without the need to save it. 3-Added ability to tile and cascade windows. 4-Added ability to clear Mru. 5-Added ability to clear one file from mru. 6-Added ability to set script folder path. 7-Added ability to store size, position,style,font ect... 8-Added font requester 9-Added ability to restore to default size.
I imposed a limit to window's max size to fix a bug from my skin engine. if anyone downloaded oswrite24test.rar, please download this file instead.
Updated on 8/7/2009: 1- fulfill ccdebuger need by adding font requester for the style font. 2- implemented the workaround for max mentioned above.
I've made a quick update (1.4.1) to fix the problems pointed out by CCDebuger. I was unaware of the fact that Ctrl+Space is already assigned in Chinese OS's, so I've added the option to change both completion proposal shortcuts. The option is under the Completion Proposal tab. I've also fixed the Command Editor to match the main editor font, which I'd completely overlooked last time. By the way the ecAutoCompletion shortcut is for a component I haven't used. Auto Completion is different to Completion Proposals, so that's why changing it did nothing.
@Mr.X: Thanks man, I'm glad you like it
Sub Xero
EDIT: I noticed that a copy of OllySubScript had been translated into Russian. Since I've not designed the application to be translated, it must have been quite a pain to patch all the strings. I don't have any experiance with software localization, but if people would like this translated I'd be willing to give it a go. I only speak English, so I would require volunteers to translate it. Anywho, let me know what you think.
Change Log ================== Version 1.4.1 - Added an option to change the completion proposal shortcuts - Fixed the Command Editor font to match the main font
added Go To Lable as requested by ccdebugger. change some styles to upper case. some internal changes. note: 1-copy oswrite.dll and ODbgScript.dll to your plugin folder. 2-use oswrite.dll plugin to patch ODbgScript.dll if you are using moded ollydbg. 3-if you are using oswrite maximized and you change your skin, please maximize the new skin and close then restart oswrite. your skin will now be correctly sized.
Updated to version 26 on 28/7/2009: 1-added simple auto indentation for coding.it can be disabled at any time. 2-fixed copy &paste bug I am in habit of forgetting.
Updated on 12/9/2009 to version 28: (please get it from my post 126)
1-recoded adding variables to autocomplete for a better and easy way.
A-selecting "add scripts window's variable" at any time will add variables
declared or not to autocomplete as well as used labels, in active script.
B-selecting "add typed variables" will add variables as you type them(toggled menu)
as well as used labels.
2-recoded part of oswrite.dll to be efficient,will be obvious if you have a lot of
messages on the queue.
note:
1-all variables and labels must always start with non digit char.
2-all numbers must start with digit, if you are using hex, prefix it with a zero as in "0fff".
3-non used labels will not be added to autocomplete.
4-Please use "ODbgScript.dll" included in earlier version.(sorry forgot to include in version 28)
1-Added an option in script pop up menu to lunch default OllyDbg.
2-Added the decimal char to be allowed as part of a variable name.
3-Added flag registers to be highlighted as registers.
4-Change the state of script from being dirty(modified)after scan for variables to avoid
Unnecessary saving.
Epsylon3 is kind enough to include needed code for oswrite, please use the latest version of ODbgscript.
1- Hovering over the upper half of the right edge of the frame window will display label indow,however, some skins will prevent this feature from working,in this case, you can always use GetLables menu in the script popup menu.
3- Alt+F2: Toggle breakpoints;Alt+F3: delete all breakpoints.(no breakpoint for untitled)
4-CONTROL+F2: Toggle bookmarks;CONTROL+F3: Delete all bookmarks.
5- Tile windows vertically to compare scripts.
6- Added close ollydbg, and launch last target , due to the nature of ollyscript, so if you want to add new break point and test , right click on script and close ollydbg; if it is running, set break points you want then restart ollydbg using launch last target in the script pop up menu
7- Added tab feature,goto line,find & replace, breakpoint, bookmarks,launch ollydbg with last target,close ollydbg,and may be other ones I might forget to list, you may come cross them.
1-Put back the option for setting comment font as requested by CCDebuger
2-Fixed An issue with breakpoint setting
3-Added hilites for most 16 and 8 bit registers
updated on 16/1/2010 to Version 33:
1-Added an option to set custom color as requested by ccdebuger
2-Added escape key to toggle auto-indent
3-Set Label window to hide on losing focus only.
4-Label window can be brought up by hitting Pause key or hovering over the right edge of the main frame as mentioned above or by selecting Getlabel from scriptwindow right click menu.
1-Added tip font option setting
2-Added Reset tip font option
3-Added Myfont toggle option
4-Added Reset color
5-added tip font key word color
6-Set autocomplete font to match selected font
7-Now color application is set to be instant if mycustomcolor toggle option is on
8-Color setting now is set to apply to all open script windows.