How to change the mod of many tracks done?

Find here all the Mods of the Community. For more mods you can go on TM Mods: http://www.tmmod.info/

Moderator: TM-Patrol

Post Reply
raflt2403
highway camper
highway camper
Posts: 2
Joined: 20 Jul 2013 23:14
Owned TM-games: TMU, TMF

How to change the mod of many tracks done?

Post by raflt2403 » 20 Jul 2013 23:22

I have about 1000 tracks and would like to change the mod of all tracks, I know it is possible using the Ctrl button, but it would take too long. What I want to know is if I have to modify the files gbx to change the mod, or if there is a program that already do this.

Bane
swift roadking
swift roadking
Posts: 758
Joined: 02 Feb 2011 15:03
Owned TM-games: TMO,TMNF
Location: Novi Sad, Serbia

Re: How to change the mod of many tracks done?

Post by Bane » 20 Jul 2013 23:24

I don't think there's a program like that.
ImageImage
Image

DRIVING ON A FAST LANE !
TMO FOREVER !

raflt2403
highway camper
highway camper
Posts: 2
Joined: 20 Jul 2013 23:14
Owned TM-games: TMU, TMF

Re: How to change the mod of many tracks done?

Post by raflt2403 » 21 Jul 2013 06:00

Bane wrote:I don't think there's a program like that.
But you know how to change the file .gbx to change the mod?

Xymph
Pit Crew
Pit Crew
Posts: 5653
Joined: 19 Aug 2007 12:58
Owned TM-games: TMN, TMU, TMF, TM²
Contact:

Re: How to change the mod of many tracks done?

Post by Xymph » 21 Jul 2013 08:39

raflt2403 wrote:But you know how to change the file .gbx to change the mod?
You can't simply binary-replace strings in a challenge file unless the new string you put in is exactly the same length as the old one.
Mod paths are stored in the XML chunk in the Header area, but I'm not sure whether they aren't also stored in the binary Data area. If a mod consists of multiple paths and multiple URLs, a binary-replacement of all relevant strings is nigh-on impossible. You'd need a program that understands the challenge structure and can modify it at that level. Like Bane said, such a program doesn't exist AFAIK.
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

Post Reply