Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4D5307FA - Lost Odyssey #298

Open
michalstec1 opened this issue Dec 9, 2015 · 130 comments
Open

4D5307FA - Lost Odyssey #298

michalstec1 opened this issue Dec 9, 2015 · 130 comments
Labels
apu-garbage Audio is garbled, glitchy, or corrupted. issue-cluttered Issue is cluttered and needs to be replaced with a new one. state-gameplay Title has functional gameplay. tech-engine-unreal Title uses UnrealEngine.

Comments

@michalstec1
Copy link

michalstec1 commented Dec 9, 2015

Marketplace

xenia-project/xenia@b5469b5

Issues:

Reaches menus, hangs during the loading screen.

Screenshot(s):

x2
x1
x3

Log:

Log

Labels:

state-menus

@Razzile Razzile added the state-menus Title has functional menus before any gameplay. label Dec 9, 2015
@michalstec1
Copy link
Author

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

@ElSaucier
Copy link

cant even get the loading screen after the menu now

@Parovozik
Copy link

Parovozik commented Apr 22, 2017

Tested on (xenia-project/xenia@cecc666)

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
Copy link

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
Copy link

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
Copy link

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

@ghost
Copy link

ghost commented Feb 11, 2018

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

@DrChat
Copy link
Member

DrChat commented Feb 22, 2018

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

@ghost
Copy link

ghost commented Feb 22, 2018

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
Copy link

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

@Gliniak
Copy link
Member

Gliniak commented Apr 16, 2018

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
Copy link
Member

Gliniak commented Jun 4, 2018

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
Copy link

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
Copy link

JohnBartle commented Feb 8, 2019

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
Copy link

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
Copy link
Member

Gliniak commented Mar 20, 2019

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
Copy link

Chosaint commented Apr 23, 2019

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

@Chosaint
Copy link

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
Copy link
Contributor

illusion0001 commented Apr 30, 2019

@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
Copy link

Chosaint commented Jun 4, 2019

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
Copy link

lostromb commented Jun 9, 2019

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
Copy link
Member

Gliniak commented Jun 17, 2019

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
Copy link

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
Copy link

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
Copy link
Member

Gliniak commented Jun 18, 2019

@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
Copy link
Contributor

elad's work is work-in-progress

@lostromb
Copy link

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 illusion0001 added the tech-engine-unreal Title uses UnrealEngine. label Jun 23, 2019
@illusion0001

This comment has been minimized.

@zaku490
Copy link

zaku490 commented Jun 14, 2022

@phasetri

It's going to keep crashing, just use the save file I've attached in my post to get past it.

@aracune
Copy link

aracune commented Jun 19, 2022

I don't have Problems with the latest canary build, aside from the fact that ROV slows down Lost Odyssee a Lot, so I rather Play with distorted Texture artifacts.

No Crashes at Grand Staff after the Worms Fight. So maybe its the CPU for some people?

@Jyiop
Copy link

Jyiop commented Aug 9, 2022

Hello, I have a crash at CD 4 when the fight with the Arthosaurus (my version is the last CANARY 08082022). I don't have copy the log error sorry. I retry and paste it if the problem continue.

@nafeasonto
Copy link

Yeah I have the same issue as well, I'll use the above's patches and save file. Do you all need anymore more crash dump logs?

@nafeasonto
Copy link

nafeasonto commented Aug 28, 2022

I was able to successfully complete the game with some minor issues, but for the most part I can confirm it is completable and even potentially 100% possible, but didn't want to spend a lot of time grinding to verify that. The game doesn't really work on the standard canary builds or the master branch. Note: The issues mentioned below only happen on master or canary (standard, not experimental builds)

You will crash intermittently in cutscenes, about every third or so. Secondly, you will crash at the Prison Cell when trying to talk to Jansen or crash during the battle. This can be bypassed by using Cheat Engine to allow you to save anywhere, you save inside the cell, then reload the game and you can escape without issues. But by the time you reach the end of Disk 1 and fight Mack in the Crimson Forest against the Obsidian boss, you will crash and there isn't any workaround.

HOWEVER: Using the experimental release of the emulator, you can complete Disk 1 without crashing in both scenarios mentioned above. For the Mack fight, you can't use the 60fps patch because the game crashes going about 30fps only for that cutscene for some reason.

Disc 2 is pretty stable, no crashes that I could find.

Disc 3 Only one crash, a cutscene that happens when the train is being frozen, you need to skip it before the dude gets frozen because it will crash.

Disc 4 No crashes.

Notable Annoyances: The music track tends to not reset between zones or battles, so you can have 2 or 3 songs playing all at once, this is definitely apparent after completing the final boss.

TLDR: If you are crashing at Worm boss, or at Mack, make sure to use the canary experimental release and do not disable vsync, or apply the 60fps patch because it will cause a crash. 60 fps patch can be applied afterwards with no issues, except for some side quests that use frame rate to count time (I.E hungry man errand)

There is also a crash when you have Seth, Sed, and Tolan in the sewers and you go the device to weaken the monsters, when you go to use it the Emulator crashes. (Disk 3)

@buububu
Copy link

buububu commented Oct 31, 2022

There is also a crash when you have Seth, Sed, and Tolan in the sewers and you go the device to weaken the monsters, when you go to use it the Emulator crashes. (Disk 3)

Also a crash on disc 4 when you open the royal seal in the great ancient ruins, meaning you can never complete his sidequest.

@DaSk79130569
Copy link

Recently completed this game. Overall it is absolutely great to look at with 3x3 resolution. Great job Xenia team! 4k/60 FPS is vastly superior to original 720p/30 FPS.

A few crashes and issues which can be resolved as follows:

o Disc 1.
 Crash 1. After Sea of Baus Crater Island Huge Worm boss, the party gets captured and trapped in a cell.
• After a few minor scenes, the game may crash as a video sequence triggers. Use CheatEngine ‘save anywhere’ inside the cell to save/load and circumvent this.
 Crash 2. Crimson Forest boss (Obsidian boss which enslaves Mack).
• Game will crash immediately after boss is defeated.
• Disable 60 FPS patch to fix (at save point before boss room inside Sorcerer’s Shrine dungeon).

o Disc 2.
 No crashes

o Disc 3.
 Potential crash once Kaim/Sarah defeat the armored train from Gohtza.
• However, this only happened once, not on second attempt.
 Train being frozen over cutscene.
• Need to skip this cutscene. It will happen after a lengthy series of cutscenes (incl Gongora’s speech) right at the moment when a sorcerer in the train car gets frozen over. Skipping 2 sec before this happens is OK, doesn’t miss much, leads right to save point.
 Refugee camp. Timed soup delivery quest broken. Disable 60 FPS.

o Disc 4.
 No crashes

@plato79
Copy link

plato79 commented Apr 9, 2023

master@baa2ff78d:

It crashed right after boarding the armored car at the start then moving forward. Again after the long intro after boarding the railway car..

It's not playable if it keeps crashing like this.

I tried it on AMD 5900X with RTX 4090

The attachment is actually RAR, mind you.. The log file was huge otherwise. I trimmed it a bit from the start. Hope it's useful.

xenia.log

@purple-ocelot
Copy link

I keep having these annoying crashes with the last version of xenia. It happen occasionally when a cutscenes comes up, i have something like 70% chance to avoid the crash.

I have Nvidia gtx1650

@nkeeta
Copy link

nkeeta commented Jan 7, 2024

i can't see the ring thing in the battle. how to fix it?

@sypher11
Copy link

sypher11 commented Jan 7, 2024 via email

@nkeeta
Copy link

nkeeta commented Jan 8, 2024

You don't have a ring of the start. Not until you equip a ring do you get the ring battle target system

but the rings equipped

@Dalfi91
Copy link

Dalfi91 commented Jan 8, 2024

It crashes in Disc 3 after opening first Royal Seal in Uhra

EDIT: It crashes with Xenia Canary, but not with Xenia Master

@metcalsr28
Copy link

FPS is solid, minor blotching on textures, intermittent machine sounds during cutscenes.

@Mored4u
Copy link

Mored4u commented Jan 12, 2024

image

Version: @f6b542a9 on Sep 14 2023
Log:
xenia.zip

@plato79
Copy link

plato79 commented Jan 12, 2024

Unfortunately this is the current situation. I couldn't get past the long intro sequence after the battle. It crashes right after that.

@Dalfi91
Copy link

Dalfi91 commented Jan 15, 2024

I finished the game a few days ago. I used Xenia Canary Experimental (December 23rd and then January 6th version) without 60FPS patch and with GPU = "Vulkan" in config file (a few times I got "Graphics Device Lost" crash with GPU = "Any")

DISC 1:

  • Crash if you try to switch characters while in prison on White Boa. Just stay with Kaim and roam around until a cutscene starts

DISC 2:

  • Combat cutscene looping while grinding on Numara Atoll. It happened only once. I am not sure it was an emulator bug

DISC 3:

  • Crash after opening first royal seal in Uhra. No crash with Xenia Master
  • Crash while trying to activate fog machines in Uhra sewers (it crashes with Xenia Master too). Just do not activate them even if enemies will be stronger
  • I skipped train cutscene

DISC 4:

  • Crash when trying to repair jukebox in Saman with Sed. No crash with Xenia Master
  • I did not try to open other royal seals

@plato79
Copy link

plato79 commented Jan 15, 2024

It is possible that it crashes depending on the hardware.
I'm using RTX 4090 GPU with AMD 5900x CPU. I remember, the GPU of Xbox 360 was ATI ( AMD ). So it's possible with AMD gpu it has more compatibility then Nvidia.

@nkeeta
Copy link

nkeeta commented Apr 3, 2024

help me please. tried to change in xenia config
apu_max_queued_frames = 64 to 3
and
d3d12_allow_variable_refresh_rate_and_tearing = true to false
to remove screen tearing by some youtube guide
but the game run slow as hell right now
tried to change everything back but still game run very slow
tried to change version of xenia canary but still the same issue
how to fix it?

@aisu
Copy link

aisu commented Apr 3, 2024

I was making steady progress and enjoying this game after switching to canary version. I did have the crash mentioned above during cut scene with freezing magic train but skipping it let me keep going. Looks like I have hit the wall now. I'm stuck on the minigame on disc 4 where you have to defend Numara from 4 Arthrosaurus with Nautilus. At first I can fight them but eventually they will start dying from single hit and won't despawn from the overworld. I tried this like 4 times and the bug triggers right away on the first monster or on the last.... I made a short video to show what I mean. It kinda sucks to end the game here after investing like 60+ hours in it and being close to the end...
https://youtu.be/ofI0OvcwQcE

Edit:
Okey, the next day I reloaded an older save file and redid most of the Ancient Ruins and this time I managed to get past them. Idk what was causing the bug before. I had lost once and the bug appeared after retry, so maybe game respawning them has something to do with it? This time I managed to beat them on the first try.
Edit2:
Game freezes when you try to pick up Ming's Harp (used to summon Holy Beast) using Canary version, works on regular version.
Edit3:
Crash on both version after opening the the last royal seal and beating The Golden Knight. Looks like the Age of the King is unobtainable (the best sword in the game by far).

@phasetri
Copy link

phasetri commented Jun 15, 2024

The Disc 1 crash seems to be fixed on the latest canary version. I didn't get a crash in the jail cell, even when talking to Jensen.

@giantfightingrobot
Copy link

on Disc 4, crash when trying to fix Jukebox with Sed, on both canary and master. Same with the fog machine in the Uhra sewers.

Crashes at Royal Seal in Great Ancient Ruins on canary, but works on master. All other Royal Seals worked fine for me on canary.

Crashes after beating Golden Knight and receiving Age of the King, but used cheat engine to save before the crash, and it worked (But the drawback is that now I am stuck as Tolten in the overworld which is incredibly annoying).

@buschmann-at
Copy link

Disk 1 prison crash is still present on latest canary.

@willh529
Copy link

willh529 commented Jul 27, 2024

Disk 1 prison crash is still present on latest canary.

@buschmann-at
I crashed in the prison on disc 1 when switching from Kaim to Jensen and then back to Kaim. I got through the scene without crash by standing still and waiting for the automatic cutscene to trigger.

@nothingness6
Copy link

It still crashes randomly on Disc 1.

@DynamoRocket
Copy link

I have made it thru disc 1 and 2.

5700x, 6750XT, OpenSUSE Tumbleweed, Playing thru Proton, GE 9.10, canary_experimental@ee210db09 on Aug 26 2024
Using the game patches and settings for 1080p, 60fps, and 16x AA

I haven't had any random crashes. I managed to switch the characters in the prison to get the item.

I have noticed that the audio drops out in some cut scenes. Usually just last the scene and as soon as it changes it comes back.
Also, sometimes, when quitting to get back to the main screen, it will completely lock up.
3rdly, during the dreams, the GPU will max out to 100% after sitting around 60% during normal gameplay and the FPS will spike to the low 400s. I haven't tested it without the patches and default settings.

@Margen67
Copy link
Member

Xenia Canary issue: xenia-canary#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apu-garbage Audio is garbled, glitchy, or corrupted. issue-cluttered Issue is cluttered and needs to be replaced with a new one. state-gameplay Title has functional gameplay. tech-engine-unreal Title uses UnrealEngine.
Projects
None yet
Development

No branches or pull requests