SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   Troubles with choosing mods (https://www.subsim.com/radioroom/showthread.php?t=198021)

Targor Avelany 08-31-12 09:59 AM

Quote:

Originally Posted by MrMacmanaman (Post 1928491)
Anyone got an idea why sh5 caused me bsod? Is this game so full of bugs, that it is normal to get ctds and bsods?

ctds are normal.... bsod... well, that is windows normal :ping:

Sober, nope, did not help. I probably simply lack the memory (or my memory faulty somewhere) to load up that much. Even with 4gb switch it crashes within about 30-20kms of Keil. Makes me wonder if there is some huge force leaving Kiel around Sep 7, '39 :)

Trevally. 08-31-12 11:40 AM

Quote:

Originally Posted by Targor Avelany (Post 1928527)
ctds are normal.... bsod... well, that is windows normal :ping:

Sober, nope, did not help. I probably simply lack the memory (or my memory faulty somewhere) to load up that much. Even with 4gb switch it crashes within about 30-20kms of Keil. Makes me wonder if there is some huge force leaving Kiel around Sep 7, '39 :)

All convoys leaving Kiel has been removed in OHII. This fixed the ctd with the tutorial at the start of the game:up:

volodya61 08-31-12 11:51 AM

Quote:

Originally Posted by Targor Avelany (Post 1928527)
..Even with 4gb switch it crashes within about 30-20kms of Keil..

Try to reduce your TC to TC2 or TC4 when crossing deathline..

Targor Avelany 08-31-12 12:04 PM

Quote:

Originally Posted by volodya61 (Post 1928577)
Try to reduce your TC to TC2 or TC4 when crossing deathline..

that is the problem... TC is at 1... :/\\!!

Will try olydebug today, see what shows..

Targor Avelany 08-31-12 07:55 PM

well, being stubborn as hell, decided that fiddling around with OllyDbg will be amusing...

And this is what I get on the crash:
Log data, item 266
Address = 10024C27
Message = Access violation when reading [1C7ED0A0] - Shift+Run/Step to pass exception to the program

now, to my understanding it is possible that whatever is happening in the game trying to either read/write outside the stack or the memory is corrupt.. am I on the right track here?

TheDarkWraith 08-31-12 09:36 PM

Quote:

Originally Posted by Targor Avelany (Post 1928781)
well, being stubborn as hell, decided that fiddling around with OllyDbg will be amusing...

And this is what I get on the crash:
Log data, item 266
Address = 10024C27
Message = Access violation when reading [1C7ED0A0] - Shift+Run/Step to pass exception to the program

now, to my understanding it is possible that whatever is happening in the game trying to either read/write outside the stack or the memory is corrupt.. am I on the right track here?

As everytime you load a process into memory it gets placed wherever the Window's loader decides to place it thus giving addresses does no good. It's best to state which module and then the offset in the module. I'd be curious to take a look at your problem but you need to specify module (i.e. sh5.exe) and offset (i.e. +0x00402E). In order to get OllyDebug to show offsets scroll the window to the very top. Click on the far left bar that's showing the addresses. That'll change the way addresses are shown. Click until you get it showing offsets (first 'address' will be +0x0). To get back to where you were right click on main window and select 'Go to origin'

Targor Avelany 09-01-12 12:23 AM

Quote:

Originally Posted by TheDarkWraith (Post 1928797)
As everytime you load a process into memory it gets placed wherever the Window's loaded decides to place it giving addresses does no good. It's best to state which module and then the offset in the module. I'd be curious to take a look at your problem but you need to specify module (i.e. sh5.exe) and offset (i.e. +0x00402E). In order to get OllyDebug to show offsets scroll the window to the very top. Click on the far left bar that's showing the addresses. That'll change the way addresses are shown. Click until you get it showing offsets (first 'address' will be +0x0). To get back to where you were right click on main window and select 'Go to origin'

Thank you :)

Will take me forever to figure out how all this works.. I'm not as smart as I wish...

Well, setting Olly as a default debug gave me lovely:
Log data, item 4
Address =
Message = Process terminated, exit code C0000417 (INVALID_CRUNTIME_PARAMETER)
on ntdll module - out of things... ntdll.RtUserThreadStart...

while showing:
[196] DllMain: hModule=0x10000000, ulReason=1, lpReserved=0x00000000, gRefCnt = 0
[196] DllMain: hModule=0x10000000, ulReason=0, lpReserved=0x00000000, gRefCnt = 0

in the DbgView

Well, guess I know what I'm doing for the next month or more - reading lots on assembly

TheDarkWraith 09-01-12 12:32 AM

Quote:

Originally Posted by Targor Avelany (Post 1928815)
Well, setting Olly as a default debug gave me lovely:
Log data, item 4
Address =
Message = Process terminated, exit code C0000417 (INVALID_CRUNTIME_PARAMETER)
on ntdll module - out of things... ntdll.RtUserThreadStart...

This is the end result, it is not the cause. To find the cause you need to run up the stack chain to see what caused it :yep: Place breakpoints on what you suspect might be the cause and run the game again :up:


All times are GMT -5. The time now is 11:48 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.