Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: Luis_Labarca on May 10, 2025, 01:24 AM

Title: No main script file - not starting Squirrel VM
Post by: Luis_Labarca on May 10, 2025, 01:24 AM

Hi friends, I had a problem where my client-side script wouldn't start. I didn't know why. I searched for the error here on the forum and couldn't find any information.
I transferred everything from my store to a blank server to see if it was a plugin error, but nothing happened.
I deleted all the . dff and . txd files and everything worked fine. I loaded the script. Then I went to transfer the files back to the store and after transferring a certain amount, it gave the same error. I said the error was in one of them, but the same thing didn't happen. I started wondering if those files had worked before without any problems. I started deleting the other folders like maps, objects, weapons, vehicles, sounds, and skins, but nothing happened.
The same thing happened until I deleted the sprites folder and everything worked again with all the dff and . txd files.

In my sprites folder, I have 150 files that weigh around 2 MB. I was able to solve it by compressing all those files into Sprites_unp.7z.

Now my question, my doubt: why does this happen? Does the store crash when loading all those files?
Because of new updates, or should they always be compressed? Because I always had them uncompressed and this error didn't occur.

- I'm sharing this in case anyone else has the same problem and has an idea what it could be.

- Or there is some error in these updates

Message Error
MSG: No main script file - not starting Squirrel VM.
Title: Re: No main script file - not starting Squirrel VM
Post by: 2b2ttianxiu on May 10, 2025, 03:31 AM
Maybe you need to restart your server :>
Title: Re: No main script file - not starting Squirrel VM
Post by: ToyDragon on May 21, 2025, 03:59 PM
Yyg once encountered this problem. In his CNInputManager (a script that allows vcmp to display more languages in chat boxes), he used thousands of sprites and encountered the same situation as you. In fact, he only needed to compress them into 7z files and add _unp.