Commit Graph
45 Commits
Author SHA1 Message Date
Prcuvu 360db59e0d Fix Texture Font Generator for Windows x64 build 2020-02-11 01:46:29 +08:00
Prcuvu b38377403e Add LOG->Warn on fallback to English, for consistency on all platforms 2020-02-08 17:08:25 +08:00
Prcuvu 2baade1dd7 ArchHooks modified for macOS 2020-02-08 17:03:27 +08:00
Prcuvu d893c84b7b ArchHooks modified for Unix 2020-02-08 16:08:02 +08:00
Prcuvu de4dc62846 Split Chinese language into Simplified script and Traditional script
ArchHooks function modified for Windows.
2020-02-08 15:46:00 +08:00
Prcuvu a124b129d1 Update URLs in README.md 2019-12-31 23:19:03 +08:00
Prcuvu 532c430d8f Fix XInput library linkage for compatibility down to Windows Vista 2019-12-31 16:04:17 +08:00
Prcuvu 123b01930e Force Lua to be compiled as C++ code when using MSVC
The setjmp/longjmp error handling mechanism may fail with Microsoft C++ since
they utilize the same stack-unwinding mechanism with C++ exception handling.
Lua calling longjmp after luaD_rawrunprotected returns causes unpredictable
behaviour. On Windows x64 build, this causes lua_error to crash the whole
StepMania program.

Lua provides the same macros to utilize C++ throw/catch, which effectively
solve the problem. Just specify Lua library as C++ code to enable them.

Reference: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/longjmp
2019-12-22 18:38:07 +08:00
Prcuvu 35fe976d5b Update README.md 2019-10-26 10:42:54 +08:00
Prcuvu 333abe5934 Upgrade to libtomcrypt 1.18.2 2019-10-15 17:43:01 +08:00
Prcuvu a51971f58d Remove existing DLLs in Program folder before copying 2019-10-14 01:03:08 +08:00
Prcuvu 44b76446bb Merge branch '5_1-new' into win64 2019-10-06 00:55:50 +08:00
Prcuvu 8674dcca33 Update AppVeyor CI badge [ci skip] (#1909) 2019-10-05 07:30:28 -07:00
Prcuvu b1e5d9f46d A missing data type to change 2019-10-05 05:34:06 +08:00
Prcuvu 96db8d3be7 Update VDI format for Windows x64
Update VDI format to utilize 64-bit pointer types for stack tracing.
Revise mapconv and CrashHandlerChild.
Tested on both 32-bit and 64-bit builds to be working properly.
2019-10-05 05:08:20 +08:00
Prcuvu 2a8ca62ba6 CrashHandlerChild rva type fix 2019-10-04 15:41:05 +08:00
Prcuvu 4baa25710d Create a thread for exception handler for separate stack 2019-10-04 15:28:17 +08:00
Prcuvu b26b711e47 Reenable USE_FOLDERS 2019-10-04 14:09:11 +08:00
Prcuvu 31604f48ce Use static array for new stack instead of calling VirtualAlloc 2019-10-03 14:01:59 +08:00
Prcuvu 1fa9bb387c Fix for *nix build 2019-10-03 12:17:53 +08:00
Prcuvu dea6917f02 Explicitly expand size_t on min and max overload 2019-10-03 09:44:07 +08:00
Prcuvu 4026d41c16 More Windows API type inconsistency fix 2019-10-03 09:33:27 +08:00
Prcuvu 54c067f48d Fix Windows x64 type inconsistency regarding RageTexture 2019-10-03 08:58:14 +08:00
Prcuvu 7e96188088 Reserve register parameter stack space for MainExceptionHandler
Windows x64 functions always assume there is at least 4 QWORDs' length of space
reserved for register parameters (RCX, RDX, R8 and R9) after the caller return
address even though there are less than 4 parameters. MSVC compiler will try to
utilize vacant space there. If we forget to reserve that block, the exception
handler will abort.

Reference: https://docs.microsoft.com/en-us/cpp/build/stack-usage
2019-10-03 04:51:08 +08:00
Prcuvu 1dc2c9cc1f Fix indentation [ci skip] 2019-10-01 18:09:22 +08:00
Prcuvu 90eb7407fc Find DirectX libraries based on platform architecture 2019-10-01 17:07:45 +08:00
Prcuvu d63957ed0b Fix CMake syntax 2019-10-01 16:48:00 +08:00
Prcuvu 67ebec3320 Do not specify /arch:SSE2 to silence a MSVC warning 2019-10-01 15:03:21 +08:00
Prcuvu ef4376cb6e Implement a working CrashHandler::ExceptionHandler for Windows x64 2019-10-01 14:56:09 +08:00
Prcuvu 3cd1bdcc8f Add WinDDK x64 libraries 2019-10-01 14:45:55 +08:00
Prcuvu b9a4d71c23 Add FFmpeg 2.1.3 Windows x64 libraries and auto copy binaries on configuration 2019-10-01 14:37:46 +08:00
Prcuvu 4f864911fc Use SetClassLongPtr compatible for both Windows x86 and x64 2019-10-01 14:14:38 +08:00
Prcuvu e5321deed4 Fix DLGPROC prototype 2019-10-01 14:10:56 +08:00
Prcuvu b55760811b Make libmad work on Windows x64 2019-10-01 14:04:28 +08:00
Prcuvu ff265206f6 Remove deprecated VS projects for Texture Font Generator. 2015-11-02 07:55:03 +08:00
Prcuvu bdc1bdce0d Update README.md. 2015-10-31 20:16:28 +08:00
Prcuvu 7c1ae04529 Build using platform toolset "v140_xp" on AppVeyor. 2015-10-31 18:39:52 +08:00
Prcuvu d98a25797e Fix GCC warnings on Linux. 2015-10-08 12:51:28 +08:00
Prcuvu 22637a0d8b Remove deprecated DLLs from CMake installation. 2015-10-06 19:32:03 +08:00
Prcuvu de5f3721ef Cleaning up deprecated binaries and VS projects. 2015-10-06 19:23:48 +08:00
Prcuvu 05ae23d1c4 Read DirectX SDK path from environment variable. 2015-10-06 15:49:25 +08:00
Prcuvu 457adef083 Remove lua.c from CMake project. 2015-10-02 19:10:03 +08:00
Prcuvu 4ca2ea289f Remove old jpeg.lib. 2015-09-19 15:40:13 +08:00
Prcuvu 5af37530d4 Rewrite power_of_two, using binary search. 2015-09-02 20:05:02 +08:00
Prcuvu 2ff411c7fc Use Visual Studio implemented functions. 2015-09-01 12:21:11 +08:00