R2Northstar / NorthstarLauncher

Launcher used to modify Titanfall 2 to allow mods to be loaded
MIT License
279 stars 127 forks source link

Runtime issue #267

Closed Alystrasz closed 2 years ago

Alystrasz commented 2 years ago

I can build main branch, but something prevents game from launching (after clicking "Launch Northstar").

image

Logs are of no help.


I could build branch v1.9.4 and use it with no problems.

GeckoEidechse commented 2 years ago

Are you building Debug or Release mode?

Also, what happens if you try running the CI build from newest commit? https://github.com/R2Northstar/NorthstarLauncher/commit/7aa2008ea5a38f66a0b25bb23fa35db6fc2d1d16

Alystrasz commented 2 years ago

I tried building and using 7aa2008ea5a38f66a0b25bb23fa35db6fc2d1d16 with both debug and release modes, to no avail; both compile correctly, but after putting dll + exe in game folder, game gets stuck once I click "Launch Northstar".

GeckoEidechse commented 2 years ago

What happens if you use the CI build of most recent commit? https://github.com/R2Northstar/NorthstarLauncher/actions/runs/2982633093

Alystrasz commented 2 years ago

Oops, didn't get your message at first :)

Same result while using CI build:

image

GeckoEidechse commented 2 years ago

Hmm, very interesting. I don't access to a device that can compile or test CI builds easily (outside of PRs using my tool).

Last one I did was #266 which should be based on top of current HEAD of main and launched just fine...

Maybe someone else could try to reproduce this on their end?

Alystrasz commented 2 years ago

I asked a friend of mine to build on his computer and send me build results, I used them and got the same result.

I'll try tomorrow to identify the breaking commit, which I suspect is located somewhere between 1.9.4 and current state.

GeckoEidechse commented 2 years ago

I asked a friend of mine to build on his computer and send me build results, I used them and got the same result.

I'll check tomorrow if I can identify the breaking commit.

Yeah, if anything I believe that unless the issue actually is with some change with Launcher code, the issue is outside of NorthstarLauncher and Northstar.dll somewhere on your system. ^^

Alystrasz commented 2 years ago

I tested both using CI builds and building from main commits myself, I couldn't get to a stable result: builds can work for a few launches, then stop working with no reason.

Seeing that I can't run https://github.com/R2Northstar/NorthstarLauncher/pull/237 while I successfully reviewed it (on another computer) makes me indeed think of a system-related issue.

I'll check on my desktop computer asap.

Alystrasz commented 2 years ago

Launching NorthstarLauncher.exe directly instead of launching through Viper seems to solve the issue. Highly suspecting a #271 duplicate now :)

Alystrasz commented 2 years ago

Issue totally due to Viper.