|
Новая страница 1
– I welcome all
users which have chosen the given Game Menu. I hope it to you it was pleasant
also you likely have already decided to change names of buttons in each menu
that they coincided to those games which are installeed at present on your
computer. So, we shall start studying of these simple, but very interesting
menus.
That me personally
arranges that in these menus so that they give this that clear, smoothed
picture (by special
grafic filter), with use of the advanced format "jpg", moreover there is an
opportunity to include in the menu any sounds (only in a format "wav"), starting
music (short, in a format "wav") and background music (only in a format
"mp3"!!!). Plus still to add (or to delete) the transition fade effect of the
menu. But the most important - at such menus an initial program code (or
програмный
the text) is open, thus you can change it to the discretion, but according to
some rules of his programming.
The most important
and necessary in these menus are their buttons with which help, you can include
the games installed your computer. And at the given buttons the main parameters
it - the name of the button, their size and an arrangement (on axes "X-Y"), well
and a way or is simple the location ".exe" files or any other files, be it the
text, a music, film, a shotcut or simply a folder (for its simple opening).
So to
you for the beginning, in all this programming, it is necessary to change only
the name of buttons, their size, their arrangement and a way (the path) to an
included file (or a path to a folder).
And
all this!
Well all right, I
shall not pull and at once we shall start acquaintance with a program code of
the menu.
If you already
entered in a folder of the installed menu you have obviously noticed similarity
of an internal structure of each folder, be it "Shooters" or "Racings". But it
and is clear - each menu is created on the basis of a pattern which has a
similar program code.
So, how to change
buttons?
As the example will
serve us a folder "Shooters" (-the shooters meet frequently!).
We come into the
given folder, then we enter into a folder "src", we find there a file "btn.ini"
(or it is simple "btn"), we open it (and if not wants opened we shall force it,
with the help of programs "Notebook", "WordPad" or even "Word", and it is better
with WordPad). Also what there we see in an open file? Correctly! We seen the
text :))), but not idle time is a program
text, and the coded commands, for the directed work of the menu are more true.
Be not frightened!
All actually very much even is easy. It is just necessary to get used a little.
So I allow at once explanations for every line these commands, it agrees to the
following example (look below).
Feel
to itself a few programmer!;)
Forward also do not quail!
ATTENTION!
- That
is written by dark blue color
is an initial program code
-
That is be darkly–green color written
is already there will be your changes in parameters of a code
- And
that is written by darkly-red color
is simply my explanations (explications) :))
Also
remember simple, but very important position - if you though will make one
error in change of program code to you for it on grammar a bad estimation will
not put! :))) only the
menu
it Not bulsheet will not work, sheet!
And so. So be very attentive when something change. One casually removed
feature-bar at a code - and to the menu
is fuc…d finish!
By the
way, some
parameters of a code
to change it is impossible or it is not recomanded. So if want something change
it is better to make beforehand a copy of a file "btn.ini" (well simply just in
case - everyone can take place!) be not afraid - hacking at you here precisely
will not leave! :)))
Still
- at each change of parameters it is necessary to include the game menu (the
given genre) to see result (the opened program file "btn.ini" can be not close).
In due course you can faster orientate and it will not be necessary to include
every time the menu - you will simply foreknow what effect will give out the
menu at change of the certain parameter of a program code .
Means so:
[Param]
(here
in the beginning anything to change it is not necessary)
Title=Game_Menu
Author=FLASH Demetris
Mail=demetris_artcom@rambler.ru
Page=http://www.def-rescueass.narod.ru
Ver=1310
Frmclr=clSilver
Musicloop=1
CompJpeg=35
Fullscreen=0
Borderstyle=0
Position=0
Hints=0/$00D0FFFF/$00D0FFFF/$00D0FFFF/MS Sans Serif/11/0/3/0/500/5000
Fade=1/0/0
(here
instead of unit 1 if put a zero 0 the menu will be
will join at once, without fade-transition effect)
FadeTime=0
SplashTime=0
SplashTrans=0
[0]
(well, codes-sections of buttons already begin; it is possible to
name them still as sections-buttons)
PosX=135
PosY=30
Width=215
Height=20
Name=Shooters of missions
(this
name of the button which opens a folder with shortcuts - to change I do not
recommend!)
Type=1
Action=C:\Documents and Settings\User\Start Menu\Programs\Games\Advanced
games(from disc C&D)\HARD-DISK_games\Стрелялки
(с
миссиями)
(-а
the way [or path] to the necessary folder for his inclusion here is written or
inserted; here can enter a way to any other folder on your computer in which you
usually installed games-shooters [well here it is desirable to insert a way-path
to a folder where is shooters with missions])
Param=
State=1
Close=0
Caption=1
Font=Tahoma/12/1/341/9/1/0/0/clWhite/1/100
FontH=Tahoma/13/1/344/8/1/0/0/clYellow/1/100
Hint=Open a folder##with shortcuts
SndHover=ClicMenu1.wav
SndClick=ClicMenu2.wav
OnHover=
OnClick=
OnLeave=
Sort=0
FadeIn=0
FadeOut=0
[1]
(-а
this already the section-button where is included game!!!)
PosX=135
(important! it is position of that units - buttons on horizontal
axe, on a background of figure of the menu, according to points [or to pixels]
resolution of this figure)
PosY=30
(important! it is position of that units - buttons on vertical
axe, on a background of figure of the menu; And it is necessary to remember - if
the sanction of background - figure makes 800 - 600, the button
parameter in 770 there with superfluous points means horizontal axe should not
exceed, but it already still depends on the size of the button; and on a
vertical axe - it is not necessary to put above 580 points, etc. - if will
exceed, the menu will allow failures, will not join as more shortly follows).
Width=215
(-а
it width of the button)
Height=20
(-а
it is height of the button)
Name=1.
Far Cry
(this
name of the button; here already instead of “Far Cry” enter any other name of
game which is installed on your computer; thus if the name too small or too long
it is necessary to change her width, and then already the arrangement of the
button as is pleasant to you, but better put it in a line with other buttons)
Type=1
Action=C:\GAMES\Shooter\Far
Cry\Bin32\FarCry.exe
(-а
it is the
most important!!! Here the path to a file [is written or to a shortcut] which
includes game; Also do not overlook about extension of files: “xxx.exe”
- that that at me here
green color,
it also is extension - without extensions of anything to work not will be
- is simply as though an index indicated types of files, be it executable file
of the program or game ["xxx.exe"
or
"xxx.bat"
or another] or file of film ["xxx.avi"
or
"xxx.mpg"
or another] or music and sounds ["xxx.mp3"
or
"xxx.wav"
or another], etc. To see what extension has the necessary file will make the
following: include the application “My Computer”, or “Windows Explorer” (or
enter in “My Documents”); In an open window, in its top menu go in section "Tools”,
press on “Folder Options” and in the appeared window choose section
"View" and there find a line “Hide extensions for known file tipes”, remove a
tick at this line, then press "OK" for end - now all extensions at all files
will be visible! Be cautious with display of extensions – is not always it is
useful – to many persons it prevents to change freely names of files – if delete
the extansion, then a file will not be recognized by any program. So use display
of extensions only necessarily for programming, in a case if you have overlooked
concrete extension of the certain files; more shortly – green letters just give
an example as it is necessary to enter a way [path] to a file or a shortcut, and
the shortcut will already carry expansion - ".lnk")
Param=
State=1
Close=1
Caption=1
Font=Baby Kruffy/15/1/341/9/1/0/0/clRed/1/100
FontH=Baby Kruffy/16/1/344/8/1/0/0/clRed/1/100
Hint=press
to play
(it is the text which appears when put an arrow of a mous on the given button;
well certainly can write anything you like, only that was as it is possible
shortly and clearly, for example type: “That has stared? Give, press!” Or “Stick
Him!”, well and it is better to write certainly on business :)));
by the way, if write two codes - symbols such as
##
– this will mean the paragraph; an example of the paragraph: “That has
stared?##Give, press!”)
SndHover=-1
SndClick=-1
OnHover=
OnClick=
OnLeave=
Sort=0
FadeIn=200
FadeOut=200
Important!
-Do not overlook that all buttons had strictly figures -
[1 or 2 or 3, etc.],
in the beginning of the sections, according to their arrangement below on this
program - file, and that will not appear in the menu. That is, how many games at
you are established (and want to enter them in the menu) so much sections -
buttons should be, thus each section should carry the certain figure (in square
brackets, in the beginning of the unit - button), according to an arrangement of
the unit - button downwards on this programming fail.
At the
end of all file with the program text you will meet sections-buttons which carry
the name such as "X", "min", "Exit" or which at all do not carry the name - them
to touch it is not necessary - they prevent nothing and even make the menu by
more effective.
:)
It
while all that it is necessary freely to change buttons of the menu at own
discretion, it agrees to those games which are established at you on a computer.
To
learn as it is possible to make concrete modificatrions of these game menus (and
аnd
I do not forbid it, even I recommend!
:)
) for
this purpose read in section “For advanced”, and also necessarily look my
councils (in section with the same name:)
).
ATTENTION!!!
If someone will want to make the modified set about such menus (I mean a
similar, analogic menu), but we shall tell any more for games, and is allowable
for different music (a different genre, on playlist-files) or for films of a
different genre, then please, the big request - arhivate the menus and send
these works to me on a
е-mail
(it is possible also parts, certainly). Too it is very interesting to me to
learn about different original menus. If they will like me, I shall necessarily
put them on the site, for free downloading by all Internet users. -People about
you precisely learn! ;)
And if these menus have been created by other methods or programs, anything! -I
shall be always glad gets acquainted with original approaches to
soft-creativity. :)
|