WinterSquire / AlphaRing

A Modding Tool For MCC
MIT License
89 stars 1 forks source link

"AlphaRing:MCC Hook Failed to Initialize" #7

Closed SleepyLark closed 3 weeks ago

SleepyLark commented 3 weeks ago

I'm using the Microsoft Store version and have the latest version of VS C++ as linked here. The .dll is in the right folder and I'm launching without EAC enabled. After opening there is a cmd prompt and a window saying "AlphaRing:MCC Hook Failed to Initialize". The mod appears to somewhat load as the UI bar is there, however when trying to connect controllers it doesn't appear to work in game and I can't control the mod menu with my controller (Controller Start + Controller Back works however to open it). Is there something I'm missing here or is it because I'm not using the Steam version? Is it even possible to use the MS version? This is the first time I've used mods on Halo so apologies if the answer is obvious.

WinterSquire commented 3 weeks ago

Can you include the contents of the terminal?

SleepyLark commented 3 weeks ago

Give me a sec but it was pretty much two lines that said something along the lines of starting AlphaRing and initialization failed

SleepyLark commented 3 weeks ago

Can you include the contents of the terminal?

@WinterSquire [2024-06-04 22:12:14.198] [info] Version: 1.3385.0.0 [2024-06-04 22:12:14.794] [error] MCC Hook Fail To Initialize!

Screenshot 2024-06-04 221917

Also the mouse does work on the controller for the mod menu, I was just using the wrong stick 🫠

WinterSquire commented 3 weeks ago

This happened because the executable file names for Steam and Windows Store's MCC are different, and I used the Steam version's name to locate the address. I have already submitted a commit to fix, and you can try the latest Dev Build.

SleepyLark commented 3 weeks ago

Looks like it's now able to hook, however now it's crashing when I try to press start on the main menu

WinterSquire commented 3 weeks ago

By pressing start, did you mean pressing F4?

SleepyLark commented 3 weeks ago

By pressing start, did you mean pressing F4?

No when I try pressing start in the game. It loads to the title screen and trys to load and then crashes regardless if the mod is turned on or not

WinterSquire commented 3 weeks ago

Can you send me a copy of the windows store version executable file? So I can do some research with it. I was told that the windows store version is actually different from the steam version.

SleepyLark commented 3 weeks ago

Yeah just the MCC-Win64-Shipping.exe file? I'm away from my computer right but I can do it by the end of the day

WinterSquire commented 3 weeks ago

Yes

SleepyLark commented 3 weeks ago

@WinterSquire The file permission were weird when I tried to move it , but hopefully this works

https://files.catbox.moe/3jrl9v.7z

WinterSquire commented 3 weeks ago

The executable file is actually encrypted. Someone sent me the executable file before. There is a way to bypass the encryption system. I'm going to buy a Windows Store version and see if I can bypass it.

SleepyLark commented 3 weeks ago

R.I.P. Worst case I guess I'll have to buy this again for the third time just to use the Steam version instead. Good luck with the research🙏 🙏

WinterSquire commented 3 weeks ago

This should be quick, like 3-4 hours. I just need a non-encrypted executable file. The research should be really simple.

WinterSquire commented 3 weeks ago

I submitted a commit to fix it, you can test the build here. I still need some test before releasing it to make sure it can work on Steam Deck too.

SleepyLark commented 3 weeks ago

I tested it and it seems to work almost perfectly (at least during the beginning, I haven't had time to finish a level yet). The only issue I saw is if you're using the remastered graphics for halo 1 and 2 you can only do 2 players, however using the og graphics let's you have 4 players

WinterSquire commented 3 weeks ago

Yeah, the remastered graphics are only designed for 1 or 2 players.

SleepyLark commented 3 weeks ago

Cool, am I good to close this then?

WinterSquire commented 3 weeks ago

Yeah

SleepyLark commented 3 weeks ago

Awesome, thanks again for the mod. Now I can finally play with all my siblings