[Scummvm-git-logs] scummvm master -> 9bebbf211652323d2d080349eb56a8a630c2849e
sev-
noreply at scummvm.org
Sun Feb 5 22:09:16 UTC 2023
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3044a8dd0b DEVTOOLS: COMPANION: Fix python error for createmacfonts
9bebbf2116 DEVTOOLS: Updates to README file
Commit: 3044a8dd0bd9c5b9e5a966b6273115c46b121b9a
https://github.com/scummvm/scummvm/commit/3044a8dd0bd9c5b9e5a966b6273115c46b121b9a
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-02-05T23:09:11+01:00
Commit Message:
DEVTOOLS: COMPANION: Fix python error for createmacfonts
Error was in line 686: NameError: name 'io' is not defined. Did you mean: 'id'?
Changed paths:
devtools/dumper-companion.py
diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index 22d06964d50..4a573eac2c3 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -683,7 +683,7 @@ def create_macfonts(args: argparse.Namespace) -> int:
) as fontzip:
for hpath, obj in vol.iter_paths():
print(f"Compressing {hpath[-1]}...")
- with io.BytesIO() as fonts_bytesio:
+ with BytesIO() as fonts_bytesio:
file_to_macbin(fonts_bytesio, obj, hpath[-1].encode("mac_roman"))
fontzip.writestr(f"{hpath[-1]}.bin", fonts_bytesio.getvalue())
Commit: 9bebbf211652323d2d080349eb56a8a630c2849e
https://github.com/scummvm/scummvm/commit/9bebbf211652323d2d080349eb56a8a630c2849e
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-02-05T23:09:11+01:00
Commit Message:
DEVTOOLS: Updates to README file
Fix deprecated url for dumper companion as well as some minor edits
Changed paths:
devtools/README
diff --git a/devtools/README b/devtools/README
index 05a1093f1cd..7e6195923ec 100644
--- a/devtools/README
+++ b/devtools/README
@@ -26,21 +26,23 @@ convbdf
Hint from SumthinWicked: If you use ttf2bdf, it'll convert all glyphs
to bitmaps, but ScummVM only needs some of them. So you may want to
do your conversion like this:
+
ttf2bdf -p SIZE -l "32_160" -o FONT.bdf FONT.ttf
+
where SIZE is replaced by the desired font height.
-create_classicmacfonts.sh, create_japanesemacfonts.sh
+create_japanesemacfonts.sh
_____________________________________________________
- Scripts for extracting fonts from Classic MacOS images freely
- available from apple.com. Used in Director, MacVenture, SCUMM
- and WAGE engines.
+ Script for extracting fonts from Classic Japanese MacOS images
+ freely available from apple.com (used in Director, MacVenture,
+ SCUMM and WAGE engines).
create_cryo
-----------
Creates cryo.dat file which contains a lot of hardcoded tables used
- by the Cryo engine..
+ by the Cryo engine.
create_drascula (sev)
@@ -55,8 +57,8 @@ create_drascula (sev)
create_encodings (phcoder)
--------------
- Transforms CJK tables from unicode consortium format to the format
- used by ScummVM
+ Transforms CJK tables from Unicode consortium format to the format
+ used by ScummVM.
create_hugo (Strangerke)
@@ -141,7 +143,7 @@ dist-scummvm.sh
Note #2: This assumes that our naming conventions for release tags
are being followed. I.e. the tag must be named "release-0-7-1" in
the above example. You can, however, specify an alternate tag as the
- fourth param.
+ fourth parameter.
Note #3: Since SF.net anon CVS tends to lag behind developer CVS, if
you just tagged CVS, anon CVS may not yet have this. So if you are
@@ -164,8 +166,10 @@ docker.sh
dumper_companion.py
___________________
Tool for dumping HFS/HFS+ volumes and game files with non-ASCII
- characters in names. Full documentation could be found at
- https://wiki.scummvm.org/index.php?title=HOWTO-Dump_Macintosh_Media
+ characters in names, as well as extracting fonts from Classic
+ MacOS images freely available from apple.com (used in Director,
+ MacVenture, SCUMM and WAGE engines). Full documentation can be found at:
+ https://docs.scummvm.org/en/latest/use_scummvm/mac_game_files.html
gog_gameid.py, steam_gameid.py
@@ -176,18 +180,20 @@ ______________________________
make_class.py
-------------------
- Tool that adds all the boilerplate for a new C++ class inside an engine
- Examples:
-
- $ make_class.py scumm . LeChuck
- Make new class `LeChuck` in the scumm engine root (engines/scumm/).
- Creates boilerplate class Scumm::LeChuck, in le_chuck.cpp and le_chuck.h
- (files are lower-cased, upper-case letters from class name get '_' added).
- Adds corresponding .o file to module.mk list.
-
- $ make_class.py -n BladeRunner bladerunner ui Scores
- Make a new class BladeRunner::Scores in the engines/bladerunner/ui/
- directory.
+ Tool that adds all the boilerplate for a new C++ class inside an engine.
+ Examples:
+
+ make_class.py scumm . LeChuck
+
+ This will make a new class `LeChuck` under scumm engine root (engines/scumm/).
+ Creates boilerplate class Scumm::LeChuck, in le_chuck.cpp and le_chuck.h
+ (files are lower-cased, upper-case letters from class name get '_' added).
+ Adds corresponding .o file to module.mk list.
+
+ make_class.py -n BladeRunner bladerunner ui Scores
+
+ This will make a new class BladeRunner::Scores in the engines/bladerunner/ui/
+ directory.
make-scumm-fontdata (eriktorbjorn)
More information about the Scummvm-git-logs
mailing list