Author Topic: ZCT166 - 4 AM  (Read 7495 times)

Shoegazing Leo

  • Two-stroker
  • *****
  • Posts: 2141
    • View Profile
    • Stunts LOL Classics
ZCT166 - 4 AM
« on: May 10, 2015, 10:23:47 PM »
I sent this replay, but this say what don't match. Why?
« Last Edit: May 10, 2015, 11:21:52 PM by Shoegazing Leo »


Akoss Poo a.k.a. Zorromeister

  • Feeling spam nearby
  • *******
  • Posts: 6386
  • Chürmüü! :-)
    • View Profile
Re: ZCT166 - 4 AM
« Reply #2 on: May 11, 2015, 12:11:42 PM »
For me, the same. Let me take the lead from Leo with this replay.
Fingszag Bácsán van!

2426.83 km

zaqrack

  • Administrator
  • Makes love with Stunts
  • *****
  • Posts: 4532
    • View Profile
    • ZakStunts
Re: ZCT166 - 4 AM
« Reply #3 on: May 11, 2015, 01:48:16 PM »
now fixed, apologies for this issue.

Akoss Poo a.k.a. Zorromeister

  • Feeling spam nearby
  • *******
  • Posts: 6386
  • Chürmüü! :-)
    • View Profile
Re: ZCT166 - 4 AM
« Reply #4 on: May 11, 2015, 02:09:25 PM »
now fixed, apologies for this issue.

Thanks! A little problem still exists: Leo sent his replay at 10:23 p.m. instead of a.m.

Btw this is a Kalpen-like track.
Fingszag Bácsán van!

2426.83 km

dreadnaut

  • Corkscrew Cad
  • ***
  • Posts: 1023
    • View Profile
    • chezDreadnaut
Re: ZCT166 - 4 AM
« Reply #5 on: May 11, 2015, 07:44:57 PM »
Uhm, the issue was caused by the extra information that Cas stored at the end of the track data. Stunts will cut those bytes when saving a replay on that track, so the version inside the replay never matches the .TRK file.

Since I cannot recreate those bytes, I can't really fix this on phpStunts' side. The only thing we can do is truncate the track files when we upload them to ZakStunts.

Cas

  • Cherry`s Chaser
  • **
  • Posts: 512
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: ZCT166 - 4 AM
« Reply #6 on: May 11, 2015, 08:30:43 PM »
Ah!  Sorry, guys!  I designed this track some time ago, with the first Cas-Stunts. That editor generated an overlay, as you say, with the metadata for the track. I was aware of this, but didn't think it'd cause a problem. So it appears the system compares the track section in RPL with the whole TRK file, instead of just the first 1802 bytes of it. Of course, it's the first time it encounters a track with an overlay!

I had been planning to add metadata to the tracks generated by the new Cas-Stunts, but now I realise we would need to agree on how this metadata will be inserted. I want to add track tile and author's name, as well as championship data, such as what tournament it was made for, which cars are suggested for it or other things like that. Currently, Cas-Stunts is generating NO overlay.
Earth is my country. Science is my religion.

dreadnaut

  • Corkscrew Cad
  • ***
  • Posts: 1023
    • View Profile
    • chezDreadnaut
Re: ZCT166 - 4 AM
« Reply #7 on: May 11, 2015, 08:34:20 PM »
Problem is, the moment you modify a track with any other editor (including Stunts' own) any additional data beyond 1802 bytes will be destroyed. And as we have seen, postfix data is also discarded when the track is stored in a replay file.

About time I write that online track database :-\

Shoegazing Leo

  • Two-stroker
  • *****
  • Posts: 2141
    • View Profile
    • Stunts LOL Classics
Re: ZCT166 - 4 AM
« Reply #8 on: May 11, 2015, 09:22:19 PM »
This is a Kalpen-like track, the last was a mix of Anxi, Dili and Default.

alanrotoi

  • Lives on Stunts
  • ******
  • Posts: 4001
  • Suck my Indy!
    • View Profile
    • Maite Zaitut, La Vengadora Oscura
Re: ZCT166 - 4 AM
« Reply #9 on: May 11, 2015, 10:23:33 PM »
So what I do? May I download it or wait?

Cas

  • Cherry`s Chaser
  • **
  • Posts: 512
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: ZCT166 - 4 AM
« Reply #10 on: May 12, 2015, 01:38:59 AM »
Uhmmm... I made a reply and tried to uploaded. It told me the track doesn't match. I verified inside the RPL file and it is exactly like the truncated version I downloaded from the site, so it should be OK. I'll attach the replay here.

@dreadnaut: It's true, when I insert an overlay, TB is unable to open the tracks and the internal editor will destroy the overlay, except the byte at location 1802, which is not used by the game, so I am storing a code there to identify the track as having been made with Cas-Stunts. This part shouldn't be a problem, because as long as you edit the track only with Cas-Stunts, you can view it with the internal editor (and TB, if you truncate it) and you can race it normally. When a replay is created, the overlay is lost, although the value of the track last byte is kept. Nothing to do about that. I can make a program that adds metadata to replays, if necessary, regardless of the replay length without affecting the length of the file itself. Another option is to store metadata in a parallel file, say trackname.met, but it'll be less comfortable for the user... I don't know.

@Leo: Well, I like that style. I like when you drive and see lots of things around, not so much empty space and I like high-speed stunts and vertigo. But I'm not that good a pipsqueak :P

EDIT: I solved the problem with the replay!  Looks like I was using the track with the old name 4AM.TRK, so that name was being stored in the RPL and that's why it wasn't taking it.
« Last Edit: May 12, 2015, 02:09:08 AM by Cas »
Earth is my country. Science is my religion.

alanrotoi

  • Lives on Stunts
  • ******
  • Posts: 4001
  • Suck my Indy!
    • View Profile
    • Maite Zaitut, La Vengadora Oscura
Re: ZCT166 - 4 AM
« Reply #11 on: May 12, 2015, 02:17:26 AM »
Do we start again with another track?

Cas

  • Cherry`s Chaser
  • **
  • Posts: 512
  • Think different. That's OK... as long as you think
    • View Profile
    • Dimioca Labs
Re: ZCT166 - 4 AM
« Reply #12 on: May 12, 2015, 04:25:48 AM »
It's the same track, only that, because it was included with the editor, some of us may have started racing with it and then the RPL wouldn't be accepted by the site, because of a different track name, but the track is the same. Just make sure it's called ZCT166 before you record your replay.
Earth is my country. Science is my religion.

alanrotoi

  • Lives on Stunts
  • ******
  • Posts: 4001
  • Suck my Indy!
    • View Profile
    • Maite Zaitut, La Vengadora Oscura
Re: ZCT166 - 4 AM
« Reply #13 on: May 12, 2015, 04:35:43 AM »
So I download this track and I can race without problem?

zaqrack

  • Administrator
  • Makes love with Stunts
  • *****
  • Posts: 4532
    • View Profile
    • ZakStunts
Re: ZCT166 - 4 AM
« Reply #14 on: May 12, 2015, 09:14:56 AM »
So I download this track and I can race without problem?

yes, no issues now.