Author Topic: Dissecting the Stunts files, trying to. Anyone know more?  (Read 95217 times)

CTG

  • Having only spam addict friends
  • ********
  • Posts: 22184
    • View Profile
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #75 on: April 20, 2008, 11:10:02 PM »
Silver Spirit logo is a kind of Stunts hack? I just checked it: text on the rear wings, colorful Indy... :D LOL, it's funny!
5279,56 km (PB)

Duplode

  • Lives on Stunts
  • ******
  • Posts: 4000
  • Fear is your only god on the radio
    • View Profile
    • The Southern Cross Stunts Trophy
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #76 on: April 23, 2008, 06:10:31 AM »
Just to reinforce the message about this version of stressed:



It works like a charm!

zaqrack

  • Administrator
  • Makes love with Stunts
  • *****
  • Posts: 4542
    • View Profile
    • ZakStunts
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #77 on: April 23, 2008, 10:18:56 AM »
Corrida! I love this. :)

My recommendation: As stressed will probably soon result in an huge amount of different modifications made by the community, it should also contain later some kind of a "theme and resource switcher", where you can select the available mods from an internal database and load them into the stunts files before playing. Like we have 40 cars in the database, and with stressed-switcher you can select the 12 you want to use in the game, it renames/loads the resource files for you, and then you can start stunts :)

zaqrack

  • Administrator
  • Makes love with Stunts
  • *****
  • Posts: 4542
    • View Profile
    • ZakStunts
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #78 on: April 23, 2008, 10:20:39 AM »
while playing noRH FTT yesterday I realized we only need one modification in the game code to eliminate RH: just need to make the "continue driving" menuitem disappear. Problem solved.  I know these parts of the game are pretty much hard-coded but maybe someday it will be also possible.

Chulk

  • Breaths Stunts
  • ******
  • Posts: 3621
  • "Do, or do not. There is no try."
    • View Profile
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #79 on: April 23, 2008, 07:26:38 PM »
We have news everyday on this topic! Great pic Duplode! And also great for Zak joining FTT!
« Last Edit: April 23, 2008, 07:28:49 PM by Chulk »
There's a General Custer for every urban tribe

dstien

  • Moderator
  • Stunts Master
  • *****
  • Posts: 160
    • View Profile
    • Stunts Tools
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #80 on: April 25, 2008, 12:21:46 AM »
Is it you on the picture ?
Hehe, I'm not that cool.

It works like a charm!
Swell, thanks for the feedback. I'll start working on shape support.

My recommendation: As stressed will probably soon result in an huge amount of different modifications made by the community, it should also contain later some kind of a "theme and resource switcher", where you can select the available mods from an internal database and load them into the stunts files before playing. Like we have 40 cars in the database, and with stressed-switcher you can select the 12 you want to use in the game, it renames/loads the resource files for you, and then you can start stunts :)
We tried to standardize the deployment of mods in the Midtown Madness 2 community to avoid incompatibilities. The problem was that nobody cared to make the effort of merely naming their file soup correctly as long they just got their mod loading...

while playing noRH FTT yesterday I realized we only need one modification in the game code to eliminate RH: just need to make the "continue driving" menuitem disappear. Problem solved.
I suppose this would only block yourself from unconsciously RH-ing? You'd still have to trust the other pipsqueaks?
« Last Edit: April 25, 2008, 01:11:40 AM by dstien »

Duplode

  • Lives on Stunts
  • ******
  • Posts: 4000
  • Fear is your only god on the radio
    • View Profile
    • The Southern Cross Stunts Trophy
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #81 on: April 25, 2008, 01:21:06 AM »
Is it you on the picture ?
Hehe, I'm not that cool.

Krys missed a rock reference?! No, that can't be!! ;D

My recommendation: As stressed will probably soon result in an huge amount of different modifications made by the community, it should also contain later some kind of a "theme and resource switcher", where you can select the available mods from an internal database and load them into the stunts files before playing. Like we have 40 cars in the database, and with stressed-switcher you can select the 12 you want to use in the game, it renames/loads the resource files for you, and then you can start stunts :)
We tried to standardize the deployment of mods in the Midtown Madness 2 community to avoid incompatibilities. The problem was that nobody cared to make the effort of merely naming their file soup correctly as long they just got their mod loading...

Standardization is a good thing... Stunts file name system is so simple and pure, we need not complicate it with  :) Anyway, a nice smaller feature for the future on the direction Zak suggested might be a specific importer for colour data. (if there would be any real gain for making such a spin-off from the shape editor of course)

while playing noRH FTT yesterday I realized we only need one modification in the game code to eliminate RH: just need to make the "continue driving" menuitem disappear. Problem solved.
Zak probably meant killing the button code, which is probably too hard coded. And it would only eliminate Advanced RH, not "Save" RH...

BonzaiJoe

  • Eats Stunts
  • ******
  • Posts: 5085
    • View Profile
    • Purple
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #82 on: April 25, 2008, 03:51:29 PM »
It would also eliminate primitive RH... But if you say it's not possible, I believe you :)
But we can't be quite sure.


Duplode

  • Lives on Stunts
  • ******
  • Posts: 4000
  • Fear is your only god on the radio
    • View Profile
    • The Southern Cross Stunts Trophy
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #83 on: April 25, 2008, 06:15:35 PM »
It would also eliminate primitive RH... But if you say it's not possible, I believe you :)

After seeing BJ's post I realize Zak was refering to the "Continue Driving" menu item, not to the "Continue Anyway" dialog box button. That would be very revoultionary indeed... and who knows, maybe we can break or switch off menu items by resource file manipulation... :)

Paleke

  • Stunts Master
  • *
  • Posts: 167
  • Mike broke the hubble! Mike broke the hubble!
    • View Profile
    • World Stunts Championship
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #84 on: April 26, 2008, 02:32:58 AM »
I remember I talked about it with Cas some time ago. He said he could find a solution for this, not modifying Stunts original files. It was kind of tricky, and I don't know if I can explain his idea properly (so I won't try to) but I have to make the same coment I told him then (he also said this is posible): the replay file should be "marked" or "signed" to avoid cheats.
« Last Edit: April 26, 2008, 04:40:28 AM by Paleke »
I calculated the odds of this succeeding versus against the odds I was doing something incredibly stupid...and I went ahead anyway.

Mark L. Rivers

  • Straight Specialist
  • ***
  • Posts: 1179
    • View Profile
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #85 on: April 26, 2008, 08:53:42 AM »
Well, I'm not so expert about all this materia, and maybe I didn't read all previous posts so accurately, but, about succeeding to made a "safe" NORH race only modifying Stunts internal code, I have two questions.

1) If someone will succeed to "hide" or "cancel" the "continue driving" menuitem, how will it be anyway  possible to know if a *.RPL is made with a original Stunts version or a modified Stunts version?

2) Assumpting that the modified Stunts version "writes" in the file *.RPL a character or a string, marking it in a way it could be identified (maybe with a new version of InfoRPL) as a replay made without RH, won't be possible for a expert coder, editing a file *.RPL made with RH, so to insert posteriorly the character or the string so to make it a file *.RPL that seems made without RH?

« Last Edit: April 28, 2008, 07:31:07 AM by Mark L. Rivers »

dstien

  • Moderator
  • Stunts Master
  • *****
  • Posts: 160
    • View Profile
    • Stunts Tools
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #86 on: April 28, 2008, 02:22:16 AM »
Shape support in stressed is shaping up. I've compiled a list of the shape materials, and the patterns seems to match the originals:



Also, here's how animation is done, it's just cycling through the paint jobs:



I have to do some more debugging before checking in the code...

zaqrack

  • Administrator
  • Makes love with Stunts
  • *****
  • Posts: 4542
    • View Profile
    • ZakStunts
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #87 on: April 28, 2008, 07:05:43 AM »
editing obstacles is very promising! We can substitute blovk houses with giant ramps and such :)

CTG

  • Having only spam addict friends
  • ********
  • Posts: 22184
    • View Profile
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #88 on: April 28, 2008, 09:50:26 AM »
My problem with this editing thing is similar to church vs making clones. It's nice there are people able to change things in this game but I think the original one with all the silly bugs and mistakes is a perfect one for having fun.
5279,56 km (PB)

BonzaiJoe

  • Eats Stunts
  • ******
  • Posts: 5085
    • View Profile
    • Purple
Re: Dissecting the Stunts files, trying to. Anyone know more?
« Reply #89 on: April 28, 2008, 10:08:56 AM »
Zak: good to see you're listening to Tiger Tunes :) a nice band from Ã…rhus.

CTG: I don't think the original will be substituted. This is just for some variation when you're bored with the original. That does happen to me sometimes after 14 years...
But we can't be quite sure.