Results 1 to 4 of 4

Thread: Syntax Highlighting for OllyScript in UltraEdit

  1. #1

    Syntax Highlighting for OllyScript in UltraEdit

    I am using UltraEdit, and alway view and edit OllyScript in UltraEdit. I have created a language define for OllyScript in UltraEdit to enable syntax highlighting. If you enjoy, you can copy the below text, append to the wordfile.txt file in UltraEdit folder, and change the Lxx"OllyScript" to the next free language number.

    /Lx"OllyScript" Nocase Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char = \ String Chars = "#? File Extensions = osc
    /Delimiters = ~^&*()-+=|&#92;/{}[]:;"'<> ,. ?
    /C1"Reserved variables"
    &#036;RESULT
    &#036;VERSION
    CODEBASE CODESIZE
    MODULEBASE MODULESIZE
    /C2"Commands"
    #INC
    #LOG
    ADD AI AN AND ASK ASM AO
    BC BP BPCND BPL BPLCND BPMC BPHWC BPHWS BPRM BPWM
    CMP CMT COB COE
    DBH DBS DEC DM DMA DPE
    EOB EOE ESTI ESTO EVAL EXEC ENDE
    FILL FIND FINDOP
    GN GPA GO GMI
    INC
    JA JAE JB JBE JE JMP JNE
    LBL LOG
    MOV MSG MSGYN
    OR
    PAUSE
    REPL RET RTR RTU RUN
    SHL SHR STI STO SUB
    TI TICND TO TOCND
    VAR
    XOR
    /C3"Registers"
    EAX EBX ECX EDX ESI EDI EBP ESP EIP
    /C4"Flags"
    !CF !PF !AF !ZF !SF !DF !OF

    We also can enable help for keyword of OllyScript in UltraEdit by add an item to OllyScript.chm into UltraEdit help menu . UltraEdit supports the CHM help file. But the current OllyScript.chm did not build with index support. We need a new OllyScript.chm file.

    Hope you will like it.
    Regards !
    TQN

  2. #2
    g30rg3_x
    Guest

    Syntax Highlighting for OllyScript in UltraEdit

    woah, its more great reading scripts with this add

    thanks TQN
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  3. #3
    hacnho
    Guest

    Syntax Highlighting for OllyScript in UltraEdit

    i use EmEditor 4.04 for write my script. Me too, I have created a language define for OllyScript in EmEditor to enable syntax highlighting

    View the demo at
    http://nhandan.info/hacnho/temp/OllyScrip_EmEditor.jpg


    Use: Copy this code and save as script.esy

    Code:
    ; EmEditor Syntax File
    ;
    ; To import this file to an existing configuration, select Configuration
    ; under the Tool menu, select Define Configurations, select a configuration
    ; you want to import to, press [Properties], select the Highlight page, and
    ; press [Import].
    ;
    ;Syntax for OllyScript (http://ollyscript.apsvans.com) 
    ;written by hacnho/VCT2k4 (hacnho@hotmail.com)
    
    #Highlight=on
    #BeginTag=
    #EndTag=
    #CommentBegin=/*
    #CommentEnd=*/
    #LineComment1=//
    #LineComment2=
    #SingleQuote=on
    #DoubleQuote=on
    #ContinueQuote=off
    #Escape=
    #ScriptBegin=
    #ScriptEnd=
    #SpecialSyntax=off
    #HighlightBraces=off
    
    #Keyword color=3,word=on,rightall=off,case=off,insidetag=off,regexp=off
    EAX
    EBX
    ECX
    EDX
    ESI
    EDI
    EBP
    ESP
    EIP
    
    #Keyword color=7,word=on,rightall=off,case=off,insidetag=off,regexp=off
    !CF
    !PF
    !AF
    !ZF
    !SF
    !DF
    !OF
    
    #Keyword color=5,word=on,rightall=off,case=off,insidetag=off,regexp=off
    &#036;RESULT
    &#036;VERSION 
    CODEBASE
    CODESIZE
    MODULEBASE
    MODULESIZE
    
    #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off
    ^#INC
    ^#LOG
    ADD
    AI
    AN
    AND
    ASK
    ASM
    AO
    BC
    BP
    BPCND
    BPL
    BPLCND
    BPMC
    BPHWC
    BPHWS
    BPRM
    BPWM
    CMP
    CMT
    COB
    COE
    DBH
    DBS
    DEC
    DM
    DMA
    DPE
    EOB
    EOE
    ESTI
    ESTO
    EVAL
    EXEC
    ENDE
    FILL
    FIND
    FINDOP
    GN
    GPA
    GO
    GMI
    INC 
    JA
    JAE
    JB
    JBE
    JE
    JMP
    JNE
    LBL
    LOG
    MOV
    MSG
    MSGYN
    OR
    PAUSE
    REPL
    RET
    RTR
    RTU
    RUN
    SHL
    SHR
    STI
    STO
    SUB
    TI
    ICND
    TO
    TOCND
    VAR
    XOR
    I promise that I have read the FAQ and tried to use the Search to answer my question.

  4. #4
    psyCK0
    Guest

    Syntax Highlighting for OllyScript in UltraEdit

    Hehe, nice stuff gentlemen! Will be added to site as soon as its up =)
    I promise that I have read the FAQ and tried to use the Search to answer my question.

Similar Threads

  1. MASM Syntax.
    By Innocent in forum The Newbie Forum
    Replies: 3
    Last Post: September 27th, 2004, 11:16
  2. Log data: Syntax error; cause of source code issue
    By casterle in forum OllyDbg Support Forums
    Replies: 10
    Last Post: September 12th, 2004, 14:38
  3. bug in OllyScript 0.92 !
    By shERis in forum OllyScript Plugin
    Replies: 3
    Last Post: August 25th, 2004, 21:44
  4. Is this possible with OllyScript?
    By Anonymous in forum OllyScript Plugin
    Replies: 3
    Last Post: February 23rd, 2004, 01:40
  5. HVIEW vs UltraEdit vs HexWorkshop.
    By IceWaVe in forum Advanced Reversing and Programming
    Replies: 6
    Last Post: January 1st, 2001, 21:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •