A Petzold-style Win32 Notepad clone written in mostly plain C. It keeps the classic menus, accelerators, word wrap toggle, status bar, find/replace, font picker, time/date insertion, and BOM-aware load/save. Printing is intentionally omitted.
cl, rc, and nmake are on your PATH.Optional: MinGW-w64 for make + gcc (a separate POSIX-style Makefile is included).
git clone https://github.com/your/repo.git retropad
cd retropad
nmake)From a Developer Command Prompt:
nmake /f makefile
This runs rc then cl and produces retropad.exe in the repo root. Clean with:
nmake /f makefile clean
If you have gcc, windres, and make on PATH:
make
Artifacts end up in the repo root (retropad.exe, object files, and retropad.res). Clean with make clean.
Double-click retropad.exe or start from a prompt:
.\retropad.exe
FINDMSGSTRING), Go To (disabled when word wrap is on).res/retropad.ico via retropad.rc.retropad.c — WinMain, window proc, UI logic, find/replace, menus, layout.file_io.c/.h — file open/save dialogs and encoding-aware load/save helpers.resource.h — resource IDs.retropad.rc — menus, accelerators, dialogs, version info, icon.res/retropad.ico — application icon.makefile — MSVC nmake build script.Makefile — MinGW/GNU make build script.nmake is missing, use a Developer Command Prompt (it sets up PATH).rc/cl aren’t found, rerun vcvarsall.bat or reopen the Developer Command Prompt.C
98.3%
Makefile
1.7%
A Petzold-style Win32 Notepad clone written in mostly plain C. It keeps the classic menus, accelerators, word wrap toggle, status bar, find/replace, font picker, time/date insertion, and BOM-aware load/save. Printing is intentionally omitted.
cl, rc, and nmake are on your PATH.Optional: MinGW-w64 for make + gcc (a separate POSIX-style Makefile is included).
git clone https://github.com/your/repo.git retropad
cd retropad
nmake)From a Developer Command Prompt:
nmake /f makefile
This runs rc then cl and produces retropad.exe in the repo root. Clean with:
nmake /f makefile clean
If you have gcc, windres, and make on PATH:
make
Artifacts end up in the repo root (retropad.exe, object files, and retropad.res). Clean with make clean.
Double-click retropad.exe or start from a prompt:
.\retropad.exe
FINDMSGSTRING), Go To (disabled when word wrap is on).res/retropad.ico via retropad.rc.retropad.c — WinMain, window proc, UI logic, find/replace, menus, layout.file_io.c/.h — file open/save dialogs and encoding-aware load/save helpers.resource.h — resource IDs.retropad.rc — menus, accelerators, dialogs, version info, icon.res/retropad.ico — application icon.makefile — MSVC nmake build script.Makefile — MinGW/GNU make build script.nmake is missing, use a Developer Command Prompt (it sets up PATH).rc/cl aren’t found, rerun vcvarsall.bat or reopen the Developer Command Prompt.C
98.3%
Makefile
1.7%