[ecSRO] Resolution / window mode problem

Discussion portal for kSRO, jSRO, vSRO, cSRO, and all other SRO versions.
Post Reply
User avatar
Tieu
Hi, I'm New Here
Posts: 3
Joined: Sun Feb 22, 2009 1:12 pm
Quick Reply: Yes
Location: Zeus

[ecSRO] Resolution / window mode problem

Post by Tieu »

Hey, I want to play on ecSRO ( or other private server ). I have one big problem! I have 23" Panoramic monitor (deskop resolution 1920 x 1080). Private servers max resolution is 1280x1024.

I don't want play with 1280x1024. Also, private servers doesn't have Window mode.

Can anyone help me? ( Program or etc, to schwitch SRO process to window or my deskop resolution - 1920x1080... )
Pain is something normal?.... 
no matter how fast you are pain always find you

Fear before death feel everybody...
but someone can surmount pain?...

User avatar
Alfred
Loyal Member
Posts: 1545
Joined: Tue Mar 21, 2006 6:34 pm
Quick Reply: Yes
Location: .se

Re: [ecSRO] Resolution / window mode problem

Post by Alfred »

Only thing I can help you with is window mode. Press window key + alt + enter.
:cheers:

6x

User avatar
Jaapii
Loyal Member
Posts: 1542
Joined: Thu Jan 03, 2008 1:45 pm
Quick Reply: Yes
Location: Belgium

Re: [ecSRO] Resolution / window mode problem

Post by Jaapii »

The game doesn't have any native widescreen support.
I made it my goal to run this game widescreen and succeeded, in a rather strange and hackish way.

This is what you have to do:
1. get a hex editor. I googled and found a free XVI32 which is doing its job perfectly.
2. Use the hex editor to open game's config file, silkcfg.dat. You can find this file in game's program directory (typically c:\program files\silkroad\). You need to run this game at least once to have this file created.
3. Open silkcfg.dat with XVI32
4. At byte locations 8 and 9 there's a little-endian encoding of your horizontal resolution. At byte locations 12 and 13 there's a little-endian encoding of your vertical resolution. Screenshot: http://syskin.is.dreaming.org/sro1.png
5. Change the resolution to your native resolution. In my case, this meant changing 40 06 to 80 07 (780 hex = 1920 dec). Use windows calculator in advanced mode to quickly convert numbers.
6. Save the file.

If you broke the file or otherwise you're in doubt, start Silkroad's welcome screen, choose "option" and pick a resolution again. The config file will be re-created. There's no risk. Don't forget to reduce shadow quality from the game later on, or it will be very slow.

The outcome is, game runs at your native resolution.

I was unable to run the game at anything but 1920x1200. When given other numbers (1680x1050, 1920x1080, 0x0) the result was quite random and often resulted in 1920x1200, which actually made me write incorrect things here [this is an edit].

[edit much later] to be precise, this is because silkcfg.dat is not a config file. Config file is setting\SROptionSet.dat. When you modify silkcfg.dat, game notices the change and then re-creates SROptionSet. If you do something wrong, SROptionSet will not be modified.
Also, if you make a backup of silkcfg.dat and copy it back later, it will be considered "old" and ignored. Backup SROptionSet.dat instead.


==Screen change==

The game runs at HOR+.

Screeshots at default zoom (56k WARNING they're not resized, 250kb each; resizing makes them uber-ugly!):
1600x1200 http://syskin.is.dreaming.org/sro2.jpg
1920x1200 http://syskin.is.dreaming.org/sro3.jpg


==Supported resolutions==

No idea, under this trick it ONLY runs at 1920x1200 for me. Very likely if you have another native resolution, this other resolution will be used if you enter it correctly. Please test yourself and post here!

List of widescreen resolutions the game successfully ran at: 1920x1200
List of widescreen resolutions that were not tested: all others...
List of widescreen resolutions the game fails to run at: all but my native

source: ECSRO forum

btw: check my postcount^^

edit: ofcourse kworey, why else would I post^^
& locar, how did u know luls
Last edited by Jaapii on Sat Oct 10, 2009 7:42 pm, edited 1 time in total.

User avatar
iztupido
Advanced Member
Posts: 2081
Joined: Mon Mar 24, 2008 10:55 pm
Quick Reply: Yes
Location: somewhere around here

Re: [ecSRO] Resolution / window mode problem

Post by iztupido »

Jaapii wrote:
The game doesn't have any native widescreen support.
I made it my goal to run this game widescreen and succeeded, in a rather strange and hackish way.

This is what you have to do:
1. get a hex editor. I googled and found a free XVI32 which is doing its job perfectly.
2. Use the hex editor to open game's config file, silkcfg.dat. You can find this file in game's program directory (typically c:\program files\silkroad\). You need to run this game at least once to have this file created.
3. Open silkcfg.dat with XVI32
4. At byte locations 8 and 9 there's a little-endian encoding of your horizontal resolution. At byte locations 12 and 13 there's a little-endian encoding of your vertical resolution. Screenshot: http://syskin.is.dreaming.org/sro1.png
5. Change the resolution to your native resolution. In my case, this meant changing 40 06 to 80 07 (780 hex = 1920 dec). Use windows calculator in advanced mode to quickly convert numbers.
6. Save the file.

If you broke the file or otherwise you're in doubt, start Silkroad's welcome screen, choose "option" and pick a resolution again. The config file will be re-created. There's no risk. Don't forget to reduce shadow quality from the game later on, or it will be very slow.

The outcome is, game runs at your native resolution.

I was unable to run the game at anything but 1920x1200. When given other numbers (1680x1050, 1920x1080, 0x0) the result was quite random and often resulted in 1920x1200, which actually made me write incorrect things here [this is an edit].

[edit much later] to be precise, this is because silkcfg.dat is not a config file. Config file is setting\SROptionSet.dat. When you modify silkcfg.dat, game notices the change and then re-creates SROptionSet. If you do something wrong, SROptionSet will not be modified.
Also, if you make a backup of silkcfg.dat and copy it back later, it will be considered "old" and ignored. Backup SROptionSet.dat instead.


==Screen change==

The game runs at HOR+.

Screeshots at default zoom (56k WARNING they're not resized, 250kb each; resizing makes them uber-ugly!):
1600x1200 http://syskin.is.dreaming.org/sro2.jpg
1920x1200 http://syskin.is.dreaming.org/sro3.jpg


==Supported resolutions==

No idea, under this trick it ONLY runs at 1920x1200 for me. Very likely if you have another native resolution, this other resolution will be used if you enter it correctly. Please test yourself and post here!

List of widescreen resolutions the game successfully ran at: 1920x1200
List of widescreen resolutions that were not tested: all others...
List of widescreen resolutions the game fails to run at: all but my native

source: ECSRO forum

btw: check my postcount^^


tl;dr, you only wanted to have that number at ur postcount :)

now he wont post for a long time :P
Locar @ ecsro/fembria lvl 90/70
(got bored of sro, letting my chars rest for a long long long time)

I dare you to beat my brute!! http://malucodocrl.mybrute.com

Locar_ @ Azteca lvl 76 wiz (hope ur happy tasdik)

User avatar
Sjo3rd
Active Member
Posts: 748
Joined: Tue Jul 22, 2008 11:45 am
Location: The Netherlands

Re: [ecSRO] Resolution / window mode problem

Post by Sjo3rd »

iztupido wrote:
tl;dr, you only wanted to have that number at ur postcount :)

now he wont post for a long time :P


Yep, now he just reads-ONLY and pm people with his opinion about a topic... XD


No just kidding, Gratz MENZ 8)
Image

Image

Post Reply

Return to “Other SRO versions”