Utawarerumono: Prelude to the Fallen

Utawarerumono: Prelude to the Fallen

View Stats:
Adrian 24 Aug, 2022 @ 9:09pm
2
Resolution Mod Release
I made a mod that lets the game's 3d segments run on the resolution chosen on the settings menu instead of being locked at 720p.

Download link:
https://github.com/AGraber/Utawarerumono-Resolution-Hook/releases/latest

The source code and other info/instructions are on the GitHub repository:
https://github.com/AGraber/Utawarerumono-Resolution-Hook

This is a video of how it looks like:
https://youtu.be/g-io162ySc0

I hope anyone still looking to (re)/play the series enjoys it!
Last edited by Adrian; 24 Aug, 2022 @ 9:13pm
< >
Showing 1-15 of 16 comments
iriyap 25 Aug, 2022 @ 6:55am 
This is really awesome, thank you!
Amazing! It doesn't look terrible anymore!
Mkilbride 27 Aug, 2022 @ 4:04am 
Thanks for this. Not gonna let Krouch live this down.

Now if only we could get rid of the FPS cap. Of course, not essential in a game like this, but things still feel smoother at over 30.
Laur 27 Aug, 2022 @ 11:17pm 
Thank you!
pmnoxx 13 Jun, 2023 @ 10:59am 
I'm having trouble getting this to work. I copied dinput8.dll to the game folder, but whenever I use 4k resolution I still see that it's being rendered at 720p.
toughnails 13 Jun, 2023 @ 11:36am 
Originally posted by pmnoxx:
I'm having trouble getting this to work. I copied dinput8.dll to the game folder, but whenever I use 4k resolution I still see that it's being rendered at 720p.
The mod doesn't upscale 2D graphics, only the battle scenes. IMO, since the game is 70% visual novel, you're better off with a real-time AI upscaler like Magpie. The result looks like this[imgsli.com]. See this thread on how to install the upscaler.

It'd be really awesome if there was some way to combine both mods, but alas, you have to choose one over the other.
Adrian 14 Jun, 2023 @ 12:32am 
I've thought about building in something like a shader-based upscaler for those that want that (alongside a revamp of the mod, since I've learned a lot about D3D11 in the past time due to work, and some stuff could use some improving), but I've been too busy with work. I do want to take time to do the aforementioned revamp, since some stuff might be still janky, but don't hold your breath for that.
pmnoxx 25 Jun, 2023 @ 4:10pm 
I compiled the mod from github sources. I see that it doesn't work, because the mod was written for older version of the game binary (prelude, mask of deception, mask of truth) which is no longer available on steam.

To get it to work I would have to find out new function pointers for each game: ```
if (*(char*)0x8F0792 == '2') // deception
{
debugprintf("Game detected: Mask of Deception\n");
Addresses.ResizeWindow = (void*)0x503515;
Addresses.Res3dOverride = (void*)0x42523E;
Addresses.CreateTexture = (void*)0x4F3A9F;
Addresses.Flip = (void*)0x4F48D1;
Addresses.Res3dX = (int*)0x9D7584;
Addresses.Res3dY = (int*)0x9D7588;
Addresses.CreateWorldTexture1 = (CreateWorldTexture1_t)0x4F5AEA;
Addresses.CreateWorldTexture2 = (CreateWorldTexture2_t)0x4F5B69;
Addresses.worldTexture1 = (Kernel_CGraphics_Texture**)0x9D7D78;
Addresses.worldTexture2 = (Kernel_CGraphics_Texture**)0x9D73E8;
return true;
}
```

I'm not sure how to do that. Anyway, that explains why I couldn't get the mod to work.
toughnails 25 Jun, 2023 @ 4:29pm 
The games haven't been updated since 2021 though?
pmnoxx 25 Jun, 2023 @ 5:08pm 
Originally posted by toughnails:
The games haven't been updated since 2021 though?
You are right, I see no changes in
https://steamdb.info/app/1151450/patchnotes/ https://steamdb.info/app/1149550/patchnotes/

Though, after I enabled debug logs in function
```
bool DetermineGame()
{
if (*(char*)0x91F5AE == '1') // prelude
{
...
}

if (*(char*)0x8F0792 == '2') // deception
{
...
}

if (*(char*)0x91C53E == '3') // truth
{
...
}
debugprintf("Unknown game %c %c %c\n", *(char*)0x91F5AF, *(char*)0x8F0792, *(char*)0x91C53F);
return true;
}
```

I see a log entry: "Unknown game ォ", for some reason values at those pointers have changed, and the dinput8.dll no longer detects the game (I checked for all 3).
Last edited by pmnoxx; 25 Jun, 2023 @ 5:09pm
toughnails 25 Jun, 2023 @ 5:17pm 
Hmm, I see you're Polish, maybe it's a locale issue, try switching your Windows locale to English (US), as shown here:
https://www.tenforums.com/tutorials/132050-change-system-locale-windows-10-a.html
pmnoxx 25 Jun, 2023 @ 5:34pm 
Originally posted by toughnails:
Hmm, I see you're Polish, maybe it's a locale issue, try switching your Windows locale to English (US), as shown here:
https://www.tenforums.com/tutorials/132050-change-system-locale-windows-10-a.html
Oh, I see, I had the game installed in Japanese, so it was a different binary, the dll loads fine after I switched the game language from Japanese to English.
pmnoxx 25 Jun, 2023 @ 5:36pm 
Unfortunately, the mod only works for English version of the game.
Last edited by pmnoxx; 25 Jun, 2023 @ 5:38pm
Adrian 8 Jul, 2023 @ 5:38am 
Oh damn, I thought the game used the same binary and just different assets for the languages. I'll try to look into it soon.
Adrian 13 Jan @ 5:37pm 
Originally posted by pmnoxx:
Unfortunately, the mod only works for English version of the game.
Hi, I released a patch of the mod that adds support for the Japanese and Chinese versions of the game, you can download it using the same links on the main topic
< >
Showing 1-15 of 16 comments
Per page: 1530 50