Bully-Board

Bully Modding Section => Mod Releases => Topic started by: SimonBestia on April 18, 2021, 08:28:18 AM

Title: Cutscene Player
Post by: SimonBestia on April 18, 2021, 08:28:18 AM
Something like this already exists, but I decided to make a more modern one.
It is compatible with the PlayStation 2*, Xbox 360, and PC versions.

*By default, PS2 mode is disabled, but the mod will still work.
If enabled, it uncaps the framerate and adds warnings for SE-exclusive and 1-01 cutscenes.
I've included different Scripts.img/dir with it already enabled.

Features:

In-game usage:
It's a simple menu you can navigate with the D-pad.

Screenshots:
(https://i.imgur.com/zuOCp4u.jpg)
(https://i.imgur.com/GSysGBj.png)


Current issues:

Download (and source):
https://github.com/SimonBestia/Cutscene-Player/releases

Special thanks:
To deadpoolXYZ (https://www.youtube.com/user/deadpoolXYZ) for sharing the cutscene table.
To Altamurenza (https://www.youtube.com/c/Altamurenza) for sharing his knowledge on unused cutscenes.
Title: Re: Cutscene Player
Post by: Razc01na on April 18, 2021, 04:18:03 PM
So... if we have the noclip mod we can use it during the cutscenes?
Title: Re: Cutscene Player
Post by: SimonBestia on April 18, 2021, 04:43:11 PM
Yes, as long as its script is called NoClip.lur.
Title: Re: Cutscene Player
Post by: Razc01na on April 18, 2021, 06:18:31 PM
I see... the script is executed from the beginning.

I have a question: what happens if we try to execute a script with that function but the file name given is not found? Does the function return nil or something?
Title: Re: Cutscene Player
Post by: SimonBestia on April 19, 2021, 02:40:37 AM
The game will just not load the script because it can't find it, but it will keep working fine.

On PCSX2, the console even prints some debug text.
Title: Re: Cutscene Player
Post by: Razc01na on April 19, 2021, 10:03:28 AM
Ok...

Thanks for the answer  :D

It's a very good mod by the way  ;D
Title: Re: Cutscene Player
Post by: Altamurenza on April 19, 2021, 01:58:34 PM
I have some suggestion if you're thinking to update the mod. I tested the mod and it seems that we're unable to play CS_COUNTER and FX-TEST cutscene at the current version where actually you can manage them to work. Instead of using PlayCutsceneWithLoad, you can alternatively start cutscene by building it up and execute them manually.

There are four principal function to play cutscenes manually, they are LoadCutscene, CutSceneSetActionNode, LoadCutsceneSound, and StartCutscene. Since CS_COUNTER and FX-TEST audio files were missing, the LoadCutsceneSound will stuck trying to find the specified name but it doesn't exist in the game files.

To prevent that, you should replace the audio name with others and put StartCutscene function to play.

Code: [Select]
LoadCutscene("CS_COUNTER")
CutSceneSetActionNode("CS_COUNTER")
LoadCutsceneSound("1-01") -- i put 1_01 audio instead

repeat
  Wait(0)
until IsCutsceneLoaded()

StartCutscene()

In the end, after you seeing enough of it you can end the cutscene via StopCutscene.

Code: [Select]
repeat
  Wait(0)
until IsButtonBeingPressed(7, 0)

StopCutscene()
Title: Re: Cutscene Player
Post by: SimonBestia on April 20, 2021, 04:15:52 AM
That's awesome!
Always tried to do something about those unused cutscenes, but never figured it out.

The code allows for even more cutscenes to be played, too, not just CS_Counter and FX_Test.

Updated the mod.
Thanks, again!

(Now I can include them on TCRF, too!)