High Resolution

## Introduction

Ragnarok Online has a limitation on screen resolution due to its use of DirectX 7 and Gravity never updating the client to use more modern API's. The usual maximum vertical resolution from my testing is 1200 pixels (ex. 1920x1200). Any overage will result in the infamous "Cannot init d3d OR grf file has problem" error.

Fortunately, by utilizing dgvoodoo, a graphics wrapper that converts older graphical API's to more modern ones, we can achieve resolutions we more commonly see today such as 2560x1440 and even 4k at 3840x2160.

## Disclaimer

Use at your own risk. Below will be steps to help guide you in setting up dgvoodoo to play ROTFR at 2560x1440 (as I do), but understand that each PC will have different hardware/software configurations and may not be a one size fits all.

I am assuming your system has >=8GB RAM, has a GPU, and and a decent CPU as this will utilize a virtual video card.

Further info can be found here: https://www.pcgamingwiki.com/wiki/DgVoodoo\_2

Tested with versions 2.75.1 and 2.79.

## Pre-requisites/Installation

1. Download the latest version of dgvoodoo - http://dege.freeweb.hu/dgVoodoo2/dgVoodoo2/
2. Unzip
3. Copy the following to ROTFR folder (where "The Fractured Realms.exe" is located)
	* dgVoodooCpl.exe
	* dgVoodoo.conf
	* MS > x86
		+ D3D8.dll
		+ D3D9.dll -- use x64 if your OS supports it
		+ D3Dlmm.dll
		+ DDraw.dll

## Setup

1. Open dgVoodooCpl.exe
2. Setup config to your liking (see below images)
3. Launch ROTFR Launcher
4. Open Client Config
	* Select dgVoodoo TnL HAL in Graphics Device
	* Select Desired resolution
	* Check Play in Fullscreen
		+ **YOU WILL NEED TO USE ALT+ENTER COMMAND TO ALT TAB OUT OF ROTFR. IF YOU CAN'T GET GAME TO SHOW UP, SELECT IT IN YOUR TASKBAR AND PRESS WINDOWS+LEFT ARROW, THEN ALT+ENTER.**
5. **Sample Setup**
	* **Important settings: Fast video memory access, VRAM = 4096 MB,**

## Conclusion

Once you start up ROTFR, you should bypass the init d3d error and start the game in your native resolution.

## Issues/Troubleshooting

1. When I ALT + TAB, RO minimizes and I can't get the game to open back up?
	* Try ALT + TAB back into RO
	* Click the ROTFR icon in taskbar (makes the window active), then press WINDOWS KEY + Left Arrow. It should bring RO back in windowed mode, then press ALT + Enter to go fullscreen.
2. RO is in windowed mode?
	* Verify you have Fullscreen in RO client settings.
	* ALT + Enter to switch between fullscreen and windowed.
3. My text is blurry/has artifacts on some parts of the UI?
	* Unfortunately this is a scaling issue that I have not found a way around.
	* Verify that you have Fullscreen checked in RO client settings, and utilize ALT + Enter method to enter fullscreen/windowed mode to tab out.
	* ALTERNATE SOLUTION: Select Bilinear blit stretch in dgvoodoo -- but this will make text fuzzy.
4. My UI is extremely small?
	* Probably caused by higher resolutions that 1440p. You can try to enable high DPI scaling in Windows.
	* Right click "ROTFR.exe" > Properties > Compatibility > Change high DPI settings > Select "Override high DPI scaling behavior > Select from drop down menu: System (Enhanced)

## Uninstall

If you want to remove dgvoodoo:

1. Locate ROTFR installation folder
2. Delete the files pasted above
3. Open ROTFR launcher
4. Open client config
5. Select graphics driver
6. Select resolution 1200p or lower