/wqxtools

WQX工具箱:GVBASIC模拟器、GVmaker1.0(Lava1.0)模拟器、PAC文件解压等工具

Primary LanguageRustMIT LicenseMIT

WQX工具箱

功能:

  • GVBASIC编辑器、模拟器:编辑 .bas.txt 格式的 GVBASIC 程序,格式转换(.bas.txt.txt.bas),运行 GVBASIC 程序。
  • GVmaker1.0模拟器
  • PAC文件解包
  • EBK阅读器
截图

GVBASIC编辑器(Linux):

GVBASIC模拟器(Linux):

GVBASIC编辑器(Windows):

GVBASIC模拟器(Windows):

发版专用仓库:https://gitlab.com/arucil/wqxtools-release

编译

编译本项目需要的环境:Rust (nightly)C++ 17及以上Qt 5.15.0 及以上。在 Windows 下编译时请使用基于 MinGW 的 Rust 和 Qt 版本。

clone 项目到本地,然后运行 git submodule update --init --recursive 下载 git submodule。

gui-qt/scintilla521.zip 解压到 gui-qt 目录。

安装编译辅助工具:

cargo install cargo-make cbindgen

编译:

cargo make -p release all

生成的可执行文件在 gui-qt/build/release 目录中,该程序的执行还依赖于 gui-qt 目录下的 machines.yamlconfig.yamldocs/help.qhcdocs/help.qch 文件和 styles 文件夹。

测试:

cargo test --all

在 Windows 下使用动态链接的 Qt 版本编译程序后,需要使用 windeployqt 工具拷贝 Qt 运行库:

windeployqt --compiler-runtime --no-translations --no-system-d3d-compiler --no-opengl-sw gui-qt/build/release/wqxtools.exe