Difference between revisions of "Summer of Code/GSoC Ideas 2024"

From ScummVM :: Wiki
Jump to navigation Jump to search
(→‎Porting qdEngine to ScummVM: Added link to the public repo)
(→‎Game Tasks: Whitespace fixes. Also fixed some typos)
Line 51: Line 51:
[[Director/Games|Many 90s-era adventure games]] were developed using the Macromedia (now Adobe) Director tool. We added so far support for Director 3 and Director 4, but there is much more work related to the specific Xtras, increasing compatibility and working on Director 5 support.
[[Director/Games|Many 90s-era adventure games]] were developed using the Macromedia (now Adobe) Director tool. We added so far support for Director 3 and Director 4, but there is much more work related to the specific Xtras, increasing compatibility and working on Director 5 support.


These days, due to the relatively high compatibility our approach is taking an interesting Director title, trying to play it and fix any issues along the way, thus making the process pretty fun. During playback, we often compare the titles and behaviours with the original.
These days, due to the relatively high compatibility our approach is taking an interesting Director title, trying to play it and fix any issues along the way, thus making the process pretty fun. During playback, we often compare the titles and behaviors with the original.


For this year, it would be great to have Total Distortion fully working and Meet MediaBand. The latter will require working with QuickTime playback code.
For this year, it would be great to have Total Distortion fully working and Meet MediaBand. The latter will require working with QuickTime playback code.
Line 63: Line 63:
* Size: 350 hours
* Size: 350 hours


Frictional Games has released full sources for their [https://en.wikipedia.org/wiki/Frictional_Games#HPL_Engine HPL2 engine] under GPLv3 license. In 2022 we added HPL1 engine and
Frictional Games has released full sources for their [https://en.wikipedia.org/wiki/Frictional_Games#HPL_Engine HPL2 engine] under GPLv3 license. In 2022 we added HPL1 engine and now we could consider adding HPL2. The size of the task is huge since the engines are 275k and 240k lines of code respectively, but we already have experience from working on Penumbra.  
now we could consider adding HPL2. The size of the task is huge since the engines are 275k and 240k lines od code respectively, but we already have experience from working on Penumbra.  


The purpose of this project is to port the HPL2 engine to ScummVM, with the goal of supporting ''Amnesia: The Dark Descent'' and ''Amnesia: A Machine for the Pig''.  
The purpose of this project is to port the HPL2 engine to ScummVM, with the goal of supporting ''Amnesia: The Dark Descent'' and ''Amnesia: A Machine for Pigs''.  




Line 88: Line 87:
* Size: 175 hours or 350 hours
* Size: 175 hours or 350 hours


ScummVM currently has a number of engines which are very close to completion. Many of them were parts of previous GSoCs. For them, we need a playthrough and slight bugfixing, or additional portability fixes.
ScummVM currently has a number of engines which are very close to completion. Many of them were parts of previous GSoCs. For them, we need a playthrough and slight bug fixing, or additional portability fixes.


Some of the engines are:
Some of the engines are:
Line 171: Line 170:


=== Add support for Edna & Harvey: The Breakout to ScummVM ===
=== Add support for Edna & Harvey: The Breakout to ScummVM ===
* Technical contacts: [[User:Sev|sev]]
* Technical contacts: [[User:Sev|sev]]
* Difficulty level: Medium/Hard
* Difficulty level: Medium/Hard
Line 187: Line 184:
* Size: 350 hours
* Size: 350 hours


Our project consists of re-implementations of classic games, and we have listed
Our project consists of re-implementations of classic games, and we have listed a number of potential new game engines that you could work on here on our ideas page. However, you may have a classic 2D Adventure game or Role Playing Game
a number of potential new game engines that you could work on here on our ideas
page. However, you may have a classic 2D Adventure game or Role Playing Game
(RPG) you are interested in yourself that is suitable for ScummVM that you
(RPG) you are interested in yourself that is suitable for ScummVM that you
would like to reverse engineer and re-implement. If so, great!
would like to reverse engineer and re-implement. If so, great!


Adding a completely new game engine is not easy, and you will have to convince
Adding a completely new game engine is not easy, and you will have to convince us that you are aware of the challenges involved, that the game you are interested in is feasible, and that you have the necessary skills. Preferably, you will already have done some preliminary investigation, into for example data file formats, disassembly, etc.
us that you are aware of the challenges involved, that the game you are
interested in is feasible, and that you have the necessary skills. Preferably,
you will already have done some preliminary investigation, into for example
data file formats, disassembly, etc.


Please come talk to us to see if we have a mentor who would be interested in
Please come talk to us to see if we have a mentor who would be interested in working with you on such a game. We'd be happy to help out.
working with you on such a game. We'd be happy to help out.


== Smaller Tasks ==
== Smaller Tasks ==

Revision as of 00:39, 15 March 2024

If you'd like to get involved in ScummVM, we'd love to help you get started!

We've had a lot of successful student projects as part of Google's Summer of Code in previous years -- we hope to inspire you to work with us and (hopefully) add your own success.

We often get asks by participants with no experience with ScummVM whether they have the necessary skills to participate with us. The idea of GSoC is to introduce students to open source development, so we are not expecting you to have experience with ScummVM. You will have time during the application and community bonding periods to familiarize yourself with the project. The technical skills required to work with us varies from task to task. For any work on ScummVM, you'll probably need to already be comfortable with a basic level of C++. Some of the tasks might need more specialized knowledge (working on a 3D game engine may need you to understand some OpenGL and 3D math, and some engine tasks may require some assembly or reverse engineering knowledge); we give our thoughts about this alongside each suggested task, below.

Most importantly, we'd like you to join our community. There are many previous GSoC participants who are still involved in our project, and whether or not you participate as part of Summer of Code, we'd love for you to get involved too.

You should come to our Discord Server and introduce yourself in the #scummvm-gsoc channel! We're friendly, and it's often the easiest way to ask questions about the tasks and the code in general. The channel is the main form of everyday communication for the project, and there will almost always be developers there who can discuss your project ideas, answer questions and help out.

You can find more information about what we expect from you before you apply at GSoC Application.

Introduction

We have a list of potential tasks further down on this page, but before you look at them, perhaps you'd like to take a look at some of the successful projects from previous years! We encourage all of our students to maintain a blog during their summer work, which is a nice way to get some sense of what they accomplished.

One popular type of task is to improve our support for the games you love, whether this means a new game engine, or helping us to perfect an existing one.

Sometimes source code is available - in recent summers, students integrated code supporting games such as Sfinx (blog), The Prince and the Coward (blog) and Avalanche (blog) into ScummVM. In fact, our support for the Wintermute engine was not only started by a GSoC student (blog), who integrated the code into our tree, but also drastically improved by another student a year later (blog).

GSOC EMI.png GSOC zvision.png GSOC EMI asm.png

A more challenging (but hopefully rewarding) idea is to start (or continue) reverse engineering a game where no source is available. Two good examples are the pair of students who drastically improved support for Escape from Monkey Island (blog, blog), and the work on improving Operation Stealth (blog). Another option is to work on merging (and improving) someone else's reverse engineering work, such as was done with the ZVision engine (blog).

If you'd prefer to improve ScummVM more directly, there are even more options available there; in the past, students have (to give some examples) improved our OpenGL support, added a testing framework (blog), improved our scaler code (blog), written a new GUI framework, added loadable modules for embedded platforms (blog), rearchitected our keyboard input code (blog) and added support for high-colour (16bpp and above) graphics. It's difficult for us to imagine ScummVM as it was before some of these projects, you can make a huge difference!

Tasks

General contacts: Our Discord server our mailing list, or contact sev, Arnaud Boutonné

The ideas here are meant to be just that - ideas. We hope they help inspire your proposals, but you should also consider suggesting your own completely new project ideas. Pick something you really want to see improved/fixed, and come and talk to us about it!

If you're looking for more inspiration for ideas, beware of our TODO (and the other TODO lists linked from there) and our OpenTasks pages. Many of the tasks listed there might be incomplete or outdated, or too difficult for a new developer. The best thing to do is to come and talk to us!

Game Tasks

Technical contacts: Our Discord channel, our mailing list, or contact sev, John Willis, Arnaud Boutonné, Filippos Karapetis,

If you already have reverse engineering experience, you could consider working on one of the external in-development game engines, or even on support for a new game. However, doing this kind of work is very difficult and time-consuming - you would have to convince us that you have the necessary skills to actually be sufficiently productive, probably by demonstrating some actual progress first.

If you don't feel quite up to that level of challenge, we have lots of other suggestions:

Macromedia Director

  • Technical contacts: sev
  • Difficulty level: Medium. You'll need a reasonable level of programming experience, and probably some Director games.
  • Size: 175 or 350 hours

Many 90s-era adventure games were developed using the Macromedia (now Adobe) Director tool. We added so far support for Director 3 and Director 4, but there is much more work related to the specific Xtras, increasing compatibility and working on Director 5 support.

These days, due to the relatively high compatibility our approach is taking an interesting Director title, trying to play it and fix any issues along the way, thus making the process pretty fun. During playback, we often compare the titles and behaviors with the original.

For this year, it would be great to have Total Distortion fully working and Meet MediaBand. The latter will require working with QuickTime playback code.

Often we implement stubs for XObjects which are extensions for Director functionality.

Amnesia: The Dark Descent and A Machine for the Pigs (HPL2 engine)

  • Technical contacts aquadran or sev
  • Difficulty level: Hard. OpenGL knowledge is required
  • Size: 350 hours

Frictional Games has released full sources for their HPL2 engine under GPLv3 license. In 2022 we added HPL1 engine and now we could consider adding HPL2. The size of the task is huge since the engines are 275k and 240k lines of code respectively, but we already have experience from working on Penumbra.

The purpose of this project is to port the HPL2 engine to ScummVM, with the goal of supporting Amnesia: The Dark Descent and Amnesia: A Machine for Pigs.


YAGA engine

  • Technical contacts: sev or strangerke
  • Difficulty level: Medium.
  • Size: 175 hours

This engine was used for two later Humongous Entertainment games, Pajama Sam: Life is Rough When You Lose Your Stuff and Putt-Putt: Pep's Birthday Surprise. The engine is basically an extension of Python 2.2. There exists an almost complete reimplementation by cyx on GitHub (which we have permission to use) that can be used as a base, and we also have the complete source code for the original game.

The task is relatively straightforward, the only difficulty with it is adding Python as an external dependency, but a mentor is there to help. Implementing the missing "Lip Sync" feature will be the main part of this task.

The goal is to bring cyx's code to ScummVM and use the original code as a reference later.


Finishing implementation of incomplete engines

  • Technical contacts: sev or strangerke
  • Difficulty level: Medium or High
  • Size: 175 hours or 350 hours

ScummVM currently has a number of engines which are very close to completion. Many of them were parts of previous GSoCs. For them, we need a playthrough and slight bug fixing, or additional portability fixes.

Some of the engines are:

  • MacVenture, based on a JavaScript reimplementation. Very close to completion, playthrough is missing and rechecking ties to our Mac GUI emulation.
  • Avalanche, some engine parts like Outro are not finished. Complete list is here
  • DM
  • Comprehend, finishing support for Transylvania (V2), and adding support for the 16-color Apple IIgs versions

Porting qdEngine to ScummVM

  • Technical contacts: sev
  • Difficulty level: Medium or High
  • Size: 350 hours

K-D Labs, a Russian company, has created a qdEngine that was used for number of point-and-click adventure games, primarily in Russian, but they were translated into Lithuanian and Czech.

The rough list of games built on this engine can be found at this link. The most known games are Pilot Brothers 3 and Pilot Brothers 3D.

The engine itself is mid-size, with around 55k lines of code and up to 50k for library code, and is written in C++. The repository with extra libraries like STLPort can be found here.

The purpose of this task is to port this engine to ScummVM.

Porting ADL to ScummVM

  • Technical contacts: sev
  • Difficulty level: Medium or High
  • Size: 350 hours

ADL (Adventure Definition Language, not to be confused with Sierra's ADL) was created in 1987 by Tim Brengle and Ross Cunniff and released as freeware. Subsequent modifications to the engine have been made since and released under GPL. Documentation as well as a compiler and interpreter can be found at this link.

Only one commercial game is known to have been released using ADL: Transylvania III. The previous 2 entries in the series use the Comprehend engine.

The purpose of this task is to port this engine to ScummVM's Glk engine.


Porting ALIS engine to ScummVM

  • Technical contacts: sev
  • Difficulty level: Medium
  • Size: 175 hours

ALIS (Actor Language Integrated System) is an engine that was used by Simlarils for most of their games and about 17 of them are expected to work on this engine. There is an engine that is almost complete, it is pretty small, less than 10k lines of code and is distributed under MIT license. Engline and we also have Ghidra projects for the engine.

The purpose of this task is to port this engine to ScummVM as a separate engine engine.


Porting ACK engine to ScummVM

  • Technical contacts: sev
  • Difficulty level: Medium
  • Size: 350 hours

ACK (Adventure Creation Kit) was a Pascal-written game development system. Its sources were released under Public Domain, and there is a port to Free Pascal. The whole solution is mid-size, around 16k lines of code, but it must be converted to C++ before porting. A program such as p2c (Pascal-to-C) converter could be used for the initial code conversion, but then, the manual work on making things work will follow.

There are several RPG-like games build on the engine, the most notable one is Ultima-like games.

The purpose of this task is to port this engine to ScummVM as a separate engine engine.


Porting Ambermoon/Amberstar engine to ScummVM

  • Technical contacts: sev
  • Difficulty level: Hard / Very Hard
  • Size: 350 hours

Ambermoon and Amberstar were nice Amiga RPGs created by Thalion Software GmbH, a German company in early 90s. There are complete sources released for both games: here and [here. It is technically possible to rewrite them in C++.

The task will require learning or knowledge of the beautiful Motorola Assembly language and some knowledge on how Amiga worked with graphics and sound.


Porting FITD (Alone in the Dark) engine to ScummVM

  • Technical contacts: sev
  • Difficulty level: Hard
  • Size: 350 hours

FITD is an engine for playing Alone in the Dark 1-3 games. It is a mid-size engine with 23k lines of code, not in active development now.

The goal of this project is porting the engine code to ScummVM's OSystem framework.


Add support for Edna & Harvey: The Breakout to ScummVM

  • Technical contacts: sev
  • Difficulty level: Medium/Hard
  • Size: 350 hours

Edna & Harvey: The Breakout is the first game in Edna series from Daedalic. The engine was written in unobfuscated Java, thus, it is pretty trivial to decompile it. Moreover, one of the demos came with the source archive. The resulting decompilation is around 10k lines of code. It is built on top of Golden T Game Engine, which is another 8k lines of code on top of that, and it was published under LGPL.

The goal of this project is to rewrite/convert all of this into C++ and add to ScummVM.

Bring your own Adventure or RPG Reimplementation (only existing games)

  • Technical contacts: Talk to us on Discord, or send us an email.
  • Difficulty: Hard. You'll need good knowledge of C++, as well as knowledge of (reading) assembly.
  • Size: 350 hours

Our project consists of re-implementations of classic games, and we have listed a number of potential new game engines that you could work on here on our ideas page. However, you may have a classic 2D Adventure game or Role Playing Game (RPG) you are interested in yourself that is suitable for ScummVM that you would like to reverse engineer and re-implement. If so, great!

Adding a completely new game engine is not easy, and you will have to convince us that you are aware of the challenges involved, that the game you are interested in is feasible, and that you have the necessary skills. Preferably, you will already have done some preliminary investigation, into for example data file formats, disassembly, etc.

Please come talk to us to see if we have a mentor who would be interested in working with you on such a game. We'd be happy to help out.

Smaller Tasks

Add Keymapper to more games

  • Technical contacts: sev
  • Difficulty: Easy
  • Size: 175 or 350 hours, depending on the number of games

ScummVM includes a global fully configurable keymapper, but this requires engines to be adapted to use it. The feature documentation: Keymapper, some reference implementations: Wintermute has per-game keymaps; a pull request with adding keymapper to HDB engine; a commit with adding Keymapper to a simpler engine, Griffon.


Add Text-to-Speech to more games

  • Technical contacts: sev
  • Difficulty: Easy
  • Size: 175 or 350 hours, depending on the number of games

ScummVM has Text-to-Speech (TTS) functionality that we are using for the games that have no speech (or limited options for speech). That improved usability of the games and obviously, their accessibility.

So far, TTS has been added to a number of engines. Additional engines where it could be potentially added include: ADL, AGI, Cine, CruisE, DM (?), Draci, Dragons (?), EFH (?), Gob, Hugo, Immortal (later), Kult (?), Lab (?), MADE, MM, mTropolis, Parallaction, Prince (for non-Polish), SCUMM, SLUDGE, Startrek (?), Sword25 (for languages other than English or German), TeenAgent, Trecision (?), WAGE

For each engine, the task varies from straightforward to a mid-complexity:

  1. Identify routines that show text on screen
  2. Potentially, clean up text from things like colors and fonts
  3. Feed this text to TTS
  4. Define GUI options for triggering the option

Infrastructure Tasks

Finally, there's always plenty of other practical tasks on our wishlist!


System for checking the game files integrity

  • Technical contacts: sev
  • Languages: PHP, C++, some Python
  • Difficulty: Medium
  • Size: 175 hours

ScummVM requires game data files to operate. Very often, especially when copying from the old media, the files could be damaged. Thus, we need a system that could let the end-users compute all the checksums and compare them with the reference.

The solution consists of two parts: server and additional functionality within ScummVM. In order to avoid any potential problems with the copyrighted material, only checksums could be passed to the server.

We already have a bulk of this task implemented, but not yet integrated with ScummVM. There are 2 parts: Server, written in PHP and the original ScummVM Pull Request.

We need to complete this task and make it fully functional.