Как играть в окне

Раздел технической поддержки игроков. Оказывается помощь игрокам в преодолении трудностей технического плана при игре у нас на сервере.
Как начать игру на сервере Diablo II Closed Alkar Realms

Модератор: Администраторы Diablo II

Сообщение TpaBa » 21 июн 2006, 20:13

Сорр за оффтоп , как играть в окне ? :oops:
Аватара пользователя
TpaBa
Путешественник
Путешественник
 
Автор темы
Сообщения: 257
Зарегистрирован:
09 сен 2005, 22:47
Откуда: Jupiter
Has thanked: 0 time
Have thanks: 0 time

Сообщение b34$7 » 21 июн 2006, 20:21

делаешь ярлык на столе добовляешь -w

readme loadera

Support Parameters:
the following below is a list of arguments can be applied on the game at
startup.
care: some of them are only for this loader.
1. One well-known argument for the Game:
-w (window mode)
Start the game in window mode

2. Run without any sound:
-ns (no sound)
This maybe useful for those play games at working time ;)

3. Even more disk space save:
-nochar (no character display)
will skip two Mpq file -- d2char.mpq d2music.mpq
But of cuz, your character will 'disappear' from the screen :P
I think only useful for those with harddisk < 1G

4. Play multiple characters at the same time with 1 cdkey
-multiclient
see d2-cdkey.txt for details

5. Set windows title
-title
you may set window title back use -title "Diablo II" to be
compatible with some other hacks such as maphack

6. an useful debug option for Mod makers
-direct ( read files directly)
Yeah,this will read files directly from the disk
instead of read from MPQs, then you will not need
to create MPQs each time when you are testing.
to do this,just unpack the d2data.mpq ( or and others)
into your Diablo2 dir with the origin structure within
the MPQ ( i personal recommend MpqView)
start the game with -direct, then you will see how this
works.
additionary, you may need add another argument with this
together, '-noexit'

7. No auto exit
-noexit ( not auto exit )
do not auto exit when warning or error occurs, try recover
that ( seems error will commonly exit), a debug option.

8. Not notify user about the game error
-nonotify (not notify error)
Useful for Battle.net use,As i know, if your Diablo2
game meets an cirtical error while playing on battle.net
It will commonly popup a message box with the error
message. before you click the ok button on the box, you
will still in the game!, can you image this happens when
a hc char among lots of enemies -- always cause your character
die with this option set, the annoying messagebox will not
appear and the game will quit directly when error occurs,care
not to use the option with '-noexit'

9. another well-known argument,i just remember it:
-skiptobnet
Go battle.net directly. just save one mouse click :P

they are lots of other arguments remains,but most is
for debug use,not important for common users. so i
skip it to save time :)

10. Use custom MPQ
-mpq <s.mpq>
Load <s.mpq> (useful for additional CD keys)

Full list of Parameters : (ignores them newbies)
<n> here means a number, <s> here means a string

Short name Full name Description
1.Video options
-exp -expansion switch expansion mode
-w -window switch window mode
-glide -glide use glide video mode
-opengl -opengl use opengl video mode
-d3d -d3d use direct3d video mode
-rave -rave use rave graphics modes,might be Mac only.
-per -perspective turn Perspective mode on,available only
on full screen non-ddraw mode
-lq -lowquality decreases the quality of graphical aspects
of the game, therefore speeding up the game
-gamma <n> -gamma <n> set gamma to <n>
-vsync -vsync might be turns visual syncronizing on
-fr <n> -framerate <n> set frame rate to <n>

2.Network options
-s <s> -serverip <s> set tcp/ip game server ip to <s>
-gametype <n> -gametype <n> set game type to <n>
-joinid <n> -joinid <n> set join id to <n>
-gamename <s> -gamename <s> set gamename to <s>
-bn <s> -battlenetip <s> set battle.net server ip to <s>
-mcpip <s> -mcpip <s> set mcpip server ip to <s>
-nopk -nopk disable pk (seems no function now)
-openc -openc not sure

3.Game options
-arena <n> -arena <n> no use now
-difficulty -difficulty no use now
-txt -txt for mod creator, generate .bin file

4.Character options
-ama -ama set character class to ama
-pal -pal set character class to pal
-sor -sor set character class to sor
-nec -nec set character class to nec
-bar -bar set character class to bar
-dru -dru set character class to dru
-asn -asn set character class to asn
-i -invincible invincible? seems no use now
-bnacct <s> -bnacct <s> set battle.net account name to <s>
-bnpass <s> -bnpass <s> set battle.net password to <s>
-name <s> -name <s> set battle.net character name to <s>
-realm <s> -realm <s> set battle.net realm name to <s>
-ctemp <n> -ctemp <n> use <n>th character template in arena mode

5.Monster options
-nm -nomonster no monster? no use now
-m <n> -monsterclass <n> not sure
-minfo -monsterinfo show monster info? no use now
-md <n> -monsterdebug <n> not sure

6.Item options
-rare -rare all rare item? (no use now)
-unique -unique all unique item? (no use now)

7.Interface options
-act <n> -act <n> set initial act to <n>

8.Debug options
-log -log active log (no use now)
-msglog -msglog active msglog
-safe -safemode run in safe mode?
-seed <n> -seed <n> set map seed to <n>
-cheats -cheats not sure
-ns -nosound disable all sound
-questall -questall not sure

9. File I/O options
-npl -nopreload no preload game files
-direct -direct load data directly from disk
-lem -lowend not sure
-nocompress -nocompress no compression
-comint <n> -comint <n> no touch it,dynamic data structure
-token <n> -token <n> set close game token to <n>
-gamepass <s> -gamepass <s> set game password to <s>
-skiptobnet -skiptobnet go battle.net directly
-mpq <s.mpq load <s.mpq> (useful for additional CD keys)

10. Custom options
-client -client run in client mode (in game directly)
-server -server server mode, need d2server.dll
-launch -launch launch mode (default one)
-notitle -notitle no window title bar
-res800 -res800 start window in 800x600 (for d2)
-res640 -res640 start window in 640x480 (for d2)
-nonotify -nonotify no error notify
-noexit -noexit no auto exit
-autorest -autorest auto restart after exit
-multiclient -multiclient 1 cdkey multiple characters
-nohook -nohook disable hook
-nochar -nochar disable character image
-clientexit -clientexit exit after quit game
-noscript -noscript do not load scripts
-noplugin -noplugin do not load plugins
-lng <s> -lng <s> set language to <s> (only ENG, CHN now)
-hookwnd <s> -hookwnd <s> set hook window class to <s>
-hookexe <s> -hookexe <s> set hook version check game.exe to <s>
-servername <s> -servername <s> set game server name to <s>
-title <s> -title <s> set window title to <s>
1+3+3-7=0
Аватара пользователя
b34$7
Новичок
Новичок
 
Сообщения: 87
Зарегистрирован:
21 дек 2004, 02:06
Откуда: -IsraHeLL-
Has thanked: 0 time
Have thanks: 0 time

Сообщение flEsh1k » 21 июн 2006, 20:34

TpaBa писал(а):Сорр за оффтоп , как играть в окне ? :oops:
У меня не мог спросить? :-? Все намного легче...
Аватара пользователя
flEsh1k
Новичок
Новичок
 
Сообщения: 104
Зарегистрирован:
17 май 2006, 16:58
Откуда: cs.alkar.net
Has thanked: 0 time
Have thanks: 0 time

Сообщение Aggro » 22 июн 2006, 10:00

В своствах ярлыка
Например:
"D:\games\Diablo II\d2loader(110).exe" -w
Аватара пользователя
Aggro
Путешественник
Путешественник
 
Сообщения: 271
Зарегистрирован:
18 сен 2005, 10:21
Has thanked: 0 time
Have thanks: 0 time

Сообщение LeoZak » 22 июн 2006, 17:04

или поставить себе програму С3РО, ктороя при запуске позволяет выбрать режим игры, плюс кучу других настроек и быстрых клавиш!
Аватара пользователя
LeoZak
Новичок
Новичок
 
Сообщения: 55
Зарегистрирован:
18 июн 2006, 23:18
Откуда: Cybertrone
Has thanked: 0 time
Have thanks: 0 time

Сообщение IQ200 » 19 дек 2008, 12:40

Кто знает, есть ли возможность сделать так чтобы курсор мыши не вылетал за пределы окна, а также увеличить контрастность, гамму в оконном режиме.
Все мы растём вовнутрь земли...
Аватара пользователя
IQ200
Школота
Школота
 
Сообщения: 6
Зарегистрирован:
18 дек 2008, 12:56
Has thanked: 0 time
Have thanks: 0 time

Сообщение Enceladus » 19 дек 2008, 13:49

Кто знает, есть ли возможность сделать так чтобы курсор мыши не вылетал за пределы окна

Есть. Достаточно, например, написать простой скрипт для AutoHotkey, используя WinAPI-функцию ClipCursor (при помощи DllCall).

а также увеличить контрастность, гамму в оконном режиме.

Можно. Для этого нужно переключить рендер на Glide API, и использовать тот или иной Glide wrapper.
Глокая куздра штеко будланула бокра и курдячит бокрёнка.
Аватара пользователя
Enceladus
Diablo II Member of Fame
Diablo II Member of Fame
 
Сообщения: 2329
Зарегистрирован:
21 авг 2007, 07:38
Has thanked: 0 time
Have thanks: 60 times


Вернуться в Технические вопросы

Кто сейчас на конференции

Посетителей: 2, из них зарегистрированных: 0, скрытых: 0 и гостей: 2 (находятся на конференции)
Этот раздел просматривают: нет зарегистрированных пользователей и гости: 2

cron