SachinVin / citra_android

An Android frontend for the Citra Emulator
GNU General Public License v3.0
573 stars 90 forks source link

Crash when opening a game. #16

Closed matcool closed 6 years ago

matcool commented 6 years ago

Upon trying to open a game (I've tested Super Mario 3D Land and Alien Chaos 3D) the app due to the rom not being decrypted (which in my opinion should just open a error message instead of crashing the whole app).

[   1.732354] Frontend <Info> citra_android/jni/emu_window/emu_window.cpp:EmuWindow_Android:52: InitDisplay
[   1.732399] Frontend <Info> citra_android/jni/ndk_helper/GLContext.cpp:Init:78: GLContext Init()
[   1.793024] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:179: ExHeader Program ID mismatch: the ROM is probably encrypted.
[   1.793071] Core <Critical> core/core.cpp:Load:95: Failed to determine system mode (Error 8)!
[   1.793292] Frontend <Critical> citra_android/jni/native.cpp:RunCitra:124: The game that you are trying to load must be decrypted before being used with Citra. 

 For more information on dumping and decrypting games, please refer to: https://citra-emu.org/wiki/dumping-game-cartridges/

PS: the decrypting on the wiki seems to require an actual 3DS, is there any way to decrypt only using your pc?

Blight-kun commented 6 years ago

yes i have the software, it greets with the title "Noob Friendly 3DS, SCU to CIA Converter 4.1" not mine tho but can convert cia to 3ds

matcool commented 6 years ago

Update: I got a decrypted rom (it even has the game icon on the library) but im still crashing upon opening. Heres the log:

[   4.341914] Frontend <Info> citra_android/jni/emu_window/emu_window.cpp:EmuWindow_Android:52: InitDisplay
[   4.342385] Frontend <Info> citra_android/jni/ndk_helper/GLContext.cpp:Init:78: GLContext Init()
[   4.399060] Core <Warning> core/core.cpp:Init:162: CPU JIT requested, but Dynarmic not available
[   4.399968] Audio <Error> audio_core/sink_details.cpp:GetSinkDetails:39: AudioCore::SelectSink given invalid sink_id 
[   4.428121] Service.FS <Error> core/file_sys/savedata_archive.cpp:OpenFile:67: Non-existing file ./sdcard/citra-emu/nand/data/00000000000000000000000000000000/sysdata/00010017/00000000/config can't be open without mode create.
[   4.428280] Service.FS <Error> core/file_sys/savedata_archive.cpp:DeleteFile:109: File not found ./sdcard/citra-emu/nand/data/00000000000000000000000000000000/sysdata/00010017/00000000/config
SachinVin commented 6 years ago

did you dump your system files ? If not follow guide here

InazumaIulius commented 6 years ago

Why Is your Adreno 505 supporting OPEN GL ES 3.2? I have a Snapdragon 616 and Adreno 505 with only OPEN GL ES 3.1? :( Is there any update oppertunity?

matcool commented 6 years ago

After I added the shared font on the sysdata folder and the other data onto the nand folder I now get this error:

[ 0.023215] Frontend <Info> citra_android/jni/emu_window/emu_window.cpp:EmuWindow_Android:52: InitDisplay
[ 0.023249] Frontend <Info> citra_android/jni/ndk_helper/GLContext.cpp:Init:78: GLContext Init()
[ 0.074911] Core <Warning> core/core.cpp:Init:162: CPU JIT requested, but Dynarmic not available
[ 0.075829] Audio <Error> audio_core/sink_details.cpp:GetSinkDetails:39: AudioCore::SelectSink given invalid sink_id 
Nishant765 commented 6 years ago

Hey can you guys tell me where to paste the user folder on Android? I know how to do it on the PC.

thepriyamkalra commented 6 years ago

@Nishant765 You have to copy the folder(s) inside of the user folder and paste them in the citra-emu folder in the internal storage of your phone (if you have played any game on citra for even once then that folder should be there)

Nishant765 commented 6 years ago

I know that bro. But can you tell me the step by step directions like which folder and subfolder to paste it on? Thank you so much.

On Wed, Oct 10, 2018, 8:48 PM Priyam005 notifications@github.com wrote:

@Nishant765 https://github.com/Nishant765 You have to copy the folder(s) inside of the user folder and paste them in the citra-emu folder in the internal storage of your phone (if you have played any game on citra for even once then that folder should be there)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SachinVin/citra_android/issues/16#issuecomment-428614060, or mute the thread https://github.com/notifications/unsubscribe-auth/AjpYQEY6-3wbZ-rgENDXhzwjj8LoLE8gks5ujg_RgaJpZM4XLkRn .

thepriyamkalra commented 6 years ago

@Nishant first tell me if you have a 'user' in the directory where you have the executable

Nishant765 commented 6 years ago

Bro I figured it out. Now animal crossing new leaf which did not work for me initially is now working after I pasted it. But Mario and Luigi SUperstar saga 3DS is kicking me out. I guess that's to be fixed by updates and not the user folder. Thanks.

On Wed, Oct 10, 2018, 8:53 PM Priyam005 notifications@github.com wrote:

@nishant https://github.com/nishant first tell me if you have a 'user' in the directory where you have the excutable

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SachinVin/citra_android/issues/16#issuecomment-428615963, or mute the thread https://github.com/notifications/unsubscribe-auth/AjpYQG0zT23GdJmPqYT2AhNy6cFEsb-rks5ujhD2gaJpZM4XLkRn .

thepriyamkalra commented 6 years ago

Am really glad to hear you fixed it ;)

KeiKun67 commented 6 years ago

I can't play Harvest Moon An New Beginning or Story Of Season, When i run the rom the app close.....

thepriyamkalra commented 6 years ago

@KeiKun67 please tell me the specifications of your phone

KeiKun67 commented 6 years ago

Xiaomi Redmi Note 5A Snapdragon 425 16 Rom 2 Ram

thepriyamkalra commented 6 years ago

@KieKun67 it looks like your phone does not support citra for confirmation I would more detailed specifications like the architecture and opengl version

KeiKun67 commented 6 years ago

I cant specifically explain it but does this help https://www.google.com/url?sa=t&source=web&rct=j&url=https://gadgets.ndtv.com/xiaomi-redmi-note-5a-4333&ved=2ahUKEwiz7ouByP7dAhXTFogKHUX2DcYQFjAAegQIBBAB&usg=AOvVaw1K7BB0CXNDgfaZ-had6rwm

nishant commented 6 years ago

@Priyam005 please mention the correct Nishant @Nishant765.i have been getting notifications from this thread.

matcool commented 6 years ago

closed because way too many off topic comments (make your own issue please)