Attempting to open a randomized Pokémon Sun ROM causes Citra to exit

#1

Issue:
Thank you for taking the time to read this, I hope you can help me with this problem I’ve been having. I’ve been attempting to randomize Pokémon Sun using a program called pk3ds, using a guide I’ve been following on YouTube. The problem is, when I go to start the game, Citra hangs for about two seconds, then it closes. There are no error messages or “program has stopped” messages, the program just exits completely. I have tried randomizing the game 4 times and the same thing still happens. If I use an unrandomized Pokémon Sun rom, the game will open normally, and if I use a randomized Pokémon Omega Ruby rom, that game also opens normally. This has happened on both Nightlies 835 and 836.

Is there a way to fix this problem? Is this problem caused by Citra or pk3ds? I’d really appreciate if you helped me, and thank you in advance.

System Information

  • Operating System: Windows 10 (64-bit)
  • CPU: Intel Core i7-6700K @ 4.00GHz
  • GPU: AMD Radeon R9 370
  • Citra Version (found in title bar): Nightly 835, 836
  • Game: Pokémon Sun (only if randomized, vanilla Sun works fine)

Diagnostic Log
[ 0.000000] Config core/settings.cpp:LogSettings:50: Citra Configuration:
[ 0.000010] Config core/settings.cpp:LogSetting:46: Core_UseCpuJit: true
[ 0.000011] Config core/settings.cpp:LogSetting:46: Renderer_UseHwRenderer: true
[ 0.000011] Config core/settings.cpp:LogSetting:46: Renderer_UseHwShader: true
[ 0.000012] Config core/settings.cpp:LogSetting:46: Renderer_ShadersAccurateGs: true
[ 0.000013] Config core/settings.cpp:LogSetting:46: Renderer_ShadersAccurateMul: false
[ 0.000013] Config core/settings.cpp:LogSetting:46: Renderer_UseShaderJit: true
[ 0.000017] Config core/settings.cpp:LogSetting:46: Renderer_UseResolutionFactor: 1
[ 0.000018] Config core/settings.cpp:LogSetting:46: Renderer_UseVsync: false
[ 0.000020] Config core/settings.cpp:LogSetting:46: Renderer_UseFrameLimit: true
[ 0.000022] Config core/settings.cpp:LogSetting:46: Renderer_FrameLimit: 100
[ 0.000023] Config core/settings.cpp:LogSetting:46: Layout_Toggle3d: false
[ 0.000023] Config core/settings.cpp:LogSetting:46: Layout_Factor3d: 0
[ 0.000027] Config core/settings.cpp:LogSetting:46: Layout_LayoutOption: 0
[ 0.000027] Config core/settings.cpp:LogSetting:46: Layout_SwapScreen: false
[ 0.000028] Config core/settings.cpp:LogSetting:46: Audio_OutputEngine: auto
[ 0.000028] Config core/settings.cpp:LogSetting:46: Audio_EnableAudioStretching: true
[ 0.000029] Config core/settings.cpp:LogSetting:46: Audio_OutputDevice: auto
[ 0.000029] Config core/settings.cpp:LogSetting:46: Camera_OuterRightName: blank
[ 0.000030] Config core/settings.cpp:LogSetting:46: Camera_OuterRightConfig:
[ 0.000077] Config core/settings.cpp:LogSetting:46: Camera_OuterRightFlip: 0
[ 0.000078] Config core/settings.cpp:LogSetting:46: Camera_InnerName: blank
[ 0.000078] Config core/settings.cpp:LogSetting:46: Camera_InnerConfig:
[ 0.000079] Config core/settings.cpp:LogSetting:46: Camera_InnerFlip: 0
[ 0.000080] Config core/settings.cpp:LogSetting:46: Camera_OuterLeftName: blank
[ 0.000080] Config core/settings.cpp:LogSetting:46: Camera_OuterLeftConfig:
[ 0.000082] Config core/settings.cpp:LogSetting:46: Camera_OuterLeftFlip: 0
[ 0.000097] Config core/settings.cpp:LogSetting:46: DataStorage_UseVirtualSd: true
[ 0.000105] Config core/settings.cpp:LogSetting:46: System_IsNew3ds: false
[ 0.000106] Config core/settings.cpp:LogSetting:46: System_RegionValue: 1
[ 0.000106] Config core/settings.cpp:LogSetting:46: Debugging_UseGdbstub: false
[ 0.000107] Config core/settings.cpp:LogSetting:46: Debugging_GdbstubPort: 24689
[ 0.542180] Frontend citra_qt/main.cpp:GMainWindow:152: Citra Version: Nightly #836 | HEAD-f4a389d
[ 0.555450] Frontend citra_qt/main.cpp:CheckForUpdates:541: Update check started
[ 2.183780] Frontend citra_qt/main.cpp:BootGame:685: Citra starting…
[ 2.387793] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:243: Loaded NCCH C:\Users\Straightway\AppData\Roaming/Citra/nand/00000000000000000000000000000000/title/0004009b/00010202/content/00000000.app is tainted, application behavior may not be as expected!
[ 2.388060] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:243: Loaded NCCH C:\Users\Straightway\AppData\Roaming/Citra/nand/00000000000000000000000000000000/title/0004009b/00010402/content/00000000.app is tainted, application behavior may not be as expected!
[ 2.388322] Service.FS core/file_sys/ncch_container.cpp:LoadOverrides:243: Loaded NCCH C:\Users\Straightway\AppData\Roaming/Citra/nand/00000000000000000000000000000000/title/000400db/00010302/content/00000000.app is tainted, application behavior may not be as expected!
[ 2.390340] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:514: GL_VERSION: 3.3.13476 Core Profile Forward-Compatible Context 22.19.172.769
[ 2.390343] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:515: GL_VENDOR: ATI Technologies Inc.
[ 2.390344] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:516: GL_RENDERER: AMD Radeon ™ R9 370
[ 2.395365] Loader core/loader/ncch.cpp:Load:159: Program ID: 0004000000164800
[ 2.395431] Service.FS core/file_sys/ncch_container.cpp:OpenFile:113: Failed to open C:\Users\Straightway\AppData\Roaming/Citra/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e/00164800/content/00000000.app
[ 2.405811] Loader core/hle/kernel/process.cpp:ParseKernelCaps:114: ExHeader kernel version: 2.50
[ 2.405817] Debug core/hle/kernel/vm_manager.cpp:operator():78: Assertion Failed!

#3

That looks like a broken ROM, and not a Citra issue.

#4

guess I’ll redump. Thanks.

#5

If the vanilla ROM works, it’s probably something with the way that you’re modifying it.