Command Line Support for Exporting .rc/.res
SaifRushdHadad opened this issue · 4 comments
SaifRushdHadad commented
Currently RisohEditor does not support command line invocation (besides taking the first argument provided and loading it). Would it be possible to implement flag and argument support so RisohEditor could be used without a GUI? Being able to export .rc
and .res
files quickly would be very useful to a lot of users.
katahiromz commented
Extend command line syntax:
/?
or--help
: Show usage.--version
: Show version info.--load "your-file.rc"
: Load the file (without GUI).--save "your-file.rc"
: Save the file (without GUI).--log "log-file.txt"
: Specify the log file (without GUI).--load-options "(...)"
--save-options "(...)"
Extend the EGA language:
- Add
RES_load
function (Load resource file without GUI). - Add
RES_save
function (Save resource file without GUI). - Add
RES_close
function (Close the window).
katahiromz commented
Syntax
RES_load(filename[, options])
RES_save(filename[, options])
RES_close()
RES_load
and RES_save
will use the filename extension.
RES_load
options:
"(no-load-res-h)"
RES_save
options:
"(sep-lang)"
: Separate resource files by language."(begin-end)"
: UseBEGIN
/END
."(lang-macro)"
: Make language selectable byLANGUAGE_*
macro."(backup)"
: Make backup."(utf-16)"
: Output RC files as UTF-16.
katahiromz commented
- Add no-gui mode.
- Virtualize message box.
katahiromz commented