Emulation Hardware Shin Megami Tensei V: Vengeance. romfs 60FPS + 1080p Mod

ZomiZomi

Member
OP
Newcomer
Joined
Jun 14, 2024
Messages
6
Trophies
0
XP
66
Country
Russia
I'm new to this, but I have made romfs 60fps mods for SHIN MEGAMI TENSEI V: Vengeance.
It should work with all future versions of the game also (versions 1.0.0 and 1.0.1 work so far)
I have made a few versions:

Main mods:
60fps_mods.zip includes the following mods (you can use only one):
  • 60fps_only - just 60fps mod, nothing else has been changed
  • 60fps_LQ - 60fps low quality mod: no shadows, poor effects (but view distance is the same). Maybe good for Switch users
  • 60fps_LOD_ShadowsX4 - 60fps mod with better LOD and 4x shadows. NEW. added 15.06.2024
  • 1080p60_only - stable 1080p resolution in docked mode and 60fps, nothing else has been changed
  • 1080p60_LQ - the same as 60fps_LQ but stable 1080p
  • 1080p60_ShadowsX4 - the same as 1080p60_only but with 4x Shadows
  • 1080p60_ShadowsOff - the same as 1080p60_only but with no Shadows
  • 1080p60_betterLOD - the same as 1080p60_only but with better LOD (cars and stones won't change its shapes with distance (they will but far far away))
  • 1080p60_ShadOff_LOD - the same as 1080p60_ShadowsOff but with better LOD
  • 1080p60_HQ - 1080p, 60 fps with 8x Shadows, better LOD, better effects. updated 15.06.2024 - Shadows are not so blurry now
30fps_ShX4.zip - original settings but improved shadows (4x)
30fps_DisableDynamicRes.zip - original settings but Dynamic Resolution is disabled and ScreenPercentage=100 (66.6666 by default). It will always be 1080p in docked and 720p in handheld. NEW. added 16.06.2024



Additional mods:
Distance_mods.zip contains:
  • DistanceX2 - The visible distance will be x2 more (grass and stones will appear further)
  • DistanceX3 - The visible distance will be x3 more (grass and stones will appear further)
  • DistanceX0.5 - The visible distance will be x2 less (grass and stones will appear closer)
  • DistanceX2_TAA* - The visible distance will be x2 more and it should enable TAA (but it still looks bad, not like TAA) NEW. added 17.06.2024
  • DistanceX3_TAA* - The visible distance will be x3 more and it should enable TAA (but it still looks bad, not like TAA) NEW. added 17.06.2024

You can use additional mods as standalone mods or as an addition to the main mods! I.e. you can use 1080p60 mod and DistanceX3 mod together
Thanks to Tervel, who was the first person who suggested it.
It is too much to make mods with different resolutions and different settings, it will be a lot of files, so you can do it yourself.
  1. Open desired mod in Hex editor (open the .pak file there). I use HxD hex editor.
  2. Now Search for SetRes if you want to change resolution. You will find something like r.SetRes=1920x1080. Change 1920x1080 into something you want (i.e. 2560x1440 ). Save the file. You are done.
The same way you can change shadow resolution etc.
IMOPRTANT!
You should not delete or add symbols! Just type new value above old one!
The length of your new entry must be the same of that you are changing! I.e. you can't change 1280x720 to 1920x1080 because "1080" is 4 symbols and "720" is 3 symbols length


Examples for Main Mods:
To unlock FPS
Search for frameratelimit You will found something like t.FrameRateLimit=60 Change 60 to 00 (two zeros to maintain symbol length). Done. Now you can set desired fps in your videocard drivers or via Riva Tuner.
To disable dynamic resolution (need to be tested)
Search for OperationMode , You will found something like r.DynamicRes.OperationMode=1 Change 1 to 0. And to get 1080p in docked or/and 720p in handheld also find and change two strings (one for 1080p and one for 720p) r.ScreenPercentage=66.6666 to r.ScreenPercentage=100.000 (keep in mind the number of symbols)


The another and more accurate way to edit mods is to unpack .pak files with unrealpack tool, you'll get .ini files. Edit .ini files whatever you like, then pack them to .pak again.
The problem is for some reason when I'm trying to unpack my mods the folder structure is lost, you will get only inis without folders, but without proper folders mods will not work.
So for those who are interested and for myself in future (If I forget :) ):
  • Main mods. SwitchDeviceProfiles.ini, SwitchEngine.ini, SwitchGame.ini should be in <any folder with the name>\Project\Platforms\Switch\Config\
  • Additional mods. BaseScalability.ini should be in <any folder with the name>\Engine\Config\
Then you take that <any folder with the name> and convert it to .pak. And that .pak file should be resting at \romfs\Project\Content\Paks
To install mod (use only one of those Main mods and/or one Additional mod at a time!):
For emulator (I use Ryujinx) click right mouse on the game, pick "Open Mods Directory" and extract mod there. You should get something like that - ...\mods\contents\<TITLEID>\60fps_only\romfs\...

For Switch users I think you should extract only romfs folder from the archive (without the name of the mod) and put it into you atmosphere/contents/<TITLEID>/ folder. So you should get something like that: atmosphere/contents/<TITLEID>/romfs/Project/...

<TITLEID> of the game is 010069c01ab82000
 

Attachments

  • 30fps_ShX4.zip
    2.2 KB · Views: 8
  • 60fps_mods.zip
    46 KB · Views: 8
  • 30fps_DisableDynamicRes.zip
    2.4 KB · Views: 5
  • Distance_mods.zip
    17.9 KB · Views: 24
Last edited by ZomiZomi,

tet666

Well-Known Member
Member
Joined
Oct 17, 2003
Messages
174
Trophies
2
XP
491
Country
Gambia, The
Thanks, I made some mods like that for the vanilla version of the game i remember i also upped the shadow resolution and the LOD, double should be enough i think maybe you want to include that as well.
 
Last edited by tet666,

ZomiZomi

Member
OP
Newcomer
Joined
Jun 14, 2024
Messages
6
Trophies
0
XP
66
Country
Russia
Thanks, I made some mods like that for the vanilla version of the game i remember i also upped the shadow resolution and the LOD, double should be enough i think maybe you want to include that as well.
I was able to raise shadow resolution (1080p60_ShX4.zip mod) and I've added view distance mod.
And something is wrong with the cars in the desert. Somekind of LOD there, their details change noticeably in very close distance (very noticeable is window's glass - it is transparent when you are close and opaque when you step away). I think I have tried to improve every LOD, but nothing helped.
 

tet666

Well-Known Member
Member
Joined
Oct 17, 2003
Messages
174
Trophies
2
XP
491
Country
Gambia, The
I was able to raise shadow resolution (1080p60_ShX4.zip mod) and I've added view distance mod.
And something is wrong with the cars in the desert. Somekind of LOD there, their details change noticeably in very close distance (very noticeable is window's glass - it is transparent when you are close and opaque when you step away). I think I have tried to improve every LOD, but nothing helped.

Yeah i also think it's the glass i was never able to fix that it doesn't use the same settings as the rest of the LOD for some reason, the second world also has glass shards everywhere and it's the same issue there.
 
Last edited by tet666,

SasoriDlc

New Member
Newbie
Joined
Jun 14, 2024
Messages
1
Trophies
0
Age
24
XP
5
Country
Brazil
Funcionou perfeitamente no Nintendo Switch, parabéns pelo trabalho, estava procurando assim que lançou
 

LuigiLuigi2401

New Member
Newbie
Joined
Apr 6, 2024
Messages
3
Trophies
0
XP
52
Country
Egypt
does this work with the JP version? I'm new and I don't know if romfs mods work or not with different versions or regions. There was a 1080p mod for p5r that worked on both regions because they had the same BID
BID(1.0.1): DEF7D50343261C610D4C94131184B23B
BID(1.0.0): D4C416C2081E96E8BA9A543FD62656C9
Title ID: 01007BF01A86A800
 

tet666

Well-Known Member
Member
Joined
Oct 17, 2003
Messages
174
Trophies
2
XP
491
Country
Gambia, The
does this work with the JP version? I'm new and I don't know if romfs mods work or not with different versions or regions. There was a 1080p mod for p5r that worked on both regions because they had the same BID
BID(1.0.1): DEF7D50343261C610D4C94131184B23B
BID(1.0.0): D4C416C2081E96E8BA9A543FD62656C9
Title ID: 01007BF01A86A800

It should work yes mods like this are universal because they rely on game files which are the same in every version of the game.
 
  • Like
Reactions: LuigiLuigi2401

Ethelbert

Well-Known Member
Member
Joined
May 4, 2023
Messages
148
Trophies
0
Age
38
XP
237
Country
Serbia, Republic of
does this work with the JP version? I'm new and I don't know if romfs mods work or not with different versions or regions. There was a 1080p mod for p5r that worked on both regions because they had the same BID
BID(1.0.1): DEF7D50343261C610D4C94131184B23B
BID(1.0.0): D4C416C2081E96E8BA9A543FD62656C9
Title ID: 01007BF01A86A800

The distance mods contain Engine/Config/BaseScalability.ini.
The original file is the same between US and JP, so there will be no issue.

The resolution mods contain three ini files from Project/Platforms/Switch/Config
SwitchDeviceProfiles.ini
SwitchEngine.ini
SwitchGame.ini
Out of these, the original SwitchEngine.ini is different between US and JP.
The differences are the ProgramId set in the file and also some localization related settings.
Dunno if using the US based mod on a JP copy will lead to anything bad.
 
  • Like
Reactions: LuigiLuigi2401

dragnipur

Active Member
Newcomer
Joined
Jul 26, 2017
Messages
39
Trophies
0
Age
28
XP
458
Country
United States
has anyone poked around saves? i assume there's no compatibility between V and VV but since Canon of Creation is the OG base game, i'd figure i might as well try throwing the saves in. as expected, no old saves popped up when i booted the game up again

but since the save files look similar, i'm guessing moving VV Switch saves to VV PC saves will be easy peasy
 

ZomiZomi

Member
OP
Newcomer
Joined
Jun 14, 2024
Messages
6
Trophies
0
XP
66
Country
Russia
Yeah i also think it's the glass i was never able to fix
I have found out it was r.StaticMeshLODDistanceScale And I used negative values for it. But it can't be less than 0, so it didn't work)
0.1 value makes it awesome, cars look beautiful. I'll add a mod with it later.
 
  • Like
Reactions: tet666

aznperson

New Member
Newbie
Joined
May 28, 2008
Messages
1
Trophies
1
XP
15
Country
United States
Testing this on a V1 switch, performance is great except for cutscenes. For 1080p60_only and 1080p60_LQ - the cutscenes are incredibly slowed down.

Great job on these though, thanks for sharing
 

ZomiZomi

Member
OP
Newcomer
Joined
Jun 14, 2024
Messages
6
Trophies
0
XP
66
Country
Russia
Does it work on update 1.0.1?
Yes, it works
For 1080p60_only and 1080p60_LQ - the cutscenes are incredibly slowed down.
Like in slow motion? Hm. I had that issue on emulator - when the game couldn't get 60fps it went slomo, but I fixed it (Not sure about cutscenes though, I had it while gameplay)... Don't know where the problem is. I'm new to this things
A 1440p version would be great.
If you want I can tell you how to do it (you will need to repack a .pak file with unrealpack tool, edit .ini file there and repack it to .pak again). It is just too many combinations for each resolution :( See the number of my 1080p combinations
 
Last edited by ZomiZomi,
  • Like
Reactions: NemRe

HornetsaysSHAW

Member
Newcomer
Joined
Sep 17, 2022
Messages
8
Trophies
0
Age
24
Location
Australia
XP
483
Country
Australia
If you want I can tell you how to do it (you will need to repack a .pak file with unrealpack tool, edit .ini file there and repack it to .pak again). It is just too many combinations for each resolution :( See the number of my 1080p combinations
Thank you for the offer but I managed to make it work using hex editing as Tervel suggested. And thank you for providing the initial mod as well, works great.
 

mister_smang_n_watch

Well-Known Member
Newcomer
Joined
Mar 19, 2023
Messages
54
Trophies
0
Age
34
XP
205
Country
United States
Tested a few versions on a modded V1, docked, max OC. 1080p, 60 fps, 4x shadows and 3x lod dropped fps to 20 almost constantly, sometimes a little lower, which makes sense. 1080p in general seems to create some issues. With 60fps, normal shadows and 3x lod I'd get between 30-40fps in the world. Cutscenes drop to 20fps for some reason like someone else said.

Using only 60fps seems to be optimal since cutscenes don't slow down at all. 3x lod doesn't seem to have much or any impact on fps. But It still floats around 40fps for me, 30 at the lowest in busy areas. Never see 60 unless in the menu or start screen. I turned off ambient occlusion motion blur which gives a small boost.

Still, seems to run and look better than it did when I first booted it up
 

tet666

Well-Known Member
Member
Joined
Oct 17, 2003
Messages
174
Trophies
2
XP
491
Country
Gambia, The
Btw i've noticed shadows look a tiny bit more pixelated in the HQ version even with the 4096 shadows and max shadow cascades i think it's r.Shadow.DistanceScale or something like that.

Edit nah that's not it might something else dunno, max shadow resolution and cascades looks good enough so i just leave it like that.
 
Last edited by tet666,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Found a bag of unpopped pop corn expired March 23 eating it anyway +1