chunithm-touch icon indicating copy to clipboard operation
chunithm-touch copied to clipboard

Built myself with Leap Gemini SDK and LeapC.dll but cannot start the game

Open tonyxtian-github opened this issue 3 years ago • 4 comments

I wanted to add support with the newest Leap Gemini SDK so I tried to build it myself. I downloaded the Leap Gemini from the Ultra Leap Website, copied the LeapSDK folder to 3rdparty, and built the LeapConfig.exe, ctw.dll, and chuniio.dll. I also replaced the old LeapC.dll from the Orion SDK with the newer LeapC.dll from the Gemini SDK. I am able to run the LeapConfig.exe and it works perfectly detecting my hands. However, I cannot run start.bat to get into the game. After the two UAC prompts of the inject.exe the game just terminates itself automatically. It seems that the self-termination always happens as a result of replacing either one of the chuniio.dll, ctw.dll, or LeapC.dll. Does anyone have any idea of how to get into the game with the newly built DLLs?

tonyxtian-github avatar May 12 '22 13:05 tonyxtian-github

I also found a new inject.exe from the meson subproject folder, replacing that with the original one from segatools doesn't help either.

tonyxtian-github avatar May 12 '22 13:05 tonyxtian-github

The problem seems connected with the ctw.dll as the Chuni-touch window fails to pop up along with the game window.

tonyxtian-github avatar May 12 '22 13:05 tonyxtian-github

Just by comparing the responsiveness from the leapconfig.exe on Gemini and Orion it can be easily seen that Gemini has a more superior response time and better accuracy for detecting hands at shorter distance. I'd be grateful if I can play the game with the new Gemini SDK :)

tonyxtian-github avatar May 12 '22 13:05 tonyxtian-github

Update: I built the dlls again with the original Orion SDK and the same problem occurred. Now that the problem seems connected with the building process that I am using. Note that I am indeed able to corporate the leapconfig.exe with the new LeapC.dll to work with Gemini SDK. I am new to C programming here so I would truly appreciate any help you could kindly offer. I built with Meson 0.62.1 and MinGW-W64-builds-4.3.5.

tonyxtian-github avatar May 12 '22 15:05 tonyxtian-github