Mark Street b9f6c4c64e
Add support for SN compilers (#4)
* More kernel32 functions implemented poorly

* fix a smattering of issues to make cc1n64 work

* fix issues breaking psyq aspsx

* Return lowercase Windows paths if uppercase path doesnt exist

* Add SetStdHandle

* Add super naive FormatMessageA

* Case insensitive file matching

* PR comments

* Adding CompareString* + SetEnvironmentVariableA functions

Co-authored-by: Ash Wolf <ninji@wuffs.org>
Co-authored-by: Simon Lindholm <simon.lindholm10@gmail.com>
2022-07-03 23:27:48 +09:00
2022-06-29 01:07:04 +02:00
2022-06-29 17:34:38 +02:00
2022-07-03 23:27:48 +09:00
2022-07-03 23:27:48 +09:00
2022-06-13 02:20:18 +02:00
2022-06-29 17:34:38 +02:00
2022-07-03 23:27:48 +09:00
2022-07-03 23:27:48 +09:00
2022-06-29 17:34:38 +02:00
2022-06-29 13:19:45 +02:00
2022-06-29 17:34:38 +02:00

WiBo

A minimal, low-fuss wrapper that can run really simple command-line 32-bit Windows binaries on Linux - with less faff and less dependencies than WINE.

Don't run this on any untrusted executables, I implore you. (Or probably just don't run it at all... :p)

make && ./wibo

Rough to-do list:

  • Implement more APIs
  • Do something intelligent with Windows HANDLEs
  • Convert paths in environment variables (and the structure of PATH itself, maybe) to Windows format
  • Implement PE relocations rather than just failing unceremoniously
  • Make the PE loader work for DLLs as well in case we ever want to load some

Related projects:

Description
Quick-and-dirty wrapper that tries to run 32-bit Windows command-line executables on Linux
Readme MIT 701 KiB
Languages
C++ 92.9%
CMake 6.4%
Dockerfile 0.6%
C 0.1%