[Dark Cloud 2] Game freezes while waiting for video to start

Open
#121 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
tooling

Research direction

Start by reading the Play/IsStarted wait loop and tracing the variable that stepMain() sets; the issue names no source files or tests. Use the attached log from feature/mpeg-decoder as context. Done means the intro video starts instead of leaving the game frozen while waiting.

Written by the indexing model from the issue text.

Description

bug runime

In the game code there is a function like this to start the intro movies

Play(movie);

while (!IsStarted(movie))
{
  SwitchThread(movie);
}

But IsStarted never returns true.

The function that sets the variable that causes this function to return true is stepMain()
This function checks on movie/audio/iop stuff

Forcing the variable to true will allow you to skip the movie as normal

Log from feature/mpeg-decoder
message (1).txt

Dominant language
C++
Stars
3.3k
Forks
149
Avg merge
8h 46m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ran-j/PS2Recomp

All issues in ran-j/PS2Recomp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.