.md3 Editor [v1.3 - Important Fix!]

Posted by AUS_Doug 
.md3 Editor [v1.3 - Important Fix!]
Date: October 06, 2015 06:08AM
Posted by: AUS_Doug
Download: [1drv.ms]

What it does:
-----------------------------
- Provides a graphical interface for editing the Magic Data (.md3) files, produced by Marc Aarts's
CMagic program.
- Currently has capability to edit all values displayed by ZaZ's TSM.

What I plan on it being able to do:
-----------------------------
- Capability to edit all the fields that ZaZ's TSM does not deal with.

Requirements:
-----------------------------
- Version 4 or greater of the Microsoft .NET Framework
(You probably already have this, but will be prompted if otherwise)

Archive contents:
------------------------------
- 'md3 editor.exe'
- 'Data' folder, containing .md3 files for all the default tracks.

Instructions:
------------------------------
1) Extract the archive to a location of your choice, making sure that the 'Data' folder is in the same location as the .exe
2) Run the .exe file and, via the 'File' menu, open the .md3 of your choice OR 'Load Default Track'.
3) Make your edits and save.
4) Use CMagic (or GP4 Builder if Comments have been removed*) to pack the .md3 into the appropriate .dat file

*See Notes

ChangeLog:
----------------------------
18th November, 2015 - 1.3 Release:
- Fixed issue when writing from 'No Strip' mode
- Fixed potential for incorrect reading and writing of 3 Stop strategy group.
- Added basic logging features, and 'Debug' Key to Settings.ini file. (0 for low, 1 for high)

1st November, 2015 - 1.2 Release:
- Fixed bug with Comment Striping that my poor QA standards - i.e, being lazy - missed from 1.1

20th October, 2015 - 1.1 Release
- Added 'Deafult Track Capability'
- Added all TSM fields
- Added 'Strip' feature (see Notes)

6th October, 2015:
- Initial release.

Notes:
----------------------------
At first run, the program will generate an .ini file that controls comment stripping.
Change the value of 'Strip' to 1, and all comments will be stripped from the .md3 files on load.
(Note that the comments WILL NOT be added again at save.)

I advise against renaming or deleting the default files from the 'Data' folder.
If they are missing or renamed, you will not be able to load them via the 'Load Default Track' menu.

If comments are removed from the file - either by using the setting in the .ini file, or by manually removing them - you
MUST use GP4 Builder to inject the Magic Data file; CMagic will NOT inject a file without comments.


As usual, this shouldn't break anything but, as we're dealing with computers, the unexpected can happen.
You therefore use this at your own risk, should make backups of files etc.

Credits:
----------------------------
- Marc Aarts for CMagic
- ZaZ for TSM
- Everyone in the community

Versions:
----------------------------
v1.3 - [1drv.ms]



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator



Edited 6 time(s). Last edit at 10/26/2022 03:35AM by AUS_Doug.
Re: .md3 Editor [v1 Released]
Date: October 06, 2015 07:08PM
Posted by: Turbo Lover
Thank you!



My Grand Prix 4 Files

I'm a total dick. How many people can say that?
Re: .md3 Editor [v1 Released]
Date: October 06, 2015 07:38PM
Posted by: SDI
Great, thanks :)

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: .md3 Editor [v1 Released]
Date: October 06, 2015 07:41PM
Posted by: SDI
When I try to unzip the file it says the zip is corrupt :(

René Smit, Independent Software Developer.
Download my GPx tools here.
Re: .md3 Editor [v1 Released]
Date: October 07, 2015 12:04AM
Posted by: AUS_Doug
SDI Wrote:
-------------------------------------------------------
> When I try to unzip the file it says the zip is
> corrupt :(

Sorry about that, I used some wrong settings when I compressed it, and I didn't see the problem because I only checked it with 7-Zip!
Should work fine now for any archive program.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: .md3 Editor [v1 Released]
Date: October 07, 2015 01:16PM
Posted by: ramf1v
I like where your taking this, do you plan on adding gfx to the UI ?, with animated wings etc, and can the pitstop strategy be simplified to a slider, or a more visual way of setting ?

...all limited depending on your time and programming skills of course ;-)

eg:



F1Dev
Re: .md3 Editor [v1 Released]
Date: October 08, 2015 02:24AM
Posted by: AUS_Doug
ramf1v Wrote:
-------------------------------------------------------
> I like where your taking this, do you plan on
> adding gfx to the UI ?, with animated wings etc,
> and can the pitstop strategy be simplified to a
> slider, or a more visual way of setting ?
>
> ...all limited depending on your time and
> programming skills of course ;-)
>
> eg:
>
> [i.imgur.com]

I might end up doing something GFX wise but there isn't really a lot in the magic data files that can be represented visually; Different wing angles are about the only thing I can think of really.

I'm also not sure about a better way of doing the Pitstops; If I were to use sliders, I'd need:
* 3 Sliders; one for '1 Stop %', one for '2 Stop %', one for '3 Stop %'
* 3 Sliders for the 1st Stop Window.
* 3 Sliders for the 1st Stop Window.
* 2 Sliders for the 2nd Stop Window.
* 2 Sliders for the 2nd Stop Window.
* 1 Slider for the 3rd Stop Window.
* 1 Slider for the 3rd Stop Window.

But if I come up with something better, I'll do it.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: .md3 Editor [v1 Released]
Date: October 13, 2015 06:50AM
Posted by: Flash Formula
Great stuff :-) Thanks mate :-)

__________________________________________
== FLASH FORMULA MODS Website ==
Version 1.1 available in first post.

Changelog:

- Added 'Default Track Capability'
- Added all TSM fields
- Added 'Comment Strip' option



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: .md3 Editor [v1.2 - Squashed really big bug]
Date: November 01, 2015 07:43AM
Posted by: AUS_Doug
Version 1.2 available in first post.

Discovered that CMagic will not properly inject an .md3 that is lacking comments; This is despite me thinking otherwise.
No big deal really, but I then discovered that GP4 Builder doesn't read .md3 files properly unless each value has at least two spaces after it; When editing the values,
it is all too easy to accidentally remove the spaces.
So now the program will automatically add a double space to each line.

Naturally, I have now left a note warning that .md3 files with removed comments must be inserted with GP4 Builder.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: .md3 Editor [v1.3 - Important Fix!]
Date: November 18, 2015 04:10AM
Posted by: AUS_Doug
Version 1.3 available in first post.

Fixed issue with writing out fields that haven't been stripped, and added basic logging features for if people run into a problem with their files.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
Re: .md3 Editor [v1 Released]
Date: June 25, 2017 02:52AM
Posted by: livejackass
Link off :(
Re: .md3 Editor [v1.3 - Important Fix!]
Date: October 13, 2022 11:40AM
Posted by: npnc
Anyone have this editor?
The link is dead.
Thanks for the help
Re: .md3 Editor [v1.3 - Important Fix!]
Date: October 26, 2022 03:35AM
Posted by: AUS_Doug
Re: .md3 Editor [v1.3 - Important Fix!]
Date: October 26, 2022 11:44AM
Posted by: npnc
Thank you very much!
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy