Skip to content

Commit 0eef2a5

Browse files
committed
added README, set version number
1 parent 7f4e44c commit 0eef2a5

File tree

3 files changed

+41
-33
lines changed

3 files changed

+41
-33
lines changed

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,35 +47,17 @@ void test()
4747
Per default it listens on port 6789 on localhost and accepts "raw" TCP connections.
4848

4949
`dmdserver` accepts these command line options:
50-
* -c --config
51-
* Config file
52-
* optional
53-
* default is no config file
54-
* -o --alt-color-path
55-
* "Fixed alt color path, overwriting paths transmitted by DMDUpdates
56-
* optional
57-
* -a --addr
58-
* IP address or host name
59-
* optional
60-
* default is `localhost`
61-
* -p --port
62-
* Port
63-
* optional
64-
* default is `6789`
65-
* -w --wait-for-displays
66-
* Don't terminate if no displays are connected
67-
* optional
68-
* default is to terminate the server process if no displays could be found
69-
* -l --logging
70-
* Enable logging to stderr
71-
* optional
72-
* default is no logging
73-
* -v --verbose
74-
* Enables verbose logging, includes normal logging
75-
* optional
76-
* default is no logging
77-
* -h --help
78-
* Show help
50+
```
51+
-c, --config=VALUE Config file (optional, default is no config file)
52+
-o, --alt-color-path=VALUE Fixed alt color path, overwriting paths transmitted by DMDUpdates (optional)
53+
-u, --pup-videos-path=VALUE Fixed PupVideos path, overwriting paths transmitted by DMDUpdates (optional)
54+
-a, --addr=VALUE IP address or host name (optional, default is 'localhost')
55+
-p, --port=VALUE Port (optional, default is '6789')
56+
-w, --wait-for-displays Don't terminate if no displays are connected (optional, default is to terminate the server process if no displays could be found)
57+
-l, --logging Enable logging to stderr (optional, default is no logging)
58+
-v, --verbose-logging Enables verbose logging, includes normal logging (optional, default is no logging)
59+
-h, --help Show help
60+
```
7961

8062
`dmdserver` expects two packages to render a DMD frame. The first one is a DmdStream header followed by the "data".
8163

@@ -209,7 +191,7 @@ SaveSettings = 0
209191
# Set to 1 if ZeDMD-WiFi is available.
210192
Enabled = 0
211193
# Enter your ZeDMD WiFi IP address here
212-
WiFiAddr =
194+
WiFiAddr =
213195
214196
[Pixelcade]
215197
# Set to 1 if Pixelcade is attached
@@ -218,6 +200,24 @@ Enabled = 1
218200
Device =
219201
```
220202

203+
## Serum PUP Scenes Generator
204+
205+
Serum PUP Scenes are a new feature of libserum_concentrate.
206+
Such scenes base on a defined number of fake frames at a given frame rate.
207+
These frames can be added to the ROM's original frames or overlay some original frames.
208+
The purpose is to add new animations or to replace existing frames with smoother aniations.
209+
Therefore, a colorization other needs a set of scene frames that could be colorized in the colorization editor.
210+
The `dmdutil-generate-scenes` tool generates a dump of such scene frames according to the PUP Scenes specification CSV file.
211+
212+
`dmdutil-generate-scenes` accepts these command line options:
213+
```
214+
-c, --csv=VALUE PUP scenes CSV file to parse
215+
-o, --output=VALUE Output dump file to generate
216+
-d, --depth=VALUE Bit depth of the DMD frames (2 or 4) (optional, default is 2)
217+
-i, --id=VALUE PUP scene trigger ID to generate (optional, default is all scenes)
218+
-h, --help Show help
219+
```
220+
221221
## Building:
222222

223223
#### Windows (x64)

include/DMDUtil/DMDUtil.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22

3-
#define DMDUTIL_VERSION_MAJOR 0 // X Digits
4-
#define DMDUTIL_VERSION_MINOR 9 // Max 2 Digits
5-
#define DMDUTIL_VERSION_PATCH 3 // Max 2 Digits
3+
#define DMDUTIL_VERSION_MAJOR 0 // X Digits
4+
#define DMDUTIL_VERSION_MINOR 10 // Max 2 Digits
5+
#define DMDUTIL_VERSION_PATCH 0 // Max 2 Digits
66

77
#define _DMDUTIL_STR(x) #x
88
#define DMDUTIL_STR(x) _DMDUTIL_STR(x)

src/generateScenesDump.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ int main(int argc, char* argv[])
6262
}
6363
}
6464

65+
if (!opt_csv_file || !opt_output_file)
66+
{
67+
std::cerr << "Error: Missing required options\n";
68+
std::cerr << "Usage: " << argv[0] << " -c MY_PUP_SCENES.csv -o MY_DUMP_FILE.txt\n";
69+
cag_option_print(options, CAG_ARRAY_SIZE(options), stdout);
70+
return 1;
71+
}
72+
6573
Serum_Scene_SetDepth(opt_depth);
6674

6775
if (!Serum_Scene_ParseCSV(opt_csv_file))

0 commit comments

Comments
 (0)