Is it possible to use TeeRace's ghost files in DDNet?

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Slinack
Posts: 8
Joined: Tue Feb 16, 2016 4:39 am

Is it possible to use TeeRace's ghost files in DDNet?

Post by Slinack »

hey guys, so... I was trying to play fastcap with ghosts from other players (like this http://race.teesites.net/media/uploads/ ... Xerhul.gho). But even though I placed the file in the correct folder (ghosts in appdata/teeworlds folder - tried both), the file doesn't show up in the Ghost menu to activate.

I see ghosts recorded by the DDNet client have more stuff in the filename.

So I was wondering if it's possible to use those diff ghost files or whether they are incompatible.


tnx
User avatar
deen
TECHNICAL Team
Posts: 3580
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Is it possible to use TeeRace's ghost files in DDNet?

Post by deen »

We changed the naming scheme for ghost files, as you noticed. So you would have to rename if you want old ghost files to work in DDNet: MAP_NAME_TIME_CRC.gho

No guarantee though if nothing else changed.
Slinack
Posts: 8
Joined: Tue Feb 16, 2016 4:39 am

Re: Is it possible to use TeeRace's ghost files in DDNet?

Post by Slinack »

Well, I thought about attempting something like that...
I tried to generate a DDNet-ghost-file's CRC, but what I got was different from what's on the filename. But it worked for the CRCs on any map file.

I'm not really savvy on this subject, so maybe i'm guessing DDNet calculates this in a different way? idk
User avatar
deen
TECHNICAL Team
Posts: 3580
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Is it possible to use TeeRace's ghost files in DDNet?

Post by deen »

I checked the ghost file you supplied and it has a different header version than DDNet client's ghosts. So that's why it can't play. Has nothing to do with the filename after all. I guess the only solution is to use an older race client to watch those ghosts.
Slinack
Posts: 8
Joined: Tue Feb 16, 2016 4:39 am

Re: Is it possible to use TeeRace's ghost files in DDNet?

Post by Slinack »

Okay, thanks :)

That will have to do then.

Was there any feature/bug-fix reason for the change? Maybe it could be once again compatible in future releases?
User avatar
deen
TECHNICAL Team
Posts: 3580
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Is it possible to use TeeRace's ghost files in DDNet?

Post by deen »

No idea, that was many years ago probably.
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 2 guests