Project

General

Profile

Actions

Emulator Issues #4790

closed

Captain Tsubasa - blank white screen - caused by projection hack

Added by anime.sale over 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
GFX
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Hi

This is one of my favorite games, regarding your questions:

1: Captain Tsubasa: Ougon Sedai no Chousen, I can not find the ID number, it is not available in the properties of the iso file.

When I start it the initial message appears which says load, save or cancel, when you choose any of these the screen turn white and remain blank even though the game is fully running and you can hear the background music and sound of the main menu but nothing can be seen.

2: No the game has never worked.

3: N/A

4: Have tried v2 and v3 32bit and 64bit. Also any new version that gets released I always test it.
OS: Windows 7 x64
Processor: i7 3GHz
RAM: 6GB
GC: ATI Radeon HD 4850 x2 4GB
DirectX: v11
GC Driver: 8.831.2 ATI Catalyst control center

5: I have tried various combinations of drivers and emulator versions but the result has always been blank screen.

Hope you can upgrade your emulator to run this game.

Thank you

Actions #2

Updated by skidau over 11 years ago

This is a projection hack problem. Broken by r3426 (r77c7161e7dec6ff13c6a7f56cf2e9b21c9a6d068).

Actions #3

Updated by Billiard26 over 11 years ago

  • Issue type set to Bug
  • Category set to gfx
Actions #5

Updated by skidau over 9 years ago

In the file VertexLoader_Position.cpp, under Pos_ReadDirect() change the following line:

Code:
dst.Write(i<N ? PosScale(src.Read(), scale) : 0.f);

to:

Code:
dst.Write(i<N ? PosScale(src.Read(), scale) : 1.0f);

This will make the menus appear.

Actions #6

Updated by ZephyrSurfer over 9 years ago

Does your code break anything in other games?

I made a custom projection hack(CPH) for this game. (I think I will make a CPH for every other affected game.)

Details here: https://forums.dolphin-emu.org/Thread-values-for-znear-zfar-correction

Actions #7

Updated by ZephyrSurfer over 9 years ago

Can this be accepted since every other report referring to Captain Tsubasa is marked Invalid?

Actions #8

Updated by skidau over 9 years ago

  • Status changed from New to Accepted

I'm not sure if the code change breaks anything in other games.

Actions #9

Updated by ZephyrSurfer over 9 years ago

Do you think we could get JMC to do some regression testing?
Nothing breaks here with my collection I don't think.

Actions #10

Updated by JMC4789 over 9 years ago

I tested a few games that once needed projection hacks, and didn't notice anything broken.

Actions #11

Updated by ZephyrSurfer over 9 years ago

Alas, there is a regression with this. The small boxes that surround the options to format your memory card at the beginning of Star Wars Rogue Squadron 3: Rebel Strike.

I will see if there is a value that works for both.

Actions #12

Updated by ZephyrSurfer over 9 years ago

Unfortunately no such number exists. Rogue Squadron 3 needs the value to be 0.0000596f or below.
Captain Tsubasa needs a higher value.
Someone really needs to double check the logic used in this commit.

Actions #13

Updated by ZephyrSurfer over 9 years ago

The value needed for Rogue Squadron 3 to show the boxes is any value at or below:
500 * FLT_EPSILON
And the value needed for Captain Tsubasa is any value at or above:
8192 * FLT_EPSILON

Maybe there is some flag that changes the values to upper range or the lower one?
Also changing this value to a double shows the intro video without a projection hack

This behaviour was recently changed though in kayru's PR: https://github.com/dolphin-emu/dolphin/pull/1366
Now the lower value needs to be at or below: 1500 * FLT_EPSILON

Maybe someone else should look at this?

Actions #14

Updated by JMC4789 about 9 years ago

  • Status changed from Accepted to Fixed

This game is working once the custom projection hack is removed from the INI.

Actions #16

Updated by JMC4789 about 9 years ago

I got the game and was playing it myself, I'm in-game and fine. Can you tell me where the game whites out with no graphics?

Actions #17

Updated by ZephyrSurfer about 9 years ago

You're right @JMC4789
It's working grand.

Actions #18

Updated by JMC4789 about 9 years ago

I ran into some random hangs, please watch out for them!

Actions #19

Updated by marcelo42410 about 9 years ago

dolphin-master-4.0-5962-x64 con ese emulador a mi me anda el juego ..pero cuando quiero dar un pase se queda la pantalla en negro y no anda mas ...

Actions

Also available in: Atom PDF