xenia-project / game-compatibility

https://xenia.jp
BSD 3-Clause "New" or "Revised" License
474 stars 145 forks source link

4D5307FA - Lost Odyssey #298

Open michalstec1 opened 8 years ago

michalstec1 commented 8 years ago

Marketplace

https://github.com/xenia-project/xenia/commit/b5469b57bacdba11d13c9052fda9e2128abef5ba

Issues:

Reaches menus, hangs during the loading screen.

Screenshot(s):

x2 x1 x3

Log:

Log

Labels:

state-menus

michalstec1 commented 8 years ago

The game still doesn't go beyond menus in the latest version of Xenia.

ElSaucier commented 7 years ago

cant even get the loading screen after the menu now

Parovozik commented 7 years ago

Tested on (https://github.com/benvanik/xenia/commit/cecc66622f278ca057e19afe86768af6dfe640ba)

Issues:

Sound works. Loading to Main menu. Can press start new game, go loading screen and after just freeze Equally for both api's

Logs:

LostOdyssey_Vulkan.txt LostOdyssey_OpenGL.txt

Screenshots:

Vulkan: desktop 04 23 2017 - 01 14 35 02 mp4_snapshot_00 16_ 2017 04 23_01 31 15 desktop 04 23 2017 - 01 14 35 02 mp4_snapshot_00 18_ 2017 04 23_01 31 23 desktop 04 23 2017 - 01 14 35 02 mp4_snapshot_00 31_ 2017 04 23_01 31 43 OpenGL: desktop 04 23 2017 - 01 15 43 03 mp4_snapshot_00 17_ 2017 04 23_01 32 05 desktop 04 23 2017 - 01 15 43 03 mp4_snapshot_00 28_ 2017 04 23_01 32 13

Labels:

state-menus

kanelakis commented 7 years ago

Yes, only the menu works, in fact they expect new updates for the kings even in the game. And a game that deserves it.

wachpwnski commented 7 years ago

It looks like it is writing to some unknown registers. w> 00000004 GPU: Write to unknown register (1844 = 1F508000) w> 00000004 GPU: Write to unknown register (1841 = 00000000) w> 00000004 GPU: Write to unknown register (1930 = 00000000)

These are setup registers and shouldn't be causing a fatal crash right? What else do we need to further troubleshoot this?

amakuramio commented 7 years ago

Same for me, after new game and inital settings, freezes on loading.

ghost commented 6 years ago

I want to get this game working, but I have no programming skills. Can I help somehow?

DrChat commented 6 years ago

When this gets to the loading screen, is it a hard freeze or is the game still rendering?

ghost commented 6 years ago

The games freezes after about 5 seconds, stays frozen for about 5 seconds, responds for about 1 second, then gives an error message. It doesn't matter if I do anything in the main menu or not. I can still hear the music, but the screen freezes. I get an error message, and when I click OK Xenia closes. If I don't click OK the music continues playing, but the screen is frozen.

Error message: Xenia Error Graphics device lost (probably due to an internal error)

Xenia log and video of freeze: xenia.log Lost Odyssey crash video.zip

Parovozik commented 6 years ago

@DrChat I tried Lost Odyssey and here Memory Leak (VRAM) again as for many games now.

Gliniak commented 6 years ago

I did some "research" (I hope this is somehow useful). So, the memleaks in menu are caused (in AMD card - Vulkan mode) by uploading blank textures:

/vulkan/texture_cache.cc#L1229

After adding return false; everything is ok (but this is causing glitches and it might break other games?), HOWEVER game starts to memleak during movie playback and "freezes" anyway during new game loading.

About that game freeze. I switched to loglevel 3 and find out that the game is still working (ok, some threads) and they are looped somehow?

Here is a log since last line of default logging level: LO_LOG_DEBUG_3.txt

And the last thing - missing fog/background in menu (Vulkan ofc) it's not rendered, however it exist in vulkan_trace_viewer (I guess it is). It exist in "Draw 30". There are some errors in "Pixel Textures" tab and the texture is in BGRA notation not RGBA?

LO_4D5307FA_10081.zip

Gliniak commented 6 years ago

I managed to dump X64 (x86) instructions (no registers states :( ) from working thread (0017, It's the only thread that "does" something at that point). Loops in file have 100% match. I hope this will be useful.

T_0017_LO_LOOP.txt

(AFAIK) A00160C0 - __restgprlr_27 A0013980 - __savegprlr_27

Look at values that "main" function wrotes to registers (FEED etc). Is it like "something went wrong" values?

Btw. I managed to force jump/skip instructions and sometimes it does render frame, however it's almost blank (I guess due to missing/mismatched) data.

wachpwnski commented 6 years ago

Could they be using some type of compression like an LZO type of thing when it tries to write it to the buffer? Or is this more of a failed instruction set issue?

JohnBartle commented 5 years ago

Tested Lost Odyssey Disc 1 on 2/8/2019 using latest Vulkan Master Build (xenia (detached_e706cf0d_Jan 25 2019))

Game will start main theme, shows main menu video with no audio or graphical glitches. xenia detached_e706cf0d_jan 25 2019 _ 4d5307fa _vulkan_ 2_8_2019 7_49_46 am

xenia detached_e706cf0d_jan 25 2019 _ 4d5307fa _vulkan_ 2_8_2019 7_50_42 am

Detects Xbox One Controller input to start new game xenia detached_e706cf0d_jan 25 2019 _ 4d5307fa _vulkan_ 2_8_2019 7_50_48 am

Able to alter initial settings with no errors. xenia detached_e706cf0d_jan 25 2019 _ 4d5307fa _vulkan_ 2_8_2019 7_50_57 am

Xenia does not appear to crash or freeze, the program it's self. But the loading screen freezes and stays like this indefinitely. xenia detached_e706cf0d_jan 25 2019 _ 4d5307fa _vulkan_ 2_8_2019 7_51_17 am

Vulkan Logs: Losy Odyssey Vulkan Log.log

This project is huge and amazing, it will be ground breaking if this game ever becomes playable on PC. Great job everyone who works on this.

Chosaint commented 5 years ago

Tried latest Vulkan Master and D3D12 versions of Xenia, and still get the same errors as previously posted. Game loads to main menu, and you can change initial settings, but when you go to actually start the game, the loading wheel spins for a few seconds, then stops and the game indefinitely hangs at the black load screen. Sometimes on the Vulkan version I am able to get the load screen to show Kaim's stats, but the wheel will freeze and the game will never load up.

Gliniak commented 5 years ago

Little update about loading freeze.

The freeze is caused by infinite (dunno why) loop inside loading function. I managed to manually set registers to skip this loop. After that only audio from initial video plays (Clip that should appear after loading). Then after this ends the same loading loop appear and using the same trick causes game/Xenia to crash.

Btw. Main menu still don't have background texture (on Dx12 branch).

Chosaint commented 5 years ago

Latest master release and D3D12 release both freeze after main menus during initial loading into the game. Same as previous posts still.

Chosaint commented 5 years ago

Tried latest Master release from 04-27-2019 (but it says Apr 20 2019 in the top left, saw there was a commit to the master release on 27th, figured I'd give it a shot. (if this qualifies as spam posting I apologize, just want to help how I can to get this game working for Xenia, despite my limited experience maybe I can learn more in the process)

Main title screen and menus load, but are very choppy and slow as they display across the screen. Still getting same freeze, but since the past two commits on Master build it will get to Kaims stat screen before the freeze. Whereas before I would get the freeze when it was still a black screen and the loading wheel at the bottom left.

LOXeniaMasterScreenCap1
illusion0001 commented 5 years ago

@Gliniak can you join our discord and discuss about your research about the game? Edit: a quick search about the game reveals that it uses UnrealEngine3 and currently has problems related to memory pages see here. Unfortunately, the 0xE0000000-0xFFFFFFFF range is unused in Xenia and most games that uses this engine crashes because of this. a Labels: tech-engine-unrealengine

Chosaint commented 5 years ago

Losy.Odyssey.Vulkan.Log.log Saw there was a new release for Master and D3D12, in a vain hope I tried again. Still getting the same issue on at the same points as always. On Master Branch, title screen transition to new game is sluggish and menus run slow as well, still freezes at Kaim Argonar stats screen. On D3D12 Branch everything runs buttery smooth, menus run nice and slick, still freezes at black screen with loading wheel in bottom corner. LOXenD3D12FreezeScreen6-4-19 LOXenMasterFreezeScreen6-4-19 xenia_Master 5-25-19.log

xenia_D3D12 5-25-19.log

To someone more knowledgeable than I on what information is good and bad, if there is something else that's helpful to attach as well as far as logs and screen-caps, please let me know so that I can include them in the future.

lostromb commented 5 years ago

I guess the good news is that this game uses UE3 and therefore bugfixes that apply to any other UE3 game (gears of war, etc.) should also improve compatibility here. If instead it used an in-house engine with weird undocumented hardware optimizations then progress might be slower.

Gliniak commented 5 years ago

I managed (about a month ago, but whatever) to go a little bit further. LO_INGAME

I know it looks promising, however it isn't :C I'm tricking the game to think that everything is loaded correctly (I guess).

After the movie ends, game goes into loading state again, but with visible UI and ingame sound that playback at 0.01 speed (quite painful). Modifying address with FEED value at this state causing game to go again into loading screen.

I'm trying (in my free time) to figure out what causing this malfuction, but it require a lot of "backtracking"

Btw. The memory region fix does not change anything.

lostromb commented 5 years ago

I know it looks promising

The fact that there are no terrible rendering issues immediately apparent is promising enough for me

Btw. The memory region fix does not change anything.

Wait, are you referring to the limitation mentioned in the memory map documentation?

Unfortunately, the 0xE0000000-0xFFFFFFFF range is unused in Xenia because it maps to physical memory with a single page offset, which is impossible to do under the Win32 API. We can't fake this either, as this offset is built into games

Are you saying you implemented a hack to get around this in order to take that screenshot? Either way, keep up the good work

kanelakis commented 5 years ago

Both versions, I get stuck on loading after the main menu, after having made a new game, here are the log files.

Xenia d3d12.log Xenia Master Vulkan.log

Gliniak commented 5 years ago

@lostromb

The fact that there are no terrible rendering issues immediately apparent is promising enough for me

Here's a little lesson in trickery. It's still a movie, that's why. Only GUI is rendering, but that is not a big deal.

Are you saying you implemented a hack to get around this in order to take that screenshot? Either way, keep up the good work

No, this is @elad335 solution for this problem, so all the cheers to him 💃

@kanelakis Well it's not suprising. To go further (at this moment) you need to do some memory switcharoo via CheatEngine

illusion0001 commented 5 years ago

elad's work is work-in-progress

lostromb commented 5 years ago

Here's a little lesson in trickery. It's still a movie, that's why. Only GUI is rendering, but that is not a big deal.

Ah, darn, I knew the game started with FMV that blended into gameplay. I was just hopeful that the screenshot was past that point.

illusion0001 commented 5 years ago

Work in Progress from @Gliniak https://youtu.be/eSQigFvUH4Q

kanelakis commented 5 years ago

Work in Progress from @Gliniak https://youtu.be/eSQigFvUH4Q

My situation has not changed like my previous post. With the past versions it appeared to me after the menu and the loading, the photo of the characters and it stopped, but now it stops after the menu.

Gliniak commented 5 years ago

@kanelakis To work it requires special build (@illusion98 have it here: https://github.com/illusion98/xenia/tree/d3d12-ue-hacks) but you won't go any further than first 5 seconds.

You need save file to do something more. Here is example how it works after load from save: https://www.reddit.com/r/xenia/comments/cjo969/xenia_d3d12_lost_odyssey_gameplay_xbox360/

illusion0001 commented 5 years ago

Comments removed. Further reports using hacked Unreal Engine builds will be removed.

kanelakis commented 4 years ago

I updated my hardware and tried the December 4th version but nothing has changed, it always remains in the menu. Intel core i9 9900k 3.60 Ram: 32 Gb Videocard: Gigabyte GTX 1060 6gb.

Adlai-Holler commented 4 years ago

What’s the next step here? We have a proof of concept - how do we make it a reality?

Margen67 commented 4 years ago

@Adlai-Holler You can start by not spamming game-compatibility issues.

sypher11 commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

kanelakis commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

Hi, you cannot publish a hacked version of the emulator, it has been done and the comments have been deleted. Developers are not accepted.

sypher11 commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

Hi, you cannot publish a hacked version of the emulator, it has been done and the comments have been deleted. Developers are not accepted.

I'm not sure what you mean? Like Xenia is not suppose to be open source for anyone to modify?

Xarishark commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

Where can I find that version!?

lostromb commented 4 years ago

Hi, you cannot publish a hacked version of the emulator, it has been done and the comments have been deleted. Developers are not accepted.

Okay, I'm going to assume there were good reasons for this decision, but can we at least know what they are? Lots of people (myself included) just want to play this game, even if it means relying on game-specific hacks.

The only good reasons I could think of for forcibly deleting a fork of an open-source project would be either

kanelakis commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

Hi, you cannot publish a hacked version of the emulator, it has been done and the comments have been deleted. Developers are not accepted.

I'm not sure what you mean? Like Xenia is not suppose to be open source for anyone to modify?

I had the test here by putting the gameplay with the hacked version and I have removed the comments. So if one reports any bugs or other things in the gampley with that version, they are not accepted. I remain loyal to them and their updates when they do them. Then if one wants to use that version, he will have no support from the developers, but from those who hacked the emulator.

Margen67 commented 4 years ago

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

There's no conspiracy, they're just deleted because they're off-topic, or use non-master builds. If you want a good Xenia build with Unreal Engine support, use Canary.

If you're referring to master_ue_fixups_v2_hacks_n3_fixes, that one is outdated. The closed-source builds by AlexVS/@Parovozik/Emulators for PC (MLBS 1.##a-f etc), aren't allowed at all because they're closed source, so we can't determine if it's safe, or what changes were made, so we can't provide support for them.

Hi, you cannot publish a hacked version of the emulator, it has been done and the comments have been deleted. Developers are not accepted.

You can't post unofficial builds because people try to run it on master and get confused when the game doesn't work. Also, developers are accepted. The comments weren't even by developers anyway so I have no idea how you came to that conclusion.

I'm not sure what you mean? Like Xenia is not suppose to be open source for anyone to modify?

It is. That person is either misinformed or can't form a sentence properly.

There is a working version of Xenia that plays this game at 60FPS. I've got to the 2nd disc just fine. Why has no one posted this version. Peoples comments are getting deleted. Something weird is happening here. Seems like a working version is being hidden from the community. I'm not sure what illusion98 is doing and I have no idea what hacked builds hes talking about. Do you get banned if you post a link to the github build that runs this game?

Where can I find that version!?

Here.

Okay, I'm going to assume there were good reasons for this decision, but can we at least know what they are? Lots of people (myself included) just want to play this game, even if it means relying on game-specific hacks.

The only good reasons I could think of for forcibly deleting a fork of an open-source project would be either

* The fork violated the code's license by distributing binaries without source, or by attempting to make money off of it somehow, or

* The fork contained copyrighted code such as firmware ROMs that would make redistribution illegal

I'm not going to repeat anything I said in my first reply, so I'll just add this onto it:

"Forcibly deleting" an open-source project isn't possible. That's not how anything works.

No forks contain anything copyrighted. Nobody (except maybe Emulador) are stupid enough to put something like that on GitHub.


I'm going to hide these comments instead of deleting them so this message makes sense.

Further discussion belongs on the Discord server.

Canary reports belong here: https://github.com/xenia-canary/game-compatibility/

sypher11 commented 4 years ago

That audio issue only happens in cut scenes. The initial fight with Kiam is considered a cut scene. After that it never happens in battle again. only in cut scenes. but the voices are never cut out like that only music

On Tue, Jan 14, 2020 at 5:11 AM Dherevo notifications@github.com wrote:

ingame sound that playback at 0.01 speed (quite painful).

Have you fixed the audio problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/xenia-project/game-compatibility/issues/298?email_source=notifications&email_token=ADEQCHG6FXJVPD3DTOEPXBLQ5WFTPA5CNFSM4BWIJT72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4BIEI#issuecomment-574100497, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEQCHAGHGEJMNPBHQMXHI3Q5WFTPANCNFSM4BWIJT7Q .

Oblivionburn commented 4 years ago

Tested on xenia-project/xenia@b1d3fd2ad3c201e287a4641ec143786629da3db7

Still freezes on the black loading screen after trying to start a new game.

Gliniak commented 4 years ago

Tested on: https://github.com/xenia-project/xenia/commit/2cd69092ce3911cd8dd338405e0f5a5e68428499

Overview:

Quite playable until certain point in game. Audio issues due to VBR usage (I guess) in some sound files.

Screenshots:

image image

lostromb commented 4 years ago

What's the "certain point in game" that it fails? Is it a hardlock that can't be worked around, or is it just that the game will play for a little while and then fail with "device lost" errors? (because that's what I'm getting all the time)

kanelakis commented 4 years ago

Tested on: xenia-project/xenia@2cd6909

Overview:

Quite playable until certain point in game. Audio issues due to VBR usage (I guess) in some sound files.

Screenshots:

image image

I too am stuck at that point, I come to the soldiers and when the general speaks he becomes mute and the game freezes.

RyuMaster commented 4 years ago

Its hard to tell. Sometimes it stucks during the cutscene after the fight with many soldiers (sound disappears firstly), one time I managed to get further into prison cage, whatch dream sequence, but ten aftet trying to talk with some caracter pressing 'A' screen went black

oniryujin commented 4 years ago

Same problem. Grand Staff, when the general orders the archers to shoot the arrows, the audio goes wrong. if you pause the game stops, if you continue, it works until the dream revealed in the cell. as you try to talk to your teammates (who don't see each other, it doesn't load the texture) everything freezes without the possibility of salvation

Abscay commented 4 years ago

Same here, no sound in soldiers battle and freeze if you pause the game or in the moment when you talk with you team in the cell room. This issue is relatively new?

nightmare3007 commented 4 years ago

i have same problem image