Forum Discussion

Re: File too short error message

Hello : )

Here's something I've once read some time that people did to fix this problem.

Find the "userdata"-folder and delete it

It's either in the folder where you installed your game, in the "ProgramData"-folder or in %appdata%

Reboot after that and try launching the game again.

I hope this works for you. If not, we'll think of something else : )

14 Replies

  • Colt44Walker's avatar
    Colt44Walker
    8 years ago

    Same problem file isn't where it should be I  do have another folder for pvz from popcap games that does have the file, tried deleting it but didn't help & yes I have it set to show hidden files & folders, problem started after RS5 Windows 10 & a java update. Plz help!

  • EA_David's avatar
    EA_David
    Icon for Community Admin rankCommunity Admin
    8 years ago

    @Colt44Walker Hi, can I check the file location for the folder you did delete?

    Can you try repairing/reinstalling the game and see if that has any effect? Assuming you're on Origin you can start the repair by right-clicking the game panel and choosing the appropriate option. 

    Thanks. 

  • Hi I have uninstalled & reinstalled the game & run the repair at least 5 times, I have had this problem happen twice before & was able to fix, I don't know why I can't this time, the userdata file keeps returning to programdata/popcap games/plantsvszombies/userdata after uninstall & deleting that folder even. I have tried everything I can think of, If you wish to ck it with teamviewer I'm up for that just let me know when we can hook up thanx. P.S. I just tried again twice uninstalling, then deleting all plantvs.zombie files I could find including the popcap ones & still get file too short error

  • Anonymous's avatar
    Anonymous
    7 years ago

    Found this via google search... I'm having the same problem on Win 10.  "File too short" error.  I detele C:\ProgramData\PopCap Games\PlantsVsZombies\userdata but it reappears, full of DAT files.  Problem persists.  Any ideas?  

  • Anonymous's avatar
    Anonymous
    7 years ago

    Can somebody at Origin pleeeease fix this!   I've deleted userdata, reinstalled and repaired.  I've done this on both of my Wind 10 computers and I get the same error message on each.  "File too short."  Please fix.  I miss playing PvZ !!!!

  • I think we will both be old dead zombies before they ever get back to this problem, I guess it's just not a priority for them & I guess buying any more games from them won't be on the top of my list either, too many other game sites out there that take really good care of their customers.

  • Anonymous's avatar
    Anonymous
    7 years ago

    I think you might be right Colt.  On the bright side:  Steam has PvZ GOTY Edition for $5 and it seems to work correctly.  

  • I also have the same problem and have tried everything listed above and more... I don't know what to do anymore.. ☹️
  • Anonymous's avatar
    Anonymous
    7 years ago

    GOTY edition does the same thing. I have been a senior software engineer for 20 years. I've tried deleting the .dat files (the whole userdata folder). I've tried repairing the installation via the Origin application by right-clicking on the game and clicking Repair. I've tried rebooting after each step. It's just lazy programming and inability or unwillingness to fix their own bugs. It regenerates a userdata folder with broken .dat files.  One of them is 0KB. That file is too short. It's the last file that was created.  Apparently my kid made a new user and the game closed without properly saving the file. I see some other user, in the past, using Steam, disconnected their Steam account before launching and then it didn't regenerate/recreate the broken .dat files. But I can't do that same fix here.  This is broken.  And it is a big bummer because I have a 4 year old that's been asking about it every single day for the past 13 days and I finally took an extra hour to really look at it.

  • Anonymous's avatar
    Anonymous
    7 years ago

    The guy with the Steam account gave me an idea.  So, I disconnected "Origin cloud saving" (right click on the game in Origin, click settings, then shut off cloud saving), then deleted the userdata folder, then restarted the game.  When it started, it didn't go out to the cloud (which causes it to obtain corrupt user data).  Therefore, it didn't have corrupt user data when it rebuilt the userdata folder. Then the game launched.  My kid made a new user and has to start over.  But whatever, he's 4 and he's happy and now he doesn't have to use my phone to play PVZ. He can use his mom's computer again.

  • Thanks Player o8rqt63i that worked me too, it's a shame the staff here didn't think of that, & seemed to care less about helping too. Maybe they should do away with saving userdata in the cloud on this game.

     
  • look in your C drive - program files - plants vs zombies folder. Unless of course, you have the game installed on another drive.
  • ciusol's avatar
    ciusol
    Rising Newcomer
    3 months ago

    la soluzione indicata non funziona ho provato varie volte a cancellare user data da programm data anche nel cestino. ho risolto installando nuovamente su un altro pc su cui era presente plants vs zombie e sostituendo (quando te lo chiede) i data locali a dati su cloud. poi tornato sul nuovo pc, miracolo! funziona

  • ciusol's avatar
    ciusol
    Rising Newcomer
    3 months ago

    installa ea app su un altro pc sostituisci i dati cloud con i dati  locale

  • gy6lt7gg71dv's avatar
    gy6lt7gg71dv
    Newcomer
    2 months ago

    After erasing the files I also had to disconnect from internet and agree to create a new profile. I guess in my situation it was the online save that got corrupted. 

About Plants vs. Zombies™ Franchise Discussion

Zombies trying to enter your house? Keep them in check and discuss the best gardening techniques on the community forum.27,587 PostsLatest Activity: 46 minutes ago