FCare / Kronos

Kronos is a Sega Saturn emulator.
http://fcare.github.io
232 stars 21 forks source link

Shienryuu / Shienryu #774

Open ner00 opened 4 years ago

ner00 commented 4 years ago

Description Although the compatibility list mentions this title as playable, only noting a screenshaking isssue, I have observed that issue plus some other(s) which make the title unplayable. It is missing entire sprites/layers, both in the title screen and especially ingame.

What's the full name of the game (including region) ? Shienryuu (Japan)

What's your frontend ? (standalone, libretro, ...) ? Both

What's your OS ? (windows, linux, OSX, ...) ? Windows 10 x64

What's your hardware ? (CPU, GPU, ...) ? Core i7 4770k, GTX 760

What's the storage type of the game (official cd, burned cd or cd image) ? cd image

If applicable, what's the format of your cd image ? (cue/bin, ccd/img, iso, chd, ...) cue/bin (rom ( name "Shienryuu (Japan) (Track 1).bin" size 41613936 crc bc073c3f md5 e14b7b246c5a2bb917922d531e4b9512 sha1 d89a1c821fb0ae7ad603c71aea420fd2ed544341 ))

Are you using any setting different from default ? If so, precise Default settings

Did this game work previously ? Do you remember when ? Is it happening with other games ? First time trying it; haven't seen this particular type of glitch in any of the other games I've tested so far.

If applicable, provide error messages, logs, screenshots, or whatever additional information that could help debugging this

screenshot/printscreen

RetroArch log

[INFO] RetroArch 1.8.4 (Git f425d8dc8b)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Jan 15 2020
[INFO] Version: 1.8.4
[INFO] Git: f425d8dc8b
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "I:\RetroArch\saves\.srm".
[INFO] Redirecting savestate to "I:\RetroArch\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1920x1080.
[INFO] [WGL] extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_mult
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: GeForce GTX 760/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 442.19.
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {E501} VID:{0810}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 141 profiles found.
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Autoconf]: selected configuration: I:\RetroArch\autoconfig\xinput\SNES USB Gamepad.cfg
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000B8F580
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] SRAM will not be saved.
[INFO] Loading history file: [I:\RetroArch\content_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_image_history.lpl].
[INFO] Loading favorites file: [I:\RetroArch\content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] Using content: I:\RetroArch\roms\Sega - Saturn\Shienryuu (Japan)\Shienryuu (Japan).cue.
[INFO] arg #0: retroarch
[INFO] arg #1: I:\RetroArch\roms\Sega - Saturn\Shienryuu (Japan)\Shienryuu (Japan).cue
[INFO] arg #2: -s
[INFO] arg #3: I:\RetroArch\saves
[INFO] arg #4: -S
[INFO] arg #5: I:\RetroArch\states
[INFO] arg #6: -c
[INFO] arg #7: I:\RetroArch\retroarch.cfg
[INFO] arg #8: -L
[INFO] arg #9: I:\RetroArch\cores\kronos_libretro.dll
[INFO] arg #10: -v
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] Set config file to : I:\RetroArch\retroarch.cfg
[INFO] RetroArch 1.8.4 (Git f425d8dc8b)
[INFO] Redirecting save file to "I:\RetroArch\saves\Shienryuu (Japan).srm".
[INFO] Redirecting savestate to "I:\RetroArch\states\Shienryuu (Japan).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Jan 15 2020
[INFO] Version: 1.8.4
[INFO] Git: f425d8dc8b
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "I:\RetroArch\cores\kronos_libretro.dll"
[INFO] [Overrides] no core-specific overrides found at I:\RetroArch\config\Kronos\Kronos.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at I:\RetroArch\config\Kronos\Shienryuu (Japan).cfg.
[INFO] [Overrides] no game-specific overrides found at I:\RetroArch\config\Kronos\Shienryuu (Japan).cfg.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Remaps]: remap directory: I:\RetroArch\config\remaps
[INFO] [Remaps]: core-specific remap found at I:\RetroArch\config\remaps\Kronos\Kronos.rmp.
[INFO] Redirecting save file to "I:\RetroArch\saves\Shienryuu (Japan).srm".
[INFO] Redirecting savestate to "I:\RetroArch\states\Shienryuu (Japan).state".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SYSTEM_DIRECTORY: "I:\RetroArch\system".
[INFO] [Environ]: PERFORMANCE_LEVEL: 16.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: SET_HW_RENDER.
[INFO] Requesting core OpenGL context (3.3).
[INFO] [RCHEEVOS]: ext_hash 0b886782 ('cue')
[INFO] Skipping SRAM load..
[INFO] [RCHEEVOS]: Load task finished
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: I:\RetroArch\cheats\Kronos\Shienryuu (Japan).cht
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1920x1080.
[INFO] [WGL] extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_mult
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: GeForce GTX 760/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 442.19.
[INFO] [GL]: Using Core GL context, setting up VAO...
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 330.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 1 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Initializing HW render (1024 x 1024).
[INFO] [GL]: Max texture size: 16384 px, renderbuffer size: 16384 px.
[INFO] [GL]: Supports FBO (render-to-texture).
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {E501} VID:{0810}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 141 profiles found.
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [Autoconf]: selected configuration: I:\RetroArch\autoconfig\xinput\SNES USB Gamepad.cfg
[libretro INFO] Using OpenGL 4.6
[libretro INFO] Saturn Emulation mode
[INFO] [Environ]: SET_GEOMETRY.
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000B8F580
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Loading history file: [I:\RetroArch\content_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [I:\RetroArch\content_image_history.lpl].
[INFO] Loading favorites file: [I:\RetroArch\content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[WARN] [WGL]: wglSwapInterval() failed.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] SET_GEOMETRY: 320x224, aspect: 1.333.
[INFO] SET_GEOMETRY: 352x224, aspect: 1.333.
[INFO] Paused.
BenjaminSiskoo commented 4 years ago

Thanks with your reports, we appreciate :)

fafling commented 4 years ago

@ner00 All those problems are occurring in the Sega Saturn mode. To be able to play this game in the last version of Kronos, set it in Arcade mode : at the title screen, press down then start to get in option mode (should be displayed at the bottom of the screen), then press down 4 times, press right and press start. The game should reload and display in Arcade mode, which is a "tate" mode.

In Sega Saturn mode, the sprites are not displayed by Kronos because the game actually draws them exactly as in the Arcade mode, and uses the framebuffer transformation set on VDP2 rotation parameters A to rotate and downscale the framebuffer (which explains than RBG0 is enabled only in Sega Saturn mode without displaying graphics). The framebuffer transformation has had various issues in Kronos depending on the versions and is still not working correctly.

The flickering on some layers is probably due to an incorrect handling of the single density interlace mode set on VDP2, only in Sega Saturn mode (Arcade mode uses non-interlace). In single density interlace, VDP2 computes the same texture coordinates for consecutive fields (if its parameters don't change), as if the screen had the same number of lines as in non-interlace.

The incorrect handling of single density interlace is perhaps also causing the incorrect display of NBG2 and NBG3 : NBG2 (the island background) seems to select wrong rows of tiles, and NBG3 (players status) is offset to the bottom of the screen.

ner00 commented 4 years ago

@fafling I tested this as you said and confirm that in arcade mode it works fine, Too bad my monitor doesn't have a rotating stand :)

Also, thanks for the in-depth explanation of why it is the case. The same issues probably affect other games, most to a lesser (noticeable) extent.

Anyway, as is it is completely unplayable in Saturn mode, which being the default mode and one that the end-user wouldn't know how to toggle due to the same problem affecting the titlescreen and options; this isn't of the utmost importance, but the game compatibility list should acknowledge this.

BenjaminSiskoo commented 4 years ago

Feel free to update the compatibility list :)

ner00 commented 4 years ago

@BenjaminSiskoo Nice, done.

BenjaminSiskoo commented 4 years ago

Great :) thanks

BenjaminSiskoo commented 2 years ago

Savestate : T-29102G_000.zip

BenjaminSiskoo commented 9 months ago

kronos20231216_f235e2e

Sorte de zoom sur le press start screen

image