You are on page 1of 8

[ 0.

122494] Frontend <Info>


main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_CreateLogFile:478:
Logging backend initialised
[ 0.122562] Frontend <Info>
main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogUserDirectory:485:
User directory path: content://com.android.externalstorage.documents/tree/primary
%3AIDMP%2FCompressed
[ 0.147784] Config <Info> main/jni/config.cpp:LoadINI:57: Successfully loaded
/config/config.ini
[ 0.194849] Frontend <Info>
main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:697:
Citra Version: Canary 2502 | HEAD-af2db73
[ 0.195045] Frontend <Info>
main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:698: Host
CPU: MT6781
[ 0.195058] Frontend <Info>
main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:700: Host
OS: Android API level 31
[ 0.332764] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.337197] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.337213] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.337217] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.469451] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.469475] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.469478] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.469481] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.518275] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.518296] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.518298] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.518302] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.560068] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.560091] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.560093] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.560098] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.646457] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.646497] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.646499] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.646502] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.687224] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.687247] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.687249] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.687253] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.728461] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.728483] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.728485] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.728489] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.770507] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.770529] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.770533] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.770535] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.938233] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.938276] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.938292] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.938297] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.938451] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.938469] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.938475] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.938479] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 0.941191] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 0.941237] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 0.941245] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 0.941251] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 1.035467] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 1.035505] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 1.035510] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 1.035514] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 51.138906] Config <Info> main/jni/config.cpp:LoadINI:57: Successfully loaded
/config/config.ini
[ 52.628389] Frontend <Info>
main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_SurfaceChanged:275:
Surface changed
[ 52.629328] Frontend <Info> main/jni/native.cpp:RunCitra:143: Citra starting...
[ 52.706616] Config <Info> main/jni/config.cpp:LoadINI:57: Successfully loaded
/config/config.ini
[ 52.770379] Service.FS <Error> core/file_sys/ncch_container.cpp:LoadHeader:160:
16384
[ 52.770420] Config <Info> common/settings.cpp:LogSettings:141: Citra
Configuration:
[ 52.770425] Config <Info> common/settings.cpp:operator():138: Core_UseCpuJit:
true
[ 52.770433] Config <Info> common/settings.cpp:operator():138:
Core_CPUClockPercentage: 100
[ 52.770436] Config <Info> common/settings.cpp:operator():138: Renderer_UseGLES:
true
[ 52.770439] Config <Info> common/settings.cpp:operator():138:
Renderer_GraphicsAPI: OpenGL
[ 52.770441] Config <Info> common/settings.cpp:operator():138:
Renderer_AsyncShaders: false
[ 52.770444] Config <Info> common/settings.cpp:operator():138:
Renderer_AsyncPresentation: true
[ 52.770446] Config <Info> common/settings.cpp:operator():138:
Renderer_SpirvShaderGen: true
[ 52.770448] Config <Info> common/settings.cpp:operator():138: Renderer_Debug:
false
[ 52.770451] Config <Info> common/settings.cpp:operator():138:
Renderer_UseHwShader: true
[ 52.770454] Config <Info> common/settings.cpp:operator():138:
Renderer_ShadersAccurateMul: false
[ 52.770456] Config <Info> common/settings.cpp:operator():138:
Renderer_UseShaderJit: true
[ 52.770459] Config <Info> common/settings.cpp:operator():138:
Renderer_UseResolutionFactor: 1
[ 52.770462] Config <Info> common/settings.cpp:operator():138:
Renderer_FrameLimit: 100
[ 52.770464] Config <Info> common/settings.cpp:operator():138: Renderer_VSyncNew:
true
[ 52.770467] Config <Info> common/settings.cpp:operator():138:
Renderer_PostProcessingShader: none (builtin)
[ 52.770469] Config <Info> common/settings.cpp:operator():138:
Renderer_FilterMode: true
[ 52.770471] Config <Info> common/settings.cpp:operator():138:
Renderer_TextureFilter: None
[ 52.770478] Config <Info> common/settings.cpp:operator():138:
Stereoscopy_Render3d: 0
[ 52.770480] Config <Info> common/settings.cpp:operator():138:
Stereoscopy_Factor3d: 0
[ 52.770483] Config <Info> common/settings.cpp:operator():138:
Stereoscopy_MonoRenderOption: 0
[ 52.770487] Config <Info> common/settings.cpp:operator():138:
Layout_LayoutOption: 5
[ 52.770489] Config <Info> common/settings.cpp:operator():138: Layout_SwapScreen:
false
[ 52.770491] Config <Info> common/settings.cpp:operator():138:
Layout_UprightScreen: false
[ 52.770514] Config <Info> common/settings.cpp:operator():138:
Layout_LargeScreenProportion: 4
[ 52.770516] Config <Info> common/settings.cpp:operator():138:
Utility_DumpTextures: false
[ 52.770519] Config <Info> common/settings.cpp:operator():138:
Utility_CustomTextures: false
[ 52.770521] Config <Info> common/settings.cpp:operator():138:
Utility_PreloadTextures: false
[ 52.770524] Config <Info> common/settings.cpp:operator():138:
Utility_AsyncCustomLoading: true
[ 52.770526] Config <Info> common/settings.cpp:operator():138:
Utility_UseDiskShaderCache: true
[ 52.770529] Config <Info> common/settings.cpp:operator():138: Audio_Emulation:
HLE
[ 52.770532] Config <Info> common/settings.cpp:operator():138: Audio_OutputType: 0
[ 52.770533] Config <Info> common/settings.cpp:operator():138: Audio_OutputDevice:
auto
[ 52.770536] Config <Info> common/settings.cpp:operator():138: Audio_InputType: 0
[ 52.770538] Config <Info> common/settings.cpp:operator():138: Audio_InputDevice:
auto
[ 52.770540] Config <Info> common/settings.cpp:operator():138:
Audio_EnableAudioStretching: true
[ 52.770543] Config <Info> common/settings.cpp:operator():138:
Camera_OuterRightName: ndk
[ 52.770545] Config <Info> common/settings.cpp:operator():138:
Camera_OuterRightConfig: _back
[ 52.770547] Config <Info> common/settings.cpp:operator():138:
Camera_OuterRightFlip: 0
[ 52.770549] Config <Info> common/settings.cpp:operator():138: Camera_InnerName:
ndk
[ 52.770551] Config <Info> common/settings.cpp:operator():138: Camera_InnerConfig:
_front
[ 52.770553] Config <Info> common/settings.cpp:operator():138: Camera_InnerFlip: 0
[ 52.770555] Config <Info> common/settings.cpp:operator():138:
Camera_OuterLeftName: ndk
[ 52.770557] Config <Info> common/settings.cpp:operator():138:
Camera_OuterLeftConfig: _back
[ 52.770559] Config <Info> common/settings.cpp:operator():138:
Camera_OuterLeftFlip: 0
[ 52.770561] Config <Info> common/settings.cpp:operator():138:
DataStorage_UseVirtualSd: true
[ 52.770564] Config <Info> common/settings.cpp:operator():138:
DataStorage_UseCustomStorage: false
[ 52.770567] Config <Info> common/settings.cpp:operator():138: System_IsNew3ds:
true
[ 52.770568] Config <Info> common/settings.cpp:operator():138: System_RegionValue:
-1
[ 52.770570] Config <Info> common/settings.cpp:operator():138:
System_PluginLoader: false
[ 52.770572] Config <Info> common/settings.cpp:operator():138:
System_PluginLoaderAllowed: true
[ 52.770575] Config <Info> common/settings.cpp:operator():138:
Debugging_UseGdbstub: false
[ 52.770577] Config <Info> common/settings.cpp:operator():138:
Debugging_GdbstubPort: 24689
[ 52.812031] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:241: Secure1
KeyX missing
[ 52.812042] Service.FS <Error> core/file_sys/ncch_container.cpp:Load:260: Secure2
KeyX missing
[ 52.812044] Service.FS <Warning> core/file_sys/ncch_container.cpp:Load:347: NCCH
is marked as encrypted but with decrypted exheader. Force no crypto scheme.
[ 53.310762] RPC_Server <Info> core/rpc/rpc_server.cpp:RPCServer:12: Starting RPC
server ...
[ 53.311059] RPC_Server <Info> core/rpc/rpc_server.cpp:HandleRequestsLoop:113:
Request handler started.
[ 53.311173] RPC_Server <Info> core/rpc/rpc_server.cpp:RPCServer:16: RPC started.
[ 53.368448] Service.HTTP <Error> core/hle/service/http_c.cpp:DecryptClCertA:807:
ClCertA file missing
[ 53.368582] Render.OpenGL <Info>
video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:132: GL_VERSION: OpenGL
ES 3.2 v1.r32p1-01eac0.826ad53ffca045d2012ca444a611fa06
[ 53.368587] Render.OpenGL <Info>
video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:133: GL_VENDOR: ARM
[ 53.368589] Render.OpenGL <Info>
video_core/renderer_opengl/gl_driver.cpp:ReportDriverInfo:134: GL_RENDERER: Mali-
G57 MC2
[ 53.423889] Audio.Sink <Info> audio_core/cubeb_sink.cpp:StateCallback:137: Cubeb
Audio Stream Started
[ 53.895493] Render.OpenGL <Error>
video_core/renderer_opengl/gl_shader_util.cpp:LoadShader:66: Error compiling
fragment shader:
1:12: S0012: Global variable initializer must be a constant expression
[ 53.895512] Render.OpenGL <Error>
video_core/renderer_opengl/gl_shader_util.cpp:LoadShader:67: Shader source code:
#version 320 es

#define CITRA_GLES

#if defined(GL_ANDROID_extension_pack_es31a)
#extension GL_ANDROID_extension_pack_es31a : enable
#endif // defined(GL_ANDROID_extension_pack_es31a)

#if defined(GL_EXT_clip_cull_distance)
#extension GL_EXT_clip_cull_distance : enable
#endif // defined(GL_EXT_clip_cull_distance)
// Copyright 2023 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

//? #version 430 core


precision mediump float;

layout(location = 0) in vec2 tex_coord;


layout(location = 0) out vec4 frag_color;
layout(binding = 0) uniform sampler2D tex;

vec2 source_size = vec2(textureSize(tex, 0));


vec2 pos = fract(tex_coord * source_size) - vec2(0.5, 0.5);
vec2 coord = tex_coord - pos / source_size;

vec4 src(float x, float y)


{
return texture(tex, coord + vec2(x, y) * 1 / source_size);
}

float luma(vec4 col){


return dot(col.rgb, vec3(0.2126, 0.7152, 0.0722)) * (1 - col.a);
}

bool same(vec4 B, vec4 A0){


return all(equal(B, A0));
}
bool notsame(vec4 B, vec4 A0){
return any(notEqual(B, A0));
}

bool all_eq2(vec4 B, vec4 A0, vec4 A1) {


return (same(B,A0) && same(B,A1));
}

bool all_eq3(vec4 B, vec4 A0, vec4 A1, vec4 A2) {


return (same(B,A0) && same(B,A1) && same(B,A2));
}

bool all_eq4(vec4 B, vec4 A0, vec4 A1, vec4 A2, vec4 A3) {
return (same(B,A0) && same(B,A1) && same(B,A2) && same(B,A3));
}

bool any_eq3(vec4 B, vec4 A0, vec4 A1, vec4 A2) {


return (same(B,A0) || same(B,A1) || same(B,A2));
}

bool none_eq2(vec4 B, vec4 A0, vec4 A1) {


return (notsame(B,A0) && notsame(B,A1));
}

bool none_eq4(vec4 B, vec4 A0, vec4 A1, vec4 A2, vec4 A3) {
return (notsame(B,A0) && notsame(B,A1) && notsame(B,A2) && notsame(B,A3));
}

void main()
{
vec4 E = src(0.0,0.0);

vec4 A = src(-1.0,-1.0);
vec4 B = src(0.0,-1.0);
vec4 C = src(1.0,-1.0);

vec4 D = src(-1.0,0.0);
vec4 F = src(1.0,0.0);

vec4 G = src(-1.0,1.0);
vec4 H = src(0.0,1.0);
vec4 I = src(1.0,1.0);

vec4 J = E;
vec4 K = E;
vec4 L = E;
vec4 M = E;

frag_color = E;

if(same(E,A) && same(E,B) && same(E,C) && same(E,D) && same(E,F) && same(E,G)
&& same(E,H) && same(E,I)) return;

vec4 P = src(0.0,2.0);
vec4 Q = src(-2.0,0.0);
vec4 R = src(2.0,0.0);
vec4 S = src(0.0,2.0);

float Bl = luma(B);
float Dl = luma(D);
float El = luma(E);
float Fl = luma(F);
float Hl = luma(H);

if (((same(D,B) && notsame(D,H) && notsame(D,F))) && ((El>=Dl) || same(E,A)) &&


any_eq3(E,A,C,G) && ((El<Dl) || notsame(A,D) || notsame(E,P) || notsame(E,Q)))
J=mix(D, J, 0.5);
if (((same(B,F) && notsame(B,D) && notsame(B,H))) && ((El>=Bl) || same(E,C)) &&
any_eq3(E,A,C,I) && ((El<Bl) || notsame(C,B) || notsame(E,P) || notsame(E,R)))
K=mix(B, K, 0.5);
if (((same(H,D) && notsame(H,F) && notsame(H,B))) && ((El>=Hl) || same(E,G)) &&
any_eq3(E,A,G,I) && ((El<Hl) || notsame(G,H) || notsame(E,S) || notsame(E,Q)))
L=mix(H, L, 0.5);
if (((same(F,H) && notsame(F,B) && notsame(F,D))) && ((El>=Fl) || same(E,I)) &&
any_eq3(E,C,G,I) && ((El<Fl) || notsame(I,H) || notsame(E,R) || notsame(E,S)))
M=mix(F, M, 0.5);

if ((notsame(E,F) && all_eq4(E,C,I,D,Q) && all_eq2(F,B,H)) &&


notsame(F,src(3.0,0.0))) {M=mix(M, F, 0.5); K=mix(K, M, 0.5);};
if ((notsame(E,D) && all_eq4(E,A,G,F,R) && all_eq2(D,B,H)) && notsame(D,src(-
3.0,0.0))) {L=mix(L, D, 0.5); J=mix(J, L, 0.5);};
if ((notsame(E,H) && all_eq4(E,G,I,B,P) && all_eq2(H,D,F)) &&
notsame(H,src(0.0,3.0))) {M=mix(M, H, 0.5); L=mix(L, M, 0.5);};
if ((notsame(E,B) && all_eq4(E,A,C,H,S) && all_eq2(B,D,F)) &&
notsame(B,src(0.0,-3.0))) {K=mix(K, B, 0.5); J=mix(J, K, 0.5);};

if ((Bl<El) && all_eq4(E,G,H,I,S) && none_eq4(E,A,D,C,F)) {K=mix(K, B, 0.5);


J=mix(J, K, 0.5);}
if ((Hl<El) && all_eq4(E,A,B,C,P) && none_eq4(E,D,G,I,F)) {M=mix(M, H, 0.5);
L=mix(L, M, 0.5);}
if ((Fl<El) && all_eq4(E,A,D,G,Q) && none_eq4(E,B,C,I,H)) {M=mix(M, F, 0.5);
K=mix(K, M, 0.5);}
if ((Dl<El) && all_eq4(E,C,F,I,R) && none_eq4(E,B,A,G,H)) {L=mix(L, D, 0.5);
J=mix(J, L, 0.5);}

if (notsame(H,B)) {
if (notsame(H,A) && notsame(H,E) && notsame(H,C)) {
if (all_eq3(H,G,F,R) && none_eq2(H,D,src(2.0,-1.0))) L=mix(M, L, 0.5);
if (all_eq3(H,I,D,Q) && none_eq2(H,F,src(-2.0,-1.0))) M=mix(L, M, 0.5);
}

if (notsame(B,I) && notsame(B,G) && notsame(B,E)) {


if (all_eq3(B,A,F,R) && none_eq2(B,D,src(2.0,1.0))) J=mix(K, L, 0.5);
if (all_eq3(B,C,D,Q) && none_eq2(B,F,src(-2.0,1.0))) K=mix(J, K, 0.5);
}
}

if (notsame(F,D)) {
if (notsame(D,I) && notsame(D,E) && notsame(D,C)) {
if (all_eq3(D,A,H,S) && none_eq2(D,B,src(1.0,2.0))) J=mix(L, J, 0.5);
if (all_eq3(D,G,B,P) && none_eq2(D,H,src(1.0,2.0))) L=mix(J, L, 0.5);
}

if (notsame(F,E) && notsame(F,A) && notsame(F,G)) {


if (all_eq3(F,C,H,S) && none_eq2(F,B,src(-1.0,2.0))) K=mix(M, K, 0.5);
if (all_eq3(F,I,B,P) && none_eq2(F,H,src(-1.0,-2.0))) M=mix(K, M, 0.5);
}
}
vec2 a = fract(tex_coord * source_size);
vec4 colour = (a.x < 0.5) ? (a.y < 0.5 ? J : L) : (a.y < 0.5 ? K : M);
frag_color = colour;
}

[ 53.895533] Render.OpenGL <Error>


video_core/renderer_opengl/gl_shader_util.cpp:LoadProgram:104: Error linking
shader:
Link failed because of invalid fragment shader.
[ 53.895536] Debug <Critical>
video_core/renderer_opengl/gl_shader_util.cpp:operator():108: Assertion Failed!
Shader not linked

You might also like