Chunk Cloning Help

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Chunk Cloning Help

Post by Eaton »

I have been cloning chunks in Entity 1.3.9 to add some vehicles to my map, but I noticed that some weapons contrails are EXTREMELY corrupted. I open my map up in Contrail Editor and it gives me an error. I delete the cloned chunks in Entity, try and open it in Contrail Editor again and it works fine. Any ideas on how to properly clone chunks that won't break the contrails?
Image
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Your best bet is to make sure your plugin is correct.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

Or that someone fix Entity chunk cloner...
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

shade45 wrote:Your best bet is to make sure your plugin is correct.
The plugin is correct because I have tried a couple of them and I talked with xzodia and he says that it is the Chunk Cloner. I guess I will just have to ignore this issue and hope that the contrails don't get messed up even more.
Image
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Eaton wrote:
shade45 wrote:Your best bet is to make sure your plugin is correct.
The plugin is correct because I have tried a couple of them and I talked with xzodia and he says that it is the Chunk Cloner. I guess I will just have to ignore this issue and hope that the contrails don't get messed up even more.
Try replacing the unused values with unknown for now. Im gonna take a look and see if I can find the problem with the chunk cloner.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

shade45 wrote:
Eaton wrote:
shade45 wrote:Your best bet is to make sure your plugin is correct.
The plugin is correct because I have tried a couple of them and I talked with xzodia and he says that it is the Chunk Cloner. I guess I will just have to ignore this issue and hope that the contrails don't get messed up even more.
Try replacing the unused values with unknown for now. Im gonna take a look and see if I can find the problem with the chunk cloner.
EDIT: I tried Entity Alpha 1 with Chunk Cloning, cloned a few chunks, opened up Contrail Editor, and it loaded! This old version seems to have the best cloner...
Image
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Eaton wrote:
shade45 wrote:
Eaton wrote:
shade45 wrote:Your best bet is to make sure your plugin is correct.
The plugin is correct because I have tried a couple of them and I talked with xzodia and he says that it is the Chunk Cloner. I guess I will just have to ignore this issue and hope that the contrails don't get messed up even more.
Try replacing the unused values with unknown for now. Im gonna take a look and see if I can find the problem with the chunk cloner.
What do you mean by replacing the unused values?
Becouse enity ignores unused values in the plugin you have to find them and replace them with unknown values.

If you look in your plugin this would be an example of an unused

Code: Select all

<unused offset="60" size="36" />
see the size is "36" take that and dive it by 4.

36/4 = 9

we need to replace that line with 9 unknowns values like this.

Code: Select all

<undefined name="Unknown" offset="60" visible="False" />
<undefined name="Unknown" offset="64" visible="False" />
<undefined name="Unknown" offset="66" visible="False" />
<undefined name="Unknown" offset="70" visible="False" />
<undefined name="Unknown" offset="74" visible="False" />
<undefined name="Unknown" offset="78" visible="False" />
<undefined name="Unknown" offset="82" visible="False" />
<undefined name="Unknown" offset="86" visible="False" />
<undefined name="Unknown" offset="90" visible="False" />

add 4 to the offset on each line like above.

Doing this should make the plugin work in the chunk cloner.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

Looks complicated. I just looked through the plugin and I see what you mean. I hope this will work. I just wish someone would fix that cloner... But thank you for your help! :D

EDIT: There are WAY to many to correct. I think I will just ignore it or use Alpha 1.
Image
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

I already explained this problem months ago no one cares no one fixed apps :(
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Post by Eaton »

neodos wrote:I already explained this problem months ago no one cares no one fixed apps :(
Well, it's not a huge problem, but I guess I won't be able to edit the contrails now. That would be nice if someone would fix it... *hint hint*

I program, but Halo applications are too advanced for me. I wish I could fix it... :cry:
Image
User avatar
kibito87




Stylist Connoisseur Advisor Bloodhound
Droplet Articulatist 500

Posts: 3461
Joined: Mon Feb 21, 2005 7:49 pm
Location: Ohio
Contact:

Post by kibito87 »

neodos wrote:I already explained this problem months ago no one cares no one fixed apps :(
While I understand this can be frustrating to you among others...myself included... People need to realize that programmers do have a life and do have other important matters on their agenda and can't tend to every care and need somebody comes up with.

Some may not have the time. Other's may not feel like coming back to it and fixing it because of all the headache and hassle. I know for a fact that entity was a program that was built for testing and researching purposes. So it wasn't entirely built just for the community. Thus the code wasn't written perfectly and can get tiresome when sifting through and trying to correct. I've talked to Anthony about this before so I do have justification for what i'm saying.

If it really boiled down to it, learn to program and learn how to read a halomap file and fix these flaws yourself.
Image
User avatar
TroyMac1ure





Posts: 29
Joined: Sun Feb 10, 2008 10:39 am

Re: Chunk Cloning Help

Post by TroyMac1ure »

*bump*
This is old, but I have started fixing issues in Entity and just releaed a new version. I came across this post yesterday, so it will not be included in this release, but I will see what I can do if you're still modding :wink:
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Re: Chunk Cloning Help

Post by Eaton »

TroyMac1ure wrote:*bump*
This is old, but I have started fixing issues in Entity and just releaed a new version. I came across this post yesterday, so it will not be included in this release, but I will see what I can do if you're still modding :wink:
I still mod. Not as much because I am frustrated with this issue and many more... But if you could fix it so it wouldn't break maps, that would be an immense help! :D
Image
User avatar
xXFeRcHoXx





Posts: 155
Joined: Thu Nov 22, 2007 3:11 pm
Location: Michoacan Joined: 06 Sep 2003 Posts: 1337

Re: Chunk Cloning Help

Post by xXFeRcHoXx »

Well, since Entity 1.3.9 throws me an exception error while trying to clone chunks, I clone chunks with Entity UE 1.6 just fine.
User avatar
Eaton




Enthraller

Posts: 1639
Joined: Thu Jun 14, 2007 4:16 pm
Location: USA

Re: Chunk Cloning Help

Post by Eaton »

xXFeRcHoXx wrote:Well, since Entity 1.3.9 throws me an exception error while trying to clone chunks, I clone chunks with Entity UE 1.6 just fine.
No Entity clone chunks correctly. I don't think the chunk cloner code was altered in any version. With the exception of 1.4.
Image
User avatar
ogrish




Articulatist 100

Posts: 243
Joined: Sun Jun 11, 2006 12:44 pm
Location: Oildale Ca.
Contact:

Re: Chunk Cloning Help

Post by ogrish »

ive been looking thru this and comparing plugins.
How can you tell if something is wrong?
I find changes in all plugins, which is right?
Example
Image
Does this effect chunk cloning or transfering tags to maps?
Image
Image
User avatar
DemonicSandwich




Advisor Connoisseur

Posts: 1198
Joined: Sat Sep 30, 2006 6:10 pm
Location:

Re: Chunk Cloning Help

Post by DemonicSandwich »

@Eaton:
Brok3n Halo coded Entity up to verison 1.3 After that it was purely coded outside users with a slight exception to 1.6. Although none of them intentionally changed the chunk cloner coding, the coding was changed as a sideaffect to whatever the user changed/added.

And since the very same Entity version and plugins have drastically different affects on different PC's, one of the major causes is clearly the .Net Framework.
Next likely cause is user error and plugins. Then the cloner code.
--------------------------------------------------
@ogrish:
Entity doesn't use plugin offset values. The offset values in the plugins are purely for user reference.
It just counts the values in order so say if there is a float(which is 4 bytes) at offset 28, it will expect the next value or structure to be at offset 32 and if there is a short (2 bytes) at offset 32, it expects the next value/structure to be at offset 34.
It completely ignores the plugin offsets.
--------------------------------------------------
In the first pair of images, that value can be either one. A short and an Enum16 use the same amount of data and display values the same.
However since it is a count, it should be a short but again, in that case it doesn't matter.

In the second pair, the left image is showing a plugin that is likely to have a float or two too many cause that reflexive should be displayed at offset 164.
The right image shows Entity not even reading the plugin correctly because those values are not inside of "Old Functions".
It's likely due to bad plugin or just what it likely is...a fail plugin editor.

Structurally [bipd], [bloc], [ctrl], [eqip], [mach], [proj], [scen], [vehi], and [weap] are identical from the top down to the "Predicted Resources" reflexive.
The structures are so identical that you can transfer chunk meta across tag classes. The "Old Functions" reflexive is among these reflexives and every plugin I've used has either labeled "Old Functions" at offset 164 or has labeled it unused.
Nor have I ever seen this reflexive even exist in a tag.

Some have more in common than others like [bipd] and [vehi] which are identical all the way down to the "Seats" reflexive.
Yes, some [bipd]'s actually have seats. So when that marine says: "Lets catch one and ride it", you could take that to a more literal level. :lol:
AIM wrote:Demonic5andwich (6:10:10 PM): structure of a first person weapon animation:
Demonic5andwich (6:10:43 PM): mess, mess, maybe a node?, another header?! wtf!, more mess, tacos, more shit
User avatar
Thrasher Alpha





Posts: 517
Joined: Wed Jun 28, 2006 6:07 am
Location: United States Of America
Contact:

Re: Chunk Cloning Help

Post by Thrasher Alpha »

Eaton wrote:I have been cloning chunks in Entity 1.3.9 to add some vehicles to my map, but I noticed that some weapons contrails are EXTREMELY corrupted. I open my map up in Contrail Editor and it gives me an error. I delete the cloned chunks in Entity, try and open it in Contrail Editor again and it works fine. Any ideas on how to properly clone chunks that won't break the contrails?
Thats Entity for you. Try to use Alpha, if not UE1.6
Image
User avatar
TroyMac1ure





Posts: 29
Joined: Sun Feb 10, 2008 10:39 am

Re: Chunk Cloning Help

Post by TroyMac1ure »

The whole Entity Alpha thing doesn't work either. Entity Alpha just had no checks for issues. If you clone in Alpha and open it in 1.6UE (or whatever) you will still get the errors.
I did some testing and discovered that the cloning has nothing to do with UNUSEDs. I changed all the UNUSEDs in the [CONT] tag to UNDEFINED and I still get errors. This goes with my looking through the source and not finding any issues there either. I believe the problem lies in the total size of the TAG.

For instance if you clone a chunk under [CONT] BANSHEE_BOMB the map messes up. But if you then go into [CONT] BANSHEE_WINGTIP_CONTRAIL and delete one of it's three chunks, the map is fixed. Therefore, I am sure that the issue is not with the plugin or with the UNUSEDs, but with the TAG total size(?)

I'll have to do a more in depth look at this.
OneZeroOne





Posts: 12
Joined: Sun Jan 18, 2009 12:33 am

Re: Chunk Cloning Help

Post by OneZeroOne »

That's it it may also be chunk/reflexives size being wrong, the problem with unused is that some are not unused and if you set these to floats sometimes the app will clone chunk without errors.

Also tags like vehi have shared reflexives with other tags.
Post Reply