Log in

View Full Version : new gui


port66
8th July 2004, 01:58
made a new gui for xvid... if anyone else wants it.

looks like :

http://members.madasafish.com/~ugc7/xvid.jpg

download resource hacker and open file : windows/system32/xvidvfw.dll : then open the dislog tree and resource 100.

copy the code :


100 DIALOGEX 0, 0, 344, 160
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "XviD Configuration"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
FONT 8, "MS Shell Dlg"
{
CONTROL "", 1008, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 88, 16, 91, 76
CONTROL "more...", 1242, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 184, 16, 28, 12
CONTROL "", 1000, COMBOBOX, CBS_DROPDOWNLIST | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 88, 34, 92, 76
CONTROL "more...", 1241, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 184, 34, 28, 12
CONTROL "Target bitrate (kbps):", 1307, STATIC, SS_CENTER | SS_NOTIFY | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 12, 53, 71, 13 , 0x00000001
CONTROL "", 1302, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 88, 53, 91, 12
CONTROL "calc...", 1392, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 184, 52, 28, 12
CONTROL "List1", 1267, "SysListView32", LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_NOSORTHEADER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 87, 313, 47 , 0x00020000
CONTROL "Add", 1243, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 16, 137, 36, 12
CONTROL "Remove", 1245, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 137, 36, 12
CONTROL "Zone Options...", 1246, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 268, 137, 57, 12
CONTROL "Advanced Options...", 1005, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 229, 51, 84, 12
CONTROL "Load Defaults", 1007, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 229, 23, 84, 13
CONTROL "Decoder Options", 1006, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 229, 37, 84, 13
CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 223, 137, 41, 13
CONTROL "Main Settings", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 7, 3, 328, 151
CONTROL "Encoding type:", -1, STATIC, SS_LEFT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 14, 34, 70, 12
CONTROL "Profile @ Level:", -1, STATIC, SS_LEFT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 14, 16, 70, 12
CONTROL "Zones", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 7, 74, 328, 80
CONTROL "More", -1, BUTTON, BS_GROUPBOX | WS_CHILD | WS_VISIBLE, 219, 12, 105, 61
}


overwrite the existing source, compile and save. should backup original driver first

Koepi
8th July 2004, 06:28
...not precisely a clean hack.

Where's the advantage of your GUI vs. the original one?

Splashdriver
8th July 2004, 07:31
Originally posted by Koepi
...not precisely a clean hack.

Where's the advantage of your GUI vs. the original one?

Could be me (stupid me :D), but ehm.... I don't see the point either

port66
8th July 2004, 11:41
it just feels better

Koepi
8th July 2004, 11:45
Well, you moved 3 controls to the upper right and made the zones field a bit wider (without adopting the default space used). It looks clumsy to me, sorry.

Does it feel better because you "created" it yourself?

I fail to see "ergonomic" advantages, so I won't adopt the standard dialogs that way if you don't mind.

Regards
Koepi

port66
8th July 2004, 19:46
who knows. the standard gui feels to logistical on a screen display of 1600/1200 when opening up into another settings window

lordadmira
8th July 2004, 20:09
It's "cooler". R4D h4X0R :D

port66
8th July 2004, 20:36
open a file in resource hacker. not exactly hacking . :confused: .

if xvid ever comes out of "for educational user only" should run a little compo for a new front end gui

lordadmira
8th July 2004, 21:26
Yeah I don't really like the GUI either. Too Micro$oftish, i.e. too much clicking required to get to settings. But I don't like 'l337 that much either.

gnr
8th July 2004, 22:20
well it seems better. zones should be at last because u dont need to configure zones when u just change ur settings, test ur settings...etc.

BITS
9th July 2004, 01:16
isnt XviD open sourced? its ALOT easier than that crap if it is.

no offense, but if XviD is open sourced, wtf is resource hacker doing in the picture at all?

i just checked, XviD is open sourced. sorry, but your really sad.

let's all hack open sourced binaries!!! yeeee haaaa!!

BITS
9th July 2004, 01:28
Koepi: i know a mans work is more than a trophy, but since we are on the subject, i have always wondered why you dont use radial buttons for atleas the "Encoding Type". dont you think that would be faster? i might be alone, but i hate pulling that damn thing down everytime :-).

1 more thing (you hate me now), what about when the bitrate field gets focus, selecting all of the characters from the left besides the last three and positioning the caret at the end of the selection. i dont know about anyone else, but my bitrate number always ends in "000".

who knows though, maybe making modifications now could cause errors in some applications like gordian knot or something.

anyways, if the GUi never changes, then that means perfection has been accomplished in interface design right people? hell who cares anyways...why am i posting again? :-)

port66
9th July 2004, 02:32
no need to get worked up.. change it in the source you download or get bord when drinking a beer right click the dll and modify the dialog