pouët.net

4k's: display adapter choice!

category: general [glöplog]
since a while i've taken up watching 4ks again, and for good reason, but uhm, i've got my widescr monitor hooked up to the 2nd head of my graphics card

so, small request, could you guys supply an exe with either a small config dialog (non party version of course) or in case of d3d just simply one that lets me supply the d3dapater id int as a commandline parameter?

if you have the time :)

thanks.
added on the 2009-08-08 13:36:02 by superplek superplek
apater->adapter

and even though i'm completely blank when it comes to pc opengl, there must be a similar way to do that.
added on the 2009-08-08 13:36:48 by superplek superplek
i've been thinking a lot about how one can have a decent way to configure a 4k's resolution and stuff and still remain under 4k... when intros were packed with dropper it was slightly easier because you could just basically write an exe with a dialog that was able to "patch" and repack the intro - not the nicest way but it would work. with crinkler that's kindof gone so the only option is the "atrium-method" of having a large version with a dialog, although for me that's a bit ... meh.
added on the 2009-08-08 14:16:55 by Gargaj Gargaj
i can't comment on dropper, don't know it. but having to patch an executable doesn't sound very appealing to me, honestly.

just the commandline parameter i offered already enables me to run it on the right monitor, so thats enough. but a config. dialog (atrium) is the best, without doubt.

i don't feel it takes away from the original intro being 4k. back in the days nobody complained about larger exes with soundblaster support for 64ks either, it was just nice to have an option :)

that said -- if some kind of (existing) framework could offer a solution to this, all the better.
added on the 2009-08-08 14:26:40 by superplek superplek
argh -- i should think twice before clicking submit since as usual there's more i wanted to say..

Quote:
but having to patch an executable doesn't sound very appealing to me, honestly.

this is because of the whole browser->click->open zip->click exe cycle. but true, that wont work with a cmdline parameter either, but still.

Quote:
config dialog

my wide monitor runs 1440 by 900, rarely seen a bla_1440_900 exe :) so enumerating would be nicest if you're gonna do it anyway.
added on the 2009-08-08 14:29:10 by superplek superplek
actually now that i think of it... i have an idea: using kkapture-esque techniques, one could, in theory, detour some of the d3d calls and change some of the parameters transparently - and it would work, on paper, with any intro (or 64k, or demo, etc.)

hmm :)
added on the 2009-08-08 14:29:43 by Gargaj Gargaj
gargaj's 4krunner? but *then* i would have to have that tool handy where and whenever i want to see a 4k.

so people should ship with it :)
added on the 2009-08-08 14:31:13 by superplek superplek
considering how the tool itself would be ~20k or so, might as well :) that said, it would fuck up with intros that are resolution dependant. nevertheless, i think it might be worth a shot. let's see if i can look into it.
added on the 2009-08-08 14:33:35 by Gargaj Gargaj
hm... how about ".kkonfig"? :D
added on the 2009-08-08 14:36:47 by Gargaj Gargaj
that would happen very soon anyway since i guess the aspect ratio is either fixed or at least *not* taken by retrospectively probing the resolution the d3d device is in :)

but if you use it on a 1280_720 exe you can of course go with whatever 16:9 res you want and soforth. maybe best to offer a good piece of config dialog plug-in code? i think more and more people more are using tools/frameworks for 4ks anyway.
added on the 2009-08-08 14:38:37 by superplek superplek
i've donated some config dialog code to the BP orgas some time ago already :)
added on the 2009-08-08 14:45:48 by Gargaj Gargaj
Gargaj: We (that is: ryg, but he usually talks to people) already thought about resolution override switches etc. in .kkapture but there are a plethora of cases in which this simply won't work. 2D stuff using pixel coordinates instead of homogeneous ones is the easiest example, and it's slowly getting ugly if you think about render targets for post processing (which you will have to resize also) or even screen space pixel shaders.

Of course for current trendy "we only render one triangle" 4ks it might even work *g*

Plek, just declare the widescreen as primary display, shove the taskbar back to the left and live with it :P
added on the 2009-08-08 14:55:10 by kb_ kb_
Damn, its started like gargaj and plek should deffo get a room but then, kebby joined for a threesome!
Gargaj: Could you add an option where you can select which monitor is used? Right now they usually take the first one, but I would like to select the second one, since I have my TV set connected to it. I could run the demos in 800x600 on my TV via second monitor then.
added on the 2009-08-08 15:00:33 by Salinga Salinga
In other news, "deffo" is for people who don't know how to spell "definately".
added on the 2009-08-08 15:00:39 by kb_ kb_
kb: sure, that's why i said "works on paper", although I doubt those issues are really significant - in my experience most 4k stuff just sticks to 0-1 space anyway. also, this is meant to be a slightly inelegant patch to an unnecessary hole, although admittedly the thought that people would care even less about convenient code does disturb a bit.

that said, it's not necessarily about just adjusting the resolution, but also stuff like forcing vsync, windowed mode, multisampling(!), or as noted, the display adapter (although I guess that's a lesser craved fix). i can certainly see some uses in those at least.
added on the 2009-08-08 15:04:21 by Gargaj Gargaj
You are being very mean :(
gargaj: agreed - kb's issues are valid though, especially when it comes to rendertargets.

kb: i like the cut of your jib :) i'll just shove it around.

i'm still charmed by the idea of some kind of std/handy dialog code. i might just.
added on the 2009-08-08 15:10:50 by superplek superplek
kb, I'm def it's not spelled that way either ;)
added on the 2009-08-08 15:17:24 by _-_-__ _-_-__
aaaand on the count of three we shall weep for irony lost :)
added on the 2009-08-08 15:23:39 by Gargaj Gargaj
well I was actually pointing out "def" as being the real abbreviation =)
added on the 2009-08-08 15:25:21 by _-_-__ _-_-__
Quote:
In other news, "deffo" is for people who don't know how to spell "definately".

"definitely"

An even more annoying trend is to shorten "pretty" down to "p". That's p stupid.
added on the 2009-08-08 15:32:50 by tomaes tomaes
Quote:
aaaand on the count of three we shall weep for irony lost :)
added on the 2009-08-08 16:00:18 by kb_ kb_
kindernoiser has a dialog and still remains under the 4k limit (I believe it was the first 4k to have one?). The dialog consumed 400 bytes (after Crinklering), so it should be possible to provide a configurable version of the intros under 4k5, which is more elegant than providing a huge exe.

I think I will add one next time with the choice for the adapter, thx for the note.
added on the 2009-08-08 16:08:53 by iq iq

login