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

53450812 - Sonic Unleashed #300

Open
adokova opened this issue Dec 10, 2015 · 104 comments
Open

53450812 - Sonic Unleashed #300

adokova opened this issue Dec 10, 2015 · 104 comments
Labels
cpu-jit-problems Title experiences emulation problems because of inaccuracies with the x64 JIT backend. cpu-unimplemented-instruction Title uses a PowerPC instruction that has not yet been implemented in the x64 JIT backend. issue-cluttered Issue is cluttered and needs to be replaced with a new one. state-gameplay Title has functional gameplay.

Comments

@adokova
Copy link

adokova commented Dec 10, 2015

Marketplace

Tested on EmuCR-Xenia-20151207 (xenia-project/xenia@4eff2d8?)

Issues:

So after the save screen buttons stop responding, the demo works fine with issues as seen in this video.

Video:

https://www.youtube.com/watch?v=UXRgRHonKqA

Screenshot(s):

su test

Log:

http://www.mediafire.com/download/d37s6w9ww6ssix5/xenia.log

Labels:

state-title

@adokova adokova changed the title Sonic Unleashed full game saving issue Sonic Unleashed Saving Issue Dec 10, 2015
@adokova adokova changed the title Sonic Unleashed Saving Issue 4BED0DDE - Sonic Unleashed Dec 10, 2015
adokova referenced this issue Dec 13, 2015
Update log file redirect switch
@rlabrecque

This comment has been minimized.

@Razzile Razzile added the state-title Title has a functional title screen (ie, "Press Start") before any menus. label Dec 14, 2015
@gibbed gibbed changed the title 4BED0DDE - Sonic Unleashed 53450812 - Sonic Unleashed Jan 22, 2017
@ActualMandM
Copy link

On latest master, the buttons on the GUI that pops up do work now, but it doesn't get past the press start screen sadly.
https://streamable.com/qd33z
xenia.zip

@HorrorTroll
Copy link

HorrorTroll commented Mar 19, 2018

Tested in last version!

I use Horizon to extract save file manual to let the game can go to the main menu!

Main menu:
image

Cutscene (First Time meet Chips):
image

The Movie work very good, but ingame is like the picture 2

@Razzile Razzile added state-menus Title has functional menus before any gameplay. and removed state-title Title has a functional title screen (ie, "Press Start") before any menus. labels Mar 19, 2018
@vladone97
Copy link

Tested on the latest version. It goes past the main menu, but there's no 3d rendering.
sonic unleashed
There's the Sonic Unleashed logo, but no planet. And if I go ingame, the pre-rendered opening cutscene with Sonic fighting Eggman's robots in space is shown, but after that, everything from the cutscene where Sonic falls from the sky onwards, including the gamepllay, is all just a black screen.

@MANGOM1LK
Copy link

DX12 seems to work most of the time. On AMD cards, however, Sonic's model explodes, making the game almost unplayable: https://www.youtube.com/watch?v=-xD9BvmbgbA

This happens to certain other models on a much smaller scale. The issue also happens on Nvidia cards, but the only example I know about offhand is the seagull model from Windmill Isle. Also, the lighting is too dark, and the game is prone to crashing (this is amplified when the quickstep is used).

@FateForWindows
Copy link

FateForWindows commented Oct 3, 2018

Current status is playable on NVIDIA cards. This is with the DX12 patch. No modifications are necessary though the 60fps one works well on higher end cards.

@ghost

This comment has been minimized.

@icup321
Copy link

icup321 commented Oct 4, 2018

That's because you need a save file, it gets stuck when trying to create a new save file so you need one already made to go in-game.

@ghost
Copy link

ghost commented Nov 13, 2018

Works...kinda on a 750 ti except input lag, also kinda unplayable because screen gets full of lines
desktop screenshot 2018 11 12 - 17 49 25 13
desktop screenshot 2018 11 12 - 17 49 29 90
desktop screenshot 2018 11 12 - 17 49 35 14

xenia.zip

@RonDaBlue
Copy link

RonDaBlue commented Nov 13, 2018

That's because of the gpu, i have a gtx 1070 and i could play through most stages with a stable fps with none of those "Lines" There are some vertex explosions, but most stages don't have any

@RonDaBlue
Copy link

RonDaBlue commented Nov 13, 2018

https://photos.google.com/album/AF1QipOMZdgyTc6ZmWAeMy2sFB-d95QKd7a8bFfmzlnr here are some screenshots

says link doesn't exist for me

https://imgur.com/a/peK6c0k ?

@ActualMandM

This comment has been minimized.

@RonDaBlue
Copy link

Can't get past title screen anymore with the latest build from the d3d12 branch
2018-11-20_19-57-42

You need to put a save file to get past the menus, it's a known issue for some games, It's complicated to explain and i'm too lazy too.. Here: RonDaBlue#4310 (My discord) Message me there and ill explain how to get you a save file

@RonDaBlue
Copy link

RonDaBlue commented Nov 21, 2018

capture 3
capture 2
Some screenshots of gameplay, Stable fps for most stages, But there are a lot of places where it crashes unfortunately, though most stages are completeable when going different paths, so i would call this "Gameplay"

Vertex explosions pretty much on all stages too.

@RonDaBlue
Copy link

Can't get past title screen anymore with the latest build from the d3d12 branch
2018-11-20_19-57-42

also whoops, i meant that you need xbox360ce, my bad... you'll need xbox360ce to set up your controls there, this error happens because xenia is also detecting your keyboard

@Parovozik
Copy link

Parovozik commented Nov 22, 2018

@RonDaBlue Because Xenia game 'Saves' now restored to 'My Documents' folder (Your Windows profile), and not Xenia folder! Just move all saves from 'content' folder to new place
Path: C:\Users\User_Name\Documents\Xenia\content...

@ghost

This comment has been minimized.

@Parovozik

This comment has been minimized.

@ghost
Copy link

ghost commented Nov 22, 2018

@Parovozik That's not what I asked. Anyway I figured it out, adding portable.txt to the emulator directory changes it back to how it was.

@ManyMilesAgo
Copy link

ManyMilesAgo commented Feb 9, 2019

With the most recent build of Xenia d3d12 is lags a lot compared to the last one. Maybe 1-5 fps compared to 15-20
EDIT: Laptop Specs AMD RX 460 AMD FX9830p Equivalent to a FX4300 8gb Ram SSD

@KBouder
Copy link

KBouder commented Apr 3, 2019

Something strange that I've noticed throughout playing this title across the past couple months of builds, is that sometimes the game will "crash" maybe not crash but the screen will go black except for the HUD elements and the timer will slow to a crawl. If you're fast enough you can pause and quit the level without it crashing, which causes icons on the world map to display incorrectly. Though the Jungle Joyride Day Act 1 stage causes a full crash just a couple seconds into the stage. I don't have any screenshots or videos to show this as I'm not at my personal computer at the moment. But besides vertex explosions and some levels crashing, this game is certainly playable.
EDIT: Specs - Nvidia GeForce RTX 2070, Ryzen 7 2700X, 16GB Ram

@MrSuperSonic1108
Copy link

Everything about unleashed on xenia canary works great, only issue is that the game crashes very frequently when its on the directx12 option. And as for vulkan, the game doesn't crash at all, however things don't appear (e.g. life's, records, medals etc).

The question is, why does it keep crashing, and more importantly is it fixable within modding capabilities? We have already fixed a few bugs and glitches, but all we need to do is fix the crashing for directx12, and everything should work properly.

Now while I have tested what makes unleashed crash I have noticed a few things, sudden actions or movements cause the game to crash on directx12, this can be moving, breaking things (etc). I have stood still in the hub world for 10 mins and over on directx12 and nothing has happened, yet the moment I move and break an object, the game crashes saying something is wrong with the graphics card. (don't take everything I'm saying into account for every build of pc, because I'm not)

But, I wish somebody had the answer to these questions, because I would love to play this game again.

@MilesTailsFan2005
Copy link

Generally Vulkan would be my go to

Though it didn't fix sonic generations something about it has a issue with the cache

@TailsGuy
Copy link

Generally Vulkan would be my go to

Though it didn't fix sonic generations something about it has a issue with the cache

Also an '05 Tails fan :']

But on topic, the graphics card always seems to be lost during gameplay in Unleashed at random times, and Vulkan isn't actually more stable, I'd say its visual discrepancies make it worse than DX12 at this point in time.

@coatlessali
Copy link

Using a fork present in the replies of this issue, the game has been 100% playable on Steam Deck with Vulkan. I've clocked in at least 10 hours on top of my first playthrough, and have only had two crashes. The missing objects are still an issue though.

Surprisingly, Direct3D 12 now boots under VKD3D, but it runs absolutely horribly. Less than half of the Vulkan performance. I don't think this is really down to Xenia though, moreso a problem with VKD3D.

@TailsGuy
Copy link

TailsGuy commented Sep 16, 2023

So, I decided to use your build there, and so far I've not had any crashes, but I do have the occasional light explosion. This is D3D12 though. I'll try Vulkan.

EDIT: It crashed, so I'll try Vulkan out of curiousity.
EDIT2: Effects are still missing, but it's pretty stable on Vulkan. However, there are quite a few stutters and resolution doesn't work above native res.

@495557939
Copy link

495557939 commented Feb 14, 2024

does anyone know how to fix the random game freezes in EggmanLand?
And the simulator doesn't have any error messages.
Prior to this the game was running at a steady 30/60fps with no signs of crashing.
It's like the game suddenly dies and all of a sudden the random screens and music all stops.
I'm using the Vulkan API and using mount_cache = true. (dx12 is more prone to crashing)
Other levels don't seem to have similar problems.

xenia_canary.exe 2024.02.14
gpu NVIDIA GTX 1070 8G
-------2024.07.02 edit-------
I upgraded the GPU driver to version 556.12 using GeForce Experience
and the issue was fixed.

@BlazingRush

This comment was marked as off-topic.

@BlazingRush

This comment was marked as off-topic.

@D2firegit
Copy link

Sonic unleashed runs 50-60 fps on vulkan, and almost perfect 60 dx12 rtv, but black artifacts on Intel 1355u and iris xe 96 eus
IMG_20240529_165412824_HDR

@Fizzyaider
Copy link

Fizzyaider commented Jun 8, 2024

Using Vulkan with the following settings seems to get me past the initial stage without any graphical glitches incase anyone needs it:

set clear_memory_page_state to true rather than false

Discovered this to fix the graphical issue when I experimented with clearing the GPU cache at that point. Vulkan was used as the video API

@TX2015
Copy link

TX2015 commented Jun 29, 2024

image

image

image

Issue on AMD without being able to support FSI and being forced into FBO. i5-9400F, RX 5500 XT, 16 GB RAM, HDD install. Werehog related effects are invisible, enemy attacks are invisible (mainly from bosses, i.e. Egg Beetle's bombs being invisible) and explosions everywhere, sometimes not being able to be fixed by using F5. Also, blurry cutscenes and hub worlds everywhere.

@D2firegit
Copy link

Turn off 1280x720 to fix the crazy boost. Also make sure to type fsi and not FSI.

@TX2015
Copy link

TX2015 commented Jul 4, 2024

Turn off 1280x720 to fix the crazy boost. Also make sure to type fsi and not FSI.

https://youtu.be/v75bPZWyhKk?si=_CPaU4_vzncFZDqG

Not working. I did make sure to put fsi instead of FSI, and turning off 720 patch does nothing. Here's the video to prove it

@D2firegit
Copy link

Make sure you have the patches folder in the correct location because you Xenia should say (patches applied)

@TX2015
Copy link

TX2015 commented Jul 4, 2024

Make sure you have the patches folder in the correct location because you Xenia should say (patches applied)

It's in canary's root folder. It's right beside the .exe actually. And if it didn't apply the parches in the first place, it wouldn't have applied the 720 patch in the first place and thus the turbo shouldn't have been broken.

@GaiBerd
Copy link

GaiBerd commented Jul 20, 2024

Using a fork present in the replies of this issue, the game has been 100% playable on Steam Deck with Vulkan. I've clocked in at least 10 hours on top of my first playthrough, and have only had two crashes. The missing objects are still an issue though.

Surprisingly, Direct3D 12 now boots under VKD3D, but it runs absolutely horribly. Less than half of the Vulkan performance. I don't think this is really down to Xenia though, moreso a problem with VKD3D.

I tried using that fork you linked along with
clear_memory_page_state true
on my steam deck, it runs the first stage smoothly but upon beating it and loading into either the Apotos hub or the next cutscene, it always crashes. I'm not sure if I missed a step in setting this up for steam deck or what, but if you could explain how you set the game to work on your deck would help me out a lot!

Edit: Turns out I was dumb and didn't change the renderer from direct3D12 ton Vulkan, after doing that in the canary config, it was able to work.

@Fanaticalight
Copy link

Fanaticalight commented Aug 11, 2024

Tested on the new Xenia Canary xenia-canary/xenia-canary@feb88ee using D3D12 ROV
I don't have a log, but we're getting progress on this again. I was able to change the renderer from Vulkan to DirectX 12 and haven't suffered a crash yet. Textures look a-okay as well, and so does the lighting. There's an annoying loading-zone bug that I encountered as well where it would softlock/never load the next area.
I did these to fix that problem, but I'm not sure which specifically solved it.

Screenshot 2024-08-11 002143
Screenshot 2024-08-11 005408

EDIT: Attempting to upscale to 1080p via config now that the D3D12 rendering appears to be functioning (at least in my case) does nothing other than upscale the UI and font. It appears the environment and models are still rendering at an internal resolution of 720p. I haven't noticed it breaking textures yet,

d3d12_readback_memexport = true
d3d12_tiled_shared_memory = false

[GPU]
clear_memory_page_state = true 
store_shaders = true
render_target_path_d3d12 = "rov"

[Storage]
mount_cache = true

[x64]
enable_host_guest_stack_synchronization = true


@ChrisHighwind
Copy link

Tested on the new Xenia Canary xenia-canary/xenia-canary@feb88ee using D3D12 ROV I don't have a log, but we're getting progress on this again. I was able to change the renderer from Vulkan to DirectX 12 and haven't suffered a crash yet. Textures look a-okay as well, and so does the lighting. There's an annoying loading-zone bug that I encountered as well where it would softlock/never load the next area. I did these to fix that problem, but I'm not sure which specifically solved it.

Screenshot 2024-08-11 002143 Screenshot 2024-08-11 005408

EDIT: Attempting to upscale to 1080p via config now that the D3D12 rendering appears to be functioning (at least in my case) does nothing other than upscale the UI and font. It appears the environment and models are still rendering at an internal resolution of 720p. I haven't noticed it breaking textures yet,

d3d12_readback_memexport = true
d3d12_tiled_shared_memory = false

[GPU]
clear_memory_page_state = true 
store_shaders = true
render_target_path_d3d12 = "rov"

[Storage]
mount_cache = true

[x64]
enable_host_guest_stack_synchronization = true

Can confirm on my end that D3D12 is functioning. I was able to do a day stage and a night stage in Apotos with a quick stop to its hub world between stages with no crashes.

@TailsGuy
Copy link

TailsGuy commented Aug 11, 2024

I'm playing it right now and other than some what I'm assuming shader cache stutters it's running fairly well at the default 880x720 30fps.
No crashes in the hubs, and I'm about to try out a stage. I'm using the settings that were put up in the prior post.

EDIT: The stutters might have been because I was downloading something onto my harddrive at a very high speed. I'll try again without downloading anything, but I was playing a stage and it ran pretty A-OK. I'm gonna try it at 1280x720, 60FPS, and 2x upscale.

EDIT TWO: I tried it with store_shaders = false on Adabat and got flashbanged.

@Fanaticalight
Copy link

In my experience, the 1080p resolution looked a little... weird? I did set it in the config file, and I did attempt to memory patch it, but the only thing that really upscaled was the font and UI. The game seems to be hard-stuck at 720p internally or something.
Screenshot 2024-08-11 060716

However, using the draw_resolution_scale variable actually fixes this.

Screenshot 2024-08-11 073736

@TailsGuy
Copy link

880x720, 2x resolution, the exact settings posted,
[Audio comes in later in the video]
https://github.com/user-attachments/assets/d672a6a6-a764-476b-a097-8dc786d78072

@TailsGuy
Copy link

However, with no upscaling it works pretty well outside of complete stops to the game (i'm assuming something to do with shaders).

@Fanaticalight
Copy link

Fanaticalight commented Aug 11, 2024

Huh, that's perplexing. 720p, 2x upscale and uncapped framerate. Same config. Not sure what's going on there.

EDIT: It looks like ocean levels does break upscaling, as instead of a black screen, I got a pure white screen.

2024-08-11.08-08-22.mp4

@TailsGuy
Copy link

TailsGuy commented Aug 11, 2024

Huh, that's perplexing. 720p, 2x upscale and uncapped framerate. Same config. Not sure what's going on there.

EDIT: It looks like ocean levels does break upscaling, as instead of a black screen, I got a pure white screen.
2024-08-11.08-08-22.mp4

Damn shame. Lemme test out something like Arid Sands and see if upscaling isn't affecting the visuals.

EDIT: Just ran through Arid Sands with 3x upscaling 880x720, 60fps, worked damn well. Adabat is likely broken. Apotos doesn't seem to pose any issue though. I'll check Holaska.

EDIT TWO: Empire City is also somewhat broken.

@TailsGuy
Copy link

TailsGuy commented Aug 11, 2024

Went to the hub, this weird thing flickers constantly while roaming in the hub.
I can't actually record anything for some reason since whenever I upscale OBS doesn't like it. I think.
EDIT: Trying this again after a Xenia reboot, it no longer shows up.
Screenshot 2024-08-11 104517

@ProAdz7
Copy link

ProAdz7 commented Aug 14, 2024

Anyone know why the werehogs fur is broken. This is on Dx12 mode which should be more stable but its jarring. It happens sometimes where it turns into a blob or the LOD is on very low. Canary_Experimental@5d3240d49
image

@ChrisHighwind
Copy link

I haven't paid much attention to the fur, but I have noticed that in cutscenes using D3D12, half the time the camera changes shots, the screen turns black and fades in like it's the beginning of a cutscene.

@m4stergaidem
Copy link

any progress on fixing crashes in directx12? I'm new but I'm interested in helping

@Margen67
Copy link
Member

Xenia Canary issue: xenia-canary#130

@Goodie0001
Copy link

Goodie0001 commented Oct 15, 2024

I beat the game with vulkan so the game is beatable from scratch with absolutely no crashing however you do need mods for a stable experience. Additionally you need to use vulkan. For example, to stop the werehog from becoming a rainbow you need to disable the hair itself which you use werehog's fury (low) for. there are also a number of hdr fixes such as "Sonic Unleashed HDR fix and Eggmanland HDR fix.
Screenshot 2024-10-15 213608
this is my current setup in terms of mods (some help fix the game, some don't. but im sure you can beat the game with medal collecting its just annoying thats why i disabled it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpu-jit-problems Title experiences emulation problems because of inaccuracies with the x64 JIT backend. cpu-unimplemented-instruction Title uses a PowerPC instruction that has not yet been implemented in the x64 JIT backend. issue-cluttered Issue is cluttered and needs to be replaced with a new one. state-gameplay Title has functional gameplay.
Projects
None yet
Development

No branches or pull requests