From dea517e9a096b286f76152c43bfea484e2e2ea03 Mon Sep 17 00:00:00 2001 From: stoffelkopf Date: Tue, 27 Feb 2024 10:00:14 +0100 Subject: [PATCH] pallette bugfix graphical bug in cave palette 30 --- README.md | 2 +- palette/l3data/l3_30.pal | Bin 768 -> 768 bytes palette/l3data/l3_59.pal | Bin 768 -> 0 bytes random.lua | 2 +- randomize.bat | 10 +++++----- 5 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 palette/l3data/l3_59.pal diff --git a/README.md b/README.md index 7049de0..b9f5ac9 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Randomizes DevilutionX level palettes - execute "randomize.bat" - for default Diablo palettes execute "randclear.bat" -## LUA randomize stead of BATCH random function +## LUA randomize instead of BATCH random function - download LUA (https://github.com/rjpcomputing/luaforwindows/releases) and copy the files to your DevX folder - execute "lua54.exe random.lua" diff --git a/palette/l3data/l3_30.pal b/palette/l3data/l3_30.pal index f01ef8f67d7f81691eaa70e6a331d8ddd75894c6..c146cef4645f5050cb4b41d3a600be14e592e035 100644 GIT binary patch literal 768 zcmW-ZYe-W87>2*;=A65E+|9GiGu@7EYkB58UN+sF^V)Q2EA2QXvxJc)sECl1mp>|~ zA>oiLae@g(5u}6$tspZ?7S=BlOd@|I5hm!rYNw-rK0coJeIEdrlEPCpJlDZ832&^h zS_G@*5Uz#|A8a+k_6^wTgxxOK>x2DaI0zhH=4S}QkJHBECevqD%$6}Q9>&Hv8S`}v z{Ay@a0+k3}IaElYL;?i}voirbbRE z6AW^(4iRXCTxA?v!if?_fv>cn)|uyd*wH z&W(;|vtn34l^1%8?3D%9a$8n$c80@p+M2E>4Y(OkHYBTc>O_q~nwStT6$!+AUR(^v z=dG@BmwQW#DxCH*YqpEbuoI?iJ#N+|8!?quAxn}b$izZ%9FNCgvskQPkftaa$0ID( zZ-5ZMFaQOB(kDR##}7{EU4VK39RU3=NdKiGfAE7}u(AS!gFw{+ibCYo3_VIkTJQr8 zthr!}07?lM7xvcIHy0Mxr>8?>V~hR$^Bo;?_4QM3_lV2YZL?joSS}ikB`GN+imF5+ z0hjy!zeOW)%6s6+H9`N=A3h>CKrmO3lSBEE1-8D z?tdQr`nET`)b(<{_3{1Ydn1>IdTVaBxm%i?4c@FXg?gJM$zqTzrLj^z(BBu2K1}>r z?A;Ewe;U2IcI$lj3b|IPc~-1?ke@h^DQPpt*J}k%MQo}lTFe1D6grxi*z4)}*4p}| zp<%=AUb9+X>-CSc+HnlKjiP>;tQtXVLZObw6L2_(hle{mJK=D6d3kwub~X?Q3=9l( ac6R#xexJ|h@pv2#2SE@Rh9L+-)AWDSs_9n% literal 768 zcmd6eO>Pr06o9>A5{V)Qs*Y7uMXxAyEYt=EmDmUsc%-Fcr2aTn=oqAe9EduzXvKtr zX1eGiU3J@K#gY~5*deZfI00AS2*K$oc$THlpT9>4`SN>w_Tz8y{ZIb&SNi#=|OG|3YQIaRwnOq+gNKkj> zs);v^z%Fhla@)pRMm$e&vn!t&t+miyT+@8bDAb~(y~lMeJ4QUY^c|ztw0Nu$F_K!X zAgshfVYG~%)v6Y#qX$|&!ij7n$frsvv8=d|uqeet6m1o$i5K@3zbBz7g%Dv=MT-J> zi??Oe6d+`HS4B$#7F*$M!8xbA1r1(p2nHOMTCl*w=#m#WYj9fU01yCYa}eGUl!5Pq zX{ds4m=C<5evv^i%UKfeNr@%VzQzxMFI I&3HWi2YjWRi~s-t diff --git a/palette/l3data/l3_59.pal b/palette/l3data/l3_59.pal deleted file mode 100644 index c146cef4645f5050cb4b41d3a600be14e592e035..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 768 zcmW-ZYe-W87>2*;=A65E+|9GiGu@7EYkB58UN+sF^V)Q2EA2QXvxJc)sECl1mp>|~ zA>oiLae@g(5u}6$tspZ?7S=BlOd@|I5hm!rYNw-rK0coJeIEdrlEPCpJlDZ832&^h zS_G@*5Uz#|A8a+k_6^wTgxxOK>x2DaI0zhH=4S}QkJHBECevqD%$6}Q9>&Hv8S`}v z{Ay@a0+k3}IaElYL;?i}voirbbRE z6AW^(4iRXCTxA?v!if?_fv>cn)|uyd*wH z&W(;|vtn34l^1%8?3D%9a$8n$c80@p+M2E>4Y(OkHYBTc>O_q~nwStT6$!+AUR(^v z=dG@BmwQW#DxCH*YqpEbuoI?iJ#N+|8!?quAxn}b$izZ%9FNCgvskQPkftaa$0ID( zZ-5ZMFaQOB(kDR##}7{EU4VK39RU3=NdKiGfAE7}u(AS!gFw{+ibCYo3_VIkTJQr8 zthr!}07?lM7xvcIHy0Mxr>8?>V~hR$^Bo;?_4QM3_lV2YZL?joSS}ikB`GN+imF5+ z0hjy!zeOW)%6s6+H9`N=A3h>CKrmO3lSBEE1-8D z?tdQr`nET`)b(<{_3{1Ydn1>IdTVaBxm%i?4c@FXg?gJM$zqTzrLj^z(BBu2K1}>r z?A;Ewe;U2IcI$lj3b|IPc~-1?ke@h^DQPpt*J}k%MQo}lTFe1D6grxi*z4)}*4p}| zp<%=AUb9+X>-CSc+HnlKjiP>;tQtXVLZObw6L2_(hle{mJK=D6d3kwub~X?Q3=9l( ac6R#xexJ|h@pv2#2SE@Rh9L+-)AWDSs_9n% diff --git a/random.lua b/random.lua index 90d9f40..21411a0 100644 --- a/random.lua +++ b/random.lua @@ -2,7 +2,7 @@ local palette = { {0,5}, --Town {0,0,0,0,0,66}, --Church {0,0,0,0,0,74}, --Catacombs - {0,0,0,0,0,59}, --Caves + {0,0,0,0,0,58}, --Caves {0,0,0,0,0,46}, --Hell {0,74}, --Crypt {0,0,0,0,0,79} --Hive diff --git a/randomize.bat b/randomize.bat index 9b895ff..c3963db 100644 --- a/randomize.bat +++ b/randomize.bat @@ -135,21 +135,21 @@ IF %param1% == lua ( set /a num4=%param16% set /a num5=%param17% ) ELSE ( - set /a num1=%random% %%59 +1 + set /a num1=%random% %%58 +1 :2again3 - set /a num2=%random% %%59 +1 + set /a num2=%random% %%58 +1 if [%num1%] == [%num2%] goto 2again3 :3again3 - set /a num3=%random% %%59 +1 + set /a num3=%random% %%58 +1 if [%num1%] == [%num3%] goto 3again3 if [%num2%] == [%num3%] goto 3again3 :4again3 - set /a num4=%random% %%59 +1 + set /a num4=%random% %%58 +1 if [%num1%] == [%num4%] goto 4again3 if [%num2%] == [%num4%] goto 4again3 if [%num3%] == [%num4%] goto 4again3 :5again3 - set /a num5=%random% %%59 +1 + set /a num5=%random% %%58 +1 if [%num1%] == [%num5%] goto 5again3 if [%num2%] == [%num5%] goto 5again3 if [%num3%] == [%num5%] goto 5again3