Vista stinks, can't save XML -1 reply

  • 1
  • 2

Please wait...

V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#1 10 years ago

Hey guys, I'm at my aunts house now, and want to mod Forces of Corruption, but after I redid all the projectiles in Projectiles.xml with Notepad, it says this: (Translated from Dutch) Can't make the file C:\Program Files....\Data\XML\PROJECTILES.XML Check if the correct path and/or filename is given. Then a screen comes up where I can browse for the correct path, but that doesn't work either, so I had to close the file unedited. If it wasn't my coputer, I would have killed it:mad: So Vista users, please help me!




Mikouen VIP Member

What?

145,654 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#2 10 years ago

I'd recommend using Notepad++ over Notepad, there's not a single programming-related filetype it doesn't save natively, and it's 100% Vista-proof. Also loaded with a dozen programmer-friendly toys. Best part is, it's completely free and open source. :thumbsup:


I don't know how, and I don't know why, but this is totally Sheep's fault.



V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#3 10 years ago

I'll try it, but I don't think it works.Microsoft Word and WordPad also can't save the XML, because they can't find the correct path, but I'm 100% sure it's correct. Edit: Notepad++ works. Thnx! If someone knows a solution for the other problem, please tell me, so I can use it perhaps in the future.




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#4 10 years ago

Ok, other problem now. Notepad ++ says I have the XMLs already opened with an other program, and because of that I can't save the files. But thats not true. I haven't opened the XMLs with an other program. I have even edited a few XMLs before today, so idk what happened.




Mikouen VIP Member

What?

145,654 XP

4th September 2005

4 Uploads

11,732 Posts

2 Threads

#5 10 years ago

Hmm, odd, I've never gotten that even when I have had the file open in another application.

It's possible that your computer is telling you they're open elsewhere even if they're not, because another process is interacting with them. If ever there's a problem with a file operation on my laptop, it just tells me I have insufficient permissions and leaves me to figure it out myself.

Any processes interacting with the files will need to be closed, if there are any. Check that they're not set as read-only, either; my laptop likes to 'fix' my file properties for me on occasion.

To be honest this is a little difficult to diagnose since I don't know about all the stuff that's running on your system, or what settings might be in place, and it'd take far too long for you to tell me anyway.

Try cutting and pasting the file to another folder, and see if the computer actually moves it or tells you there's a problem. If it's not just Notepad++ giving the error, then you've most likely got a rogue process somewhere that's interacting with the XMLs.

Otherwise, there's always the good old trick of using Save As, then changing the filenames after the fact.

I'll mess around a little, try and replicate the error. Honestly though, I think the problem overall may be with that individual computer, if Notepad and Wordpad couldn't even find a file on the computer's own hard drive. It's a strange occurence, at any rate...


I don't know how, and I don't know why, but this is totally Sheep's fault.



V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#6 10 years ago

Well, I still can't use the Save (All) command, it gives the same error as before. But the other thing you said worked, I just save them in the Data folder and then paste them into the XML folder. It works, but now it just takes a bit longer.




Garcia17

"Enemies go boom, sir?"

50 XP

26th February 2008

0 Uploads

225 Posts

0 Threads

#7 10 years ago

Try right clicking on all the xml files with ctrl+a and then change the permissions that should work cause thats wat i did with mine and it works now




N3bulu5

Creator of Frontlines

50 XP

11th September 2003

0 Uploads

236 Posts

0 Threads

#8 10 years ago

the easiest way:

dont install things on that drive where is vista installed. on other drives, u can overwrite etc like you want and vista say's nothing.




TheBlueRabbit

Meh.:S

50 XP

25th October 2008

0 Uploads

38 Posts

0 Threads

#9 10 years ago

thats strange, i used to use notepad on Vista and it always worked just fine for me..... however, i recommend that you use the program XMLPad. its made specifically for XML editing, has a sidebar to find what you are looking for instantly, and auto-detects errors for you.




Garcia17

"Enemies go boom, sir?"

50 XP

26th February 2008

0 Uploads

225 Posts

0 Threads

#10 10 years ago

yeah i got to agree with TheBlueRabbit i use the same thing and its pretty good u should give it a try and see how it goes for u




  • 1
  • 2