Dolphin, the GameCube and Wii emulator - Forums

Full Version: The Last Story speedhack
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Many thanks for this! It works very well!

Is there a way that you could make this EXE for ishiiruka Dolphin with the recently incorporated DirectX 12 support?

https://forums.dolphin-emu.org/Thread-unofficial-ishiiruka-dolphin-custom-version

Many thanks!

Dimwito

(10-22-2015, 12:36 AM)Link_to_the_past Wrote: [ -> ]I took the liberty of reuploading an entire build of it with the default gameini altered to reflect the change for no need of efb to ram.
https://mega.nz/#!UhYg0ArB!KvH0E9JpbOdIeiuEFgU-_C2yywGu5GtPJ5cfhiuWORM

I downloaded from your link and booted up the game. It does run much faster but I am still getting 10-17 FPS in most combat. Do i need to change any of the settings? Or do i need to adjust something in the games ini.

Thanks!
(10-22-2015, 03:57 PM)mimimi Wrote: [ -> ]
(10-22-2015, 10:01 AM)jcdaza Wrote: [ -> ]Can this code be applied to ishiiruka as well?
It looks like it should be easy, compare:
https://github.com/Tinob/Ishiiruka/blob/master/Source/Core/VideoBackends/DX11/TextureCache.cpp#L446
https://github.com/Tinob/Ishiiruka/blob/master/Source/Core/VideoBackends/OGL/TextureCache.cpp#L464
https://github.com/Tinob/Ishiiruka/blob/master/Source/Core/VideoBackends/DX9/TextureCache.cpp#L284
with:
https://github.com/mimimi085181/dolphin/commit/a9ea3536c956581b708c46d02f62827ca134d473

Ishiiruka needs 3 changes instead of 2, because it has 3 backends.

PS: It might be that the format is different for some reason. It changed in master from 0 and 6 to 6 and 32 sometime, i don't know exactly when or why.


I learned about this thread recently, and since I like my eye candy I prefer to use Ishiiruka when possible. So I simply asked Tino if the changes mimimi linked to were still relevant with all the changes Tino has made since the date of mimimi's reply that I quoted above.
Here is his response.

(05-03-2016, 01:10 PM)Tino Wrote: [ -> ]Updated lates folder witha a new version, merged latest master changes.
@Kamikaze_Ice:
just add this line to your gfx.ini
LastStoryEFBToRam = True
and you can enjoy "best of both worlds" Smile
Posting this here for general awareness since others have asked about this for Ishiiruka.
So yey! Thanks again Tino.


To use this you need to be using Ishiiruka 655 (740416b) at the least, and then...
First, Enable "Store EFB copies to Texture Only" in the Hacks tab of the graphic options, then close Ishiiruka.

Second, manually add LastStoryEFBToRam = True to your gfx.ini file. The default folder is C:\Users\<User Name Here>\Documents\Dolphin Emulator\Config\
I don't know if this works for the DX12 backend, nor if it has a separate .ini, but you can always try it (just edit the DX12 backend's *.ini instead).

Third, we need to edit one file that comes with Ishiiruka so we can unlock/enable the option to use EFB to Texture with the game again. We can do this two ways.
I) In Ishiiruka, right-click on "The Last Story" and choose properties. At the bottom left you will see two buttons, click "Show Defaults". This will open the file we need to change (SLS.ini).
or
II) Go to where you extracted Ishiiruka. Using myself as an example, C:\_Games\Dolphin\Ishiiruka 655 (740416b)\
Enter the Sys folder, and then enter the GameSettings folder.
Then open SLS.ini with something like Notepad.

Now that we have the file open we are ready to make our change.
Remove this line: EFBToTextureEnable = False, and save.
You're ready to play Smile


Note: When I first did this, LastStoryEFBToRam changed from True to False. This is why I recommend first enabling "Store EFB copies to Texture Only" and closing Ishiiruka before changing the SLS.ini, because I didn't do it this way. I can't honestly prove if that was the cause for me. So do check it after running the game once just to be safe.


(12-13-2015, 08:12 AM)Dolemub42 Wrote: [ -> ]Is there any way to stop the shader compilation hitching/stuttering or minimize it? I get this a lot in this game, but much less in Super Mario Galaxy and not at all in Xenoblade.
There is. See the change Tino made in Ishiiruka. In context, Tino is quoting me with his "Best of both worlds", which was about having this EFB to texture "speedhack" and Ishiiruka's Async shader caching.
I hope you can add the hack entry to SLS.ini, or else random games will get slower for no reason. There's a reason why i called it an ugly hack. The other alternative would be to add a check for the gameid in the source code...
(05-05-2016, 10:36 AM)Kamikaze_Ice Wrote: [ -> ]I learned about this thread recently, and since I like my eye candy I prefer to use Ishiiruka when possible. So I simply asked Tino if the changes mimimi linked to were still relevant with all the changes Tino has made since the date of mimimi's reply that I quoted above.
Here is his response.

Posting this here for general awareness since others have asked about this for Ishiiruka.
So yey! Thanks again Tino.


To use this you need to be using Ishiiruka 655 (740416b) at the least, and then...
First, Enable "Store EFB copies to Texture Only" in the Hacks tab of the graphic options, then close Ishiiruka.

Second, manually add LastStoryEFBToRam = True to your gfx.ini file. The default folder is C:\Users\<User Name Here>\Documents\Dolphin Emulator\Config\
I don't know if this works for the DX12 backend, nor if it has a separate .ini, but you can always try it (just edit the DX12 backend's *.ini instead).

Third, we need to edit one file that comes with Ishiiruka so we can unlock/enable the option to use EFB to Texture with the game again. We can do this two ways.
I) In Ishiiruka, right-click on "The Last Story" and choose properties. At the bottom left you will see two buttons, click "Show Defaults". This will open the file we need to change (SLS.ini).
or
II) Go to where you extracted Ishiiruka. Using myself as an example, C:\_Games\Dolphin\Ishiiruka 655 (740416b)\
Enter the Sys folder, and then enter the GameSettings folder.
Then open SLS.ini with something like Notepad.

Now that we have the file open we are ready to make our change.
Remove this line: EFBToTextureEnable = False, and save.
You're ready to play Smile


Note: When I first did this, LastStoryEFBToRam changed from True to False. This is why I recommend first enabling "Store EFB copies to Texture Only" and closing Ishiiruka before changing the SLS.ini, because I didn't do it this way. I can't honestly prove if that was the cause for me. So do check it after running the game once just to be safe.


There is. See the change Tino made in Ishiiruka. In context, Tino is quoting me with his "Best of both worlds", which was about having this EFB to texture "speedhack" and Ishiiruka's Async shader caching.

There is no separate DX12 ini and it works very well.
(05-05-2016, 07:58 PM)mimimi Wrote: [ -> ]I hope you can add the hack entry to SLS.ini, or else random games will get slower for no reason. There's a reason why i called it an ugly hack. The other alternative would be to add a check for the gameid in the source code...
Putting LastStoryEFBToRam = True in SLS.ini and not in gfx.ini does not work.

I only have one other game, Xenoblade, that needs EFB to RAM enabled for something, (thumbnails for save slots). Leaving it enabled in gfx.ini APPEARS to have no conflict. No change in framerate and does not show thumbnails when making a new save.

This could use some testing, but based on my small sample size, I see no harm in leaving this enabled in games. I think having it it scans <GameID> like you suggested as an alternative, but you could probably just check Tino's github (understanding the code is beyond my skill).
(05-06-2016, 11:28 AM)Kamikaze_Ice Wrote: [ -> ]I think having it it scans <GameID> like you suggested as an alternative, but you could probably just check Tino's github (understanding the code is beyond my skill).

Oddly enough, it actually does have a hard-coded check for the game ID. https://github.com/Tinob/Ishiiruka/blob/740416bef7806d2d4d5c7bc20fac54d6385f7354/Source/Core/VideoCommon/VideoConfig.cpp#L386
Ok, then i guess it's "fine".
ı have a problem this game. I am not using this speedhack but my game very fast. I cant tead subtitles also. I use isshiruka 680 how to fix this problem?
(06-11-2016, 06:25 AM)drgn Wrote: [ -> ]ı have a problem this game. I am not using this speedhack but my game very fast. I cant tead subtitles also. I use isshiruka 680 how to fix this problem?

If you need support for ishiiruka build, please post in the ishiiruka thread:
the https://forums.dolphin-emu.org/Thread-unofficial-ishiiruka-dolphin-custom-version
Pages: 1 2 3