You are on page 1of 5

Last Update: Homepage: D2Loader Readme

2001-08-28 http://onlyer.yeah.net

What is it: a no-cd loader for diablo2 and diablo2 expansion, with lots of other futures in it. (most are for battle.net use) support Win9x,Nt & 2k. How to use it: Very simply 0. Install Diablo2 and upgrade to latested version, necessary (you can find the patch on http://www.blizzard.com) 1. copy "Diablo II.exe" to your diablo2 directory. necessary 2. copy "d2hack.script" to your diablo2 directory, not necessary 3. copy "plugin" directory to your diablo2 directory,not necessary 4. run "Diablo II.exe" to start the game copy the file d2char.mpq d2music.mpq, d2xmusic.mpq d2xvideo.mpq from your game cd to diablo2 directory if you want to play even without a backup copy of the game cd. How to uninstall it: You may run game.exe at any time to start the game without loader, or if you have backuped the original "Diablo II.exe", restore it and start "Diablo II.exe" is also ok. Features: 1.Script support the loader will read d2hack.script at startup,then apply dynamic memory patch following the d2hacks.script open d2hack.script using any text editor (e.g. notepad) there is a sample hackcore script hack in it (which enable creating of hardcore character at any time).I will do some explain about it here: #Module Name Change to) d2launch.dll d2launch.dll Offset(RVA) A607 B011 Source Data(for check) 751A 7420 Destnation Data( EB1A 9090

line 1 begin with a '#', so it is just a comment,will be ignored line 2 can be explained as this: dynamic patch the memory of d2launch.dll first check if there is 0x751A at offset(RVA) 0xA607. if it is, change 0x751A to 0xEB1A (change from jne to jmp in assemble code) line 3 is familir: change d2launch.dll offset 0xB011 from 0x7420 to 0x9090 (change from je to nop in asmemble code) 2.Plugin support the loader will search in plugin directory and try to load all useable dlls in it. for more details about plugin in programming. see the sample in plugin directory. there is a sample winkey.dll plugin in it - which disable windows key (the key between alt and ctrl) if you are playing the game. with the plugin support, you can make your own plugin

to do anything to the game. 3.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 :) Full list of Parameters : (ignores them newbies) <n> here means a number, <s> here means a string Short name 1.Video options -exp -w -glide -opengl -d3d -rave y. -per -lq ts ame -gamma <n> -vsync -fr <n> Full name -expansion -window -glide -opengl -d3d -rave -perspective -lowquality Description switch expansion mode switch window mode use glide video mode use opengl video mode use direct3d video mode use rave graphics modes,might be Mac onl turn Perspective mode on,available only on full screen non-ddraw mode decreases the quality of graphical aspec of the game, therefore speeding up the g -gamma <n> -vsync -framerate <n> set gamma to <n> might be turns visual syncronizing on set frame rate to <n> set tcp/ip game server ip to <s> set game type to <n> set join id to <n> set gamename to <s> set battle.net server ip to <s> set mcpip server ip to <s> disable pk (seems no function now) not sure no use now no use now for mod creator, generate .bin file set character class to ama set character class to pal set character class to sor set character class to nec set character class to bar set character class to dru set character class to asn invincible? seems no use now set battle.net account name to <s> set battle.net password to <s> set battle.net character name to <s> set battle.net realm name to <s> use <n>th character template in arena mo

2.Network options -s <s> -serverip <s> -gametype <n> -gametype <n> -joinid <n> -joinid <n> -gamename <s> -gamename <s> -bn <s> -battlenetip <s> -mcpip <s> -mcpip <s> -nopk -nopk -openc -openc 3.Game options -arena <n> -arena <n> -difficulty -difficulty -txt -txt 4.Character options -ama -ama -pal -pal -sor -sor -nec -nec -bar -bar -dru -dru -asn -asn -i -invincible -bnacct <s> -bnacct <s> -bnpass <s> -bnpass <s> -name <s> -name <s> -realm <s> -realm <s> -ctemp <n> -ctemp <n> de

5.Monster options -nm -nomonster -m <n> -monsterclass <n> -minfo -monsterinfo -md <n> -monsterdebug <n> 6.Item options -rare -rare -unique -unique 7.Interface options -act <n> -act <n> 8.Debug options -log -msglog -safe -seed <n> -cheats -ns -questall -log -msglog -safemode -seed <n> -cheats -nosound -questall

no monster? no use now not sure show monster info? no use now not sure all rare item? (no use now) all unique item? (no use now) set initial act to <n> active log (no use now) active msglog run in safe mode? set map seed to <n> not sure disable all sound not sure no preload game files load data directly from disk not sure no compression no touch it,dynamic data structure set close game token to <n> set game password to <s> go battle.net directly run in client mode (in game directly) server mode, need d2server.dll launch mode (default one) no window title bar start window in 800x600 (for d2) start window in 640x480 (for d2) no error notify no auto exit auto restart after exit 1 cdkey multiple characters disable hook disable character image exit after quit game do not load scripts do not load plugins set language to <s> (only ENG, CHN now) set hook window class to <s> set hook version check game.exe to <s> set game server name to <s> set window title to <s>

9. File I/O options -npl -nopreload -direct -direct -lem -lowend -nocompress -nocompress -comint <n> -comint <n> -token <n> -token <n> -gamepass <s> -gamepass <s> -skiptobnet -skiptobnet 10. Custom options -client -client -server -server -launch -launch -notitle -notitle -res800 -res800 -res640 -res640 -nonotify -nonotify -noexit -noexit -autorest -autorest -multiclient -multiclient -nohook -nohook -nochar -nochar -clientexit -clientexit -noscript -noscript -noplugin -noplugin -lng <s> -lng <s> -hookwnd <s> -hookwnd <s> -hookexe <s> -hookexe <s> -servername <s> -servername <s> -title <s> -title <s>

mail me if you know what the option marked with not sure do.thanks Enjoy! ===========================================================

Cracked by Onlyer <Onlyer@263.net> Bugs,Suggestions are welcome :) 2000.12.31

You might also like