Programmers are always programmers. So, after my job (as programmer) I returned to home and ... started to write a programm.
So, all this script do is doing screenshot of all your gear and compile it to one pretty screenshot(regarding sizes). I did not find such script anywhere, so I hope it will be usefull to someone.
In new version you can also add random items.
Instruction:
0! If you have x64 system, search for ImageSearchDLL.dll in your Windows dir (often C:\Windows). If you does not have it extract and copy it there: https://www.dropbox.com/s/izscspvgl9...eSearchDLL.rar
1. Download current version (below) (exe, pics + source).
2. Build, run or just run exe.
3. Open Diablo in FULLSCREEN WINDOWED 1920x1080, 1920x1200.
4. Choose 'Auction house', 'Sell' tab (where you can see stash and your gear).
If you want to make just your equiped gear:
5. Press '='.
5.1. Choose 'yes' if you need numbers.
5.2. Wait until 'Done!' message appears.
6. In your script location you will find 'gear_screenshot.jpg' with you gear.
if you want you want to add random items:
5. Hover an item and press "0". Message "Item #... added". Press "Ok". Do it with all items you need.
6. Press "s".
7. Choose 'yes' if you need numbers.
8. Wait until "Done!" message appears. Screenshot name is "item_screenXX-XX.jpg".
Versions:
V. 1.5 : https://www.dropbox.com/s/7wjmvig1zh...eenshotv15.rar
V. 1.4 : https://www.dropbox.com/s/gm8rzjg5z0...eenshotv14.rar
V. 1.3 : https://www.dropbox.com/s/hitbco1vor...eenshotv13.rar
(Decided to provide only one version till it works)
I don't sure that it will work perfectly, so I hope you will tell me about any problems.
Suggestions are always welcome.
Example of my gear:
Example of random items:
If you need another resolution:
1. Find out coordinates of every equipped item. (You can do it with "Autoit Window Info", need to install autoit).
2. Make a bmp screenshot of one item. Start script, on "Sell" tab, hover an item and press "=":
https://www.dropbox.com/s/o58sxt2gtw...es_example.exe
or (source):
Code:
#include <ScreenCapture.au3>
#include <WinAPI.au3>
#include <GDIPlus.au3>
HotKeySet("=","Start")
$start = 0
While Not($start)
WEnd
_GDIPlus_Startup()
_ScreenCapture_Capture("res_example.bmp", 0, 0, @DesktopWidth, @DesktopHeight, false)
MsgBox(0,'End','Done!')
Func Start()
$start = 1
EndFunc
3. Send me coordinates and "res_example.bmp" screenshot.
If you got an error:
1. Please tell me: your OS (name, 32 or 64bit), your resolution.
2. What error do you see.
2. Send me a BMP screenshot of crushing gear. You can use this code to generate screenshots and to choose right from it
Code:
#include <ScreenCapture.au3>
#include <WinAPI.au3>
#include <GDIPlus.au3>
HotKeySet("=","Start")
$start = 0
While Not($start)
WEnd
_GDIPlus_Startup()
Global $coords[15][2] = [[1172,300],[1172,300],[1265, 278],[1331,316],[1170,393],[1262,374],[1361, 411],[1166, 475],[1265, 440],[1361, 480],[1159, 557],[1257, 500],[1266, 571],[1357, 562]]
Global $gX=0, $gy=0, $ss[14], $hs[14], $buff[14]
For $i = 1 To 13
MouseMove($coords[$i][0], $coords[$i][1], 0)
Sleep(300)
$ss[$i] = _ScreenCapture_Capture($i&".bmp", 0, 0, @DesktopWidth, @DesktopHeight, false)
Next
Func Start()
$start = 1
EndFunc
(Sorry for lame English, I'm not native speaker)