game-compatibility
game-compatibility copied to clipboard
4D5307FA - Lost Odyssey
https://github.com/xenia-project/xenia/commit/b5469b57bacdba11d13c9052fda9e2128abef5ba
Issues:
Reaches menus, hangs during the loading screen.
Screenshot(s):
Log:
Labels:
state-menus
The game still doesn't go beyond menus in the latest version of Xenia.
cant even get the loading screen after the menu now
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:
OpenGL:
Labels:
state-menus
Yes, only the menu works, in fact they expect new updates for the kings even in the game. And a game that deserves it.
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?
Same for me, after new game and inital settings, freezes on loading.
I want to get this game working, but I have no programming skills. Can I help somehow?
When this gets to the loading screen, is it a hard freeze or is the game still rendering?
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
@DrChat I tried Lost Odyssey and here Memory Leak (VRAM) again as for many games now.
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?
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.
(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.
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?
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.
Detects Xbox One Controller input to start new game
Able to alter initial settings with no errors.
Xenia does not appear to crash or freeze, the program it's self. But the loading screen freezes and stays like this indefinitely.
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.
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.
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).
Latest master release and D3D12 release both freeze after main menus during initial loading into the game. Same as previous posts still.
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.
@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.
Labels: tech-engine-unrealengine
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.
xenia_Master 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.
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.
I managed (about a month ago, but whatever) to go a little bit further.
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.
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
Both versions, I get stuck on loading after the main menu, after having made a new game, here are the log files.
@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
elad's work is work-in-progress
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.
Work in Progress from @Gliniak https://youtu.be/eSQigFvUH4Q
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.
@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/