Christian d'Heureuse's MiniRunAs is good, but it doesn't handle domain logins.
I forked for this and added "." or "?" as domain for local account. (MSDN states using "." or NULL domain for local accounts but from my testing it doesn't work when logged in as domain user and using MiniRunAs to run as local account.)
Download: miniRunAs.zip (Compiled with TinyCC)
Showing posts with label c++. Show all posts
Showing posts with label c++. Show all posts
Tuesday, March 10, 2015
Thursday, March 5, 2015
DeTAR for DOS Micro-C edition
I fixed and minified its size by using Micro-C compiler and removed listing function.
So it is now a little bit smaller than TUNZ.com but supporting sub-directories. With TUNZ and DeTAR I can pack MHDD solidified with 5120-byte unpacker.
Download: detar-mc.zip
EDIT: I also made a version deal with store-only ZIP files (EXSTRZIP). And it is even smaller than DeTAR!
Download: exstrzip.zip
So it is now a little bit smaller than TUNZ.com but supporting sub-directories. With TUNZ and DeTAR I can pack MHDD solidified with 5120-byte unpacker.
Download: detar-mc.zip
EDIT: I also made a version deal with store-only ZIP files (EXSTRZIP). And it is even smaller than DeTAR!
Download: exstrzip.zip
Sunday, December 21, 2014
otf2bdf (self forked)
I forked otf2bdf for meeting my own needs as well. Changes:
* add `-A' switch for no-autohint
* add `-a' switch for force autohint
* add `-B' switch for no embedded bitmap
* add `-g x' switch for selecting hinting algorithm (x=0-4)
* Commented out Determine the actual bounding box of the glyph bitmap part, instead, use FT_Glyph_Get_CBox()
* Extends dump area to whole valid Unicode codepoints (U+10FFFF)
Download: otf2bdf-3.1rt.zip (Win32 binary+source)
* add `-A' switch for no-autohint
* add `-a' switch for force autohint
* add `-B' switch for no embedded bitmap
* add `-g x' switch for selecting hinting algorithm (x=0-4)
* Commented out Determine the actual bounding box of the glyph bitmap part, instead, use FT_Glyph_Get_CBox()
* Extends dump area to whole valid Unicode codepoints (U+10FFFF)
Download: otf2bdf-3.1rt.zip (Win32 binary+source)
bdf2ttf (self forked)
Since MURAOKA Taro (KoRoN) has changed his website and no longer having a valid link to his bdf2ttf, I forked and enhanced bdf2ttf for meeting my own needs:
- added `-g' switch for multi-width (proportional) fonts
- added `-f' switch for generating TTF which has Unicode code points larger than U+FFFF
Download: bdf2ttf-2.1.zip (win32 binary+source)
- added `-g' switch for multi-width (proportional) fonts
- added `-f' switch for generating TTF which has Unicode code points larger than U+FFFF
Download: bdf2ttf-2.1.zip (win32 binary+source)
Friday, September 12, 2014
bdfbmp-tools
I made a little change so bmp2bdf with respect characters' DWIDTH.
and they are now compiled with TinyCC, so they are lots smaller than original one. :)
Download: bdfbmp-tools.zip (binary + source)
and they are now compiled with TinyCC, so they are lots smaller than original one. :)
Download: bdfbmp-tools.zip (binary + source)
Tuesday, July 29, 2014
16Edit custom edition
I made some minor changes to 16Edit 1.04 by Slangmgh, which is based on yoda's 16Edit module.
- HexEditWnd: add INI entries for Font name, height, quality
- DialogProc: fix Pressing Esc not closing Search/Replace Dialog
- rsrc: fix Replace dialog caption, fix Combo Box styles
Source(VC6)+binary: 16Edit.7z
- HexEditWnd: add INI entries for Font name, height, quality
- DialogProc: fix Pressing Esc not closing Search/Replace Dialog
- rsrc: fix Replace dialog caption, fix Combo Box styles
Source(VC6)+binary: 16Edit.7z
xdelta win32 binaries
I just found that there is still some use of old xdelta-1.x, but there is no latest 1.x branch win32 binary on the web!
So I built one with gcc-4.8.1, glib-1.2.10:
xdelta-1.1.4-mingw.7z
And official xdelta3 win32 binary is XP or later required, so I rebuilt liblzma and xdelta-3.0.8 with MSVC 2005:
xdelta3-3.0.8-vc8.7z
So I built one with gcc-4.8.1, glib-1.2.10:
xdelta-1.1.4-mingw.7z
And official xdelta3 win32 binary is XP or later required, so I rebuilt liblzma and xdelta-3.0.8 with MSVC 2005:
xdelta3-3.0.8-vc8.7z
Tuesday, July 22, 2014
Universal IPS Patcher
In 2003, Steve Nickolas wrote an IPS Patcher in C and compiled AmigaOS binary.
I made some changes so it makes patches goes to new file but not writing to original file.
Source+binary(Win32 TCC compiled):
uips.7z
uips2.7z
Change log:
[140722] Fixed "0x454F46 (EOF) offset bug"
[140722] Added IPS Maker (ported from IPSexe)
[140722] New IPS Patcher and Maker for beyond 16MB records (named "IPS2", same method as IPS, but incompatible with original IPS because of IPS specification limits)
Modification details:
- Changed Header to '_PATCH' (6 bytes) to avoid misdetection by other IPS patchers
- Changed Offset to 4 Bytes (same encoding as IPS, but keeping Most Significant Byte which original IPS format drops)
- Changed EOF mark to '_EOF' (4 bytes) to fit Offset size change
I made some changes so it makes patches goes to new file but not writing to original file.
Source+binary(Win32 TCC compiled):
uips.7z
uips2.7z
Change log:
[140722] Fixed "0x454F46 (EOF) offset bug"
[140722] Added IPS Maker (ported from IPSexe)
[140722] New IPS Patcher and Maker for beyond 16MB records (named "IPS2", same method as IPS, but incompatible with original IPS because of IPS specification limits)
Modification details:
- Changed Header to '_PATCH' (6 bytes) to avoid misdetection by other IPS patchers
- Changed Offset to 4 Bytes (same encoding as IPS, but keeping Most Significant Byte which original IPS format drops)
- Changed EOF mark to '_EOF' (4 bytes) to fit Offset size change
Monday, March 24, 2014
touch utlity (public domain version by myc01)
myc01's public domain touch utility is good, but I really hate the mandatory '--' switch, and not creating files (as a bug). So I hack it up and fixed these 2 issues.
Source+Binary: touch.7z
Source+Binary: touch.7z
Friday, March 14, 2014
jpegstripper
dwing's ujpg is good, but it is not open-sourced, and ujpg will strip out Adobe APP14 marker from JPEG YCCK image, which is vital to those files.
So I wrote my own, modified from my own jpginfo.
Download source+binary: jpegstripper.zip
Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr
- add YCCK marker fixing switch "-y"
So I wrote my own, modified from my own jpginfo.
Download source+binary: jpegstripper.zip
Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr
- add YCCK marker fixing switch "-y"
Thursday, March 13, 2014
jpginfo
When I tried to debug why mozjpeg jpegtran segfault with certain files, I have a look on libjpeg and nanojpeg source code, and write a JPEG information tool which returns image resolution, number of color components, color space, and file type.
Download source+binary: jpginfo.zip
Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr
Download source+binary: jpginfo.zip
Changelog:
[20140316]
- print filename in error messages
- treat ncomp=3 without RGB compid as YCbCr
Wednesday, January 30, 2013
GNU HTTPTunnel MinGW build
I ended up hacking GNU HTTPTunnel 3.3 sources with gnulib making it compiles in MinGW, so no more cygwin1.dll!
Binary:
httptunnel-3.3-mingw.7z
Source:
httptunnel-3.3-mingw-src.7z
Binary:
httptunnel-3.3-mingw.7z
Source:
httptunnel-3.3-mingw-src.7z
Monday, October 29, 2012
df-3.5 standalone and volumes.exe
for the time being, df for windows is not available, the only available version floating around on the net is version 3.5 from brothersoft (yeah I really hate its Downloader-Installer and I have to run it in sandboxie).
The original version links dynamically to libgcc_s and libstdc++ library, which bloats the package so much. I relinking it to static libgcc and libstdc++ to give a small, standalone binary.
Download: http://roy.orz.hm/gpc/files1.rt/df-win-3.5.zip
But I still not prefering using C++ in such small program, so I modified the MSDN example about Displaying Volume Paths.
The whole development environment is just TinyCC(my git mob build with somewhat more complete imports is available here), GreenPad, a Command Prompt Window (you may try ConEmu, but I'd prefer multi-window environment), and a web browser (for finding references).
Developing with TinyCC is fun. You don't need to compile for testing. Just run
Download: http://roy.orz.hm/gpc/files1.rt/volumes-r5.zip
31 Oct 2012 Update: volumes ver5
- Support Windows 2000
- add "-rf" switch for real floppy
- fix showing garbage when using -u0 switch
- able to append undetected drives(network drives, etc.) to detected list when -a switch
- added "volumes-classic" for Windows NT which checks drive letters only
28 Oct 2012 Update: volumes ver4
- add "-r" switch
- able to show individual drives
- not showing ".00" anymore in -u0 mode
The original version links dynamically to libgcc_s and libstdc++ library, which bloats the package so much. I relinking it to static libgcc and libstdc++ to give a small, standalone binary.
Download: http://roy.orz.hm/gpc/files1.rt/df-win-3.5.zip
But I still not prefering using C++ in such small program, so I modified the MSDN example about Displaying Volume Paths.
The whole development environment is just TinyCC(my git mob build with somewhat more complete imports is available here), GreenPad, a Command Prompt Window (you may try ConEmu, but I'd prefer multi-window environment), and a web browser (for finding references).
Developing with TinyCC is fun. You don't need to compile for testing. Just run
tcc -run volumes.c and it will run in memory. Passing arguments will work also, just like writing Perl scripts.D:\>volumes.exe -?
volumes [-v] [-g] [-a] [-r[f]] [-u#] [-?] [drive|path...]
-v be verbose (-g switch will be turned off)
-g draw gauge of free space
-a append drive|path to detected list
-r[f] detect removable device free space (-rf for real floppy drive)
-u[num] use unit # (0=byte, 1=KB, 2=MB, 3=GB, 4=TB)
-? show this help and exit
drive|path... show individual drives
example: C: D: F:\mountpoint\Download: http://roy.orz.hm/gpc/files1.rt/volumes-r5.zip
31 Oct 2012 Update: volumes ver5
- Support Windows 2000
- add "-rf" switch for real floppy
- fix showing garbage when using -u0 switch
- able to append undetected drives(network drives, etc.) to detected list when -a switch
- added "volumes-classic" for Windows NT which checks drive letters only
28 Oct 2012 Update: volumes ver4
- add "-r" switch
- able to show individual drives
- not showing ".00" anymore in -u0 mode
Monday, June 20, 2011
repng2jpeg 1.0.4.2
repng2jpeg is a simple image resizer using libgd.
Supported Input: PNG, JPG, GIF, BMP[added in 1.0.4.1]
Supported Output: PNG, JPG, GIF, BMP[added in 1.0.4.2]
Download Win32 Binary: repng2jpeg-win32.zip
svn source repository: http://rtoss.googlecode.com/svn/repng2jpeg/
Change since 1.0.4:
Supported Input: PNG, JPG, GIF, BMP[added in 1.0.4.1]
Supported Output: PNG, JPG, GIF, BMP[added in 1.0.4.2]
Download Win32 Binary: repng2jpeg-win32.zip
svn source repository: http://rtoss.googlecode.com/svn/repng2jpeg/
Change since 1.0.4:
- [1.0.4.2] added BMP writing support (requires libgd 2.1.0-alpha)
- [1.0.4.1] added BMP reading support (requires libgd 2.1.0-alpha)
Sunday, May 15, 2011
Winamp Plugin: Titlebar Info 1.53.1
Binary(Unicode): Download
Sources (svn): http://rtoss.googlecode.com/svn/gen_tbar/
Changes from 1.53:
Changes from gen_tbar_2 1.52:
Sources (svn): http://rtoss.googlecode.com/svn/gen_tbar/
Changes from 1.53:
- remove chrome from blacklist
- add title bar redraw hack
Changes from gen_tbar_2 1.52:
- add chrome window class to blacklist
- Updated Winamp SDK (5.55)
- Updated StdString.h (2006-2-21)
- Unicode build available (gen_tbar\Release_2_Uni\gen_tbar_2.dll)
- Build with VC.NET 2003 SP1
Saturday, April 9, 2011
My Enhanced UnxUtils xargs
Binary: xargs.7z
Source: UnxUtilsSrc-findutils.7z
Source repository: http://rtoss.googlecode.com/svn/UnxUtils/
Changes:
Source: UnxUtilsSrc-findutils.7z
Source repository: http://rtoss.googlecode.com/svn/UnxUtils/
Changes:
- Added "-w" (--whole-line) switch (like "-d '\n'" in later versions, but this will quote the whole line)
- Added "-c" (--no-escape) switch. So that backslash will not be sorrowed.
- Removed "\" to "/" hack
Sunday, October 10, 2010
ICU uconv EBCIDC Edition
a plain compiled ICU uconv targeted for EBCDIC-Unicode interconversion i.e. many other MBCS tables are stripped out. This may co-work with GreenPad for open/save EBCDIC files in the future.
UPX-ed. requires MSVCP71.DLL and MSVCR71.DLL
uconv442-ebcdic.7z
UPX-ed. requires MSVCP71.DLL and MSVCR71.DLL
uconv442-ebcdic.7z
Thursday, December 17, 2009
Historic Web browser reborn trial: midasWWW, violaWWW
Thanks www.mmmt.ru ftp search engine, I got midasWWW-2.1 and violaWWW 3.3(viola-3.3) from ftp archives.
progress:
violaWWW, the first browser having scripting and style sheet capabilities. latest version is 3.3.
Hacks: using rs6000 config and follow gcc error messages to fix.
Status: double free/pointer corrupt, munmap_chunk(): invalid pointer when exit, HTFWriter_put_character segfaults when connecting Google, almost no online capability.
Screen shot:
viola (pure Xlib version):

vw (viola motif version):

midasWWW, an early browser which runs in VMX system.
Hacks: follow gcc error messages to fix.
Status:
- It builds, and it dies in startup with buffer overflow of libMrm(MrmOpenHierarchy-->Urm__OpenHierarchy-->UrmIdbOpenFileRead-->Idb__HDR_GetHeader-->__strcpy_chk) when reading /usr/local/lib/midas.uid. libmotif uil generates midas.uid and midaswww.uid correctly.
- (18/12/2009 12:00 GMT+8) open motif 2.2.3-4 in utuntu 9.10 seems buggy and I had to rebuilt open motif 2.3.2 from sources with "--enable-xft --enable-jpeg --enable-png", but Midas only popups "Error Dialog Label" and stalls.
Log:
[29/12/2009]
tested in RedHat Linux 6.2 with Open Motif 2.1.32:
for midasWWW-1.0, it popups an empty dialog and stalls.
Log:
P.S.: I created a project site of early Web browser reborn in Google Code:
http://code.google.com/p/earlybrowserreborn/
progress:
violaWWW, the first browser having scripting and style sheet capabilities. latest version is 3.3.
Hacks: using rs6000 config and follow gcc error messages to fix.
Status: double free/pointer corrupt, munmap_chunk(): invalid pointer when exit, HTFWriter_put_character segfaults when connecting Google, almost no online capability.
Screen shot:
viola (pure Xlib version):
vw (viola motif version):
midasWWW, an early browser which runs in VMX system.
Hacks: follow gcc error messages to fix.
Status:
- It builds, and it dies in startup with buffer overflow of libMrm(MrmOpenHierarchy-->Urm__OpenHierarchy-->UrmIdbOpenFileRead-->Idb__HDR_GetHeader-->__strcpy_chk) when reading /usr/local/lib/midas.uid. libmotif uil generates midas.uid and midaswww.uid correctly.
- (18/12/2009 12:00 GMT+8) open motif 2.2.3-4 in utuntu 9.10 seems buggy and I had to rebuilt open motif 2.3.2 from sources with "--enable-xft --enable-jpeg --enable-png", but Midas only popups "Error Dialog Label" and stalls.
Log:
Error: No converter declared for String to DynamicPixmap Error: Illegal command Error: Error interpreting command: Set Value .^ iconPixmap MidasWWWIcon from widget WWWMain (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Popup WWWMain from widget WWWMain (class XmMainWindow) Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12 Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14 Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17 If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14 Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17 Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20 If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17 Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20 Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24 If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12 Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14 Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17 If FontSize=="Small" Update Named Resource . "m Error: Could not follow path ....WWWHyper Error: Illegal command Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40) from widget WWWMain (class XmMainWindow) Error: Could not follow path ..WWWMain Error: Illegal command Error: Error interpreting command: Set Ingot ..WWWMain PSState 0 from widget WWWMain (class XmMainWindow) Error: Could not follow path ....Home_Page Error: Illegal command Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback from widget WWWMain (class XmMainWindow) Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback Cannot find callback list in XtAddCallback ^C
[29/12/2009]
tested in RedHat Linux 6.2 with Open Motif 2.1.32:
Cannot convert string "If FontSize=="Small" For All ....WWWHyper...default Set Value . fontSize 12
Else If FontSize=="Medium" For All ....WWWHyper...default Set Value . fontSize 14
Else If FontSize=="Large" For All ....WWWHyper...default Set Value . fontSize 17
If FontSize=="Small" For All ....WWWHyper...h2 Set Value . fontSize 14
Else If FontSize=="Medium" For All ....WWWHyper...h2 Set Value . fontSize 17
Else If FontSize=="Large" For All ....WWWHyper...h2 Set Value . fontSize 20
If FontSize=="Small" For All ....WWWHyper...h1 Set Value . fontSize 17
Else If FontSize=="Medium" For All ....WWWHyper...h1 Set Value . fontSize 20
Else If FontSize=="Large" For All ....WWWHyper...h1 Set Value . fontSize 24
If FontSize=="Small" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 12
Else If FontSize=="Medium" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 14
Else If FontSize=="Large" Update Named Resource . "midaswww*WWWHyper*default.fontSize" 17
If FontSize=="Small" Update Named Resource . "m
Error: Could not follow path ....WWWHyper
Error: Illegal command
Error: Error interpreting command: Set value ....WWWHyper naturalWidth 0++(GetValue(..WWWMain,width)-40)
from widget WWWMain (class XmMainWindow)
Error: Could not follow path ..WWWMain
Error: Illegal command
Error: Error interpreting command: Set Ingot ..WWWMain PSState 0
from widget WWWMain (class XmMainWindow)
Error: Could not follow path ....Home_Page
Error: Illegal command
Error: Error interpreting command: Invoke Callback ....Home_Page activateCallback
from widget WWWMain (class XmMainWindow)for midasWWW-1.0, it popups an empty dialog and stalls.
Log:
Error: Could not open customization file for CUSTOM Error: Illegal command Error: Error interpreting command: Custom Create CUSTOM . from widget Midas_Main (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Popup Midas_Main from widget Midas_Main (class XmMainWindow) Error: Illegal command Error: Error interpreting command: Midas Popup Midas_Main from widget Midas_Main (class XmMainWindow) ^C
P.S.: I created a project site of early Web browser reborn in Google Code:
http://code.google.com/p/earlybrowserreborn/
ErwisE: first X11 World Wide Web browser
My fixed source works in ubuntu 9.10.
You can download here:
erwise-0.1-src.tar.gz
For playing it in ubuntu 9.10 wihout compiling yourself, you can greb the prebuilt checkinstall-generated deb package here:
erwise_0.1-1_i386.deb
Screenshot:

P.S.: I created deb package of Mosaic-CK too, and Cameron had it mirrored to his site.
You can download here:
For playing it in ubuntu 9.10 wihout compiling yourself, you can greb the prebuilt checkinstall-generated deb package here:
Screenshot:
P.S.: I created deb package of Mosaic-CK too, and Cameron had it mirrored to his site.
Wednesday, September 30, 2009
fcrackzip-1.0 for Win32
Compiled with MinGW gcc 3.3.4 with charset patch which adds 0x20-0xFF into find table.
Download: fcrackzip-1.0-win32.7z
Download: fcrackzip-1.0-win32.7z
Subscribe to:
Posts (Atom)