R2Northstar / Northstar

Repo for packaged Northstar releases
https://northstar.tf/
MIT License
1.69k stars 129 forks source link

Error 0xc0000005 #65

Closed guncu666 closed 2 years ago

guncu666 commented 2 years ago

report"0xc0000005"when I first start the NorthstarLauncher. What happen?

334431 commented 2 years ago

Try verifying files through steam or origin, if that does not work try reinstalling Northstar

SeriousGous commented 2 years ago

report"0xc0000005"when I first start the NorthstarLauncher. What happen?

Guessing you on windows 7 x64 too? The problem seems unsolvable, the only thing I haven't tried yet is to reinstall Microsoft Redistributables

guncu666 commented 2 years ago

maybe find the problem, but don't know how to fix it the crash data have mention the Microsoft .NET Framework1.1 but I already uninstall it. Does anyone know how to fix it?

AnonPilot35 commented 2 years ago

Guessing you on windows 7 x64 too?

Confirmed on Windows 11 x64, as well.

Try verifying files through steam or origin, if that does not work try reinstalling Northstar

I tried this, but this did not fix the issue.

shanzenos commented 2 years ago

Can confirm after testing it myself. I'm assuming one of the dependencies is using some framework that's not compatible with other windows OS's besides 10. The modified "unpacked" application and launcher don't seem to work correctly on windows 7, 8 or 11 (tested) I also have all my redists on each fully updated.

All produce the "error 0xc0000005" and setting the modified game client application to run in compatibility mode for anything causes a different error from the launcher "check if bob shipped a debug build by accident".

barnabwhy commented 2 years ago

This is not strictly true, I got the dedicated server to work on Windows Server 2012 R2 (nice name similarity) just fine and that’s based on win8

Juesto commented 2 years ago

the solution is unfortunately disabling ASLR. the alternative to this is injecting northstar.dll manually into titanfall2.exe before the game window comes up.

Freddycat commented 2 years ago

Disabling ASLR is not working for me , how do you inject manually?

SeriousGous commented 2 years ago

the solution is unfortunately disabling ASLR. the alternative to this is injecting northstar.dll manually into titanfall2.exe before the game window comes up.

Thank you endlessly, injecting is a bit tricky since you have to do it very fast, before the window shows up, but it actually worked for me on win 7 x64!

Juesto commented 2 years ago

the solution is unfortunately disabling ASLR. the alternative to this is injecting northstar.dll manually into titanfall2.exe before the game window comes up.

Thank you endlessly, injecting is a bit tricky since you have to do it very fast, before the window shows up, but it actually worked for me on win 7 x64!

the injection window is between a very small moment after process spawn and game window coming up, for both dedicated and game, since you're running vanilla through launcher this prevents multiple instances and therefore running dedicated and the game at once.

this bypasses #81 as well

guncu666 commented 2 years ago

" injecting northstar.dll manually into titanfall2.exe before the game window comes up." How can I do it??

Juesto commented 2 years ago

" injecting northstar.dll manually into titanfall2.exe before the game window comes up." How can I do it??

get extreme injector, select titanfall2 process with the game running, close it, drag northstar.dll into the list. run titanfall 2 normally and inject before the game window comes up, should work. this is a workaround mind you, every time you want northstar you need to do the same thing for now. a fix is being worked on

manotroll commented 2 years ago

https://i.imgur.com/Zl8p0zA.png win11 21H2 22000.376

GeckoEidechse commented 2 years ago

The modified "unpacked" application and launcher don't seem to work correctly on windows 7, 8 or 11 (tested) I also have all my redists on each fully updated.

Not strictly true for 8. I'm (one of the few maniacs still) running Windows 8.1 and I never experienced that error.

Juesto commented 2 years ago

The modified "unpacked" application and launcher don't seem to work correctly on windows 7, 8 or 11 (tested) I also have all my redists on each fully updated.

Not strictly true for 8. I'm (one of the few maniacs still) running Windows 8.1 and I never experienced that error.

regardless, the exe is a dump not something proper, this is getting ditched in favor of a better launcher see p0358 pr (#19) and discord thread

manotroll commented 2 years ago

So is a better alternative coming?

GeckoEidechse commented 2 years ago

@manotroll, it's still WIP, watch this pull request if you're curious.

p0358 commented 2 years ago

Should be completely fixed in v1.4.0 now

abarichello commented 2 years ago

Let us know if it happens on newer releases