Tango Patcher: Notepad2 (best alternative to Notepad)

Just like MusikCube is the best music player, Notepad2 is the best notepad. OK maybe it’s not the best but surely it’s the best alternative to the default Notepad in Windows.

Notepad2 features:
– Syntax highlighting: HTML, XML, PHP, ASP (JS, VBS), CSS,
JavaScript, VBScript, C/C++, C#, Resource Script, Makefiles, Java,
Visual Basic, Pascal, Assembly, SQL, Perl, Python, Configuration
Files, Apache Config Files, Batch Files, Diff Files
– Drag & drop text editing inside and outside Notepad2
– Basic regular expression search and replace
– Useful word, line and block editing shortcuts
– Rectangular selection (Alt+Mouse)
– Brace matching, auto indent, long line marker, zoom functions
– Support for Unicode, UTF-8, Unix and Mac text files
– Open shell links
– Very adjustable

As for the Tango Mod:

Installation.

  1. Download the Tango Notepad2 Patcher
  2. Download Notepad2
  3. Place the Notepad2.exe in the folder where the Patcher is and run the .bat file
  4. If you want to replace the default Notepad you need to replace Notepad.exe file in system32 and Windows directories with your freshly patched Notepad.exe

update: The 2.0.18 version Notepad2 is UPX-packed. LKRaider modified the script so the patcher works with the new versions http://lkraider.eipper.com.br/files/share/Tango_Notepad2_Patcher_by_stefeq-UPX_Fix.zip

update#2
People who find the patcher not working – you need to divide the batch into 2 parts (you can paste the following into command line).
1st decompress and patch
ren Notepad2.exe Notepad.exe
upx -d Notepad.exe
reshacker.exe -addoverwrite "notepad.exe", "notepad.exe", notepad.ico, icongroup,100,1033
reshacker.exe -addoverwrite "notepad.exe", "notepad.exe", TangoGnome_toolbar.bmp, Bitmap,100,1033
reshacker.exe -addoverwrite "notepad.exe", "notepad.exe", TangoGnome_toolbar_inactive.bmp, Bitmap,101,1033

2nd compress and delete unnecessary files
upx --best Notepad.exe
del ResHacker.ini
del ResHacker.log

Advertisements

  1. arcel

    i’ve been using notepad2 for quite some time, and i’ve gotta say the icons are great. thx a lot m8!

  2. Hey.
    The Icons look great, but i can’t patch the notepad2.exe. i see the toolbar, but it’s messed up, all icons are wrong. could you send me your notepad2.exe (patched)?
    Thanks!

  3. Found it out now: my notepad2-Version was too new, you need to use Notepad2 2.0.16, not 2.0.0.18, maybe you can add this to your entry.

  4. Wups

    Notepad2 is a good and simple alternative to the windows notepad.
    For everyone who need a bit more advanced texteditor I recommend Notepad++

  5. LKRaider

    Nice 🙂

    For the script to work on the newer versions, you need to unpack the executable first with UPX.

    Get UPX from here (Win32 console version):
    http://upx.sourceforge.net/

    Extract upx.exe to the Notepad2 folder, and edit the runThisScript_TangoGnome_Notepad2.bat file, adding this line in the beggining:
    upx -d Notepad2.exe

    And this line just before the “ren Notepad2.exe Notepad.exe” command:
    upx –best Notepad2.exe

    Then you can execute the patcher and it should work correctly on the newer Notepad2 file 🙂

  6. GaGa

    It`s not working with 2.0.18 version can anyone fix this plz

  7. LKRaider

    Here, I repackaged the patcher with the changes I mentioned so it works on the new version of Notepad2:

    http://lkraider.eipper.com.br/files/share/Tango_Notepad2_Patcher_by_stefeq-UPX_Fix.zip

  8. gushil

    it doesn’t work 😦
    even with the repackaged patcher
    any idea?
    i’ve followed the instruction, either in this page or readme.txt included in package.

  9. I’d really expect a tangofied version of Notepad++

  10. sabsty

    Doesn’t patch. Even tried to spit the original patch, as you said, and the turn out is the same.

  11. .andrew

    one thing i noticed that may be causing some issues is the quotes located in the “break apart” section of this how-to. command prompt does not recognize them as real quotes, you’ll need to go in and delete each quote and replace them with re-typed quotes.

  12. GaGa

    anyone got lucky with this i can`t get it work with any of the 3 ways posted above :S ?

  13. kippax

    @gaga

    I’ve tried these steps, and it worked like charm (tested on Notepad2 ver 2.3.0

    1. Download http://lkraider.eipper.com.br/files/share/Tango_Notepad2_Patcher_by_stefeq-UPX_Fix.zip
    2. Download UPX from http://upx.sourceforge.net/
    3. Extract Tango_Notepad2_Patcher_by_stefeq-UPX_Fix.zip to a folder, say Notepad2Patch
    4. Replace UPX.exe on folder Notepad2Patch with the one from http://upx.sourceforge.net/
    5. Extract Notepad2 (the .exe, ie: notepad2.exe) to Notepad2Patch
    6. Edit the runThisScript_TangoGnome_Notepad2.bat on the Notepad2Patch folder to look like:

    copy Notepad2.exe Notepad2-orig.exe
    upx -d Notepad2.exe

    reshacker.exe -addoverwrite “notepad2.exe”, “notepad2.exe”, notepad.ico, icongroup,100,1033

    reshacker.exe -addoverwrite “notepad2.exe”, “notepad2.exe”, TangoGnome_toolbar.bmp, Bitmap,100,1033

    reshacker.exe -addoverwrite “notepad2.exe”, “notepad2.exe”, TangoGnome_toolbar_inactive.bmp, Bitmap,101,1033

    upx –best Notepad2.exe

    rem ren Notepad2.exe Notepad.exe

    rem del ResHacker.ini
    rem del ResHacker.log
    pause

    7. Run the runThisScript_TangoGnome_Notepad2.bat on Notepad2Patch
    8. File Notepad2.exe On folder Notepad2Patch is the one with the new icon, while Notepad2-orig.exe is the original one.

    Hope it helps

  14. rAX

    in the script, just replace notepad.exe with notepad2.exe in the reshaker’s 3 lines, and there you go

  15. bubersson

    Notepad supports including toolbar icons from file, so I’ve included those icons to Kai Liu’s patched version of Notepad2 (Code-folding, etc…).
    So ready-for-use version 3.1.21:
    http://thaicrew.cz/notepad2metapath.zip
    (including metapath, witch is executed by clicking on the orange icon in notepad2)

  16. Awesome blog! Do you have any tips for aspiring
    writers? I’m planning to start my own blog soon but I’m a little lost on
    everything. Would you recommend starting with a free platform like WordPress or go for a paid option?
    There are so many options out there that I’m totally confused .. Any recommendations? Cheers!

  17. Generally I don’t learn post on blogs, however I would like to say that this write-up very pressured me to try and do so! Your writing taste has been surprised me. Thanks, quite nice post.

  18. I know this web site presents quality dependent posts and extra stuff, is
    there any other site which provides such information in quality?

  1. 1 Notepad Replacement… Tango Style « A Pinboard for the Mind

    […] on windows (and can’t just install gVim), Notepad2 looks like a good text editor… with this patch from the “Unofficial Tango Project” you can also make it look […]

  2. 2 Tango Notepad2: some issues resolved « Unofficial Tango Project Blog

    […] Gnome, Toolbar, Windows, stefeq, update 1) For those who’ve run into issues with patching Notepad2 I’ve posted a command line trick that should help when patching on slower computers. 2) For […]




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



%d bloggers like this: