ArchiveMover and the new Spring Modinfo.

ArchiveMover and the new Spring Modinfo.

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

ArchiveMover and the new Spring Modinfo.

Post by Argh »

Very simply, ArchiveMover will not allow users to overwrite games with the same name, even if the file creation date > than the old one, and the number in Version > old one.

Is this how we want things to behave? I was under the impression that with the move to the new Modinfo format, burying all of this within the files, that it wasn't going to be necessary to constantly change the actual filename of the SDZ. Keeping the SDZ the same would ease maintenance, especially for point releases.
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: ArchiveMover and the new Spring Modinfo.

Post by LordMatt »

+1 please fix.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: ArchiveMover and the new Spring Modinfo.

Post by BrainDamage »

Argh wrote:Is this how we want things to behave? I was under the impression that with the move to the new Modinfo format, burying all of this within the files, that it wasn't going to be necessary to constantly change the actual filename of the SDZ. Keeping the SDZ the same would ease maintenance, especially for point releases.
by any chance, did you have a lobby/singleplayer program open?

iirc windows doesn't have non-locking file access mode (read: when a program reads/writes a file, it puts a lock on it so no other progs can edit it) so perhaps it was blocking the file overwriting (i didn't check archive mover source if it supports overwriting)
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: ArchiveMover and the new Spring Modinfo.

Post by Argh »

No, I didn't have a lobby open. I just double-clicked on the file. It just refuses to replace the file by default, it appears.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: ArchiveMover and the new Spring Modinfo.

Post by imbaczek »

test this one:

http://imbaczek.neoteric.pl/spring/ArchiveMover.exe

(it's committed in r5112.)
Post Reply

Return to “Engine”