rapid corruption
Moderator: Moderators
rapid corruption
Hi forum!
I want to complain about my recent troubles with rapid. Namely, it does this.
I have no real idea why it does this, but this is not the first time. Previous one, i fixed it by judicious cleansing of all directories that came up and copy-pasting files to and fro, but i don't feel like doing it over and over, so... anyone knows why this could happen?
I want to complain about my recent troubles with rapid. Namely, it does this.
I have no real idea why it does this, but this is not the first time. Previous one, i fixed it by judicious cleansing of all directories that came up and copy-pasting files to and fro, but i don't feel like doing it over and over, so... anyone knows why this could happen?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: rapid corruption
you're running it wrong.
From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
Re: rapid corruption
Avoid using the rapid python tool, as it's no longer maintained (and may cause problems with newer implementations). Sadly (last I checked) pr-downloader isn't as feature rich as the python tool so you'll have to wait for something else.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: rapid corruption
Rapid is too maintained, Gajop.
Tobi still works on it.
I did make a bat menu for pr downloader though: http://springrts.com/phpbb/viewtopic.php?f=71&t=29731 ( Direct link: https://drive.google.com/folderview?id= ... sp=sharing )
PR STILL can't export to an sdd which is BAD, but pr is a pretty decent little program.
Rapid still works just fine though
Tobi still works on it.
I did make a bat menu for pr downloader though: http://springrts.com/phpbb/viewtopic.php?f=71&t=29731 ( Direct link: https://drive.google.com/folderview?id= ... sp=sharing )
PR STILL can't export to an sdd which is BAD, but pr is a pretty decent little program.
Rapid still works just fine though
Re: rapid corruption
Maybe, but the last update was a year ago: https://github.com/spring/rapid, and abma mentioned something like that so I'm mostly just echoing it.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: rapid corruption
Well, PR is a perfectly suitable replacement once it gets sdz/sdd export ability. Until then it still falls short.
The little menu that I linked to above will make it 50x easier to use though.
The little menu that I linked to above will make it 50x easier to use though.
Re: rapid corruption
i don't even...From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
any non-windows-specific suggestions?
Re: rapid corruption
it happened to me when i used other tools such as pr-downloader which did some changes that made the python tool fail
- Silentwings
- Moderator
- Posts: 3719
- Joined: 25 Oct 2008, 00:23
Re: rapid corruption
Seems the ba:test version that rapid loads onto thorium is corrupted too.
(Also, one of the times this morning when I tried to go onto thorium and load ba:test it actually downloaded and ran xta
but only once...)
(Also, one of the times this morning when I tried to go onto thorium and load ba:test it actually downloaded and ran xta

Re: rapid corruption
yep, something really weird happened in rapid.. investigation...
Re: rapid corruption
Omg conspiracy!Silentwings wrote:and ran xta
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: rapid corruption
You failed to mention that you were using linux.Anarchid wrote:i don't even...From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
any non-windows-specific suggestions?
In linux it's the same as windows for pr-downloader.
pr-downloader ba:stable
Re: rapid corruption
You failed to mention that you were using linux.
You just failed to notice it.anarchid@wormbox:~/.spring/mods/ZK.sdd$ rapid clean-update
I'll try the pr-downloader thing.
Meanwhile, i've again solved the issue by mass extermination of files in pool, packages, and rapid, but then it just came back again after a couple days.
Re: rapid corruption
ok, det told me that the problem is:
https://github.com/det/BuildRapid/blob/ ... last.ml#L3
because of this buildrapid shares one file accross svn repos, when the path to modinfo.lua is the same in the repo because the filename is the path md5 hashed.
to fix, the path should be changed to prefix, but now the problem comes: i can't code ocaml and it seems i'm to stupid to learn it in a short time (and don't have the time to learn it).
see https://github.com/det/BuildRapid/issues/6
someone with ocaml knowledge here?
(it is faster for me, to reimplement this tool in c++ with git support)
https://github.com/det/BuildRapid/blob/ ... last.ml#L3
because of this buildrapid shares one file accross svn repos, when the path to modinfo.lua is the same in the repo because the filename is the path md5 hashed.
to fix, the path should be changed to prefix, but now the problem comes: i can't code ocaml and it seems i'm to stupid to learn it in a short time (and don't have the time to learn it).
see https://github.com/det/BuildRapid/issues/6
someone with ocaml knowledge here?
(it is faster for me, to reimplement this tool in c++ with git support)
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: rapid corruption
Oh that crazy det. This reminds me of the time when ZKLobby had a bunch of F# classes that needed to be rewritten.
Re: rapid corruption
disabled rapid for xta, because it would break ba and xta repos. sorry! ba on rapid should work...
will try to fix as soon as possible, but.. meh, i need a 48 hours day! :)
will try to fix as soon as possible, but.. meh, i need a 48 hours day! :)
- Silentwings
- Moderator
- Posts: 3719
- Joined: 25 Oct 2008, 00:23
Re: rapid corruption
Thanks for working on this :)
Re: rapid corruption
det implemented the tool, i'm currently trying to set it up but got stuck at some point. not sure what i'm currently doing wrong, when testing it worked, but at the live system it doesn't... gimme some time!
- Silentwings
- Moderator
- Posts: 3719
- Joined: 25 Oct 2008, 00:23
Re: rapid corruption
Will the sky fall on my head if I try and use VERSION at the moment?