Difference between revisions of "GSoC Ideas"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Added an OS X-port task.)
(→‎ScummVM Projects: Add small task description about updating the iOS port of ScummVM.)
Line 209: Line 209:


'''This task requires C++ and Objective-C/Cocoa knowledge.'''
'''This task requires C++ and Objective-C/Cocoa knowledge.'''
=== Improving the iPhone/iOS port ===
Technical contact: [[User:LordHoto|Johannes Schickel]].
The current iOS port, which we still label as iPhone, is functional but feels not really polished in a number of ways. The port comes from a time when the first two generations of the iPhone were still the top models. This, for example, makes it not as nicely usable on modern iOS devices because of resolution issues. Furthermore, while the gesture input serves as a great way to, for example, change control schemes, it also has some annoying issues. The most prominent example is that the "open global main menu" gesture sometimes causes the main menu to immediately close.
Build wise the iOS port is currently only supported by using a custom toolchain. Supporting the official toolchain and XCode as development environment in '''addition''' to the current toolchain is something we would really like to see. We already have a tool to auto-generate project files for Microsoft Visual Studio. The idea would be to take the currently WIP XCode support and finish it. Building with the official toolchain on command line would also be nice to have.
Essentially, this task requires working on various aspects of the iOS port. This includes graphics, GUI, input handling, but also build related aspects. Ideally, we want our iOS port to feel much smoother for the users, but also for developers working on it.
'''This task requires C++, ObjC(++), and iOS development knowledge. It also requires access to a (jailbroken) iOS device, preferable both iPhone and iPad, and the official iOS development environment.'''


=== Sources for other ideas ===
=== Sources for other ideas ===
Line 222: Line 236:


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 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.
== ResidualVM Projects ==
== ResidualVM Projects ==
This section contains project ideas for ResidualVM. You will need some basic knowledge of OpenGL and 3D math, in addition to any extra skills indicated in each entry.
This section contains project ideas for ResidualVM. You will need some basic knowledge of OpenGL and 3D math, in addition to any extra skills indicated in each entry.

Revision as of 02:20, 18 February 2015

This page contains a list of ideas about projects/tasks for the ScummVM and the ResidualVM projects which we feel are relatively substantial (and so appropriate for at least part of a Google Summer of Code project), and accessible to newcomers with good C++ knowledge.

These are just the few projects that we have come up with ourselves, and there are many many other tasks which would be helpful to the project - many ScummVM engines have their own TODO lists, and there are large tasks related to ResidualVM engines.

Of course, if you are not participating in Summer of Code, you are also very welcome to try working on one of these projects.

Introduction

The projects below are sketches and ideas. Our project changes over time, so if you're not reading this during the Summer of Code application period, the descriptions might be outdated by the time you read them (although we strive to keep them up-to-date). You should talk with somebody from the team, ideally with someone listed as a possible technical contact, before starting work on any of them.

Most developers are active in our IRC Channel, and that is often the easiest way to ask questions about the tasks and the code in general. You should come to our IRC channel and introduce yourself. 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 and answer questions.

Summer of Code Applications

The ideas here are meant to be just that - ideas. You should also consider suggesting your own completely new project ideas, or to suggest a modified version of one of our ideas, or a combination of ideas. Not all the ideas might be substantial enough for the whole of GSoC, while other ideas might be far too much work. We expect you to consider this in your application and proposed schedule.

When writing this application, remember that the application has several important purposes. First of all, it should identify the objectives of your project (what you intend to get done). Furthermore, it needs to convince us your project is worth the effort we will be putting into mentoring it. Last, but not least, it should convince us that you are the right person for this task.

In particular, your application is your opportunity to show us that you understand what you'll be doing for the task! We expect you to demonstrate that you've spent some of your own time thinking about it. A good example of what we do not want to see in your application is a copy of the text from our version of an idea's description.

You must read the Summer of Code Project Rules, which are obligatory for our students, and tell you what you should do before you apply. There are also some Guidelines for our students.

We don't expect you to produce a perfect application without any help at all (although of course, that would be even more impressive), but we do expect you to show some independent insight into the task you've chosen, and to be willing to improve it based on our feedback and comments.

Application template

Your application should have at least the following information (adapted from the FreeBSD guidelines):

  • Name
  • Email
  • Online nicks
You should at least add your IRC (freenode) nickname here.
  • Project Title
State precisely what you intend your project to be about. 40 characters is usually a good upper limit.
  • Possible Mentor (optional)
  • Benefits to the ScummVM Community
A good project will not just be fun to work on, but also generally useful to others. Why do you think it's a good project for us?
  • Deliverables
The deliverables will be used to evaluate your progress/success at the mid-term/final evaluations, so it's very important that you list some clear goals here. Some examples:
  • "Get scene X in game Y working."
  • "Improve feature X in ways Y and Z."
  • "Fix bug Z in game Q."
  • "Write documentation for the new interfaces."
  • "Improve test coverage by writing X more unit/regression tests."
  • "Improve performance in this game scene by 20%."
Make sure there is a clearly visible set of goals that need to be accomplished for your project to be considered successful. It is also encouraged to list additional goals you plan to accomplish in the course of your project if everything goes as expected.
You should be sure to justify whether a goal is vital for the success of your project, or just optional, but be make sure not to mix this up with the description of the goals themselves.
Finally, be sure to describe some milestones, your targets for the project. A milestone should be connected to the progress/accomplishment of goals. You should, at the very least, define 2 (two) milestones here. Again, describe the milestones and elaborate on your reasons for defining exactly these milestones. When you plan to accomplish the milestones will be handled in the schedule and not here.
  • Project Schedule
Create a proposed schedule with (at least) the granularity of weeks. This schedule should (among other things) explain how long your project will take and when you can begin to work on it, and you should connect the weeks to the Summer of Code schedule, i.e. clearly make the start, mid-term evaluations, etc. visible. There are multiple ways to organize this, we trust you to find the best way to present your schedule.
Obviously we want to see a connection between your goals and your schedule: be sure to elaborate why you think X takes time Y and what possible issues might arise here; obviously your schedule will probably change once you've started working on your project, so we want to know what kind of risks and problems you think might cause such changes.
Last but not least, put a fixed date for each milestone you defined here. We want at least one milestone before the mid-term.
  • Availability
How many hours per week can you spend working on this? What other obligations do you have this summer? Be honest if you're not going to have time in some weeks (due to exams, or vacation, or other work), and explain how plan to make this up.
  • Skype ID
If you don't use Skype, install it.
  • Phone Number
Cellular is preferable, for emergency contacts.
  • Timezone
Where do you live.
  • Bio
The two main questions you should answer here are:
  • Who are you?
  • What makes you the best person to work on this project?
Make sure you fill this with some life. We would like to know your age and university year for example. Also, explain your connection to ScummVM in the general and to your project in specific. What experience do you have with C++ or other languages required in your project? Have you taken university courses which you think will be helpful? Did you work on any projects we can take a look at? Do you think you will learn anything from your proposed project (if yes, explain what)?
  • Pull Request
A link to the pull request you submitted as part of our Project Rules

Coding Rules

You must follow our Coding Conventions. In particular, note that you can't use the standard C++ library for code used inside ScummVM itself. Using it for a non-essential tool should be fine, though.

All code, unless stated differently (for example, platform-specific code), must be written in clean and portable C++; in particular, various versions of both GCC and Visual Studio must be able to compile it. We also have some Code Formatting Conventions.

We only accept clean and maintainable code. This is a somewhat vague requirement, but as a rule of thumb, if the code does what it is supposed to do, but is not extensible, a quick hack, or we need to rewrite it from scratch to properly integrate it, we will not accept it. In particular, we would rather have a maintainable, clean and incomplete piece of code that we could extend, than a complete but unmaintainable piece of code.

Finally: All of the code submitted must be contributed under the terms of the GPL v2+.

ScummVM Projects

Audio Output Configuration

Technical contact: Johannes Schickel.

ScummVM needs an improved internal API and user interface for selecting and controlling audio output. Among other issues, at present there isn't a clear distinction between audio types', audio drivers and audio devices.

The idea is that a proper layer-based audio output system should be designed, implemented and used in all our engines, and an appropriate configuration GUI should be designed and added too.

As this task involves a very precise design before starting implementation, please keep in touch with the mentors as soon as possible if you're interested.

See OpenTasks/Audio/Audio Output Selection for more discussion and some technical details.

MIDI Device Configuration

Technical contact: Johannes Schickel.

At the moment, configuration of MIDI output is not linked to devices, despite a lot of the configuration options being specific to a device or driver.

This task would involve designing and implementing an interface for querying and storage of a wide variety of MIDI drivers/devices, improving the GUI to allow this configuration, and working on some related improvements (such as allowing devices to be added/removed while ScummVM is running).

As this task involves a very precise design before starting implementation, please keep in touch with the mentors as soon as possible if you're interested.

See OpenTasks/Audio/MIDI Device Configuration for more discussion and some technical details.

Improve Main GUI

Technical contacts: Eugene Sandulenko.

Several years ago we switched to new XML-based and vector-based GUI. Unfortunately during this transition number of nice touches from previous version of Modern GUI were lost. Particularly current GUI lacks soft shadows, antialiasing in number of places, we are lacking proper widgets for PopUp and List widgets. Those need to be implemented as part of this task.

Also there is need to implement better sliders, multiline text widgets as well as improve current List widget.

See OpenTasks/Generic/Improve GUI Look for more details.

Improve touchscreen GUI

Technical contacts: Eugene Sandulenko.

Our launcher/options GUI has been designed for keyboard/mouse input, and does not work well in practice on modern touchscreen devices.

Since it is theme based, part of the problem can be resolved by using a custom theme. However, our GUI code will need extensions to allow it to behave like a proper touchscreen application.

See OpenTasks/Generic/Touch GUI for more details.

Hardware accelerated blitting

Technical contacts: Our IRC channel, our mailing list, or contact Einar Johan Trøan Sømåen, Johannes Schickel, Alyssa Milburn, David G. Turner

Some engines (Wintermute, Broken Sword 2.5) would greatly benefit from hardware acceleration for their graphics code. Obviously the purpose of this task is not to make it available on all ports. The impacted ports have to be determined in advance.

See OpenTasks/Graphics/Hardware Acceleration for more details.

Improve AGI Engine

Technical contacts: Eugene Sandulenko.

The current implementation of our AGI Engine, which is used for the early Sierra On Line games; would greatly benefit from some implementation details present in the other open source AGI interpreter, NAGI.

The important parts of this task would be to analyze the implementation differences between the ScummVM implementation and NAGI, particularly in the main loop and in the rendering class, then to reimplement these in the ScummVM engine without causing regressions of the currently supported games and to improve the support of the latest AGI games including the fangames.

See OpenTasks/Engine/ImproveAGI for more details.

Adding text to speech support in Mortville Manor

Technical contacts: Our IRC channel, our mailing list, or contact Arnaud Boutonné

The original Mortville Manor game was using a speech synthesis based on PC Speaker.

The purpose of this task is to replace obsolete speech synthesis by an external dependency which will allow to implement a decent text to speech generation, in (at least) French, German and English.

Adding speech synthesis of on-screen text for people with reduced sight

Technical contacts: Our IRC channel, our mailing list, or contact Arnaud Boutonné

Using the same library used in the previous task, add a similar text to speech generation for other games. The exact list of titles should be defined as soon as possible between the mentors and the student.

This task would allow people suffering of sight issues to play more games in ScummVM.

Macromedia Director

Technical contacts: Our IRC channel, our mailing list, or contact Alyssa Milburn, Matthew Hoops

Many 90s-era adventure games were developed using the Macromedia (now Adobe) Director tool. They don't run any more on modern systems, and current versions of Director can't even open the files (and too much has changed; Macromedia themselves have said that "reauthoring the movie from scratch" is often more efficient). It would be nice to be able to play these games in ScummVM!

There is already (Python) code available which can parse and display the contents of Director 2 and Director 3 'movie' files, and the basic framework of a ScummVM C++ engine. The task would involve trying to implement enough of a ScummVM engine to allow some early Director adventures to be played; for example, parsing the movie files, implementing the frame-based playback system, drawing bitmaps and shapes, playing sounds and running some basic (Lingo) scripting.

AGS

Technical contacts: Our IRC channel, our mailing list, or contact Alyssa Milburn

The Adventure Game Studio engine has been open sourced. It would be nice to have it available (at least for legacy games) as part of ScummVM, so it can benefit from our platform support.

There's an existing unfinished partially-rewritten(!) engine for ScummVM (see AGS) which is missing some core functionality (such as save/load code) but already allows you to complete some AGS games. Adding save/load functionality (not trivial) and implementing some of the other missing code would get it to a point where it could be merged into the main codebase.

This task almost certainly needs experience in understanding/refactoring of complex existing codebases, so please contact us as soon as possible if you're interested.

Port WebVenture engine

Technical contacts: Our IRC channel, our mailing list, or contact John Willis,

The WebVenture engine by Sean Kasun is a reimplementation of the MacVenture engine from ICOM Simulations.

It was used in the late 80s and in the early 90s for 4 games. The MacVenture games are still available for purchase from Zojoi.

The current code is written in JavaScript, which means it will have to be completely rewritten in C++ and integrated in ScummVM.

This task requires C++ and JavaScript knowledge.

Port WAGE engine

Technical contacts: Eugene Sandulenko.

The WAGE engine is an engine behind World Builder, an early system for authoring adventure games on Mac. Alexei Svitkine has a basically working implementation in Java, and sev has started efforts on porting the engine to ScummVM awhile ago: github link. Alexei continued its development, and sev abandoned the effort due to other projects within ScummVM.

Current ScummVM implementation is able to load the game assets and runs scripts. However it lacks support for QuickDraw pictures used everywhere in the game. Originally sev wanted to provide pixel perfect implementation, which was the primary reason why development stalled. But several years ago Apple has released full sources of their QuickDraw 1.0 code, which makes achieving this goal possible. However, Alexei's engine is using standard Java gfx classes, and that looks to be sufficient.

Your task is to finish the porting efforts, complete the engine, and probably increase the compatibility.

This task requires C++ and Java knowledge.

Native OS X port

Technical contacts: Einar Johan Trøan Sømåen.

ScummVM's current OS X port is SDL 1.2 based, which is a dead project, having been replaced by SDL2, and Apple has a tendency to change and deprecate functionality with each version of their OS, as such, the current state of the OS X port seems to degrade with each new OS X release. Functionality added in newer releases of OS X, such as the new Full-screen modes introduced in 10.7 are also not available for use in ScummVM with the current SDL1.2 port.

One option for solving this, is to create a backend for OS X that doesn't use SDL. This would mean writing replacement code for the parts where SDL currently handles things (i.e. atleast audio/video/input, but possible other details). A major aim of such a project would be to retain backwards compatibility with 10.2 as we have today, while allowing for a good user experience on the very latest OS X versions as well.

This task requires C++ and Objective-C/Cocoa knowledge.

Improving the iPhone/iOS port

Technical contact: Johannes Schickel.

The current iOS port, which we still label as iPhone, is functional but feels not really polished in a number of ways. The port comes from a time when the first two generations of the iPhone were still the top models. This, for example, makes it not as nicely usable on modern iOS devices because of resolution issues. Furthermore, while the gesture input serves as a great way to, for example, change control schemes, it also has some annoying issues. The most prominent example is that the "open global main menu" gesture sometimes causes the main menu to immediately close.

Build wise the iOS port is currently only supported by using a custom toolchain. Supporting the official toolchain and XCode as development environment in addition to the current toolchain is something we would really like to see. We already have a tool to auto-generate project files for Microsoft Visual Studio. The idea would be to take the currently WIP XCode support and finish it. Building with the official toolchain on command line would also be nice to have.

Essentially, this task requires working on various aspects of the iOS port. This includes graphics, GUI, input handling, but also build related aspects. Ideally, we want our iOS port to feel much smoother for the users, but also for developers working on it.

This task requires C++, ObjC(++), and iOS development knowledge. It also requires access to a (jailbroken) iOS device, preferable both iPhone and iPad, and the official iOS development environment.


Sources for other ideas

Technical contacts: Our IRC channel, our mailing list, or contact Eugene Sandulenko, John Willis, Arnaud Boutonné, Johannes Schickel

One good place to start if you're looking for new ideas would be our TODO page (and the other TODO lists linked from there). Some other ideas (most of which might be incomplete or outdated, or too difficult for a new developer) can be found on our OpenTasks page. Again, be sure to talk to us before thinking too much about any idea on these lists, as many things are likely to be outdated or simply wrong.

New game engines

Technical contacts: Our IRC channel, our mailing list, or contact Eugene Sandulenko, 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.

ResidualVM Projects

This section contains project ideas for ResidualVM. You will need some basic knowledge of OpenGL and 3D math, in addition to any extra skills indicated in each entry.

Wintermute 3D

Technical contacts: Einar Johan Trøan Sømåen, Paweł Kołodziejski

In 2012, the Wintermute engine was ported into ScummVM. However, as this was a port of the 2D-only Lite-version of WME, and since ScummVM is designed to run only 2D games, the ScummVM port has no support for the 3D parts of the engine, and is thus not able to run any of the games that use them.

See Wintermute 3D for more details.

iOS port

Technical contacts: Paweł Kołodziejski, Einar Johan Trøan Sømåen

Currently ResidualVM has an in progress Android port, but it lacks an iOS port. This task is about to make it for iPhones and iPads.

See iOS Port for more details

Multichannel 3D sound support

Technical contacts: Paweł Kołodziejski

Currently ResidualVM has only stereo audio output for emulated 3D sounds.

See Multichannel 3D sound support for more details

Sources for other ideas

Technical contacts: ResidualVM IRC channel (#residualvm on freenode.net), or contact Paweł Kołodziejski, Einar Johan Trøan Sømåen

New game engines

Technical contacts: ResidualVM IRC channel (#residualvm on freenode.net), or contact Paweł Kołodziejski, Einar Johan Trøan Sømåen

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.