GithubHelp home page GithubHelp logo

katahiromz / risoheditor Goto Github PK

View Code? Open in Web Editor NEW
304.0 22.0 34.0 40.89 MB

Another free Win32 resource editor

Home Page: https://katahiromz.web.fc2.com/re/en

License: Other

CMake 0.77% C 5.64% C++ 91.62% Inno Setup 1.94% HTML 0.01% Batchfile 0.01%
win32api windows executable resources editor win32 resource-editor cxx

risoheditor's Introduction

CMake

RisohEditor by katahiromz

RisohEditor is a free resource editor for Win32 development, created by Katayama Hirofumi MZ.

It can read/write resource data in RC/RES/EXE/DLL files. UTF-16 resource files are also supported.

Supported Platforms

It works on Windows XP/2003/Vista/7/8.1/10 and ReactOS.

License Agreement

See LICENSE.txt for details of copyrights and license agreement.

Standardization

See "Standardize.md" for our standardization of resource IDs.

FAQ

Question 1. What is "Risoh"?

The word "risoh" means "ideal" in Japanese.

Question 2. What are edt1, edt2, cmb1?

Those are standard control ID macros defined in <dlgs.h>.

Question 3. What is mcdx?

It's a special message compiler I made. See mcdx/MESSAGETABLEDX.md for details.

Question 4. Why did I get garbled characters when compiling with Visual Studio?

The resource compiler of MSVC has a bug in treatment of UTF-8 resource files.

Use UTF-16 (but UTF-16 is not supported in GNU windres).

Question 5. What is the difference between no installer and portable version?

The portable version doesn't use registry but an ini file.

Question 6. Are the 64-bit files supported?

Yes on 64-bit Windows. However WoW64 emulation layer prevents it loading from "C:\Program Files" or "C:\Windows\system32". You have to copy the 64-bit file into another place before loading.

Contact Us

[email protected]

risoheditor's People

Contributors

bovirus avatar followerofbigboss avatar germanaizek avatar jnylson avatar katahiromz avatar mas4hmad avatar pithwz avatar spectershell avatar tokunana avatar venusgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

risoheditor's Issues

Problem in Dialog Metrics

There is a problem of dialog metrics in some situations. Dialog controls were sometimes deviated accidentally. We have to check the font selection mechanizm and DS_SETFONT, DS_SHELLFONT, and DS_FIXEDSYS dialog styles.

Improve compilation error display

If there are compilation errors in opening a resource file, the application has to show the error message in the error message box.
If there are compilation errors in updating resource text, the application has to set the error message into m_hBinEdit in human-readable text.

Add SysLink control

The window class name of SysLink control is "SysLink".

The window styles of SysLink are:

[SysLink]
LWS_TRANSPARENT, 0x1
LWS_IGNORERETURN, 0x2
LWS_NOPREFIX, 0x4
LWS_USEVISUALSTYLE, 0x8
LWS_USECUSTOMTEXT, 0x10
LWS_RIGHT, 0x20

The default window style value is unknown (under investigation).

Support Windows XP

Windows XP has no entry point of _wfopen_s function. RisohEditor cannot start up on Windows XP. Please fix it.

Improve treeview item data management and update

  1. How to define the resource item data and the treeview item data
  2. How to link a resource item and a treeview item to each other
  3. How to sort the treeview items
  4. How to add a treeview item
  5. How to delete a treeview item
  6. How to manage all the resource items

Please accept space in the caption text box

RisohEditor didn't accept space in the caption text box. I will fix it in next release.

If the user typed a space as the last character, then the application should respect his/her action if that space was meaningful.

AUTORADIOBUTTON STYLE is wrongly interpreted

Please compare the following dialog item styles:

// Visual C++'s RC
1 DIALOG 0, 0, 215, 135
CAPTION "ResTest2"
STYLE DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
FONT 9, "Arial"
{
    AUTOCHECKBOX "chx1", chx1, 5, 5, 80, 14	// STYLE 0x50010003
    AUTORADIOBUTTON "rad1", rad1, 5, 25, 80, 14	// STYLE 0x50000009
    COMBOBOX cmb1, 5, 45, 80, 300, CBS_HASSTRINGS | CBS_AUTOHSCROLL | CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP // STYLE 0x50210242
    LISTBOX lst1, 5, 65, 80, 41, LBS_NOINTEGRALHEIGHT | LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP // STYLE 0x50A10141
    DEFPUSHBUTTON "OK", IDOK, 35, 115, 60, 14 // STYLE 0x50010001
    PUSHBUTTON "Cancel", IDCANCEL, 115, 115, 60, 14 // STYLE 0x50010000
}
// MinGW's WINDRES
1 DIALOG 0, 0, 215, 135
CAPTION "ResTest2"
STYLE DS_MODALFRAME | WS_POPUPWINDOW | WS_CAPTION
FONT 9, "Arial"
{
    AUTOCHECKBOX "chx1", chx1, 5, 5, 80, 14 // STYLE 0x50010003
    AUTORADIOBUTTON "rad1", rad1, 5, 25, 80, 14 // STYLE 0x50010009
    COMBOBOX cmb1, 5, 45, 80, 300, CBS_HASSTRINGS | CBS_AUTOHSCROLL | CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP // STYLE 0x50210242
    LISTBOX lst1, 5, 65, 80, 41, LBS_NOINTEGRALHEIGHT | LBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP // STYLE 0x50A10141
    DEFPUSHBUTTON "OK", IDOK, 35, 115, 60, 14 // STYLE 0x50010001
    PUSHBUTTON "Cancel", IDCANCEL, 115, 115, 60, 14 // STYLE 0x50010000
}

windres wrongly adds WS_TABSTOP style (0x00010000) to AUTORADIOBUTTON rad1.

Add the "String List" property to ComboBoxes/ListBoxes

RT_DLGINIT (resource)
--> m_rad_window.m_dialog_res (on MMainWnd::OnGuiEdit; opening the RAD window)
--> MAddCtrlDlg.m_dialog_res / MCtrlPropDlg.m_dialog_res (on OnAddCtrl/OnCtrlProp; Properties for Control)
--> MStringListDlg.m_dialog_res
--> RT_DLGINIT (storing on MMainWnd::OnUpdateDlgRes)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.