cryptopunks 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +309 -34
- data/config/spritesheet.csv +399 -234
- data/config/spritesheet.png +0 -0
- data/lib/cryptopunks/generator.rb +41 -25
- data/lib/cryptopunks/tool.rb +14 -3
- data/lib/cryptopunks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dceba5897b87bade5e787074da796bc116dea1e3acd8341d40d6cfa5337b3fdc
|
|
4
|
+
data.tar.gz: 725cbf4474d25b2c032396dfef71a4cad605d2b4f5af0361145693aada489101
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09a830c716f4305c2ae82f9ddfe9298eecfa891d9754e5014734db290ae3541fd9ef427d1eedd5b88ebc1e0d9743932254e631a90b394a2032995dc2e6570278'
|
|
7
|
+
data.tar.gz: b9cde99de27ccba6b572d0416fbb01512da27cf9e8bfeda96093944b2a9a4f5e3f08ef8f694dd68edbe78bf6290b3d37f108c56db6338af64055db7339a75b89
|
data/README.md
CHANGED
|
@@ -12,6 +12,7 @@ New to Crypto Punks?
|
|
|
12
12
|
See the [**Awesome CryptoPunks Bubble (Anno 2021) - Modern 24×24 Pixel Crypto Art on the Blockchain** »](https://github.com/cryptopunksnotdead/awesome-cryptopunks-bubble)
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
## Command Line
|
|
16
17
|
|
|
17
18
|
Use the `punk` (or `cryptopunk`) command line tool. Try:
|
|
@@ -23,17 +24,289 @@ $ punk -h
|
|
|
23
24
|
resulting in:
|
|
24
25
|
|
|
25
26
|
```
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
NAME
|
|
28
|
+
punk - punk (or cryptopunk) command line tool
|
|
29
|
+
|
|
30
|
+
SYNOPSIS
|
|
31
|
+
punk [global options] command [command options] [arguments...]
|
|
32
|
+
|
|
33
|
+
VERSION
|
|
34
|
+
2.0.0
|
|
35
|
+
|
|
36
|
+
GLOBAL OPTIONS
|
|
37
|
+
-d, --dir,
|
|
38
|
+
-o, --out, --outdir=DIR - Output directory (default: .)
|
|
39
|
+
-f, --file=FILE - True Official Genuine CryptoPunks™ all-in-one
|
|
40
|
+
composite image (default: ./punks.png)
|
|
41
|
+
--offset=NUM - Start counting at offset (default: 0)
|
|
42
|
+
-z, --zoom=ZOOM - Zoom factor x2, x4, x8, etc. (default: 1)
|
|
43
|
+
|
|
44
|
+
--help - Show this message
|
|
45
|
+
--version - Display the program version
|
|
46
|
+
--verbose - (Debug) Show debug messages
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
COMMANDS
|
|
50
|
+
g, gen, generate - Generate punk characters from text attributes (from
|
|
51
|
+
scratch / zero) via builtin punk spritesheet
|
|
52
|
+
l, ls, list - List all punk archetype and attribute names from builtin
|
|
53
|
+
punk spritesheet
|
|
54
|
+
q, query - Query (builtin off-chain) punk contract for punk text
|
|
55
|
+
attributes by IDs - use 0 to 9999
|
|
56
|
+
t, tile - Get punk characters via image tiles from all-in-one punk
|
|
57
|
+
series composite (./punks.png) - for IDs use 0 to 9999
|
|
58
|
+
|
|
59
|
+
help - Shows a list of commands or help for one command
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Generate Command
|
|
63
|
+
|
|
64
|
+
_Generate punk characters from text attributes (from scratch / zero) via builtin punk spritesheet_
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Let's try punk #0:
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
$ punk generate female_2 earring blonde_bob green_eye_shadow
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
resulting in:
|
|
74
|
+
|
|
75
|
+

|
|
76
|
+
|
|
77
|
+
Let's try the `-z/--zoom` factor 2x, 4x, 8x, etc.:
|
|
78
|
+
|
|
79
|
+
```
|
|
80
|
+
$ punk --zoom 4 generate female_2 earring blonde_bob green_eye_shadow
|
|
81
|
+
# -or-
|
|
82
|
+
$ punk -z2 g female_2 earring blonde_bob green_eye_shadow
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
resulting in:
|
|
86
|
+
|
|
87
|
+
2x 
|
|
88
|
+
4x 
|
|
89
|
+
8x 
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
Let's try never-before-seen super-rare punks:
|
|
93
|
+
|
|
94
|
+
```
|
|
95
|
+
$ punk generate demon heart_shades
|
|
96
|
+
$ punk generate vampire_female wild_hair
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
resulting in:
|
|
100
|
+
|
|
101
|
+

|
|
102
|
+

|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
Q: What punk archetypes and attributes can I use?
|
|
107
|
+
|
|
108
|
+
A: See the list command.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### List Command
|
|
112
|
+
|
|
113
|
+
_List all punk archetype and attribute names from builtin punk spritesheet_
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
Let's try:
|
|
28
117
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
--offset=NUM Start counting at offset (default: 0)
|
|
34
|
-
-h, --help Prints this help
|
|
118
|
+
```
|
|
119
|
+
$ punk list
|
|
120
|
+
# -or-
|
|
121
|
+
$ punk ls
|
|
35
122
|
```
|
|
36
123
|
|
|
124
|
+
resulting in:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
==> Archetypes
|
|
128
|
+
Male 1 / (m) - Archetype - Human
|
|
129
|
+
Male 2 / (m) - Archetype - Human
|
|
130
|
+
Male 3 / (m) - Archetype - Human
|
|
131
|
+
Male 4 / (m) - Archetype - Human
|
|
132
|
+
Female 1 / (f) - Archetype - Human
|
|
133
|
+
Female 2 / (f) - Archetype - Human
|
|
134
|
+
Female 3 / (f) - Archetype - Human
|
|
135
|
+
Female 4 / (f) - Archetype - Human
|
|
136
|
+
Zombie / (m) - Archetype - Zombie
|
|
137
|
+
Zombie Female / (f) - Archetype - Zombie
|
|
138
|
+
Ape / (m) - Archetype - Ape
|
|
139
|
+
Ape Female / (f) - Archetype - Ape
|
|
140
|
+
Alien / (m) - Archetype - Alien
|
|
141
|
+
Alien Female / (f) - Archetype - Alien
|
|
142
|
+
Demon / (m) - Archetype - Demon
|
|
143
|
+
Demon Female / (f) - Archetype - Demon
|
|
144
|
+
Mummy / (m) - Archetype - Mummy
|
|
145
|
+
Mummy Female / (f) - Archetype - Mummy
|
|
146
|
+
Orc / (m) - Archetype - Orc
|
|
147
|
+
Orc Female / (f) - Archetype - Orc
|
|
148
|
+
Robot / (m) - Archetype - Robot
|
|
149
|
+
Robot Female / (f) - Archetype - Robot
|
|
150
|
+
Skeleton / (m) - Archetype - Skeleton
|
|
151
|
+
Skeleton Female / (f) - Archetype - Skeleton
|
|
152
|
+
Vampire / (m) - Archetype - Vampire
|
|
153
|
+
Vampire Female / (f) - Archetype - Vampire
|
|
154
|
+
Zombie (Ape) / (m) - Archetype - Zombie
|
|
155
|
+
Alien (Ape) / (m) - Archetype - Alien
|
|
156
|
+
Alien 0° / (m) - Archetype - Alien
|
|
157
|
+
Alien 30° / (m) - Archetype - Alien
|
|
158
|
+
Alien 60° / (m) - Archetype - Alien
|
|
159
|
+
Alien 90° / (m) - Archetype - Alien
|
|
160
|
+
Alien 120° / (m) - Archetype - Alien
|
|
161
|
+
Alien 150° / (m) - Archetype - Alien
|
|
162
|
+
Alien 180° / (m) - Archetype - Alien
|
|
163
|
+
Alien 210° / (m) - Archetype - Alien
|
|
164
|
+
Alien 240° / (m) - Archetype - Alien
|
|
165
|
+
Alien 270° / (m) - Archetype - Alien
|
|
166
|
+
Alien 300° / (m) - Archetype - Alien
|
|
167
|
+
Alien 330° / (m) - Archetype - Alien
|
|
168
|
+
Alien (Ape) 0° / (m) - Archetype - Alien
|
|
169
|
+
Alien (Ape) 30° / (m) - Archetype - Alien
|
|
170
|
+
Alien (Ape) 60° / (m) - Archetype - Alien
|
|
171
|
+
Alien (Ape) 90° / (m) - Archetype - Alien
|
|
172
|
+
Alien (Ape) 120° / (m) - Archetype - Alien
|
|
173
|
+
Alien (Ape) 150° / (m) - Archetype - Alien
|
|
174
|
+
Alien (Ape) 180° / (m) - Archetype - Alien
|
|
175
|
+
Alien (Ape) 210° / (m) - Archetype - Alien
|
|
176
|
+
Alien (Ape) 240° / (m) - Archetype - Alien
|
|
177
|
+
Alien (Ape) 270° / (m) - Archetype - Alien
|
|
178
|
+
Alien (Ape) 300° / (m) - Archetype - Alien
|
|
179
|
+
Alien (Ape) 330° / (m) - Archetype - Alien
|
|
180
|
+
Alien Female 0° / (f) - Archetype - Alien
|
|
181
|
+
Alien Female 30° / (f) - Archetype - Alien
|
|
182
|
+
Alien Female 60° / (f) - Archetype - Alien
|
|
183
|
+
Alien Female 90° / (f) - Archetype - Alien
|
|
184
|
+
Alien Female 120° / (f) - Archetype - Alien
|
|
185
|
+
Alien Female 150° / (f) - Archetype - Alien
|
|
186
|
+
Alien Female 180° / (f) - Archetype - Alien
|
|
187
|
+
Alien Female 210° / (f) - Archetype - Alien
|
|
188
|
+
Alien Female 240° / (f) - Archetype - Alien
|
|
189
|
+
Alien Female 270° / (f) - Archetype - Alien
|
|
190
|
+
Alien Female 300° / (f) - Archetype - Alien
|
|
191
|
+
Alien Female 330° / (f) - Archetype - Alien
|
|
192
|
+
|
|
193
|
+
==> Attributes
|
|
194
|
+
3D Glasses / (m) - Attribute
|
|
195
|
+
3D Glasses / (f) - Attribute
|
|
196
|
+
Bandana / (m) - Attribute
|
|
197
|
+
Bandana / (f) - Attribute
|
|
198
|
+
Beanie / (m) - Attribute
|
|
199
|
+
Beanie / (f) - Attribute
|
|
200
|
+
Big Beard / (m) - Attribute
|
|
201
|
+
Big Shades / (m) - Attribute
|
|
202
|
+
Big Shades / (f) - Attribute
|
|
203
|
+
Black Lipstick / (f) - Attribute
|
|
204
|
+
Blonde Bob / (f) - Attribute
|
|
205
|
+
Blonde Short / (f) - Attribute
|
|
206
|
+
Blue Eye Shadow / (f) - Attribute
|
|
207
|
+
Buck Teeth / (m) - Attribute
|
|
208
|
+
Cap / (m) - Attribute
|
|
209
|
+
Cap / (f) - Attribute
|
|
210
|
+
Cap Forward / (m) - Attribute
|
|
211
|
+
Cap Forward / (f) - Attribute
|
|
212
|
+
Chinstrap / (m) - Attribute
|
|
213
|
+
Choker / (f) - Attribute
|
|
214
|
+
Cigarette / (m) - Attribute
|
|
215
|
+
Cigarette / (f) - Attribute
|
|
216
|
+
Classic Shades / (m) - Attribute
|
|
217
|
+
Classic Shades / (f) - Attribute
|
|
218
|
+
Clown Eyes Blue / (m) - Attribute
|
|
219
|
+
Clown Eyes Blue / (f) - Attribute
|
|
220
|
+
Clown Eyes Green / (m) - Attribute
|
|
221
|
+
Clown Eyes Green / (f) - Attribute
|
|
222
|
+
Clown Hair Green / (m) - Attribute
|
|
223
|
+
Clown Hair Green / (f) - Attribute
|
|
224
|
+
Clown Nose / (m) - Attribute
|
|
225
|
+
Clown Nose / (f) - Attribute
|
|
226
|
+
Cowboy Hat / (m) - Attribute
|
|
227
|
+
Cowboy Hat / (f) - Attribute
|
|
228
|
+
Crazy Hair / (m) - Attribute
|
|
229
|
+
Crazy Hair / (f) - Attribute
|
|
230
|
+
Dark Hair / (f) - Attribute
|
|
231
|
+
Do-rag / (m) - Attribute
|
|
232
|
+
Do-rag / (f) - Attribute
|
|
233
|
+
Earring / (m) - Attribute
|
|
234
|
+
Earring / (f) - Attribute
|
|
235
|
+
Eye Mask / (m) - Attribute
|
|
236
|
+
Eye Mask / (f) - Attribute
|
|
237
|
+
Eye Patch / (m) - Attribute
|
|
238
|
+
Eye Patch / (f) - Attribute
|
|
239
|
+
Fedora / (m) - Attribute
|
|
240
|
+
Fedora / (f) - Attribute
|
|
241
|
+
Front Beard / (m) - Attribute
|
|
242
|
+
Front Beard Dark / (m) - Attribute
|
|
243
|
+
Frown / (m) - Attribute
|
|
244
|
+
Frumpy Hair / (m) - Attribute
|
|
245
|
+
Frumpy Hair / (f) - Attribute
|
|
246
|
+
Green Eye Shadow / (f) - Attribute
|
|
247
|
+
Goat / (m) - Attribute
|
|
248
|
+
Gold Chain / (m) - Attribute
|
|
249
|
+
Gold Chain / (f) - Attribute
|
|
250
|
+
...
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
See the [**punks.spritesheet**](https://github.com/cryptopunksnotdead/punks.spritesheet) for more.
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
### Query Command
|
|
259
|
+
|
|
260
|
+
_Query (builtin off-chain) punk contract for punk text attributes by IDs - use 0 to 9999_
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
Let's try punk #0:
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
$ punk query 0
|
|
267
|
+
# -or-
|
|
268
|
+
$ punk q 0
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
resulting in:
|
|
272
|
+
|
|
273
|
+
```
|
|
274
|
+
==> (1/1) punk #0...
|
|
275
|
+
female_2 earring blonde_bob green_eye_shadow
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
Let's try some top sellers:
|
|
279
|
+
|
|
280
|
+
```
|
|
281
|
+
$ punk query 7804 3100 5217 8857
|
|
282
|
+
# -or-
|
|
283
|
+
$ punk q 7804 3100 5217 8857
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
resulting in:
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
==> (1/4) punk #7804...
|
|
290
|
+
alien cap_forward pipe small_shades
|
|
291
|
+
==> (2/4) punk #3100...
|
|
292
|
+
alien headband
|
|
293
|
+
==> (3/4) punk #5217...
|
|
294
|
+
ape gold_chain knitted_cap
|
|
295
|
+
==> (4/4) punk #8857...
|
|
296
|
+
zombie wild_hair 3d_glasses
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Note: Yes, you can pass the text attributes to the generate command
|
|
300
|
+
to get a free "cleanroom" copy built from scratch / zero
|
|
301
|
+
that you own 100% forever.
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Tile Command
|
|
306
|
+
|
|
307
|
+
_Get punk characters via image tiles from all-in-one punk series composite (`./punks.png`) - for IDs use 0 to 9999_
|
|
308
|
+
|
|
309
|
+
|
|
37
310
|
|
|
38
311
|
Step 0 - Download the True Official Genuine CryptoPunks™ composite image
|
|
39
312
|
|
|
@@ -48,10 +321,10 @@ See [`punks.png` »](https://github.com/larvalabs/cryptopunks/blob/master/punks.
|
|
|
48
321
|
|
|
49
322
|
|
|
50
323
|
|
|
51
|
-
Now let's give it a try. Let's
|
|
324
|
+
Now let's give it a try. Let's save punk #0, #2890, and #8219:
|
|
52
325
|
|
|
53
326
|
```
|
|
54
|
-
$ punk 0 2890 8219
|
|
327
|
+
$ punk tile 0 2890 8219
|
|
55
328
|
```
|
|
56
329
|
|
|
57
330
|
printing:
|
|
@@ -60,9 +333,9 @@ printing:
|
|
|
60
333
|
==> reading >./punks.png<...
|
|
61
334
|
>ac39af4793119ee46bbff351d8cb6b5f23da60222126add4268e261199a2921b< SHA256 hash matching
|
|
62
335
|
✓ True Official Genuine CryptoPunks™ verified
|
|
63
|
-
==> (1/3)
|
|
64
|
-
==> (2/3)
|
|
65
|
-
==> (3/3)
|
|
336
|
+
==> (1/3) saving punk #0 to >./punk-0000.png<...
|
|
337
|
+
==> (2/3) saving punk #2890 to >./punk-2890.png<...
|
|
338
|
+
==> (3/3) saving punk #8219 to >./punk-8219.png<...
|
|
66
339
|
```
|
|
67
340
|
|
|
68
341
|
And voila!
|
|
@@ -73,14 +346,14 @@ And voila!
|
|
|
73
346
|
|
|
74
347
|
|
|
75
348
|
|
|
76
|
-
**Bonus: Try the `-z/--zoom` factor
|
|
349
|
+
**Bonus: Try the `-z/--zoom` factor 2x, 4x, 8x, etc.**
|
|
77
350
|
|
|
78
|
-
Let's give it a try. Let's
|
|
351
|
+
Let's give it a try. Let's save punk #0, #2890, and #8219 in 2x format:
|
|
79
352
|
|
|
80
353
|
```
|
|
81
|
-
$ punk --zoom 2 0 2890 8219
|
|
354
|
+
$ punk --zoom 2 tile 0 2890 8219
|
|
82
355
|
# -or-
|
|
83
|
-
$ punk -z2 0 2890 8219
|
|
356
|
+
$ punk -z2 t 0 2890 8219
|
|
84
357
|
```
|
|
85
358
|
|
|
86
359
|
printing:
|
|
@@ -90,9 +363,9 @@ printing:
|
|
|
90
363
|
>ac39af4793119ee46bbff351d8cb6b5f23da60222126add4268e261199a2921b< SHA256 hash matching
|
|
91
364
|
✓ True Official Genuine CryptoPunks™ verified
|
|
92
365
|
setting zoom to 2x
|
|
93
|
-
==> (1/3)
|
|
94
|
-
==> (2/3)
|
|
95
|
-
==> (3/3)
|
|
366
|
+
==> (1/3) saving punk #0 to >punk-0000@2x.png<...
|
|
367
|
+
==> (2/3) saving punk #2890 to >punk-2890@2x.png<...
|
|
368
|
+
==> (3/3) saving punk #8219 to >punk-8219@2x.png<...
|
|
96
369
|
```
|
|
97
370
|
|
|
98
371
|
And voila!
|
|
@@ -120,7 +393,7 @@ And so on.
|
|
|
120
393
|
|
|
121
394
|
|
|
122
395
|
|
|
123
|
-
|
|
396
|
+
**10 000 More Punks - Unauthorized? No Way?!- Fuck the Establishment - Yes, You Can - Do-It-Yourself - Use Your Own Collections**
|
|
124
397
|
|
|
125
398
|
|
|
126
399
|
Use the `-f, --file=FILE` option
|
|
@@ -138,12 +411,12 @@ in the series.
|
|
|
138
411
|
|
|
139
412
|
|
|
140
413
|
|
|
141
|
-
Let's
|
|
414
|
+
Let's save punk #0, #19, #50, and #89
|
|
142
415
|
and let's add an offset of 10000
|
|
143
416
|
(to start counting at 10000 instead of 0):
|
|
144
417
|
|
|
145
418
|
```
|
|
146
|
-
$ punk
|
|
419
|
+
$ punk --file ./more-punks-1.png --offset 10000 tile 0 18 40 88
|
|
147
420
|
```
|
|
148
421
|
|
|
149
422
|
printing:
|
|
@@ -151,10 +424,10 @@ printing:
|
|
|
151
424
|
```
|
|
152
425
|
==> reading >./more-punks-1.png<...
|
|
153
426
|
240x240 (height x width)
|
|
154
|
-
==> (1/4)
|
|
155
|
-
==> (2/4)
|
|
156
|
-
==> (3/4)
|
|
157
|
-
==> (4/4)
|
|
427
|
+
==> (1/4) saving punk #10000 to >./punk-10000.png<...
|
|
428
|
+
==> (2/4) saving punk #10018 to >./punk-10018.png<...
|
|
429
|
+
==> (3/4) saving punk #10040 to >./punk-10040.png<...
|
|
430
|
+
==> (4/4) saving punk #10040 to >./punk-10088.png<...
|
|
158
431
|
```
|
|
159
432
|
|
|
160
433
|
And voila!
|
|
@@ -182,12 +455,12 @@ Let's try the second pack - that is, punks 100 to 199 in the series.
|
|
|
182
455
|
|
|
183
456
|
|
|
184
457
|
|
|
185
|
-
Let's
|
|
458
|
+
Let's save punk #0, #79, #80, and #90
|
|
186
459
|
and let's add an offset of 10100
|
|
187
460
|
(to start counting at 10000 plus 100 instead of 0):
|
|
188
461
|
|
|
189
462
|
```
|
|
190
|
-
$ punk
|
|
463
|
+
$ punk --file ./more-punks-2.png --offset 10100 tile 0 79 80 90
|
|
191
464
|
```
|
|
192
465
|
|
|
193
466
|
printing:
|
|
@@ -195,10 +468,10 @@ printing:
|
|
|
195
468
|
```
|
|
196
469
|
==> reading >./more-punks-2.png<...
|
|
197
470
|
240x240 (height x width)
|
|
198
|
-
==> (1/4)
|
|
199
|
-
==> (2/4)
|
|
200
|
-
==> (3/4)
|
|
201
|
-
==> (4/4)
|
|
471
|
+
==> (1/4) saving punk #10100 to >./punk-10100.png<...
|
|
472
|
+
==> (2/4) saving punk #10179 to >./punk-10179.png<...
|
|
473
|
+
==> (3/4) saving punk #10180 to >./punk-10180.png<...
|
|
474
|
+
==> (4/4) saving punk #10190 to >./punk-10190.png<...
|
|
202
475
|
```
|
|
203
476
|
|
|
204
477
|
And voila! Super rare - world's first female alien and much more.
|
|
@@ -223,10 +496,12 @@ And so on.
|
|
|
223
496
|
|
|
224
497
|
|
|
225
498
|
|
|
499
|
+
|
|
500
|
+
|
|
226
501
|
## Usage in Your Scripts
|
|
227
502
|
|
|
228
503
|
|
|
229
|
-
Yes, you can
|
|
504
|
+
Yes, you can generate punks in your own scripts
|
|
230
505
|
and much more.
|
|
231
506
|
See the
|
|
232
507
|
[**Programming CryptoPunks & Copypastas Step-by-Step Booklet / Guide »**](https://github.com/cryptopunksnotdead/programming-cryptopunks)
|
data/config/spritesheet.csv
CHANGED
|
@@ -1,237 +1,402 @@
|
|
|
1
1
|
id, name, gender, type, more_names
|
|
2
|
-
0,
|
|
3
|
-
1,
|
|
4
|
-
2,
|
|
5
|
-
3,
|
|
6
|
-
4, Female 1, f, Archetype - Human,
|
|
7
|
-
5, Female 2, f, Archetype - Human,
|
|
8
|
-
6, Female 3, f, Archetype - Human,
|
|
9
|
-
7, Female 4, f, Archetype - Human,
|
|
10
|
-
8, Zombie, m, Archetype - Zombie,
|
|
11
|
-
9, Zombie Female, f, Archetype - Zombie,
|
|
12
|
-
10, Ape, m, Archetype - Ape,
|
|
13
|
-
11, Ape Female, f, Archetype - Ape,
|
|
14
|
-
12, Alien, m, Archetype - Alien,
|
|
15
|
-
13, Alien Female, f, Archetype - Alien,
|
|
16
|
-
14, Demon, m, Archetype - Demon,
|
|
17
|
-
15, Demon Female, f, Archetype - Demon,
|
|
18
|
-
16, Mummy, m, Archetype - Mummy,
|
|
19
|
-
17, Mummy Female, f, Archetype - Mummy,
|
|
20
|
-
18, Orc, m, Archetype - Orc,
|
|
21
|
-
19, Orc Female, f, Archetype - Orc,
|
|
22
|
-
20, Robot, m, Archetype - Robot,
|
|
23
|
-
21, Robot Female, f, Archetype - Robot,
|
|
24
|
-
22, Skeleton, m, Archetype - Skeleton,
|
|
25
|
-
23, Skeleton Female, f, Archetype - Skeleton,
|
|
26
|
-
24, Vampire, m, Archetype - Vampire,
|
|
27
|
-
25, Vampire Female, f, Archetype - Vampire,
|
|
28
|
-
26, Zombie (Ape), m, Archetype - Zombie,
|
|
29
|
-
27, Alien (Ape), m, Archetype - Alien,
|
|
30
|
-
28, Alien 0°, m, Archetype - Alien,
|
|
31
|
-
29, Alien 30°, m, Archetype - Alien,
|
|
32
|
-
30, Alien 60°, m, Archetype - Alien,
|
|
33
|
-
31, Alien 90°, m, Archetype - Alien,
|
|
34
|
-
32, Alien 120°, m, Archetype - Alien,
|
|
35
|
-
33, Alien 150°, m, Archetype - Alien,
|
|
36
|
-
34, Alien 180°, m, Archetype - Alien,
|
|
37
|
-
35, Alien 210°, m, Archetype - Alien,
|
|
38
|
-
36, Alien 240°, m, Archetype - Alien,
|
|
39
|
-
37, Alien 270°, m, Archetype - Alien,
|
|
40
|
-
38, Alien 300°, m, Archetype - Alien,
|
|
41
|
-
39, Alien 330°, m, Archetype - Alien,
|
|
42
|
-
40, Alien (Ape) 0°, m, Archetype - Alien,
|
|
43
|
-
41, Alien (Ape) 30°, m, Archetype - Alien,
|
|
44
|
-
42, Alien (Ape) 60°, m, Archetype - Alien,
|
|
45
|
-
43, Alien (Ape) 90°, m, Archetype - Alien,
|
|
46
|
-
44, Alien (Ape) 120°, m, Archetype - Alien,
|
|
47
|
-
45, Alien (Ape) 150°, m, Archetype - Alien,
|
|
48
|
-
46, Alien (Ape) 180°, m, Archetype - Alien,
|
|
49
|
-
47, Alien (Ape) 210°, m, Archetype - Alien,
|
|
50
|
-
48, Alien (Ape) 240°, m, Archetype - Alien,
|
|
51
|
-
49, Alien (Ape) 270°, m, Archetype - Alien,
|
|
52
|
-
50, Alien (Ape) 300°, m, Archetype - Alien,
|
|
53
|
-
51, Alien (Ape) 330°, m, Archetype - Alien,
|
|
54
|
-
52, Alien Female 0°, f, Archetype - Alien,
|
|
55
|
-
53, Alien Female 30°, f, Archetype - Alien,
|
|
56
|
-
54, Alien Female 60°, f, Archetype - Alien,
|
|
57
|
-
55, Alien Female 90°, f, Archetype - Alien,
|
|
58
|
-
56, Alien Female 120°, f, Archetype - Alien,
|
|
59
|
-
57, Alien Female 150°, f, Archetype - Alien,
|
|
60
|
-
58, Alien Female 180°, f, Archetype - Alien,
|
|
61
|
-
59, Alien Female 210°, f, Archetype - Alien,
|
|
62
|
-
60, Alien Female 240°, f, Archetype - Alien,
|
|
63
|
-
61, Alien Female 270°, f, Archetype - Alien,
|
|
64
|
-
62, Alien Female 300°, f, Archetype - Alien,
|
|
65
|
-
63, Alien Female 330°, f, Archetype - Alien,
|
|
2
|
+
0, Human 1, m, Archetype - Human, Human Male 1 | Human 1 ♂ | Male 1 | Man 1 | ♂ 1
|
|
3
|
+
1, Human 2, m, Archetype - Human, Human Male 2 | Human 2 ♂ | Male 2 | Man 2 | ♂ 2
|
|
4
|
+
2, Human 3, m, Archetype - Human, Human Male 3 | Human 3 ♂ | Male 3 | Man 3 | ♂ 3
|
|
5
|
+
3, Human 4, m, Archetype - Human, Human Male 4 | Human 4 ♂ | Male 4 | Man 4 | ♂ 4
|
|
6
|
+
4, Human Female 1, f, Archetype - Human, Human 1 ♀ | Female 1 | Woman 1 | Lady 1 | ♀ 1
|
|
7
|
+
5, Human Female 2, f, Archetype - Human, Human 2 ♀ | Female 2 | Woman 2 | Lady 2 | ♀ 2
|
|
8
|
+
6, Human Female 3, f, Archetype - Human, Human 3 ♀ | Female 3 | Woman 3 | Lady 3 | ♀ 3
|
|
9
|
+
7, Human Female 4, f, Archetype - Human, Human 4 ♀ | Female 4 | Woman 4 | Lady 4 | ♀ 4
|
|
10
|
+
8, Zombie, m, Archetype - Zombie, Zombie Male | Zombie ♂
|
|
11
|
+
9, Zombie Female, f, Archetype - Zombie, Zombie ♀ | Lady Zombie
|
|
12
|
+
10, Ape, m, Archetype - Ape, Ape Male | Ape ♂
|
|
13
|
+
11, Ape Female, f, Archetype - Ape, Ape ♀ | Lady Ape
|
|
14
|
+
12, Alien, m, Archetype - Alien, Alien Male | Alien ♂
|
|
15
|
+
13, Alien Female, f, Archetype - Alien, Alien ♀ | Lady Alien
|
|
16
|
+
14, Demon, m, Archetype - Demon, Demon Male | Demon ♂
|
|
17
|
+
15, Demon Female, f, Archetype - Demon, Demon ♀ | Lady Demon
|
|
18
|
+
16, Mummy, m, Archetype - Mummy, Mummy Male | Mummy ♂
|
|
19
|
+
17, Mummy Female, f, Archetype - Mummy, Mummy ♀ | Lady Mummy
|
|
20
|
+
18, Orc, m, Archetype - Orc, Orc Male | Orc ♂
|
|
21
|
+
19, Orc Female, f, Archetype - Orc, Orc ♀ | Lady Orc
|
|
22
|
+
20, Robot, m, Archetype - Robot, Robot Male | Robot ♂
|
|
23
|
+
21, Robot Female, f, Archetype - Robot, Robot ♀ | Lady Robot
|
|
24
|
+
22, Skeleton, m, Archetype - Skeleton, Skeleton Male | Skeleton ♂
|
|
25
|
+
23, Skeleton Female, f, Archetype - Skeleton, Skeleton ♀ | Lady Skeleton
|
|
26
|
+
24, Vampire, m, Archetype - Vampire, Vampire Male | Vampire ♂
|
|
27
|
+
25, Vampire Female, f, Archetype - Vampire, Vampire ♀ | Lady Vamp | Lady Vampire
|
|
28
|
+
26, Zombie (Ape), m, Archetype - Zombie, Zombie (Ape) Male | Zombie (Ape) ♂
|
|
29
|
+
27, Alien (Ape), m, Archetype - Alien, Alien (Ape) Male | Alien (Ape) ♂
|
|
30
|
+
28, Alien 0°, m, Archetype - Alien, Alien Male 0° | Alien 0° ♂ | Alien Red | Alien Male Red | Alien Red ♂
|
|
31
|
+
29, Alien 30°, m, Archetype - Alien, Alien Male 30° | Alien 30° ♂ | Alien Orange | Alien Male Orange | Alien Orange ♂
|
|
32
|
+
30, Alien 60°, m, Archetype - Alien, Alien Male 60° | Alien 60° ♂ | Alien Yellow | Alien Male Yellow | Alien Yellow ♂
|
|
33
|
+
31, Alien 90°, m, Archetype - Alien, Alien Male 90° | Alien 90° ♂ | Alien Yellow Green | Alien Male Yellow Green | Alien Yellow Green ♂
|
|
34
|
+
32, Alien 120°, m, Archetype - Alien, Alien Male 120° | Alien 120° ♂ | Alien Green | Alien Male Green | Alien Green ♂
|
|
35
|
+
33, Alien 150°, m, Archetype - Alien, Alien Male 150° | Alien 150° ♂ | Alien Cyan Green | Alien Male Cyan Green | Alien Cyan Green ♂
|
|
36
|
+
34, Alien 180°, m, Archetype - Alien, Alien Male 180° | Alien 180° ♂ | Alien Cyan | Alien Male Cyan | Alien Cyan ♂
|
|
37
|
+
35, Alien 210°, m, Archetype - Alien, Alien Male 210° | Alien 210° ♂ | Alien Cyan Blue | Alien Male Cyan Blue | Alien Cyan Blue ♂
|
|
38
|
+
36, Alien 240°, m, Archetype - Alien, Alien Male 240° | Alien 240° ♂ | Alien Blue | Alien Male Blue | Alien Blue ♂
|
|
39
|
+
37, Alien 270°, m, Archetype - Alien, Alien Male 270° | Alien 270° ♂ | Alien Violet | Alien Male Violet | Alien Violet ♂
|
|
40
|
+
38, Alien 300°, m, Archetype - Alien, Alien Male 300° | Alien 300° ♂ | Alien Magenta | Alien Male Magenta | Alien Magenta ♂
|
|
41
|
+
39, Alien 330°, m, Archetype - Alien, Alien Male 330° | Alien 330° ♂ | Alien Red Magenta | Alien Male Red Magenta | Alien Red Magenta ♂
|
|
42
|
+
40, Alien (Ape) 0°, m, Archetype - Alien, Alien (Ape) Male 0° | Alien (Ape) 0° ♂ | Alien (Ape) Red | Alien (Ape) Male Red | Alien (Ape) Red ♂
|
|
43
|
+
41, Alien (Ape) 30°, m, Archetype - Alien, Alien (Ape) Male 30° | Alien (Ape) 30° ♂ | Alien (Ape) Orange | Alien (Ape) Male Orange | Alien (Ape) Orange ♂
|
|
44
|
+
42, Alien (Ape) 60°, m, Archetype - Alien, Alien (Ape) Male 60° | Alien (Ape) 60° ♂ | Alien (Ape) Yellow | Alien (Ape) Male Yellow | Alien (Ape) Yellow ♂
|
|
45
|
+
43, Alien (Ape) 90°, m, Archetype - Alien, Alien (Ape) Male 90° | Alien (Ape) 90° ♂ | Alien (Ape) Yellow Green | Alien (Ape) Male Yellow Green | Alien (Ape) Yellow Green ♂
|
|
46
|
+
44, Alien (Ape) 120°, m, Archetype - Alien, Alien (Ape) Male 120° | Alien (Ape) 120° ♂ | Alien (Ape) Green | Alien (Ape) Male Green | Alien (Ape) Green ♂
|
|
47
|
+
45, Alien (Ape) 150°, m, Archetype - Alien, Alien (Ape) Male 150° | Alien (Ape) 150° ♂ | Alien (Ape) Cyan Green | Alien (Ape) Male Cyan Green | Alien (Ape) Cyan Green ♂
|
|
48
|
+
46, Alien (Ape) 180°, m, Archetype - Alien, Alien (Ape) Male 180° | Alien (Ape) 180° ♂ | Alien (Ape) Cyan | Alien (Ape) Male Cyan | Alien (Ape) Cyan ♂
|
|
49
|
+
47, Alien (Ape) 210°, m, Archetype - Alien, Alien (Ape) Male 210° | Alien (Ape) 210° ♂ | Alien (Ape) Cyan Blue | Alien (Ape) Male Cyan Blue | Alien (Ape) Cyan Blue ♂
|
|
50
|
+
48, Alien (Ape) 240°, m, Archetype - Alien, Alien (Ape) Male 240° | Alien (Ape) 240° ♂ | Alien (Ape) Blue | Alien (Ape) Male Blue | Alien (Ape) Blue ♂
|
|
51
|
+
49, Alien (Ape) 270°, m, Archetype - Alien, Alien (Ape) Male 270° | Alien (Ape) 270° ♂ | Alien (Ape) Violet | Alien (Ape) Male Violet | Alien (Ape) Violet ♂
|
|
52
|
+
50, Alien (Ape) 300°, m, Archetype - Alien, Alien (Ape) Male 300° | Alien (Ape) 300° ♂ | Alien (Ape) Magenta | Alien (Ape) Male Magenta | Alien (Ape) Magenta ♂
|
|
53
|
+
51, Alien (Ape) 330°, m, Archetype - Alien, Alien (Ape) Male 330° | Alien (Ape) 330° ♂ | Alien (Ape) Red Magenta | Alien (Ape) Male Red Magenta | Alien (Ape) Red Magenta ♂
|
|
54
|
+
52, Alien Female 0°, f, Archetype - Alien, Alien 0° ♀ | Alien Female Red | Alien Red ♀
|
|
55
|
+
53, Alien Female 30°, f, Archetype - Alien, Alien 30° ♀ | Alien Female Orange | Alien Orange ♀
|
|
56
|
+
54, Alien Female 60°, f, Archetype - Alien, Alien 60° ♀ | Alien Female Yellow | Alien Yellow ♀
|
|
57
|
+
55, Alien Female 90°, f, Archetype - Alien, Alien 90° ♀ | Alien Female Yellow Green | Alien Yellow Green ♀
|
|
58
|
+
56, Alien Female 120°, f, Archetype - Alien, Alien 120° ♀ | Alien Female Green | Alien Green ♀
|
|
59
|
+
57, Alien Female 150°, f, Archetype - Alien, Alien 150° ♀ | Alien Female Cyan Green | Alien Cyan Green ♀
|
|
60
|
+
58, Alien Female 180°, f, Archetype - Alien, Alien 180° ♀ | Alien Female Cyan | Alien Cyan ♀
|
|
61
|
+
59, Alien Female 210°, f, Archetype - Alien, Alien 210° ♀ | Alien Female Cyan Blue | Alien Cyan Blue ♀
|
|
62
|
+
60, Alien Female 240°, f, Archetype - Alien, Alien 240° ♀ | Alien Female Blue | Alien Blue ♀
|
|
63
|
+
61, Alien Female 270°, f, Archetype - Alien, Alien 270° ♀ | Alien Female Violet | Alien Violet ♀
|
|
64
|
+
62, Alien Female 300°, f, Archetype - Alien, Alien 300° ♀ | Alien Female Magenta | Alien Magenta ♀
|
|
65
|
+
63, Alien Female 330°, f, Archetype - Alien, Alien 330° ♀ | Alien Female Red Magenta | Alien Red Magenta ♀
|
|
66
66
|
64, 3D Glasses, m, Attribute,
|
|
67
67
|
65, 3D Glasses, f, Attribute,
|
|
68
|
-
66,
|
|
69
|
-
67,
|
|
70
|
-
68,
|
|
71
|
-
69,
|
|
72
|
-
70,
|
|
73
|
-
71,
|
|
74
|
-
72,
|
|
75
|
-
73,
|
|
76
|
-
74,
|
|
77
|
-
75,
|
|
78
|
-
76,
|
|
79
|
-
77,
|
|
80
|
-
78,
|
|
81
|
-
79,
|
|
82
|
-
80,
|
|
83
|
-
81,
|
|
84
|
-
82,
|
|
85
|
-
83,
|
|
86
|
-
84,
|
|
87
|
-
85,
|
|
88
|
-
86,
|
|
89
|
-
87,
|
|
90
|
-
88,
|
|
91
|
-
89,
|
|
92
|
-
90,
|
|
93
|
-
91,
|
|
94
|
-
92,
|
|
95
|
-
93,
|
|
96
|
-
94, Clown
|
|
97
|
-
95, Clown
|
|
98
|
-
96,
|
|
99
|
-
97,
|
|
100
|
-
98,
|
|
101
|
-
99,
|
|
102
|
-
100,
|
|
103
|
-
101,
|
|
104
|
-
102,
|
|
105
|
-
103,
|
|
106
|
-
104,
|
|
107
|
-
105,
|
|
108
|
-
106,
|
|
109
|
-
107,
|
|
110
|
-
108,
|
|
111
|
-
109,
|
|
112
|
-
110,
|
|
113
|
-
111,
|
|
114
|
-
112,
|
|
115
|
-
113,
|
|
116
|
-
114,
|
|
117
|
-
115,
|
|
118
|
-
116,
|
|
119
|
-
117,
|
|
120
|
-
118,
|
|
121
|
-
119,
|
|
122
|
-
120,
|
|
123
|
-
121,
|
|
124
|
-
122,
|
|
125
|
-
123,
|
|
126
|
-
124,
|
|
127
|
-
125,
|
|
128
|
-
126,
|
|
129
|
-
127,
|
|
130
|
-
128,
|
|
131
|
-
129,
|
|
132
|
-
130,
|
|
133
|
-
131,
|
|
134
|
-
132,
|
|
135
|
-
133,
|
|
136
|
-
134,
|
|
137
|
-
135,
|
|
138
|
-
136,
|
|
139
|
-
137,
|
|
140
|
-
138,
|
|
141
|
-
139,
|
|
142
|
-
140,
|
|
143
|
-
141,
|
|
144
|
-
142,
|
|
145
|
-
143,
|
|
146
|
-
144,
|
|
147
|
-
145,
|
|
148
|
-
146,
|
|
149
|
-
147,
|
|
150
|
-
148,
|
|
151
|
-
149,
|
|
152
|
-
150,
|
|
153
|
-
151,
|
|
154
|
-
152,
|
|
155
|
-
153,
|
|
156
|
-
154,
|
|
157
|
-
155,
|
|
158
|
-
156,
|
|
159
|
-
157,
|
|
160
|
-
158,
|
|
161
|
-
159,
|
|
162
|
-
160,
|
|
163
|
-
161,
|
|
164
|
-
162,
|
|
165
|
-
163,
|
|
166
|
-
164,
|
|
167
|
-
165,
|
|
168
|
-
166,
|
|
169
|
-
167,
|
|
170
|
-
168,
|
|
171
|
-
169,
|
|
172
|
-
170,
|
|
173
|
-
171,
|
|
174
|
-
172,
|
|
175
|
-
173,
|
|
176
|
-
174,
|
|
177
|
-
175,
|
|
178
|
-
176,
|
|
179
|
-
177,
|
|
180
|
-
178,
|
|
181
|
-
179,
|
|
182
|
-
180,
|
|
183
|
-
181,
|
|
184
|
-
182,
|
|
185
|
-
183,
|
|
186
|
-
184,
|
|
187
|
-
185,
|
|
188
|
-
186,
|
|
189
|
-
187,
|
|
190
|
-
188,
|
|
191
|
-
189,
|
|
192
|
-
190,
|
|
193
|
-
191,
|
|
194
|
-
192,
|
|
195
|
-
193,
|
|
196
|
-
194,
|
|
197
|
-
195,
|
|
198
|
-
196,
|
|
199
|
-
197,
|
|
200
|
-
198,
|
|
201
|
-
199,
|
|
202
|
-
200,
|
|
203
|
-
201,
|
|
204
|
-
202,
|
|
205
|
-
203,
|
|
206
|
-
204,
|
|
207
|
-
205,
|
|
208
|
-
206,
|
|
209
|
-
207,
|
|
210
|
-
208,
|
|
211
|
-
209,
|
|
212
|
-
210,
|
|
213
|
-
211,
|
|
214
|
-
212,
|
|
215
|
-
213,
|
|
216
|
-
214,
|
|
217
|
-
215,
|
|
218
|
-
216,
|
|
219
|
-
217,
|
|
220
|
-
218,
|
|
221
|
-
219,
|
|
222
|
-
220,
|
|
223
|
-
221,
|
|
224
|
-
222,
|
|
225
|
-
223,
|
|
226
|
-
224,
|
|
227
|
-
225,
|
|
228
|
-
226,
|
|
229
|
-
227,
|
|
230
|
-
228,
|
|
231
|
-
229,
|
|
232
|
-
230,
|
|
233
|
-
231,
|
|
234
|
-
232,
|
|
235
|
-
233,
|
|
236
|
-
234,
|
|
237
|
-
235,
|
|
68
|
+
66, Big Shades, m, Attribute,
|
|
69
|
+
67, Big Shades, f, Attribute,
|
|
70
|
+
68, Classic Shades, m, Attribute,
|
|
71
|
+
69, Classic Shades, f, Attribute,
|
|
72
|
+
70, Eye Mask, m, Attribute,
|
|
73
|
+
71, Eye Mask, f, Attribute,
|
|
74
|
+
72, Eye Patch, m, Attribute,
|
|
75
|
+
73, Eye Patch, f, Attribute,
|
|
76
|
+
74, Horned Rim Glasses, m, Attribute,
|
|
77
|
+
75, Horned Rim Glasses, f, Attribute,
|
|
78
|
+
76, Nerd Glasses, m, Attribute,
|
|
79
|
+
77, Nerd Glasses, f, Attribute,
|
|
80
|
+
78, Regular Shades, m, Attribute,
|
|
81
|
+
79, Regular Shades, f, Attribute,
|
|
82
|
+
80, Small Shades, m, Attribute,
|
|
83
|
+
81, Small Shades, f, Attribute,
|
|
84
|
+
82, VR, m, Attribute,
|
|
85
|
+
83, VR, f, Attribute,
|
|
86
|
+
84, Welding Goggles, f, Attribute,
|
|
87
|
+
85, Heart Shades, m, Attribute,
|
|
88
|
+
86, Heart Shades, f, Attribute,
|
|
89
|
+
87, Laser Eyes, m, Attribute,
|
|
90
|
+
88, Laser Eyes Gold, m, Attribute,
|
|
91
|
+
89, Ski Googles, m, Attribute,
|
|
92
|
+
90, Ski Googles, f, Attribute,
|
|
93
|
+
91, Tears, m, Attribute,
|
|
94
|
+
92, Tears, f, Attribute,
|
|
95
|
+
93, Blue Eye Shadow, f, Attribute,
|
|
96
|
+
94, Clown Eyes Blue, m, Attribute,
|
|
97
|
+
95, Clown Eyes Blue, f, Attribute,
|
|
98
|
+
96, Clown Eyes Green, m, Attribute,
|
|
99
|
+
97, Clown Eyes Green, f, Attribute,
|
|
100
|
+
98, Green Eye Shadow, f, Attribute,
|
|
101
|
+
99, Purple Eye Shadow, f, Attribute,
|
|
102
|
+
100, Bandana, m, Attribute,
|
|
103
|
+
101, Bandana, f, Attribute,
|
|
104
|
+
102, Beanie, m, Attribute,
|
|
105
|
+
103, Beanie, f, Attribute,
|
|
106
|
+
104, Big Beard, m, Attribute,
|
|
107
|
+
105, Black Lipstick, f, Attribute,
|
|
108
|
+
106, Buck Teeth, m, Attribute,
|
|
109
|
+
107, Cap Forward, m, Attribute,
|
|
110
|
+
108, Cap Forward, f, Attribute,
|
|
111
|
+
109, Chinstrap, m, Attribute,
|
|
112
|
+
110, Choker, f, Attribute,
|
|
113
|
+
111, Cigarette, m, Attribute,
|
|
114
|
+
112, Cigarette, f, Attribute,
|
|
115
|
+
113, Clown Nose, m, Attribute,
|
|
116
|
+
114, Clown Nose, f, Attribute,
|
|
117
|
+
115, Cowboy Hat, m, Attribute,
|
|
118
|
+
116, Cowboy Hat, f, Attribute,
|
|
119
|
+
117, Do-rag, m, Attribute,
|
|
120
|
+
118, Do-rag, f, Attribute,
|
|
121
|
+
119, Earring, m, Attribute,
|
|
122
|
+
120, Earring, f, Attribute,
|
|
123
|
+
121, Fedora, m, Attribute,
|
|
124
|
+
122, Fedora, f, Attribute,
|
|
125
|
+
123, Front Beard, m, Attribute,
|
|
126
|
+
124, Front Beard Dark, m, Attribute,
|
|
127
|
+
125, Frown, m, Attribute,
|
|
128
|
+
126, Goat, m, Attribute,
|
|
129
|
+
127, Gold Chain, m, Attribute,
|
|
130
|
+
128, Gold Chain, f, Attribute,
|
|
131
|
+
129, Handlebars, m, Attribute,
|
|
132
|
+
130, Headband, m, Attribute,
|
|
133
|
+
131, Headband, f, Attribute,
|
|
134
|
+
132, Hoodie, m, Attribute,
|
|
135
|
+
133, Hoodie, f, Attribute,
|
|
136
|
+
134, Hot Lipstick, f, Attribute,
|
|
137
|
+
135, Knitted Cap, m, Attribute,
|
|
138
|
+
136, Knitted Cap, f, Attribute,
|
|
139
|
+
137, Luxurious Beard, m, Attribute,
|
|
140
|
+
138, Medical Mask, m, Attribute,
|
|
141
|
+
139, Medical Mask, f, Attribute,
|
|
142
|
+
140, Mole, m, Attribute,
|
|
143
|
+
141, Mole, f, Attribute,
|
|
144
|
+
142, Mustache, m, Attribute,
|
|
145
|
+
143, Muttonchops, m, Attribute,
|
|
146
|
+
144, Normal Beard, m, Attribute,
|
|
147
|
+
145, Normal Beard Black, m, Attribute,
|
|
148
|
+
146, Pilot Helmet, f, Attribute,
|
|
149
|
+
147, Pipe, m, Attribute,
|
|
150
|
+
148, Pipe, f, Attribute,
|
|
151
|
+
149, Police Cap, m, Attribute,
|
|
152
|
+
150, Police Cap, f, Attribute,
|
|
153
|
+
151, Purple Lipstick, f, Attribute,
|
|
154
|
+
152, Rosy Cheeks, m, Attribute,
|
|
155
|
+
153, Rosy Cheeks, f, Attribute,
|
|
156
|
+
154, Shadow Beard, m, Attribute,
|
|
157
|
+
155, Silver Chain, m, Attribute,
|
|
158
|
+
156, Silver Chain, f, Attribute,
|
|
159
|
+
157, Smile, m, Attribute,
|
|
160
|
+
158, Spots, m, Attribute,
|
|
161
|
+
159, Spots, f, Attribute,
|
|
162
|
+
160, Tassle Hat, f, Attribute,
|
|
163
|
+
161, Tiara, f, Attribute,
|
|
164
|
+
162, Top Hat, m, Attribute,
|
|
165
|
+
163, Top Hat, f, Attribute,
|
|
166
|
+
164, Vape, m, Attribute,
|
|
167
|
+
165, Vape, f, Attribute,
|
|
168
|
+
166, Bear Hood, m, Attribute,
|
|
169
|
+
167, Bear Hood, f, Attribute,
|
|
170
|
+
168, Birthday Hat, m, Attribute,
|
|
171
|
+
169, Birthday Hat, f, Attribute,
|
|
172
|
+
170, Bow, f, Attribute,
|
|
173
|
+
171, Cigar, m, Attribute,
|
|
174
|
+
172, Cigar, f, Attribute,
|
|
175
|
+
173, Crown, m, Attribute,
|
|
176
|
+
174, Crown, f, Attribute,
|
|
177
|
+
175, Flowers, f, Attribute,
|
|
178
|
+
176, Frog Hood, m, Attribute,
|
|
179
|
+
177, Frog Hood, f, Attribute,
|
|
180
|
+
178, Gold Diamond Necklace, m, Attribute,
|
|
181
|
+
179, Gold Diamond Necklace, f, Attribute,
|
|
182
|
+
180, Jester Hat, m, Attribute,
|
|
183
|
+
181, Jester Hat, f, Attribute,
|
|
184
|
+
182, Pink Lipstick, f, Attribute,
|
|
185
|
+
183, Red Lipstick, f, Attribute,
|
|
186
|
+
184, Santa Hat, m, Attribute,
|
|
187
|
+
185, Santa Hat, f, Attribute,
|
|
188
|
+
186, Silver Earring, m, Attribute,
|
|
189
|
+
187, Silver Earring, f, Attribute,
|
|
190
|
+
188, Sombrero, m, Attribute,
|
|
191
|
+
189, Sombrero, f, Attribute,
|
|
192
|
+
190, Sun Hat, m, Attribute,
|
|
193
|
+
191, Sun Hat, f, Attribute,
|
|
194
|
+
192, Superhero Tiara, f, Attribute,
|
|
195
|
+
193, Viking Helmet, m, Attribute,
|
|
196
|
+
194, Viking Helmet, f, Attribute,
|
|
197
|
+
195, Winter Hat, m, Attribute,
|
|
198
|
+
196, Winter Hat, f, Attribute,
|
|
199
|
+
197, Cap, m, Attribute,
|
|
200
|
+
198, Cap, f, Attribute,
|
|
201
|
+
199, Cap 0°, m, Attribute, Cap Red
|
|
202
|
+
200, Cap 0°, f, Attribute, Cap Red
|
|
203
|
+
201, Cap 30°, m, Attribute, Cap Orange
|
|
204
|
+
202, Cap 30°, f, Attribute, Cap Orange
|
|
205
|
+
203, Cap 60°, m, Attribute, Cap Yellow
|
|
206
|
+
204, Cap 60°, f, Attribute, Cap Yellow
|
|
207
|
+
205, Cap 90°, m, Attribute, Cap Yellow Green
|
|
208
|
+
206, Cap 90°, f, Attribute, Cap Yellow Green
|
|
209
|
+
207, Cap 120°, m, Attribute, Cap Green
|
|
210
|
+
208, Cap 120°, f, Attribute, Cap Green
|
|
211
|
+
209, Cap 150°, m, Attribute, Cap Cyan Green
|
|
212
|
+
210, Cap 150°, f, Attribute, Cap Cyan Green
|
|
213
|
+
211, Cap 180°, m, Attribute, Cap Cyan
|
|
214
|
+
212, Cap 180°, f, Attribute, Cap Cyan
|
|
215
|
+
213, Cap 210°, m, Attribute, Cap Cyan Blue
|
|
216
|
+
214, Cap 210°, f, Attribute, Cap Cyan Blue
|
|
217
|
+
215, Cap 240°, m, Attribute, Cap Blue
|
|
218
|
+
216, Cap 240°, f, Attribute, Cap Blue
|
|
219
|
+
217, Cap 270°, m, Attribute, Cap Violet
|
|
220
|
+
218, Cap 270°, f, Attribute, Cap Violet
|
|
221
|
+
219, Cap 300°, m, Attribute, Cap Magenta
|
|
222
|
+
220, Cap 300°, f, Attribute, Cap Magenta
|
|
223
|
+
221, Cap 330°, m, Attribute, Cap Red Magenta
|
|
224
|
+
222, Cap 330°, f, Attribute, Cap Red Magenta
|
|
225
|
+
223, Blonde Short, f, Attribute,
|
|
226
|
+
224, Crazy Hair, m, Attribute,
|
|
227
|
+
225, Crazy Hair, f, Attribute,
|
|
228
|
+
226, Dark Hair, f, Attribute,
|
|
229
|
+
227, Frumpy Hair, m, Attribute,
|
|
230
|
+
228, Frumpy Hair, f, Attribute,
|
|
231
|
+
229, Half Shaved, f, Attribute,
|
|
232
|
+
230, Messy Hair, m, Attribute,
|
|
233
|
+
231, Messy Hair, f, Attribute,
|
|
234
|
+
232, Mohawk, m, Attribute,
|
|
235
|
+
233, Mohawk, f, Attribute,
|
|
236
|
+
234, Mohawk Dark, m, Attribute,
|
|
237
|
+
235, Mohawk Dark, f, Attribute,
|
|
238
|
+
236, Mohawk Thin, m, Attribute,
|
|
239
|
+
237, Mohawk Thin, f, Attribute,
|
|
240
|
+
238, Orange Side, f, Attribute,
|
|
241
|
+
239, Peak Spike, m, Attribute,
|
|
242
|
+
240, Pigtails, f, Attribute,
|
|
243
|
+
241, Pink with Hat, f, Attribute,
|
|
244
|
+
242, Purple Hair, m, Attribute,
|
|
245
|
+
243, Purple Hair, f, Attribute,
|
|
246
|
+
244, Red Mohawk, f, Attribute,
|
|
247
|
+
245, Shaved Head, m, Attribute,
|
|
248
|
+
246, Shaved Head, f, Attribute,
|
|
249
|
+
247, Straight Hair, f, Attribute,
|
|
250
|
+
248, Straight Hair Blonde, f, Attribute,
|
|
251
|
+
249, Straight Hair Dark, f, Attribute,
|
|
252
|
+
250, Stringy Hair, m, Attribute,
|
|
253
|
+
251, Stringy Hair, f, Attribute,
|
|
254
|
+
252, Vampire Hair, m, Attribute,
|
|
255
|
+
253, Wild Blonde, f, Attribute,
|
|
256
|
+
254, Wild Hair, m, Attribute,
|
|
257
|
+
255, Wild Hair, f, Attribute,
|
|
258
|
+
256, Wild White Hair, f, Attribute,
|
|
259
|
+
257, Black Afro, m, Attribute,
|
|
260
|
+
258, Black Afro, f, Attribute,
|
|
261
|
+
259, Brown Afro, m, Attribute,
|
|
262
|
+
260, Dark Red Afro, m, Attribute,
|
|
263
|
+
261, Orange Afro, m, Attribute,
|
|
264
|
+
262, Red Afro, m, Attribute,
|
|
265
|
+
263, Pink Afro, m, Attribute,
|
|
266
|
+
264, Purple Afro, m, Attribute,
|
|
267
|
+
265, Blue Afro, m, Attribute,
|
|
268
|
+
266, Periwinkle Afro, m, Attribute,
|
|
269
|
+
267, Light Blue Afro, m, Attribute,
|
|
270
|
+
268, Light Green Afro, m, Attribute,
|
|
271
|
+
269, Green Afro, m, Attribute,
|
|
272
|
+
270, Teal Afro, m, Attribute,
|
|
273
|
+
271, Blonde Afro, m, Attribute,
|
|
274
|
+
272, Silver Afro, m, Attribute,
|
|
275
|
+
273, White Afro, m, Attribute,
|
|
276
|
+
274, Brown Afro, f, Attribute,
|
|
277
|
+
275, Dark Red Afro, f, Attribute,
|
|
278
|
+
276, Orange Afro, f, Attribute,
|
|
279
|
+
277, Red Afro, f, Attribute,
|
|
280
|
+
278, Pink Afro, f, Attribute,
|
|
281
|
+
279, Purple Afro, f, Attribute,
|
|
282
|
+
280, Blue Afro, f, Attribute,
|
|
283
|
+
281, Periwinkle Afro, f, Attribute,
|
|
284
|
+
282, Light Blue Afro, f, Attribute,
|
|
285
|
+
283, Light Green Afro, f, Attribute,
|
|
286
|
+
284, Green Afro, f, Attribute,
|
|
287
|
+
285, Teal Afro, f, Attribute,
|
|
288
|
+
286, Blonde Afro, f, Attribute,
|
|
289
|
+
287, Silver Afro, f, Attribute,
|
|
290
|
+
288, White Afro, f, Attribute,
|
|
291
|
+
289, Big Hair Black, m, Attribute,
|
|
292
|
+
290, Big Hair Black, f, Attribute,
|
|
293
|
+
291, Big Hair Brown, m, Attribute,
|
|
294
|
+
292, Big Hair Dark Red, m, Attribute,
|
|
295
|
+
293, Big Hair Orange, m, Attribute,
|
|
296
|
+
294, Big Hair Red, m, Attribute,
|
|
297
|
+
295, Big Hair Pink, m, Attribute,
|
|
298
|
+
296, Big Hair Purple, m, Attribute,
|
|
299
|
+
297, Big Hair Blue, m, Attribute,
|
|
300
|
+
298, Big Hair Periwinkle, m, Attribute,
|
|
301
|
+
299, Big Hair Light Blue, m, Attribute,
|
|
302
|
+
300, Big Hair Light Green, m, Attribute,
|
|
303
|
+
301, Big Hair Green, m, Attribute,
|
|
304
|
+
302, Big Hair Teal, m, Attribute,
|
|
305
|
+
303, Big Hair Blonde, m, Attribute,
|
|
306
|
+
304, Big Hair Silver, m, Attribute,
|
|
307
|
+
305, Big Hair White, m, Attribute,
|
|
308
|
+
306, Big Hair Brown, f, Attribute,
|
|
309
|
+
307, Big Hair Dark Red, f, Attribute,
|
|
310
|
+
308, Big Hair Orange, f, Attribute,
|
|
311
|
+
309, Big Hair Red, f, Attribute,
|
|
312
|
+
310, Big Hair Pink, f, Attribute,
|
|
313
|
+
311, Big Hair Purple, f, Attribute,
|
|
314
|
+
312, Big Hair Blue, f, Attribute,
|
|
315
|
+
313, Big Hair Periwinkle, f, Attribute,
|
|
316
|
+
314, Big Hair Light Blue, f, Attribute,
|
|
317
|
+
315, Big Hair Light Green, f, Attribute,
|
|
318
|
+
316, Big Hair Green, f, Attribute,
|
|
319
|
+
317, Big Hair Teal, f, Attribute,
|
|
320
|
+
318, Big Hair Blonde, f, Attribute,
|
|
321
|
+
319, Big Hair Silver, f, Attribute,
|
|
322
|
+
320, Big Hair White, f, Attribute,
|
|
323
|
+
321, Black Bob, f, Attribute,
|
|
324
|
+
322, Brown Bob, f, Attribute,
|
|
325
|
+
323, Dark Red Bob, f, Attribute,
|
|
326
|
+
324, Orange Bob, f, Attribute,
|
|
327
|
+
325, Red Bob, f, Attribute,
|
|
328
|
+
326, Pink Bob, f, Attribute,
|
|
329
|
+
327, Purple Bob, f, Attribute,
|
|
330
|
+
328, Blue Bob, f, Attribute,
|
|
331
|
+
329, Periwinkle Bob, f, Attribute,
|
|
332
|
+
330, Light Blue Bob, f, Attribute,
|
|
333
|
+
331, Light Green Bob, f, Attribute,
|
|
334
|
+
332, Green Bob, f, Attribute,
|
|
335
|
+
333, Teal Bob, f, Attribute,
|
|
336
|
+
334, Blonde Bob, f, Attribute,
|
|
337
|
+
335, Silver Bob, f, Attribute,
|
|
338
|
+
336, White Bob, f, Attribute,
|
|
339
|
+
337, Black Buzz Cut, m, Attribute,
|
|
340
|
+
338, Black Buzz Cut, f, Attribute,
|
|
341
|
+
339, Brown Buzz Cut, m, Attribute,
|
|
342
|
+
340, Dark Red Buzz Cut, m, Attribute,
|
|
343
|
+
341, Orange Buzz Cut, m, Attribute,
|
|
344
|
+
342, Red Buzz Cut, m, Attribute,
|
|
345
|
+
343, Pink Buzz Cut, m, Attribute,
|
|
346
|
+
344, Purple Buzz Cut, m, Attribute,
|
|
347
|
+
345, Blue Buzz Cut, m, Attribute,
|
|
348
|
+
346, Periwinkle Buzz Cut, m, Attribute,
|
|
349
|
+
347, Light Blue Buzz Cut, m, Attribute,
|
|
350
|
+
348, Light Green Buzz Cut, m, Attribute,
|
|
351
|
+
349, Green Buzz Cut, m, Attribute,
|
|
352
|
+
350, Teal Buzz Cut, m, Attribute,
|
|
353
|
+
351, Blonde Buzz Cut, m, Attribute,
|
|
354
|
+
352, Silver Buzz Cut, m, Attribute,
|
|
355
|
+
353, White Buzz Cut, m, Attribute,
|
|
356
|
+
354, Brown Buzz Cut, f, Attribute,
|
|
357
|
+
355, Dark Red Buzz Cut, f, Attribute,
|
|
358
|
+
356, Orange Buzz Cut, f, Attribute,
|
|
359
|
+
357, Red Buzz Cut, f, Attribute,
|
|
360
|
+
358, Pink Buzz Cut, f, Attribute,
|
|
361
|
+
359, Purple Buzz Cut, f, Attribute,
|
|
362
|
+
360, Blue Buzz Cut, f, Attribute,
|
|
363
|
+
361, Periwinkle Buzz Cut, f, Attribute,
|
|
364
|
+
362, Light Blue Buzz Cut, f, Attribute,
|
|
365
|
+
363, Light Green Buzz Cut, f, Attribute,
|
|
366
|
+
364, Green Buzz Cut, f, Attribute,
|
|
367
|
+
365, Teal Buzz Cut, f, Attribute,
|
|
368
|
+
366, Blonde Buzz Cut, f, Attribute,
|
|
369
|
+
367, Silver Buzz Cut, f, Attribute,
|
|
370
|
+
368, White Buzz Cut, f, Attribute,
|
|
371
|
+
369, Clown Hair Black, m, Attribute,
|
|
372
|
+
370, Clown Hair Black, f, Attribute,
|
|
373
|
+
371, Clown Hair Brown, m, Attribute,
|
|
374
|
+
372, Clown Hair Dark Red, m, Attribute,
|
|
375
|
+
373, Clown Hair Orange, m, Attribute,
|
|
376
|
+
374, Clown Hair Red, m, Attribute,
|
|
377
|
+
375, Clown Hair Pink, m, Attribute,
|
|
378
|
+
376, Clown Hair Purple, m, Attribute,
|
|
379
|
+
377, Clown Hair Blue, m, Attribute,
|
|
380
|
+
378, Clown Hair Periwinkle, m, Attribute,
|
|
381
|
+
379, Clown Hair Light Blue, m, Attribute,
|
|
382
|
+
380, Clown Hair Light Green, m, Attribute,
|
|
383
|
+
381, Clown Hair Green, m, Attribute,
|
|
384
|
+
382, Clown Hair Teal, m, Attribute,
|
|
385
|
+
383, Clown Hair Blonde, m, Attribute,
|
|
386
|
+
384, Clown Hair Silver, m, Attribute,
|
|
387
|
+
385, Clown Hair White, m, Attribute,
|
|
388
|
+
386, Clown Hair Brown, f, Attribute,
|
|
389
|
+
387, Clown Hair Dark Red, f, Attribute,
|
|
390
|
+
388, Clown Hair Orange, f, Attribute,
|
|
391
|
+
389, Clown Hair Red, f, Attribute,
|
|
392
|
+
390, Clown Hair Pink, f, Attribute,
|
|
393
|
+
391, Clown Hair Purple, f, Attribute,
|
|
394
|
+
392, Clown Hair Blue, f, Attribute,
|
|
395
|
+
393, Clown Hair Periwinkle, f, Attribute,
|
|
396
|
+
394, Clown Hair Light Blue, f, Attribute,
|
|
397
|
+
395, Clown Hair Light Green, f, Attribute,
|
|
398
|
+
396, Clown Hair Green, f, Attribute,
|
|
399
|
+
397, Clown Hair Teal, f, Attribute,
|
|
400
|
+
398, Clown Hair Blonde, f, Attribute,
|
|
401
|
+
399, Clown Hair Silver, f, Attribute,
|
|
402
|
+
400, Clown Hair White, f, Attribute,
|
data/config/spritesheet.png
CHANGED
|
Binary file
|
|
@@ -5,17 +5,19 @@ module Cryptopunks
|
|
|
5
5
|
### todo/fix:
|
|
6
6
|
## move into Punks::Metadata or such
|
|
7
7
|
class Sprite
|
|
8
|
-
attr_reader :id, :name, :type, :gender
|
|
8
|
+
attr_reader :id, :name, :type, :gender, :more_names
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def initialize( id:,
|
|
12
12
|
name:,
|
|
13
13
|
type:,
|
|
14
|
-
gender
|
|
15
|
-
|
|
16
|
-
@
|
|
17
|
-
@
|
|
18
|
-
@
|
|
14
|
+
gender:,
|
|
15
|
+
more_names: [] )
|
|
16
|
+
@id = id # zero-based index eg. 0,1,2,3, etc.
|
|
17
|
+
@name = name
|
|
18
|
+
@type = type
|
|
19
|
+
@gender = gender
|
|
20
|
+
@more_names = more_names
|
|
19
21
|
end
|
|
20
22
|
|
|
21
23
|
## todo/check - find better names for type attribute/archetypes?
|
|
@@ -44,22 +46,32 @@ module Cryptopunks
|
|
|
44
46
|
str.downcase[0]
|
|
45
47
|
end
|
|
46
48
|
|
|
49
|
+
def normalize_name( str )
|
|
50
|
+
## normalize spaces in more names
|
|
51
|
+
str.strip.gsub( /[ ]{2,}/, ' ' )
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
|
|
47
55
|
|
|
48
56
|
def build_attributes_by_name( recs )
|
|
49
57
|
h = {}
|
|
50
58
|
recs.each_with_index do |rec|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
names = [rec.name] + rec.more_names
|
|
60
|
+
names.each do |name|
|
|
61
|
+
|
|
62
|
+
key = normalize_key( name )
|
|
63
|
+
key << "_(#{rec.gender})" if rec.attribute?
|
|
64
|
+
|
|
65
|
+
if h[ key ]
|
|
66
|
+
puts "!!! ERROR - attribute name is not unique:"
|
|
67
|
+
pp rec
|
|
68
|
+
puts "duplicate:"
|
|
69
|
+
pp h[key]
|
|
70
|
+
exit 1
|
|
71
|
+
end
|
|
72
|
+
h[ key ] = rec
|
|
60
73
|
end
|
|
61
|
-
|
|
62
|
-
end
|
|
74
|
+
end
|
|
63
75
|
## pp h
|
|
64
76
|
h
|
|
65
77
|
end
|
|
@@ -83,16 +95,20 @@ module Cryptopunks
|
|
|
83
95
|
|
|
84
96
|
## convert to "wrapped / immutable" kind-of struct
|
|
85
97
|
recs = recs.map do |rec|
|
|
86
|
-
id
|
|
87
|
-
name
|
|
88
|
-
gender
|
|
89
|
-
type
|
|
98
|
+
id = rec['id'].to_i( 10 )
|
|
99
|
+
name = normalize_name( rec['name'] )
|
|
100
|
+
gender = normalize_gender( rec['gender'] )
|
|
101
|
+
type = rec['type']
|
|
102
|
+
|
|
103
|
+
more_names = (rec['more_names'] || '').split( '|' )
|
|
104
|
+
more_names = more_names.map {|str| normalize_name( str ) }
|
|
90
105
|
|
|
91
106
|
Metadata::Sprite.new(
|
|
92
|
-
id:
|
|
93
|
-
name:
|
|
94
|
-
type:
|
|
95
|
-
gender:
|
|
107
|
+
id: id,
|
|
108
|
+
name: name,
|
|
109
|
+
type: type,
|
|
110
|
+
gender: gender,
|
|
111
|
+
more_names: more_names )
|
|
96
112
|
end
|
|
97
113
|
recs
|
|
98
114
|
end # method build_recs
|
data/lib/cryptopunks/tool.rb
CHANGED
|
@@ -246,14 +246,25 @@ end
|
|
|
246
246
|
|
|
247
247
|
|
|
248
248
|
on_error do |e|
|
|
249
|
-
puts
|
|
250
|
-
puts "*** error: #{e.message}"
|
|
251
249
|
|
|
252
250
|
if opts.verbose?
|
|
253
251
|
puts e.backtrace
|
|
254
252
|
end
|
|
255
253
|
|
|
256
|
-
|
|
254
|
+
if e.is_a?( SystemExit )
|
|
255
|
+
puts
|
|
256
|
+
puts "*** error: system exit with status code ( #{e.status} )"
|
|
257
|
+
exit( e.status ) ## try exit again to make sure error code gets passed along!!!
|
|
258
|
+
else
|
|
259
|
+
puts
|
|
260
|
+
puts "*** error: #{e.message}"
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
## note: was false # skip default error handling
|
|
264
|
+
|
|
265
|
+
## note: try true - false WILL SWALLOW exit codes and such
|
|
266
|
+
## - looks like it's still returning 0 (e.g. on unknown option or such)!!!!
|
|
267
|
+
true
|
|
257
268
|
end
|
|
258
269
|
|
|
259
270
|
|
data/lib/cryptopunks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cryptopunks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gerald Bauer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-10-
|
|
11
|
+
date: 2021-10-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pixelart
|