blueskythlikesclouds / DivaModLoader

Mod loader for Hatsune Miku: Project DIVA Mega Mix+
MIT License
269 stars 11 forks source link

Crashes on startup if dinput8.dll is present #24

Open palapapa opened 1 month ago

palapapa commented 1 month ago

If dinput8.dll is in the game directory, the game won't start. There are no error messages. I use 0.0.14. I don't know how to provide more information since it doesn't seem like the loader writes any logs. If there is more info I can provide, please let me know.

OS: Windows 10

R3alCl0ud commented 1 month ago

dinput8.dll is Diva Mod Loader, removing it returns the game to it's normal unmodified state hence why it doesn't crash on startup. As for extra information:

  1. Have you tried redownloading and reinstalling DML?
  2. What mods do you have installed?

This sounds like an issue with a mod you have installed, I'd recommend disabling and going through each mod individually using a mod manager (rust4diva, diva mod manager, d4m) until you find the one that is crashing the game on startup

palapapa commented 1 month ago
  1. Yes
  2. I disabled every mod and it still wouldn't start
blueskythlikesclouds commented 1 month ago

Is your game the latest version? Also set console to true in config.toml and see if a console window appears.

palapapa commented 1 month ago

This is what is printed to the console before the game crashes:

Mods: "mods"
 Using alphanumeric folder name order for priority
 - ! MegaMixThumbnailManager
 - !English Lyrics
 - !English Lyrics - DLC
 - !English Lyrics - F2nd Song Pack
 - English Lyrics - Project Hoshikuzu
 - !English Lyrics - Restore Cut Songs (1.1)
 - Template Module Mod
 - AC Unused song (LiNK)
 - (Naked) Apron Accessory
 - Azuki3's XHD Module Pack
 - Azuki3's XHD Module Pack - OPD
 - Beta Miku [Concept Miku]
 - Better Sand Planet Background
 - Black Rock Shooter Module
 - CASTSTATION Modules
 - CASTSTATION Modules Nude
 - No-Toon Catch The Wave Shader with Custom ADP
 - CubesLightingMod
 - Disable Watermarks
 - Doubleganger English Assets
 - Eden Project Module Pack - No OPD
 - ExPatch
 - Extra Sakine Modules
 - Extra Teto Modules
 - F2nd Song Pack
 - Far Away
 - Farewell Modules
 - Fixed 2d flowers for The Two of Us - Futaride -MM+ version-
 - Future Tone Customization
 - Goth Miku and Luka
 - Gumi
 - Heart Eyes Accessories
 - Hello World. Upgrade
 - Project Hoshikuzu - Custom Song Pack
 - Ichi-no-Sakura Gray Blossom
 - Jersey Neru
 - Leaderboard Blocker
 - Love Colored Ward Module
 - Magical Mirai 2020 Winter Festival KAITO
 - mikitm115 by Wil23
 - MikuFan01 Module Pack [Re:DONE]
 - MMORPG English Text
 - PinocchioP Module Pack
 - Project Hoshikuzu - Vanilla Song Covers
 - PS4 Module Icons
 - PV Style Pumpkin Dream Hair
 - Restore Cut Songs
 - Rin mousou girl HG panty
 - Rin reactor HG panties
 - Rin-Chan Module Pack!
 - Rosa Bianca Haku
 - Sakura no Ame Miku
 - TETOxKOUSA
 - Miku T-Shirt Redesign
 - Very Cool
 - Vocaloid Module Pack
 - Project Diva X Song Pack
 - Blushing Accessory
 - ~English Lyrics - X Song Pack (Uncensored) (Fixed)
 - Project Hoshikuzu - Module Pack
DLL:
 - OpenLyricLimit.dll
 - LyricsPatch.dll
[Signature] sigUploadSettingCheck received: 0x14064cc40
 - LeaderboardBlocker.dll
[Signature] sigSaturationBlock1 received: 0x140580674
[Signature] sigSaturationBlock2 received: 0x1405817cc
 - RestoreCutSongs.dll
[Signature] sigUploadSettingCheck received: 0x14064cc40
 - LeaderboardBlocker.dll
 - accessory.dll
[Signature] sigCustomizationState received: 0x14067ea3c
[Signature] sigCustomizationStyle received: 0x140681e70
[Signature] sigNPRArchive received: 0x14040b2b0
[Signature] sigStyle received: 0x14040cd00
[Signature] sigVisualSetting received: 0x1401d64b0
[Signature] sigSongSelect received: 0x1406f4920
 - FutureToneCustomization.dll
 - ExPatch.dll
[Signature] sigPVMark received: 0x140c8b6d0
[Signature] sigCopyright received: 0x140cbcf10
[Signature] sigLyrics received: 0x140245360
[Signature] sigScreenshot received: 0x140601a00
[Signature] sigGameModeNX received: 0x1406f2ae0
[Signature] sigGameModePS4 received: 0x140206810
[Signature] sigGetPVMode received: 0x14040b2b0
[Signature] sigPhotoMode received: 0x14065c7e0
 - DisableWatermark.dll
 - OpenLyricLimit.dll

Strangely, even though I have disabled all mods, some mods still showed up in the output, and those are just a part of all the mods I have installed. I tried renaming the mods folder to make it not able to see the mods, and it still crashed on startup with this output:

Mods: "mods"
 Using alphanumeric folder name order for priority
blueskythlikesclouds commented 1 month ago

Don't delete the mods folder, move the mods you want to disable to another folder. You can make a sub-folder called "disabled" in mods directory, and move them there.

So far it seems the mod loader gets pretty ahead, and you have way too many mods enabled. It's possible one of them is causing an issue. Try disabling and see which one is at fault.

palapapa commented 3 weeks ago

Although I haven't tried that, I found that Windows actually generated some dump files. Here's the analysis from windbg:

*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Unable to verify checksum for dinput8.dll

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1218

    Key  : Analysis.Elapsed.mSec
    Value: 16369

    Key  : Analysis.IO.Other.Mb
    Value: 29

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 37

    Key  : Analysis.Init.CPU.mSec
    Value: 1812

    Key  : Analysis.Init.Elapsed.mSec
    Value: 41680

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 98

    Key  : Failure.Bucket
    Value: CPP_EXCEPTION_e06d7363_dinput8.dll!Unknown

    Key  : Failure.Hash
    Value: {24620b4b-8c54-a41c-80fc-9d196548c7f7}

    Key  : Timeline.Process.Start.DeltaSec
    Value: 5

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

FILE_IN_CAB:  DivaMegaMix.exe.8316.dmp

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=fffffffffff0bdc0 rbx=00007ffd63c342d8 rcx=0000000000000000
rdx=00000000064c0001 rsi=000000000014fb00 rdi=0000000019930520
rip=00007ffe6054b699 rsp=000000000014f960 rbp=000000000014fca0
 r8=000000000014f248  r9=00007f0000000000 r10=000000000014f260
r11=0000000000000030 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei pl nz na pe nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000202
KERNELBASE!RaiseException+0x69:
00007ffe`6054b699 0f1f440000      nop     dword ptr [rax+rax]
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffe6054b699 (KERNELBASE!RaiseException+0x0000000000000069)
   ExceptionCode: e06d7363 (C++ EH exception)
  ExceptionFlags: 00000001
NumberParameters: 4
   Parameter[0]: 0000000019930520
   Parameter[1]: 000000000014fb00
   Parameter[2]: 00007ffd63c342d8
   Parameter[3]: 00007ffd63bc0000

PROCESS_NAME:  DivaMegaMix.exe

ERROR_CODE: (NTSTATUS) 0xe06d7363 - <Unable to get error code text>

EXCEPTION_CODE_STR:  e06d7363

EXCEPTION_PARAMETER1:  0000000019930520

EXCEPTION_PARAMETER2:  000000000014fb00

EXCEPTION_PARAMETER3:  00007ffd63c342d8

EXCEPTION_PARAMETER4: 7ffd63bc0000

STACK_TEXT:  
00000000`0014f960 00007ffd`63bfa30f     : 00000000`00000000 00000000`0000000f 00000000`0434a0a0 00000000`0000003e : KERNELBASE!RaiseException+0x69
00000000`0014fa40 00007ffd`63bc9fa1     : 00000000`00000000 00007ffd`63c38060 00000000`0014fbf0 00000001`63d7d020 : dinput8+0x3a30f
00000000`0014faa0 00007ffd`63be6916     : 00000000`0014fbf0 00007ffd`63c38060 00007ffd`63c38060 00000001`63d7d020 : dinput8+0x9fa1
00000000`0014fba0 00007ffd`63be2711     : 00000000`63d7d020 00000001`63d7d020 00000000`0027a000 00000000`00000000 : dinput8+0x26916
00000000`0014ff00 00007ffe`61b77374     : 00000000`00000000 00000000`00000000 00000000`00000000 00007ffd`639d0000 : dinput8+0x22711
00000000`0014ff30 00007ffe`62cbcc91     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000000`0014ff60 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21

STACK_COMMAND:  ~0s; .ecxr ; kb

SYMBOL_NAME:  dinput8+3a30f

MODULE_NAME: dinput8

IMAGE_NAME:  dinput8.dll

FAILURE_BUCKET_ID:  CPP_EXCEPTION_e06d7363_dinput8.dll!Unknown

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {24620b4b-8c54-a41c-80fc-9d196548c7f7}

Followup:     MachineOwner
---------