Jump to content

Has anyone tried to change screen resolution of a game before ?


Recommended Posts

Actually I have spent some time in the last years with upscaling old VNs, even though I never published any patches. I have never put my hands on Nuki Doki but I will try it. I am usually using Waifu2x to upscale the CGs and graphics then it depends on the engine whether you can easily adjust the UI to a new resolution or not.

1920x1080 might be hard though since the aspect ratio will change and so you will need to cut off parts of the images. But I guess 1600x1200 should be worth a try. 

Edited by Anonym271
Link to comment
Share on other sites

Okay, just tried it out: since Nuki Doki uses KiriKiri the chances are very good. Use GARbro to extract / repack the archives (they aren't encrypted) and scale all images using Waifu2x. The most important ones are in image.xp3, fgimage.xp3 and bgimage.xp3 but data.xp3 also contains some graphics (GUI stuff in data.xp3/system) and the game won't run correctly until you upscale at least the screen transitions in there (rule2.png, rule5.png, rule6.png). You might also want to upscale the remaining GUI elements later.

After that you will have to adjust the window size and probably also some parts of the GUI layout in the script files - they are located in data.xp3/system. The game starts with the script "Initialize.tjs" but the most important settings for the GUI are in Config.tjs and MainWindow.tjs. They both contain the variables "scWidth" and "scHeight" which you can just change to your desires.

When you start the game after this you will probably notice that many of the GUI elements are displaced or appear in the wrong size. If this is the case you will need to adjust them in the TJS scripts (the window layout is defined somewhere in them) and with upscaling some of the remaining image files in data.xp3.

This will be a little bit of effort but if you do all this and invest some time into the fine tuning you will have a perfectly upscaled game after this that is not simply stretched to another resolution. I guess you won't be able to get any good results without a little bit of manual work :D

Link to comment
Share on other sites

On 6/2/2021 at 12:07 AM, Anonym271 said:

Okay, just tried it out: since Nuki Doki uses KiriKiri the chances are very good. Use GARbro to extract / repack the archives (they aren't encrypted) and scale all images using Waifu2x. The most important ones are in image.xp3, fgimage.xp3 and bgimage.xp3 but data.xp3 also contains some graphics (GUI stuff in data.xp3/system) and the game won't run correctly until you upscale at least the screen transitions in there (rule2.png, rule5.png, rule6.png). You might also want to upscale the remaining GUI elements later.

After that you will have to adjust the window size and probably also some parts of the GUI layout in the script files - they are located in data.xp3/system. The game starts with the script "Initialize.tjs" but the most important settings for the GUI are in Config.tjs and MainWindow.tjs. They both contain the variables "scWidth" and "scHeight" which you can just change to your desires.

When you start the game after this you will probably notice that many of the GUI elements are displaced or appear in the wrong size. If this is the case you will need to adjust them in the TJS scripts (the window layout is defined somewhere in them) and with upscaling some of the remaining image files in data.xp3.

This will be a little bit of effort but if you do all this and invest some time into the fine tuning you will have a perfectly upscaled game after this that is not simply stretched to another resolution. I guess you won't be able to get any good results without a little bit of manual work :D

thanks actually Waifu2x upscaling qulity is really low . I use ESRGAN-master to do all the upscaling stuff ESRGAN so much better than Waifu2x  and also faster as well .. I will give it a try  which size did you used ? 1920x1080 or smaller than that ?

Link to comment
Share on other sites

Ah, right. ESRGAN produces extremely good results (even though Waifu2x with the Cunet model will be perfectly fine in 90 % of the cases). I used 2x scale (1600x1200) - as I said, 1920x1080 will give you cropping problems because the aspect ratio is not the same: you will either have to cut parts away on the top and bottom or you wil have black bars on the left and right. But you can try, of course! Often it is not even that hard to crop the images to 16:9 without losing important parts.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...