Commit graph

2720 commits

Author SHA1 Message Date
Eugene Sandulenko
4873c8d994
DEVTOOLS: CREATE_ENINGE: sprintf -> snprintf 2022-11-20 15:04:44 +01:00
Eugene Sandulenko
c687f86f2c
DEVTOOLS: CREATE_ENGINE: Various small tweaks in generated engine 2022-11-20 15:01:42 +01:00
elasota
6d0dbafb79 DEVTOOLS: COMPANION: Add --forcemacbinary switch. Reduce memory usage by 2/3. Fix missing encoding. 2022-11-18 16:49:46 +01:00
Donovan Watteau
78fc47552d CREATE_PROJECT: Disable Xcode GCC_WARN_64_TO_32_BIT_CONVERSION on macOS too
This is an equivalent to -Wno-shorten-64-to-32 which we already use in
the regular configure build system, and for iOS Xcode builds.
2022-11-17 00:42:57 +02:00
Cameron Cawley
ed9c052d57 COMMON: Split Lua into a separate module 2022-11-16 22:45:26 +02:00
Hubert Maier
80ad9f1890 JANITORIAL: DEVTOOLS: Note Spelling Mistakes
independant -> independent
jewelery -> jewellery
2022-11-15 22:52:43 +02:00
Orgad Shaneh
6ae498ac36 SCUMM: Add detection entry for Hebrew fan translation v1.1 2022-11-10 22:23:21 +02:00
neuromancer
8d3d10b38c FREESCAPE: re-added missing sound and regenerated freescape.dat 2022-11-07 11:30:53 +01:00
neuromancer
640687a8d0
FREESCAPE: added devtools/create_freescape directory with a script and data to create freescape.dat 2022-11-06 22:00:38 +01:00
Hubert Maier
b82f3cc4a8 SUPERNOVA: Correct spelling mistakes
begining -> beginning
2022-11-01 17:09:25 +02:00
Le Philousophe
1f2c78adfe ALL: Make sure str.h is included when using String
Fix all cases working because str.h is included in util.h
2022-10-30 18:37:16 +01:00
Walter Agazzi
d7fd36217d ACHIEVEMENTS: Add ExcavationHB and RnRND AGS games 2022-10-30 13:30:12 +01:00
Walter Agazzi
f04d7f6027 ACHIEVEMENTS: Generated description files 2022-10-30 13:30:11 +01:00
Hubert Maier
333d5a180f
DEVTOOLS: Correct spelling mistake
accomodate -> accommodate
2022-10-27 15:56:05 +02:00
Hubert Maier
b7921fa617
DEVTOOLS: Correct spelling mistke
embarass -> embarrass
2022-10-27 15:56:05 +02:00
Orgad Shaneh
eef62b8b41 CREATE_PROJECT: Fix condition for warning suppression
It should not include e.g. GCC 11.2.
2022-10-27 10:19:17 +03:00
Orgad Shaneh
246a062950 CONFIGURE/CREATE_PROJECT: Silence address-of-packed-member GCC 12 warning
It appears a lot, and these casts are intentional and look safe.

Example:
../scummvm/engines/glk/alan3/actor.cpp: In function 'Glk::Alan3::ScriptEntry* Glk::Alan3::scriptOf(int)':
../scummvm/engines/glk/alan3/lists.h:35:52: warning: converting a packed 'Glk::Alan3::ScriptEntry' pointer (alignment 1) to a 'Glk::Alan3::Aword' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
   35 | #define isEndOfArray(x) implementationOfIsEndOfList((Aword *) (x))
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../scummvm/engines/glk/alan3/actor.cpp:38:84: note: in expansion of macro 'isEndOfArray'
   38 |                 for (scr = (ScriptEntry *) pointerTo(header->scriptTableAddress); !isEndOfArray(scr); scr++)
      |                                                                                    ^~~~~~~~~~~~
In file included from ../scummvm/engines/glk/alan3/actor.h:25,
                 from ../scummvm/engines/glk/alan3/actor.cpp:22:
../scummvm/engines/glk/alan3/acode.h:453:8: note: defined here
  453 | struct ScriptEntry {    /* SCRIPT TABLE */
      |        ^~~~~~~~~~~
2022-10-27 02:26:02 +03:00
Donovan Watteau
08645a3d9f SCUMM: Add detection for German Monkey2 Ultimate Talkie (Trac#13131) 2022-10-15 10:47:18 +02:00
Donovan Watteau
1cc9c40109 SCUMM: Add detection for the French 4-disk VGA floppy version of MI1
Unlike the 8-disk version, this one has proper MT-32 resources (see
commit 655afcdf55 for more context).

Reported by a French player owning this (rare?) release.
2022-10-05 21:15:19 +02:00
eientei
31d7c3708b SCUMM: Add detection for Monkey Island (ES, EGA, 4 disk), Monkey Island (ES, VGA, 8 disk), Last Crusade (ES, v1.4), French fan translation of Last Crusade (VGA, atp-fr.com v0.9a)
SCUMM: Add sizes to multiple DOS entries
2022-10-05 12:58:21 +02:00
BLooperZ
180ba42020 SCUMM: HE: opt out BiDi for official translations 2022-09-29 20:46:55 +02:00
Donovan Watteau
655afcdf55 SCUMM: Disable MT-32 support for MONKEY1-VGA-FR
The French VGA floppy version of Monkey 1 (and, apparently, this version
alone) is missing the usual 'roland' room, and the index references an
invalid DISK00.LEC file, although the game scripts didn't disable the
MT-32 feature itself. This causes a fatal error when trying to run this
game with MT-32 support, even with the original interpreter (while it
does work with the English and Spanish VGA floppy versions).

We can't do much about this, since many resources appear to be missing,
but we can detect this version and warn the user before going back to
Adlib mode. Otherwise, some users can be confused by the fatal error
about the DISK00.LEC file.
2022-09-29 17:07:30 +03:00
Donovan Watteau
a1499c4844 SCUMM: Detect Polish fan translations for MI1/MI2
Made by the SCUMMPL team.
2022-09-16 21:58:13 +02:00
Donovan Watteau
bf5e489567 JANITORIAL: Fix "to to" and "if if" typos in some comments 2022-09-11 17:45:25 +02:00
AndywinXp
222bb5c2fa SCUMM: DETECTION: Fix detection for MI2 non-interactive demo 2022-09-08 19:10:42 +02:00
eientei
eaac8fe7fe DEVTOOLS: COMPANION: Format using black 2022-08-29 22:10:23 +02:00
eientei
e2cb16d8d0 DEVTOOLS: COMPANION: Catch errors if filename can't be decoded as MacJapanese; Remove unused function 2022-08-29 22:10:23 +02:00
Donovan Watteau
cc28107847 JANITORIAL: SCUMM: Further simplify the small script example
Avoid mangling IFS and just use `read` with a `for` loop, as suggested
by lephilousophe.
2022-08-29 21:37:46 +02:00
Donovan Watteau
eb888fa847 JANITORIAL: SCUMM: Make the MD5/filesize script more portable
The included script relied on GNU flags; this should now work on most
POSIX shells.

Tested on macOS 12, OpenBSD 7.1, Debian 11.
2022-08-29 21:37:46 +02:00
D G Turner
db4cf7b968 DEVTOOLS: GLK: Fix GCC Compiler Warning From Symbol Conflict 2022-08-27 21:22:04 +01:00
Paweł Kołodziejski
37379daf72
DEVTOOLS: Silence compiler warnings 2022-08-27 15:08:38 +02:00
Orgad Shaneh
8136ab7406 SCUMM: Fix hash and description of Hebrew MI2 2022-08-15 20:27:46 +03:00
Orgad Shaneh
71ee10a8a9 SCUMM: Detect Hebrew fan translation for MI2 2022-08-15 10:10:51 +03:00
Matthew Duggan
8d0aa01b16 DEVTOOLS: Improve documentation for make_class.py 2022-08-14 11:00:03 +10:00
athrxx
eb6a769085 KYRA: (LOK/Mac) - fix talkie version
The talkie version was silently killed while we completed the support for the regular Mac version.

Also cleanup all the LOK static resources a bit (remove garbage offsets).
2022-08-13 16:51:22 +02:00
Matthew Duggan
72bc43d8f2 DEVTOOLS: Add a helper script for adding a class to an engine
When working on new parts of an engine, the boilerplate needed to add a new
class can be a bit of a chore.  Created a simple script to save some work.
2022-08-12 15:52:28 +10:00
Matthew Duggan
4ac44a8c12 DEVTOOLS: Mark engine template functions as override 2022-08-12 15:49:50 +10:00
Lars Sundström
4133cf4b9f IOS7: Add GameController capability
Add the GameController framework to the project and enable support for
controller user interaction in the Info.plist file. This allows for
Game Controller compatible devices to notify the application when
connected.

Add GameController framework to configure and ports.mk if not using
Xcode to build the target.
2022-08-08 21:08:56 +01:00
Walter Agazzi
0c7eb8dbcf ACHIEVEMENTS: Generated description files 2022-08-07 22:50:59 +03:00
Walter Agazzi
3845c3c15d ACHIEVEMENTS: Add values for new AGS steam/gog games 2022-08-07 22:50:59 +03:00
Donovan Watteau
b571215da8 SCUMM: Fix/unify eriktorbjorn's name in MD5 table
Was truncated in commit 3576556621.
With approval on Discord.

(This change doesn't impact engines/scumm/scumm-md5.h)
2022-07-29 20:14:36 +02:00
Donovan Watteau
3892502b04 SCUMM: Further file sizes for the MD5 table, from eientei95 2022-07-29 13:09:10 +02:00
Donovan Watteau
af74960d11 SCUMM: Add some file sizes and version strings in MD5 table
From my own media (old UbiSoft CDs, Limited Run Games sets, GOG...).
2022-07-28 21:10:30 +03:00
matthewdippel
4f213d7a98 SCI: add typing to scifx_to_cpp script
Adding type hints to the various helper methods in this script
to make it easier to read and understand how the scifx parsing is
done.
2022-07-24 12:01:27 +03:00
matthewdippel
df404e3b8d SCI: whitespace changes in output of scifx_to_cpp
Several whitespace changes to the output in order to make the resulting
cpp file consistent with how cpp is formatted in the repo.

- Properly align the opening of the first comment block.
- Properly align the closing brace of the Sci namespace scope.
2022-07-24 12:01:27 +03:00
matthewdippel
5c8781a369 SCI: remove global variables in scifx_to_cpp
Methods in scifx_to_cpp.py refer to arrays outside of their scope.
Refactored them to take them as parameters instead to improve
readability.

Tested by calling on the .scifx files in the same directory as below.
Output is unchanged.

```
python .\scifx_to_cpp.py .\lsl2.scifx
```
2022-07-24 12:01:27 +03:00
matthewdippel
125258caf1 SCI: create main method for scifx_to_cpp script
The scifx_to_cpp.py script has methods intermingled with method calls
that execute when you call the script. Moving the method calls under
a "__main__" header to improve readability.

Tested by calling the script like shown below on the .scifx files in
the same directory. The output is the name.

```
python .\scifx_to_cpp.py .\lsl2.scifx
```
2022-07-24 12:01:27 +03:00
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Lothar Serra Mari
dc049edd89 DEVTOOLS: Calculate SHA-256 checksums during tarball creation 2022-07-17 12:21:57 +02:00
Eugene Sandulenko
aabc3e00fe
DEVTOOLS: Sync macgui.dat contents 2022-07-16 17:43:35 +02:00