Commit Graph

342 Commits

Author SHA1 Message Date
icex2 b95f1df54a Add section about git history to contributing docs 2021-08-13 23:55:12 +02:00
icex2 85e644cbd6 Add gitlab MR and issue templates
Ported with some tweaks from BT5
2021-08-13 23:55:12 +02:00
icex2 d6a66b1745 Add development.md documentation
Move stuff from root README and add a few more things that I took
from BT5.
2021-08-13 23:55:12 +02:00
icex2 a1a41595d4 Add CONTRIBUTING
Taken from BT with some tweaks here and there
2021-08-13 23:55:12 +02:00
Felix Anderson 25f5ca944e
hooklib/path.c: Hook RemoveDirectory
- A certain game uses RemoveDirectory to clear out some data in the Y:
2021-08-12 23:20:05 +00:00
Felix Anderson da6879606a
platform: Prevent amdaemon from shutting down the computer or logging off user 2021-08-12 23:14:34 +00:00
Felix Anderson 3a71af7405
platform: Add basic hwreset implementation for ALLS 2021-08-12 23:14:31 +00:00
Felix Anderson 7a807e81ad
board/io4.c: add configuration section to enable/disable emulation 2021-07-05 10:08:09 +00:00
Bemani Witch 63c27ef015 dist: add idzhook.md to doc.zip 2021-06-20 16:18:08 +02:00
Bemani Witch 78f1eea44e dist: remove obsolete file copy commands 2021-06-20 16:07:34 +02:00
Bemani Witch 360121ce1f doc: fixed missing link to idz docs in readme 2021-06-18 23:45:02 +02:00
Bemani Witch 3a5258a9c9 dvd: move thread safety comment into header file 2021-06-17 04:13:50 +02:00
Bemani Witch f79144edc1 Add dvd hook to allow hiding connected dvd drives 2021-06-17 04:02:55 +02:00
Felix Anderson 457ed9cd2b
Silence stdcall fixup warning during linking 2021-06-17 01:39:52 +00:00
Felix Anderson 88128af7c8
Remove leftover GetProcAddress definition 2021-06-17 01:39:52 +00:00
Felix Anderson 872ddd5a4a
Remove undefined Direct3DCreate9 references 2021-06-17 01:39:52 +00:00
Felix Anderson 9cd231f2eb
Fix format warnings for HRESULT 2021-06-17 01:39:50 +00:00
Bemani Witch e4999005cb doc: Add doc for idzhook
Apply 8 suggestion(s) to 2 file(s)

doc: Fix up initial d docs
2021-06-16 21:24:21 +02:00
Bemani Witch 987f9652da Fix doc hyperlinks in chunihook.md 2021-06-15 18:57:04 +02:00
Tau 26cf9aa4a7 Delete coin blocker exports from IO DLLs
These never get called at the moment, so we have no way of
guaranteeing that any existing implementations are even correct. If
we do decide to start emulating the coin blocker then we will need
to advance the API versions, which will (hopefully) force any
third-party devs to test their coin blocker code before opting in.
2021-06-13 11:27:01 -04:00
Tau 72c6bc7b1d Document IDZIO API 2021-06-13 11:27:01 -04:00
Tau 7d15f65818 Add API versioning to idzio 2021-06-13 11:27:01 -04:00
Tau bead904f1e Statically link idzio 2021-06-13 11:27:01 -04:00
Tau 1fdeeb9139 Load and bind idzio at runtime 2021-06-13 11:27:01 -04:00
Tau 6a8b616bc2 Document mu3io API 2021-06-13 11:27:01 -04:00
Tau 8b4ea3f1dd Add API versioning to mu3io 2021-06-13 11:27:01 -04:00
Tau ab3c2ad0b7 Statically link mu3io 2021-06-13 11:27:01 -04:00
Tau 3c740af6ec Load and bind mu3io at runtime 2021-06-13 11:27:01 -04:00
Tau 98d8b0c3b9 Fix comment in idzio/di.c 2021-06-13 11:27:01 -04:00
Tau 4c2c941a1c Load and bind divaio at runtime 2021-06-13 11:27:01 -04:00
Tau a940c0b47b Add api versioning to divaio 2021-06-13 11:27:01 -04:00
Tau 8dddb18793 Statically link default divaio 2021-06-13 11:27:01 -04:00
Tau bda236b5ad chuniio 0x0101: Fix IR beam mapping 2021-06-13 11:27:01 -04:00
Tau 94e9edb5a0 Load and bind chuniio at runtime 2021-06-13 11:27:01 -04:00
Tau 01eda0fbd5 Statically link default chuniio 2021-06-13 11:27:01 -04:00
Tau 58664e9b31 Add API versioning mechanism to chuniio 2021-06-13 11:27:01 -04:00
Tau 92b73df3e7 Load and bind aimeio at runtime 2021-06-13 11:27:01 -04:00
Tau 10f2042bee Add DLL binding helper 2021-06-13 11:27:00 -04:00
Tau edd26aafe7 Export aimeio symbols from hook DLLs 2021-06-13 11:27:00 -04:00
Tau df5f08314b Add API versioning scheme to aimeio 2021-06-13 11:27:00 -04:00
Tau f59f4ec8c1 Document the aimeio API
This is de-facto a published API now so we have to support it.
2021-06-13 11:27:00 -04:00
Tau 1750f85f51 Drop aime_io_fini
This isn't used, and due to the way that the hook machinery works
it is not likely to come into use later on either. Since we can't
rely on existing implementations actually being correct, if it does
somehow start being used then we will need to advance the aimeio API
version in order to support it.
2021-06-13 11:27:00 -04:00
Tau 90d908fe07 Statically link current aimeio implementation 2021-06-13 11:27:00 -04:00
Tau e57aeb03c3 Simplify DLL hook mechanism
This change deletes the GetProcAddress hook and exports symbols
corresponding to the hooked functions from each hook DLL instead;
we stop at redirecting LoadLibrary/GetModuleHandle calls to the
hook DLL. This simplified approach has less hidden magic going on
behind the scenes and is more readily composable (i.e. a hook DLL
can export redirect symbols for more than one dynamically-loaded
DLL).
2021-06-13 11:27:00 -04:00
Tau c71ff1bcb5 Add module DEF file for chunihook 2021-06-13 11:27:00 -04:00
Tau 872ae9ca50 Fix Diva slider startup 2021-06-13 11:27:00 -04:00
Tau 49595d2c37 Fix hook startup failure path
Returning from the EXE PE entry point merely terminates the main
thread and leaves the process hanging. We need to explicitly exit
from the process since the NTDLL RTL Start code won't do it for us.
2021-06-13 11:27:00 -04:00
Tau 5410941944 Fix DLL loader hook logic
Seems this was quite buggy in its original form.
2021-06-13 11:27:00 -04:00
Tau 9543bd183d Whitespace fix 2021-06-13 11:27:00 -04:00
Tau 1627a0c850 Delete draft debris that was never used 2021-06-13 11:27:00 -04:00