Pokemon Omega Ruby keeps loading forever

Issue:
I made an Omega Ruby randomizer following a lot of videos on how to do it. And when i try to open the file, the game just keeps loading.

System Information

  • Operating System: Windows 10 (10.0)
  • CPU: AMD Ryzen 7 1700X Eight-Core Processor
  • GPU: 3071MB NVIDIA GeForce GTX 1060 3GB (ZOTAC International)
  • Citra Nightly 1594
  • Game: Pokemon Omega Ruby
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
[ 0.085482] Config core/settings.cpp:LogSettings:77: Citra Configuration:
[ 0.085496] Config core/settings.cpp:LogSetting:73: Core_UseCpuJit: true
[ 0.085508] Config core/settings.cpp:LogSetting:73: Renderer_UseGLES: false
[ 0.085511] Config core/settings.cpp:LogSetting:73: Renderer_UseHwRenderer: true
[ 0.085512] Config core/settings.cpp:LogSetting:73: Renderer_UseHwShader: true
[ 0.085513] Config core/settings.cpp:LogSetting:73: Renderer_SeparableShader: false
[ 0.085514] Config core/settings.cpp:LogSetting:73: Renderer_ShadersAccurateMul: false
[ 0.085515] Config core/settings.cpp:LogSetting:73: Renderer_UseShaderJit: true
[ 0.085517] Config core/settings.cpp:LogSetting:73: Renderer_UseResolutionFactor: 0
[ 0.085518] Config core/settings.cpp:LogSetting:73: Renderer_FrameLimit: 100
[ 0.085519] Config core/settings.cpp:LogSetting:73: Renderer_UseFrameLimitAlternate: false
[ 0.085520] Config core/settings.cpp:LogSetting:73: Renderer_FrameLimitAlternate: 300
[ 0.085522] Config core/settings.cpp:LogSetting:73: Renderer_PostProcessingShader: none (builtin)
[ 0.085523] Config core/settings.cpp:LogSetting:73: Renderer_FilterMode: true
[ 0.085524] Config core/settings.cpp:LogSetting:73: Renderer_TextureFilterName: none
[ 0.085524] Config core/settings.cpp:LogSetting:73: Stereoscopy_Render3d: 0
[ 0.085525] Config core/settings.cpp:LogSetting:73: Stereoscopy_Factor3d: 0
[ 0.085526] Config core/settings.cpp:LogSetting:73: Layout_LayoutOption: 2
[ 0.085527] Config core/settings.cpp:LogSetting:73: Layout_SwapScreen: false
[ 0.085528] Config core/settings.cpp:LogSetting:73: Layout_UprightScreen: false
[ 0.085529] Config core/settings.cpp:LogSetting:73: Utility_DumpTextures: false
[ 0.085530] Config core/settings.cpp:LogSetting:73: Utility_CustomTextures: false
[ 0.085547] Config core/settings.cpp:LogSetting:73: Utility_UseDiskShaderCache: true
[ 0.085547] Config core/settings.cpp:LogSetting:73: Audio_EnableDspLle: false
[ 0.085548] Config core/settings.cpp:LogSetting:73: Audio_EnableDspLleMultithread: false
[ 0.085549] Config core/settings.cpp:LogSetting:73: Audio_OutputEngine: auto
[ 0.085550] Config core/settings.cpp:LogSetting:73: Audio_EnableAudioStretching: false
[ 0.085551] Config core/settings.cpp:LogSetting:73: Audio_OutputDevice: auto
[ 0.085551] Config core/settings.cpp:LogSetting:73: Audio_InputDeviceType: 0
[ 0.085552] Config core/settings.cpp:LogSetting:73: Audio_InputDevice: Default
[ 0.085553] Config core/settings.cpp:LogSetting:73: Camera_OuterRightName: blank
[ 0.085554] Config core/settings.cpp:LogSetting:73: Camera_OuterRightConfig:
[ 0.085555] Config core/settings.cpp:LogSetting:73: Camera_OuterRightFlip: 0
[ 0.085556] Config core/settings.cpp:LogSetting:73: Camera_InnerName: blank
[ 0.085557] Config core/settings.cpp:LogSetting:73: Camera_InnerConfig:
[ 0.085557] Config core/settings.cpp:LogSetting:73: Camera_InnerFlip: 0
[ 0.085558] Config core/settings.cpp:LogSetting:73: Camera_OuterLeftName: blank
[ 0.085559] Config core/settings.cpp:LogSetting:73: Camera_OuterLeftConfig:
[ 0.085560] Config core/settings.cpp:LogSetting:73: Camera_OuterLeftFlip: 0
[ 0.085560] Config core/settings.cpp:LogSetting:73: DataStorage_UseVirtualSd: true
[ 0.085561] Config core/settings.cpp:LogSetting:73: System_IsNew3ds: true
[ 0.085563] Config core/settings.cpp:LogSetting:73: System_RegionValue: -1
[ 0.085563] Config core/settings.cpp:LogSetting:73: Debugging_UseGdbstub: true
[ 0.085564] Config core/settings.cpp:LogSetting:73: Debugging_GdbstubPort: 24689
[ 0.251852] Input input_common/udp/client.cpp:StartCommunication:207: Starting communication with UDP input server on 127.0.0.1:26760
[ 0.579040] Frontend citra_qt/main.cpp:GMainWindow:187: Citra Version: Nightly 1594 | HEAD-d88d220
[ 0.579050] Frontend citra_qt/main.cpp:GMainWindow:189: Host CPU: AMD Ryzen 7 1700X Eight-Core Processor
[ 0.579080] Frontend citra_qt/main.cpp:GMainWindow:191: Host OS: Windows 10 (10.0)
[ 0.623084] Service.FS core/file_sys/ncch_container.cpp:Load:242: Secure1 KeyX missing
[ 0.623093] Service.FS core/file_sys/ncch_container.cpp:Load:256: Secure2 KeyX missing
[ 0.623105] Service.FS core/file_sys/ncch_container.cpp:Load:343: NCCH is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.623134] Frontend citra_qt/main.cpp:CheckForUpdates:810: Update check started
[ 1.209050] Frontend citra_qt/main.cpp:OnUpdateFound:823: No updates found
[ 67.411966] Frontend citra_qt/main.cpp:BootGame:1002: Citra starting…
[ 67.643242] Audio.DSP audio_core/hle/wmf_decoder.cpp:Impl:67: Media Foundation activated
[ 67.646065] Audio.DSP audio_core/hle/wmf_decoder_utils.cpp:MFDecoderInit:50: Windows® Media Foundation found 1 suitable decoder(s)
[ 67.656979] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:1663: default device period: 100000, minimum device period: 30000

[ 67.656993] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:1676: Minimum latency in frames: 328

[ 67.657033] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:2119: (0000028de3b2a380) Setup render: device=0000000000000000

[ 67.662413] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:1998: Setup requested=[f=0 r=32728 c=2 l=3] mix=[f=0 r=48000 c=2 l=3]

[ 67.702608] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:2170: Target sample rate: 32728

[ 67.705525] Audio.Sink audio_core/cubeb_sink.cpp:LogCallback:162: cubeb_wasapi.cpp:2353: Stream init succesfull (0000028de3b2a380)

[ 67.707211] Audio.Sink audio_core/cubeb_sink.cpp:StateCallback:137: Cubeb Audio Stream Started
[ 67.707227] RPC_Server core/rpc/rpc_server.cpp:RPCServer:12: Starting RPC server …
[ 67.707449] RPC_Server core/rpc/rpc_server.cpp:HandleRequestsLoop:113: Request handler started.
[ 67.707477] RPC_Server core/rpc/rpc_server.cpp:RPCServer:16: RPC started.
[ 67.710036] Service.HTTP core/hle/service/http_c.cpp:DecryptClCertA:827: ClCertA file missing
[ 67.761844] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:1194: GL_VERSION: 3.3.0 NVIDIA 432.00
[ 67.761849] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:1195: GL_VENDOR: NVIDIA Corporation
[ 67.761849] Render.OpenGL video_core/renderer_opengl/renderer_opengl.cpp:Init:1196: GL_RENDERER: GeForce GTX 1060 3GB/PCIe/SSE2
[ 67.775544] Loader core/loader/ncch.cpp:Load:192: Program ID: 000400000011C400
[ 67.775658] Service.FS core/file_sys/ncch_container.cpp:OpenFile:130: Failed to open C:\Users\Gebruiker\AppData\Roaming/Citra/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/0004000e/0011c400/content/00000000.app
[ 67.836735] Loader core/hle/kernel/process.cpp:ParseKernelCaps:141: ExHeader kernel version: 2.39
[ 67.839839] Service.CFG core/hle/service/cfg/cfg.cpp:SetPreferredRegionCodes:654: Preferred region code set to 1
[ 67.901476] Render.OpenGL video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadTransferable:169: Found a transferable disk cache with 375 entries
[ 68.019701] Render.OpenGL video_core/renderer_opengl/gl_shader_disk_cache.cpp:LoadPrecompiledFile:268: Found a precompiled disk cache with 375 decompiled entries and 375 binary entries
[ 68.408355] Debug.GDBStub core/gdbstub/gdbstub.cpp:Init:1162: Starting GDB server on port 24689…
[ 68.408612] Debug.GDBStub core/gdbstub/gdbstub.cpp:Init:1196: Waiting for gdb to connect…

[ 118.007188] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:StopCameras:201: Stopping all cameras
[17492] registry_win.h:66:GetProtoFromRegistryValue Getting length of binary registry key Software\Google\DriveFS\Share failed with 0x2
[ 130.931073] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:StopCameras:201: Stopping all cameras
[17492] registry_win.h:66:GetProtoFromRegistryValue Getting length of binary registry key Software\Google\DriveFS\Share failed with 0x2
[ 142.839369] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:StopCameras:201: Stopping all cameras
[ 338.786003] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:StopCameras:201: Stopping all cameras
[17492] registry_win.h:66:GetProtoFromRegistryValue Getting length of binary registry key Software\Google\DriveFS\Share failed with 0x2
[17492] registry_win.h:66:GetProtoFromRegistryValue Getting length of binary registry key Software\Google\DriveFS\Share failed with 0x2
[ 355.783449] Render video_core/video_core.cpp:RequestScreenshot:73: A screenshot is already requested or in progress, ignoring the request
[ 372.382621] Service.CAM citra_qt/camera/qt_multimedia_camera.cpp:StopCameras:201: Stopping all cameras

Does it work on your Nintendo 3DS?

The rom does work on citra. After randomizing it doesn’t work anymore

So I just randomized my own copy of Omega Ruby and it works just fine on Citra.

The latest release of pk3DS supports unpacking and repacking decrypted games (Tools > Extrack/Rebuild). Do not use any other tools to unpack/repack or decrypt your game, they will break compatibility with Citra!
Use the latest version of GodMode9 and your game will be properly decrypted and ready to use for pk3DS.

Check the bottom of this post to get the latest pk3DS https://projectpokemon.org/home/forums/topic/34377-pk3ds-xy-oras-rom-editor-and-randomizer/

Also disable the GDB Stub, that’s only meant for developers.
And I would recomment to enable Accurate Multiplication. Else you might run into a bug with the Disk Shader Cache where Citra would use more and more RAM until it crashes.

Just making these changes got it to work, but there are a lot of freezes happening and with the log open there are a lot of recurring errors:

[ 20.265876] Service.FS ./core/file_sys/archive_backend.h:GetOpenDelayNs:193: Delay generator was not initalized. Using default
[ 20.266119] Service.FS core/file_sys/archive_ncch.cpp:OpenFile:145: Country list file missing. Loading open source replacement from memory