Commit Graph
94 Commits
Author SHA1 Message Date
icex2 6eb1307cce Add some missing dependencies to the dev env setup readme part 2023-03-02 19:23:39 +01:00
icex2 65ceea5983 Cleanup root README, increase visibility for other sub-readmes 2023-03-02 19:23:13 +01:00
icex2 94529e1e04 Code format 2023-03-02 19:16:06 +01:00
icex2 e25d52c293 Makefile clang-format: Exclude import source files
These should not be formatted because external sources with their
own code style
2023-03-02 19:16:06 +01:00
icex2 9265d08aa8 Move game and hardware documentation out of this repository
- Hardware docs live with arcade-docs repo
- Game specific docs focused in dedicated repo

Links updated in root readme
2022-07-19 20:57:06 +02:00
icex2 2a24c51281 Update game doc, NXA, barrier unlock conditions
Remove the NXA guide excel sheet as it doesn't add any value.
It simply dumped data from mission.txt into a table.

Add reverse engineered information about barrier unlock conditions
for NXA. Barrier colors could not be figured out at this point,
but should be fairly easy to add once the conditions apply and
the game shows which barriers are unlocked.
2022-06-06 22:37:58 +02:00
icex2 6c27b8164c Remove now obsolete gitlab issue und MR templates 2021-08-15 15:22:58 +02:00
icex2 30a76bbc7b Add pull request template 2021-08-15 15:22:58 +02:00
icex2 39473f89e0 Remove now obsolete gitlab ci pipeline 2021-08-15 15:22:58 +02:00
icex2 2cbf14c46f Markdown formatting 2021-08-15 15:22:58 +02:00
icex2 7f852b99f6 Main readme cleanup
- Obsolete link removal
- Formatting fixes
2021-08-15 15:22:58 +02:00
icex2 cdd7f15825 Add github action workflows for building and publishing
Build every push to master and upload artifacts. For version tags,
do the same plus create a github release.
2021-08-15 14:47:22 +02:00
icex2 873c9fb6f5 Update changelog for release
Start using a better format for the changelog from now on
2021-04-12 22:25:35 +02:00
icex2 ce7848726b readme: Add NXA to list of supported games 2021-04-12 22:25:27 +02:00
icex2 b299318cbf doc/nxahook: Update doc with references regarding pumpnet 2021-04-12 22:25:09 +02:00
icex2 d60f1f75d4 Include nxa in the packaging process 2021-04-12 22:12:11 +02:00
icex2 395c52a3b0 hook/nxa: Add dongle keys and hdd raw area 2021-04-12 22:11:48 +02:00
icex2 e7ea388dc0 hook: Classic piu games, do not utilize io poll delay
Not required for classic piu games, disable
2021-04-12 22:05:23 +02:00
icex2 614f8ff2db patch/pro 1 and 2: Delay polls to ctrl endpoint for 1 ms each
Fixes high CPU load issues with IO threads
2021-04-12 22:04:51 +02:00
icex2 24d5cfc647 patch/piuio/piubtn: Add option to delay polling on ctrl msgs
The PRO games do not have proper CPU load limiting on their
IO threads which results in very high CPU load when using
the emulation subsystem.
2021-04-12 22:03:24 +02:00
icex2 c4feccf2d6 patch/net-profile: Bugfix, incorrect reference to virtual profile file
This didn't work with NXA because some parts were always pointing at
the NX2 data
2021-04-07 10:20:30 +02:00
icex2 0c472b8adc pumpnet/client: Add missing nxa support 2021-04-07 10:19:42 +02:00
icex2 b2bbf8981d nxahook: Support pumpnet 2021-04-07 08:41:36 +02:00
icex2 7d03f6b7dc asset/nxa: Add sizes of usbprofile files 2021-04-07 08:40:35 +02:00
icex2 b4587985f6 Support redacted options by adding a "is_secret_data" flag for options
Use this to flag options as "secrets" allowing the debug log output
to not print them to the console/logs.
2021-04-01 23:36:03 +02:00
icex2 8eaac347f0 Redact any refID and machineID info from logging of pumpnet modules
That information wasn't really valuable on most debugging efforts
so far and just leaked as sensitive information with any bug
report.
2021-04-01 23:17:04 +02:00
icex2 3c3a45f492 Update doc/ndx2hook: USB ports and pumpnet errors troubleshooting 2021-04-01 23:06:20 +02:00
icex2 3739809058 Bump version to 1.12 2021-04-01 19:01:40 +02:00
icex2 d1d7954b39 Update changelog for 1.11 release 2021-04-01 18:59:13 +02:00
icex2 26edf1107f Temporarily remove gfx scaling feature
Remove for now as the implementation causes issues on some setups
when loading libGL.so (cannot be found). For details, see:

https://dev.s-ul.net/hackitup/pumptools/-/issues/27
2021-03-31 21:37:38 +02:00
icex2 51cf070fdc doc/hook: Update with sound related content
Information extracted from:
https://dev.s-ul.net/hackitup/pumptools/-/issues/28#note_5817
2021-03-31 21:29:41 +02:00
icex2 0eecce3c91 Version bump to 1.11 2021-03-28 22:19:04 +02:00
icex2 b3a166534b changelog: update for release 2021-03-21 19:33:38 +01:00
icex2 00bf490618 doc/hardware: Update with information by some nice hamster 2021-03-21 13:45:36 +01:00
icex2 6f74f1966e doc/hardware: Add various cabinet and some other hardware manuals 2021-03-21 02:00:51 +01:00
icex2 7b9c161e38 doc: Add documentation about hardware, e.g. PCBs and cabinets 2021-03-21 01:15:26 +01:00
icex2 47a6c145b4 Add missing prefix "patch" to all option keys for gfx.scaling_mode 2021-03-20 11:40:08 +01:00
icex2 083505abd9 hook/other classic piu: Add gfx scaling feature
Support every game except for mk3 ports and pro series. Pro series
can do scaling etc by game configuration and mk3 has a different
gfx backend setup
2021-03-20 11:35:31 +01:00
icex2 e86742b03c hook/nx2: Add option to enable gfx scaling 2021-03-20 11:12:33 +01:00
icex2 260e64d9d9 doc/hook: Update documentation about gfx scaling 2021-03-20 11:12:33 +01:00
icex2 517adc153a patch/gfx: Implement scaling using different screen and viewport resolutions
Define a set of fixed modes covering our use-cases to allow rendering
4:3 games to a pillarbox on widescreen monitors.
2021-03-20 11:12:31 +01:00
icex2 8bb157c206 patch/piuio: Bugfix, p1 input mapped also to p2 2021-03-19 21:50:11 +01:00
icex2 746c22a648 doc/nx2: Add world max unlock codes and information 2021-03-19 20:40:43 +01:00
icex2 fde943c97f doc/hook: Clarify a bunch of things regarding dependencies
- Ephasize that the games are 32-bit
- Add note about pumpnet curl deps
- Add note about indirect deps not being covered in docs
2021-03-19 16:47:40 +01:00
icex2 c574e36885 doc/hook: Update documentation about window/fullscreen mode on games 2021-03-19 16:28:35 +01:00
icex2 078a382ba6 hook/zero: Remove non working window mode option 2021-03-19 16:28:15 +01:00
icex2 81bdf49af2 hook/x2: Remove non working window mode option 2021-03-19 16:28:03 +01:00
icex2 672622ecbc hook/pri: Remove non working window mode option 2021-03-19 16:27:50 +01:00
icex2 aa8e30af34 hook/nxa: Remove non working window mode option 2021-03-19 16:27:38 +01:00
icex2 7ef3581493 hook/nx2: Remove non working window mode option 2021-03-19 16:27:24 +01:00
icex2 f844c28bd3 hook/nx: Remove non working window mode option 2021-03-19 16:27:07 +01:00
icex2 09586bc574 hook/fst: Remove non working window mode option 2021-03-19 16:26:55 +01:00
icex2 eb54cd96e3 hook/fex: Remove non working window mode option 2021-03-19 16:26:43 +01:00
icex2 f6708adb38 hook/f2: Remove non working window mode option 2021-03-19 16:26:23 +01:00
icex2 9d715476d1 hook/exc: Remove non working window mode option 2021-03-19 16:25:53 +01:00
icex2 e265c048d5 patch/gfx: Remove non working window mode feature
This wasn't worked as intended since the beginning. There was also
an issue that actually raised a discussion about this and clarified
that it's not that easy under linux unfortunately.
2021-03-19 16:23:50 +01:00
icex2 eafb2909d1 Appl new code style on whole code base
Use a similar code style to bemanitools though reduce indentation
to 2 spaces. Also some other tweaks to be more similar to google
style.
2021-03-19 15:52:34 +01:00
icex2 b493b4983a Overhaul makefile, cleanup and structured output of targets 2021-03-19 15:50:45 +01:00
icex2 a483b32d48 doc/dev: Add architecture documentation about usb hooking and dispatching 2021-03-19 15:39:00 +01:00
icex2 7907206e1b doc/prohook: Update section relevant to the kernel hack 2021-03-19 15:05:23 +01:00
icex2 b165a4cf86 hook/pro2: Fix order of setting up usb hooks
The khack one is actually low level and must come before the
emulation layer which abstracts the libusb0.1 stuff
2021-03-19 15:02:16 +01:00
icex2 7f1a0b075b patch/piuio: Re-write emulation layer, usb_ctrl -> piuio API
Aside not being well written code, it did not consider that the
pumptools's piuio API is abstracting any kind of sensor multiplexing
to hardware.

With the game still calling the libusb API like usual, which is
8 calls (4 ins and 4 outs) for a single IO state update, this layer
issued 4 times as many calls to any pumptools piuio API implementation.

When using the piuio-real wrapper impl. this means that the real IO
hardware was polled 4 times as often as the game actually intended to
do.

That might have also lead to rather high CPU load on older hardware,
e.g. stock MK6/9 builds.
2021-03-19 14:57:52 +01:00
icex2 956a322013 hook/pro: Fix order of setting up usb hooks
The khack one is actually low level and must come before the
emulation layer which abstracts the libusb0.1 stuff
2021-03-19 13:54:18 +01:00
icex2 c2ee8c0583 patch/piuio-exit: Bugfix when using with more usb devices than just piuio
If you also have the piubtn connected, it will be opened as well, hitting
the open section in the module. It did forward everything correctly, but
the warning didn't make any sense because the same device was not opened
again. Re-work the code to create a meaningful flow. Also return the open
handle if it ever happens that the device gets re-opened without being
closed.
2021-03-19 12:43:19 +01:00
icex2 36736c8a7c patch/piuio: Remove kernel hack handling code
The piuio-khack module is responsible for transparently handling
piuio ITG 2 kernel hack requests now.
2021-03-19 12:43:19 +01:00
icex2 5ced30c2ed hook/pro2: Rework IO hooking, same as pro in previous commit 2021-03-19 12:43:19 +01:00
icex2 df135a19b0 hook/pro: Cleanup IO hooking and use new piuio-khack module
See the comment in the code for details and reasoning.
2021-03-19 12:43:19 +01:00
icex2 0a01503227 capnhook/usbhook: Add invoce next function that resets next handlers
Required for piuio-khack which needs to convert a single libusb
call into 8 separate calls. In that case, we want to advance the
handlers downstream but reset it once we go back up to the invocation
which needs to scatter to multiple calls. As stated by the documentation,
state handling of the irp is not taken care of. This is fine, since
at this point, we don't know what the function is and the caller needs
to take care of regarding saving and recovering any state in the irp.
2021-03-19 12:43:19 +01:00
icex2 5a2c8b5104 patch: Add piuio-khack module
This module takes care of emulating the ITG 2 piuio kernel driver
hack. As a separate module, this can be hooked into any chain of
existing hooks providing a greater level of flexibility and
transparency.
2021-03-19 12:43:17 +01:00
icex2 f4e01e2320 Fix broken reference in readme (part 2) 2021-03-18 21:04:39 +00:00
icex2 891251f53b Fix broken reference in doc 2021-03-18 21:03:58 +00:00
icex2 35e117cf90 Bump version to 1.10 2021-03-14 17:24:01 +01:00
icex2 3de8f507c4 Update changelog for 1.09 release 2021-03-14 16:34:37 +01:00
icex2 87bcba00c0 Package: Add Pro 2 files to release packaging 2021-03-14 16:34:15 +01:00
icex2 1410409d57 README: Promote pro2 to available 2021-03-14 16:33:56 +01:00
icex2 bf452468e4 doc: Minor fix, prohook, missing dependency 2021-03-14 16:33:40 +01:00
icex2 ed42df3a26 doc/game: Add pro2 game doc 2021-03-14 16:33:26 +01:00
icex2 a6f4657658 doc: Update pro2hook doc for release
Still old doc that wasn't updated so far.
2021-03-14 16:33:02 +01:00
icex2 708db4331a doc/game/pro: Add easter egg codes 2021-03-14 16:22:41 +01:00
icex2 cfcea514a2 Package: Include pro into public release 2021-03-14 13:17:47 +01:00
icex2 ad5aaac8c0 README: Add pro to list of available games 2021-03-14 13:01:36 +01:00
icex2 d9f4650a5c doc: Add pro game documentation 2021-03-14 13:00:52 +01:00
icex2 8c66e6b763 piubtn real: Add missing library on linking 2020-12-31 19:55:24 +01:00
icex2 6492e4df1a capnhook/result: Extend error code list 2020-12-31 19:54:59 +01:00
icex2 fb69d87c15 doc: Add doc for hooks regarding dependencies 2020-10-25 16:19:42 +01:00
icex2 9c75c248a5 Update README.md, add pipeline status 2020-10-03 20:38:39 +00:00
icex2 e7d05acb82 doc/pro1,pro2: Window/fullscreen mode instructions 2020-10-03 22:34:05 +02:00
icex2 db364d2796 Add gitlab ci script 2020-10-03 21:19:13 +02:00
icex2 4ad43a06b6 Version bump to 1.09 2020-10-03 20:58:39 +02:00
icex2 762bf140c0 Version 1.08 with public source code release. 2020-10-03 20:56:55 +02:00
icex2 656148121d Update Bug.md, add checklist with further things to test 2020-05-09 22:22:15 +00:00
icex2 9b633f647d Update Bug.md 2020-04-21 19:43:33 +00:00
icex2 1889aef5b6 Add gitlab templates for issues and merge requests 2019-12-20 14:04:09 +01:00
icex2 64da029351 Add README.md 2019-12-20 12:53:35 +00:00