W3D levels without the introductory scenes
11 months ago
Poland

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:

  1. D-Day
  2. Crate Britain
  3. A Leak in the Vegetable Patch
  4. Ice, Ice, Maybe
  5. When Annelids Collide
  6. Apple Core Island
  7. Take Me Cherry
  8. In Space No-one Can Hear You Clean
  9. Falling for You
  10. Crop Circle
  11. Movie Mayhem
  12. Worm and the Beanstalk (the cloud that the worms stand on will not fully load)
  13. Schools in for Summer
  14. High Stakes (game will get stuck if Dracuworm is killed improperly)
  15. A Quick Fix
  16. Plaice Holder
  17. To Boldly Go
  18. Beefcake Breakfast Brawl
  19. 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

Edited by the author 11 months ago
Game stats
Followers
46
Runs
124
Players
17
Recent runs
Latest threads
Posted 11 months ago
4 replies
Posted 1 year ago
4 replies
Posted 1 year ago
0 replies
Posted 1 year ago
5 replies
Moderators