forked from Hay1tsme/segatools
Fix build with Microsoft Visual C++, Fix gfxhook and felica issue #48
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "GEEKiDoS/segatools:develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I just wanna say that It is a SHAME that a Windows ONLY project was not able to build without MINGW
Also where's the missing
3mpxsc.h
in diva hook?This also fixes the window size issue from hook_CreateWindowExA in gfxhook
And Fixes felica issue as described in #45
The fork of capnhook is broken too, here's the patch
Fix build with Microsoft Visual C++to Fix build with Microsoft Visual C++, Fix gfxhook and felica issueAdded zip command for msvc-build.bat, now you can make a release with
msvc-build.bat build && msvc-build.bat zip
.Zip script was parsed from Package.mk with a crappy but working package.ps1
I've implemented your procaddr fix to capnhook, commit hash b595e4bf8a274ba3bdaf583e13a7ebc7efe0f48f. Thank you for contributing!
b595e4bf8a
@ -188,0 +278,4 @@
goto fail;
}
hr = iobuf_write_be64(res, 0x0078000000000000ull);
What is that magic number?
from actual card, but 0 should works too
This only implments the read command to 0x82 block, And aimelib reads IDm from it instead of the value in polling one
note: It is not possible to to fully emulate an AIC card due to MAC_A stuff.
reference: https://tqlwsl.moe/index.php/archives/2815/
@ -0,0 +7,4 @@
set DOC_DIR=doc
REM Set Your Visual Studio install path if this one was wrong
set VS_INSTALLATION=C:\Program Files\Microsoft Visual Studio\2022\Community
Could you automatically fetch the installation path? Or try the installation paths for VS 2016, 2019, 2022? This would greatly improve compatibility!
I tried but theres actually no way without manually scanning Visual Studio Install path, the vsvarsall.bat from %VS140COMMONTOOL% one does not works actually
I see, could you then scan the VS 2022 directory first and then 2019 and 2016 afterwards?
Ok I found a way from vs developer community, it should works for VS2017/VS2019/VS2022, let me try that
Done, It should now works with VS2010+(Microsoft Documentation) if Visual Studio Installer is installed, Which most people do
@ -0,0 +19,4 @@
[System.Collections.ArrayList]$files = @();
$folder = Get-Location
cat .\Package.mk | % {
WOW thats overkill but I love it!
Could you also increase the capnhook commit in subprojects/capnhook.wrap?
Yeah thats true, docker just worked and i didn't bother with msvc.
That was just a test and should not have been committed in the first place.
Thanks, that was an oversight.
Thank you very much for taking your time and fixing it!
Yup that looks perfect, merging!