rapid corruption

rapid corruption

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

rapid corruption

Post by Anarchid »

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?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: rapid corruption

Post by Forboding Angel »

you're running it wrong.

From command line, run it from the root spring folder like this:

rapid\rapid.exe pin ba:stable
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: rapid corruption

Post by gajop »

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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: rapid corruption

Post by Forboding Angel »

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
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: rapid corruption

Post by gajop »

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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: rapid corruption

Post by Forboding Angel »

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.
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: rapid corruption

Post by Anarchid »

From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
i don't even...

any non-windows-specific suggestions?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: rapid corruption

Post by gajop »

it happened to me when i used other tools such as pr-downloader which did some changes that made the python tool fail
User avatar
Silentwings
Moderator
Posts: 3719
Joined: 25 Oct 2008, 00:23

Re: rapid corruption

Post by Silentwings »

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 :shock: but only once...)
abma
Spring Developer
Posts: 3795
Joined: 01 Jun 2009, 00:08

Re: rapid corruption

Post by abma »

yep, something really weird happened in rapid.. investigation...
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: rapid corruption

Post by zerver »

Silentwings wrote:and ran xta :shock:
Omg conspiracy!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: rapid corruption

Post by Forboding Angel »

Anarchid wrote:
From command line, run it from the root spring folder like this:
rapid\rapid.exe pin ba:stable
i don't even...

any non-windows-specific suggestions?
You failed to mention that you were using linux.

In linux it's the same as windows for pr-downloader.

pr-downloader ba:stable
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: rapid corruption

Post by Anarchid »

You failed to mention that you were using linux.
anarchid@wormbox:~/.spring/mods/ZK.sdd$ rapid clean-update
You just failed to notice it.

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.
abma
Spring Developer
Posts: 3795
Joined: 01 Jun 2009, 00:08

Re: rapid corruption

Post by abma »

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)
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: rapid corruption

Post by CarRepairer »

Oh that crazy det. This reminds me of the time when ZKLobby had a bunch of F# classes that needed to be rewritten.
abma
Spring Developer
Posts: 3795
Joined: 01 Jun 2009, 00:08

Re: rapid corruption

Post by abma »

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! :)
User avatar
Silentwings
Moderator
Posts: 3719
Joined: 25 Oct 2008, 00:23

Re: rapid corruption

Post by Silentwings »

Thanks for working on this :)
abma
Spring Developer
Posts: 3795
Joined: 01 Jun 2009, 00:08

Re: rapid corruption

Post by abma »

update:
det started his own project but we'll merge it:

https://github.com/spring/BuildRapidCpp
abma
Spring Developer
Posts: 3795
Joined: 01 Jun 2009, 00:08

Re: rapid corruption

Post by abma »

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!
User avatar
Silentwings
Moderator
Posts: 3719
Joined: 25 Oct 2008, 00:23

Re: rapid corruption

Post by Silentwings »

Will the sky fall on my head if I try and use VERSION at the moment?
Post Reply

Return to “Help & Bugs”