Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mckyle099 committed Dec 3, 2024
1 parent 4eb1e2c commit 1881135
Show file tree
Hide file tree
Showing 66 changed files with 11,534 additions and 4,173 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ A set of python scripts to generate a web based database for Diablo 2 mods.

1. Clone this repo (`git clone https://github.com/d2esrdb/d2esrdb.github.io.git`)
2. Install the package (`cd d2esrdb.github.io; pip install .`)
2. Make a new directory inside the repo folder `data`, name it the same as your mod
3. Copy all your txt files from global/data in to it, as well as all your .tbl files
4. Open `data/config.yaml` and add a new entry for your mod
5. Run the db-gen command (`db-gen`)
6. All the files should get generated in the `output` directory.
3. You might need to add Python312 Scripts directory to your PATH environment variable
(there should be a warning indicating so output from step 2)
4. Make a new directory inside the repo folder `data`, name it the same as your mod
5. Copy all your txt files from global/data in to it, as well as all your .tbl files
6. Open `data/config.yaml` and add a new entry for your mod
7. Run the db-gen command (`db-gen`)
8. All the files should get generated in the `output` directory.
9. If you make changes to the db-gen code itself, you'll need to redo step 2 so the changes take effect.

## Known issues

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,57 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YFKD8ZR9BX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YFKD8ZR9BX');
</script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta property="og:type" content="website">
<meta property="og:url" content="http://d2esrdb.github.io">
<meta property="og:title" content="Diablo II Lord of Destruction Database">
<meta property="og:description" content="Database for Diablo II Lord of Destruction with tons of info, like uniques, sets, runewords, runes, gems, maps, etc...">
<title>
Diablo II Lord of Destruction 1.13c Database
</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body vlink="#706850" text="#D6D6D6" link="#928A70" bgcolor="#000000">
<center>
<font size="+2" face="arial,helvetica">
Diablo II Lord of Destruction 1.13c Database
<br>
</font>
<table cellpadding="5" border="0">
<tbody>
<tr>
<td bgcolor="#000000" align="center">
<font size="-1" face="arial,helvetica">

<a href="./armors.htm">[Armor]</a>
<a href="./weapons.htm">[Weapons]</a>
<a href="./prefixes.htm">[Prefixes]</a>
<a href="./suffixes.htm">[Suffixes]</a>
<a href="./unique_armors.htm">[Uni Armor]</a>
<a href="./unique_weapons.htm">[Uni Weapons]</a>
<a href="./unique_others.htm">[Uni Other]</a>
<a href="./sets.htm">[Sets]</a>
<a href="./gems.htm">[Gems/Runes]</a>
<a href="./runewords.htm">[Runewords]</a>
<a href="./cube.htm">[Cube]</a>
<a href="./recipes.htm">[Recipes]</a>


</font>
</td>
</tr>
</tbody>
</table>
<font size="-1" face="arial,helvetica">
<font size="-1" face="arial,helvetica">
<a href="#mis">[Misc]</a>
<a href="#era">[Mod Removal]</a>
<a href="#gem">[Gems/Runes]</a>
Expand Down Expand Up @@ -356,7 +303,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Extra Gold from Monsters<br>
%% Extra Gold from Monsters<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -366,7 +313,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Better Chance of Getting Magic Items<br>
%% Better Chance of Getting Magic Items<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -516,7 +463,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Life Stolen per Hit<br>
%% Life Stolen per Hit<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -526,7 +473,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Mana Stolen per Hit<br>
%% Mana Stolen per Hit<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -536,7 +483,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Faster Hit Recovery<br>
%% Faster Hit Recovery<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -556,7 +503,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Slower Stamina Drain<br>
%% Slower Stamina Drain<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -676,7 +623,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Faster Block Rate<br>
%% Faster Block Rate<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -726,7 +673,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Bonus to Attack Rating<br>
%% Bonus to Attack Rating<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -816,7 +763,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Faster Cast Rate<br>
%% Faster Cast Rate<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -836,7 +783,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Faster Run/Walk<br>
%% Faster Run/Walk<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -846,7 +793,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Increased Attack Speed<br>
%% Increased Attack Speed<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -976,7 +923,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Damage Taken Goes to Mana<br>
%% Damage Taken Goes to Mana<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand All @@ -986,7 +933,7 @@
</font></td>
<td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
% Piercing Attack<br>
%% Piercing Attack<br>
</font></td></tr>
<tr><td bgcolor="#181818" align="center">
<font size="-1" face="arial,helvetica">
Expand Down Expand Up @@ -11424,33 +11371,3 @@
<a href="#soc">[Soc]</a>
<a href="#sec">[Secret]</a>
<br>

<table cellpadding="5" border="0">
<tbody>
<tr>
<td bgcolor="#000000" align="center">
<font size="-1" face="arial,helvetica">

<a href="./armors.htm">[Armor]</a>
<a href="./weapons.htm">[Weapons]</a>
<a href="./prefixes.htm">[Prefixes]</a>
<a href="./suffixes.htm">[Suffixes]</a>
<a href="./unique_armors.htm">[Uni Armor]</a>
<a href="./unique_weapons.htm">[Uni Weapons]</a>
<a href="./unique_others.htm">[Uni Other]</a>
<a href="./sets.htm">[Sets]</a>
<a href="./gems.htm">[Gems/Runes]</a>
<a href="./runewords.htm">[Runewords]</a>
<a href="./cube.htm">[Cube]</a>
<a href="./recipes.htm">[Recipes]</a>


</font>
</td>
</tr>
</tbody>
</table>
</a>
</center>
</body>
</html>
Loading

0 comments on commit 1881135

Please sign in to comment.