Currently I have successfully modified 19 scripts that now have the introductory cutscenes removed.
Link: https://drive.google.com/file/d/1tqpgoQiT1Y6ylnt6q-Qxr2VqXglidK8G/view?usp=sharing
To decompile the scripts which are .lub filetypes, I used https://sourceforge.net/projects/unluac/ In order to use it, make sure you have Java installed on your PC.
The .lub files can be decompiled by using this command in cmd: java -jar unluac.jar myfile.luac > myfile.lua
Make sure cmd is set to a location where unluac.jar and the encoded file is stored.
You can also use the provided script that will decompile the .lub files en masse.
Although the mission scripts become decompiled, they still remain a difficult read. You can apply changes more easily, though. The provided scripts have the 'EFMV.Start' value changed to 'EFMV.End' and StartFirstTurn() method moved over at the end of the first function. This solution removed the cutscenes for 19 missions only. Here is the list:
- D-Day
- Crate Britain
- A Leak in the Vegetable Patch
- Ice, Ice, Maybe
- When Annelids Collide
- Apple Core Island
- Take Me Cherry
- In Space No-one Can Hear You Clean
- Falling for You
- Crop Circle
- Movie Mayhem
- Worm and the Beanstalk (the cloud that the worms stand on will not fully load)
- Schools in for Summer
- High Stakes (game will get stuck if Dracuworm is killed improperly)
- A Quick Fix
- Plaice Holder
- To Boldly Go
- Beefcake Breakfast Brawl
- Costa Del Danger
I would request somebody to verify these new scripts and approve them. Some of them might have stuff missing as various events might happen during a cutscene, like an explosion that creates a hole.
If you are interested in helping me getting the remaining missions to work, please do not hesitate. Inside the archive you will also find original Worms 4 Mayhem scripts that are not encoded. Given that in Worms Ultimate Mayhem uses the same files, but encoded, it may give you a better understanding of how the encoding works.
Other important notes: Some of the scripts names do not match the names inside the game, for example:
A Quick Fix is notpc-w3d.lub Movie Mayhem is landing-w3d.lub Costa Del Danger is holiday-w3d.lub