file No More Map2dif-ficulties!

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
07 Aug 2009 03:24 #1 by Seizure22
No More Map2dif-ficulties! was created by Seizure22
- DOES NOT SUPPORT MOVING PLATFORMS


Version 1.01 -

Changed background
Added Reload + Fix button


New .exe program: DIF Fix

This is basically a program for the previous form of editing.

Export your dif in Constructor with the legacy dif export function, and then run it through this.



Download: www.mediafire.com/download.php?w23z5fmiya0

Readme file:

Quote:DIFFix is a file created with Multimedia Fusion 2,
or MMF2 for short.

Multimedia Fusion 2 stand-alone applications use
an .exe process that is required for them to run.

Some people create malicious programs with MMF2,
and because every MMF2 stand-alone application
uses the same runtime .exe, antivirus programs
may detect DIFFix, as well as every other
Multimedia Fusion 2 application, as a threat.

If you get a warning on DIFFix, it should be
considered a false positive.

However, I cannot guarantee that this program is
totally glitch-free, or that it will work properly
on your system.

This program is intended only for use with
Torque Constructor-legacy-exported DIF files.

-Seizure22


Annoyed by the frequent crashes and errors of map2dif, I decided to check what exactly causes that detail level 0 error.

It turns out it's a simple bit of code at the end of the dif.

First, export your creation with the legacy dif export function in Constructor.

Open it up in a hex editor (I'm using HxD) and scroll down to the bottom.

Find the bit of code with two ÿ's.



Highlight all the numbers after the second ÿ, and replace it with

Code:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

and then save.

Map2dif has failed to convert this...but here it is.

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
More
07 Aug 2009 03:32 #2 by Perishingflames
Replied by Perishingflames on topic No More Map2dif-ficulties!
You may just be god. With your hack, are there interior problems, such as cracks or broken segments? If not, well, you just built up quite a fan club

Please Log in or Create an account to join the conversation.

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
07 Aug 2009 03:36 #3 by Seizure22
Replied by Seizure22 on topic No More Map2dif-ficulties!
There are a few breaks, but I would guess it's mostly from the small scale and many segments that I built the pipes with. I've had similar results in a similar situation using map2dif. Not too sure about that wall though...

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
More
07 Aug 2009 03:44 #4 by Perishingflames
Replied by Perishingflames on topic No More Map2dif-ficulties!
Gave it a try, and the dif loaded but it had tons of breaks and it was invisible at some angles....

Please Log in or Create an account to join the conversation.

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
07 Aug 2009 03:46 #5 by Seizure22
Replied by Seizure22 on topic No More Map2dif-ficulties!
I saw a thread on GG where someone had built a replacement Constructor .exe, and apparently it had fixed a few issues like that for the legacy dif.

Actually, I'm using it right now and that dif in the screen still had issues, so that's not it.

Okay.. detailing the tubes made a large difference, only the (lot of) smashed together brush faces failed this time.

Please Log in or Create an account to join the conversation.

More
07 Aug 2009 03:59 #6 by Pablo
Replied by Pablo on topic No More Map2dif-ficulties!
Great job beating this error. It's always great to have a community member conquer a bit more of the impenetrable muck that is map2dif.

Please Log in or Create an account to join the conversation.

More
07 Aug 2009 04:55 #7 by FruBlox
Replied by FruBlox on topic No More Map2dif-ficulties!
Nice job, now I can actually get back to work on some of my older crashed levels!

Oh and a question, if I open up the constructor folder and delete the default map2dif file, then put the marble blast in there and name it the same thing, will it work when I click it in constructor? I'm just asking before I do something stupid.

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
More
07 Aug 2009 05:39 #8 by Perishingflames
Replied by Perishingflames on topic No More Map2dif-ficulties!
As long as your on pc, yes replacing it should work, that was how the map2dif file was intended to be used.

Please Log in or Create an account to join the conversation.

More
07 Aug 2009 15:42 #9 by ridley2
Replied by ridley2 on topic No More Map2dif-ficulties!
Oh... Mah.... Gawsh.
THATS AWESOME! Perhaps we can convert your taurus now, pf?

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
More
07 Aug 2009 17:55 #10 by Perishingflames
Replied by Perishingflames on topic No More Map2dif-ficulties!
Guys, you need to understand this hack doesn't exactly work. Yes, it converted and will show up in game, but there are so many cracks and missing pieces that it is basically unusable. If you want to see for yourself (looks ok from the outside, but hellish inside the tube)... www.mediafire.com/?wzyhni4tqdy

Please Log in or Create an account to join the conversation.

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
08 Aug 2009 06:03 #11 by Seizure22
Replied by Seizure22 on topic No More Map2dif-ficulties!
Have you tried turning the entire thing into detail brushes? Complex structural brushes, and structural brushes colliding with detail brushes, seem to cause most of the problems.

I've been using this method while working on a dif, and the only real problem has been with the shadow stretch glitch, which can be fixed by applying NULL to problem faces.

Please Log in or Create an account to join the conversation.

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
16 Aug 2009 23:54 #12 by Seizure22
Replied by Seizure22 on topic No More Map2dif-ficulties!
Bump, created a program (.exe) for the process.

Please Log in or Create an account to join the conversation.

More
22 Aug 2009 17:37 #13 by FruBlox
Replied by FruBlox on topic No More Map2dif-ficulties!
Hmm, I just tried it with a failed map of mine, it showed up perfectly but the whole interior was not solid. Meaning if you put your marble on it, it will just fall through.
But it's great if your going for untouched scenery.

EDIT: I think the reason for this is not the method, but simply the legacy dif export. It was not designed for marbleblast and thus it will not work entirely correctly. If you can figure out some different code to add in, or a completely different hack for another dif export. I'm afraid the interior will be simply un-usable.

Please Log in or Create an account to join the conversation.

  • RDs.The-dts-guy
  • RDs.The-dts-guy's Avatar
  • Offline
  • Developer
  • Developer
  • Blender pls
More
06 Mar 2010 14:21 #14 by RDs.The-dts-guy
Replied by RDs.The-dts-guy on topic No More Map2dif-ficulties!
goood hack you rock

Some guy that does DTS shapes and levels.

AWESOME time HINT : When making PQ level place your custom interiors and textures in platinum/data/interiors_pq/custom
makes life easier for you and everyone else :)

Please Log in or Create an account to join the conversation.

More
06 Mar 2010 15:52 #15 by CyberFox
Replied by CyberFox on topic No More Map2dif-ficulties!
how did u figure out that the last FF was the problem? i mean, its not even readable code, its just binaries.

Please Log in or Create an account to join the conversation.

  • Seizure22
  • Seizure22's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
More
06 Mar 2010 22:01 #16 by Seizure22
Replied by Seizure22 on topic No More Map2dif-ficulties!
Compared a cube used with marbleblastmap2dif and a cube exported from constructor (small files, makes it easier to compare differences).

Please Log in or Create an account to join the conversation.

More
07 Mar 2010 01:47 #17 by CyberFox
Replied by CyberFox on topic No More Map2dif-ficulties!
no decompilations or any fancy tricks, just raw binaries?

Please Log in or Create an account to join the conversation.

  • Lambencee(Aaron_Y)
  • Lambencee(Aaron_Y)'s Avatar
  • Offline
  • Advanced Marbler
  • Advanced Marbler
More
07 Mar 2010 01:54 #18 by Lambencee(Aaron_Y)
Replied by Lambencee(Aaron_Y) on topic No More Map2dif-ficulties!
Yea because there's no problem with a cube so how can the FF be in the cube when the cube doesn't give errors? If it's in a cube it isn't the problem.

Please Log in or Create an account to join the conversation.

More
30 Sep 2010 20:15 #19 by Vixuzen
Replied by Vixuzen on topic No More Map2dif-ficulties!
I can't spawn my interior to game .
I did everything on one tutorial, but i can't spawn interior.
every time i click on interior name it don't wan't spawn
What's up???

Please Log in or Create an account to join the conversation.

More
30 Sep 2010 23:22 #20 by Pablo
Replied by Pablo on topic No More Map2dif-ficulties!
Add your interior via the mission file, logodawid. Add this to your mission:

new InteriorInstance() {
position = 0 0 0;
rotation = 1 0 0 0;
scale = 1 1 1;
interiorFile = ~/data/interiors/yourinteriorname.dif;
showTerrainInside = 0;
};

This lets you add some interiors that otherwise don't work.

Please Log in or Create an account to join the conversation.

  • lamp47
  • lamp47's Avatar
  • Visitor
  • Visitor
12 Feb 2011 23:53 #21 by lamp47
Replied by lamp47 on topic No More Map2dif-ficulties!
Diffix is not the best program..... for example I made a test level with MPs I used diffix and it worked, only the platform did not move.

Please Log in or Create an account to join the conversation.

Moderators: Kalle29AayrlRegislian