ShootMe / LiveSplit.HollowKnight

Hollow Knight Autosplitter / Load Remover
MIT License
24 stars 26 forks source link

Make the “core logic” compile on linux #34

Closed lukasjuhrich closed 3 years ago

lukasjuhrich commented 3 years ago

Hi,

This is a long shot. tl;dr: I want a working HK autosplitter on linux to use with LiveSplitOne.

Would it be somehow possible to decouple the “core logic”, i.e. the memory introspection, from the UI and other parts that depend on the LiveSplit project?

The main motivation is that Livesplit, and dependent components such as LiveSplit.Server, is incompatible with linux, and I would guess that there are no However, there is LiveSplitOne which has an API one can talk to.

My idea would be to build a custom „livesplit server“ that communicates events via websockets to LiveSplitOne and uses code from this autosplitter to provide that functionality.

Please bear with me as I don't fully understand the whole livesplit ecosystem yet; this is partly because I don't have access to a windows PC and cannot compile / try out how these things are supposed to work.

One could provide this „separate view“ in a different solution.

cerpintext commented 3 years ago

If the memory logic from the game between the OSes is similar than maybe, that's the main issue from what I've gathered in the past

ShadiestGoat commented 3 years ago

Heya, according to https://github.com/R3FR4G/Livesplit-Server-Autosplitter the problem could be the process.MainModule.BaseAdress I think it would be great if this project were to be have a fork or something to be built as an asl file, so that it can be used in projects like that

lukasjuhrich commented 3 years ago

Given that the livesplit project this plugin builds on is considered legacy, I think it's wise to close this issue and to instead redirect any enthusiasm towards LiveSplit/LiveSplit#2037 and LiveSplit/livesplit-core#176

Ordoviz commented 2 years ago

I wrote a standalone autosplitter for Linux, see https://github.com/Ordoviz/hkautosplit