Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 05/14/07 13:05

Tyr
Member
From: The Netherlands
Registered: 05/09/07
Website

Oni in Widescreen with a bigger resolutionthan 1152x864

EdT wrote:

I just got a 22 inch monitor, resolution 1680x1050 a ratio of 1.6 for only $289, its by Acer.
In Oni, I can set the game to 1360x768 with a ratio of 1.77 and it looks good.

I've got a 22" monitor widescreen (on Windows Vista) too with that resolution. Is it possible for me to also get the resolution of Windows to that high? Not sure if it has already been said, but that would be great! smile
The max resolution I can get is 1152x864 with either OSGE v1.4 and the normal options (no difference). I have a Nvidia Geforce 7300 GS videocard and the newest drivers, so that shouldn't be the problem.

Any tips? big_smile

Offline

#2 05/14/07 13:05

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Resolutions have to be added to the Daodan DLL by hand.
EDIT: That's on PC. The Mac OS X port is more universal.

Let's see what resolutions you PC folks need:

1280x800? 1680x1050? Anything else?

Last edited by geyser (05/14/07 13:05)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#3 05/15/07 02:05

Tyr
Member
From: The Netherlands
Registered: 05/09/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Resolutions have to be added to the Daodan DLL by hand.

If that's possible, can you give me instructions how to do that, for example where I can find the DLL and how I can edit it then (what do I need to do it), or just if it can't be edited, that would be nice big_smile
I tried changing the 'Extension Limit' in the Nvidia Control panel to 'extend the resolution', but that was not the problem tongue (that's also used for the 'blam' crash, which is also how I got it (if you search for "oni daodan dll" on Google, that's the first hit you get wink)

It is ofc not so needed (since 1152x864 is already quite high and it has nice graphics) but if it isn't that much to do ^^

Let's see what resolutions you PC folks need:
1280x800? 1680x1050? Anything else?

big_smile It was just that it would like  it to have a higher resolution, but it's purely for enjoyment and it isn't a crash wink
If I sound a bit too greedy, I apologise since *again* it's only for my enjoyment roll smile

Offline

#4 05/15/07 05:05

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

"Extending the resolution" with "OpenGL extensions" LOL smile

The current DLL is in ASM, so probably not something you'd want to modify and compile by yourself.
We'll be adding more features (like custom resolutions) to the C-powered sorta SDK version of Daodan.
(and that would be more user-friendly for coders everywhere; better than the ASM version at least...)

We know widescreen resolutions is a purely cosmetic issue, which is why we haven't focused on it so far.
We did add 1280x800 by request, and we probably could add yours too, but it makes more sense to gather a larger list and add it all at once.
(maye we'll be able to somehow check on the system's resolution at runtime, rather than set up every possible resolution aforehand... dunno)

Meanwhile, please note that the best-looking thing IMO is 640x480, with -noswitch command-line tag smile
(it's the single nicest way to play if you intend to check out the Dev Mode in conjunction with scripts)

Erm... What you said about OSGE is intriguing... Can a persist.dat really override the resolution?
I tested a bit, and it looks like the resolution set up in a persist.dat is ignored if it's not in the list.
Oh well. We'll set it up then. Eventually(TM). Stay Tuned(TM).

Last edited by geyser (05/15/07 05:05)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#5 05/15/07 11:05

Tosh
Member
From: Oregon, USA
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

You can get the resolution in C++ easy enough, geyser.

int res_w,res_h;
res_w = GetSystemMetrics(SM_CXSCREEN);
res_h = GetSystemMetrics(SM_CYSCREEN);

Include windows.h of course.. so that's not really cross platform. ^^;

Offline

#6 05/15/07 14:05

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Cross-platform is not an issue since (see above) the OS X port handles all the resolutions, and those desperate enough to play on Linux are usually not too keen on full-screen anyway.

For various reasons, Daodan is currently in C, not C++, but that shouldn't be a problem. We're already using similar commands to get all the display modes from the user's monitor.

The problem is what we do with them once we have them. Oni's EXE has 16 resolution slots. Of those 16, those that are supported by the monitor are shown in Oni.
The current version of Daodan eliminates obsolete presets such as HDTV, and instead fills up the array with modes actually supported by the monitor.
However, if a monitor supports over 16 modes, that nice scheme doesn't do so well. Basically, only the first 16 modes will be listed.
That means the highest-res mode or modes will be left out if there are more than 16 modes. And we'll need to work around that.

One workaround is that we could get the current screen resolution from the system (assuming it's the native one).
Then we'd just make sure to include that one, and to fill the 15 other modes with the lowest supported ones as usual.
It's by no means impossible or even hard, it's just a bit more complicated than what we have now. And we're busy/lazy.

At any rate, wait till the next Daodan release (the current one doesn't do resolutions at all...). And check out the current one in the meantime HERE wink

Last edited by geyser (05/15/07 15:05)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#7 10/06/07 22:10

kingsword
Member
Registered: 10/06/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

First I want to say thanks for that exe that you had posted before that enables 1280x800, geyser. However my LCD's native resolution is 1440x900 and I was wondering if you can be able to enable that in the exe as well. I would really appreciate it if it's not a bother. smile

Widescreen is really a pain with older games. hmm

Offline

#8 11/10/07 19:11

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Well, anyone interested can just post the resolution of his/her dreams here.
If I'm bored I might make an EXE or a set of EXEs that handle them.
I really recommend playing in 640x480 with -noswitch though.


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#9 11/11/07 12:11

Tyr
Member
From: The Netherlands
Registered: 05/09/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

I'm playing in 640x480 with -noswitch atm (as I'm making movies and a script atm cool), but I'd love to try my 1680x1050 (widescreen 22"). big_smile

Last edited by Tyr (11/11/07 12:11)

Offline

#10 11/13/07 09:11

varg
Member
Registered: 11/13/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

1440*900 (widescreen 19")
But for russian version from Buka
It's possible?

Offline

#11 11/13/07 10:11

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Never mind the inches, it's the X and Y pixels that count.
Yes, it's possible. BTW, there's a Russian forum, you know.
smile http://onimia.ru/forum/index.php
http://onimia.ru/forum/viewtopic.php?id=37

Last edited by geyser (11/13/07 13:11)


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#12 12/08/07 04:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

soo....did anyone ever figure this out?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#13 12/08/07 08:12

geyser
Member
From: beyond the veil
Registered: 01/14/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Gumby, what exactly do you mean? Currently, we can hard-patch the engine to handle any given resolution.
However, since the new resolution merely replaces an existing one, we can't add too many to the same EXE.
For the same reason, it feels kinda strange to me to produce multiple hard-patched EXEs for all you guys...
Either do the patch yourself (it's really not that hard) or wait for the Anniversary release of the Daodan DLL.

Of course I could patch and upload the EXEs rather easily, but I'd rather not become a "widescreen nanny" tongue
So I wanted all of you to submit the required resolutions here: 1680x1050, 1440x900, what else? Gumby?


Behold the power of that which is yet unborn! For the swirling images that flow forth from the Chrysalis are only a shadow of the sleeper's true power.

Offline

#14 12/08/07 23:12

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Ill wait for Daodan...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#15 05/25/08 02:05

Tyr
Member
From: The Netherlands
Registered: 05/09/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

I finally figured it out: http://oniusb.googlepages.com/index.htm (thanks EdT)
Everyone can set their own desired resolutions following the instructions there.

Last edited by Tyr (05/25/08 02:05)

Offline

#16 05/25/08 13:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

That looks nice, but IIRC Daodan already enables your current desktop resolution as an oni resolution choice.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#17 05/25/08 14:05

Your_Mom
Member
From: Canada
Registered: 01/31/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

OniUsb FTW. Its in a WINDOW! (not just stuck in a corner big_smile)


droid803sig.jpg

Offline

#18 05/31/08 12:05

Tyr
Member
From: The Netherlands
Registered: 05/09/07
Website

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Your_Mom wrote:

OniUsb FTW. Its in a WINDOW! (not just stuck in a corner big_smile)

I double that big_smile

That looks nice, but IIRC Daodan already enables your current desktop resolution as an oni resolution choice.

The reason why I made this thread proves you wrong smile I could not do this.
There are so much types of computers, that you can not possible fix all the handling of all of 'em wink

Offline

#19 06/02/08 18:06

Kemot722
Member
From: Warsaw in Poland
Registered: 10/14/07

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Tyr wrote:

I finally figured it out: http://oniusb.googlepages.com/index.htm (thanks EdT)
Everyone can set their own desired resolutions following the instructions there.

This patch is fantastic! Now I can play with high 1680 x 1050 resolution on my screen.


I'm back again smile

Offline

#20 08/22/08 10:08

stonk
Member
Registered: 08/22/08

Re: Oni in Widescreen with a bigger resolutionthan 1152x864

Thanks for that link geyser.

Last edited by stonk (09/30/08 10:09)

Offline

Board footer

Powered by FluxBB