What's new

Tools Serenity 3.3 - Iron Forge

  • Thread starter Zone 117
  • Start date
  • Views 11,028
Z

Zone 117

Premium
Premium
Messages
1,431
Reaction score
225
Points
200
Sin$
0
Iron_Forge said:
I stumbled upon a mod that wouldn't work with Serenity, despite looking like it should...Turns out it created more than 16M of patch data for a single block...I guess I never really thought this would happen, so I added support for it...Looking at the map, it turned out the large patch block was caused by a poorly built map, rather than actually changing 16M worth of data...Had this patch been built differently, it would have cut around 26M (pre-compression) off the patch...Thought I'd explain somewhat how and why this happens...

Patches are done by a byte by byte comparison without any sync. So if you take the data abcdefgh, and change it to abcxefgh, the patch will store offset 4, change 1 byte to x...Now, if you take the same data, abcdefgh, and change it to abcdefghx, the patch will store offset 9, change 1 byte to x, or add 1 byte x to end of data, depending on the patch format...Now, because patches do not have sync, if you take the data abcdefgh, and change it to xabcdefgh, the patch is forced to store offset 1, change 9 bytes to xabcdefgh...Because the data is shifted, when creating the patch it will compare x to a, a to b, b to c, and so on, finding that every byte has changed...This is the same for all patch formats, ppf, sppf, or serenity...

Now, where these formats differ, is blocking...Blocking involves breaking data up into set blocks, which minimizes the effects of shifting to a single block...PPF is the base patch format, and because it is not file format specific, only has one block...What this means is, if a single byte is added to the beginning of the file, the shifting effect is seen throughout the entire file...SPPF steps this up a notch, by splitting halo 2 map files into 4 blocks...So any shifting done in any block, will be localized to that block...For example, if a single byte is added to the sound data, ppf would see the effects of shifting well into the meta block, making for extremely large patches...SPPF however, would only see shifting till shortly after the BSP data...So none of the bitmap data, or meta data would have to be included in the patch due to shifting...The major downfall with SPPF, is that the block sizes vary greatly, because their start/end points must be found within the map file header to maximize compatibility...

Now for Serenity...In compliant mode, Serenity will break the map into approximately 35 blocks, plus a separate block for every tag in the map...Thus any changes made to any tag, will be localized, and not effect other tags after it in the map...To have this kind of precision however, the map file must be nearly flawless, so that Serenity has access to all the proper data, and can find correct starting and ending points...Serenity in compliant mode will actually allow holes, as long as they are contained on either side with correct data...So a hole in the center of the bitmap data will be acceptable...Then there is non-compliant mode...This mode treats the entire meta as a single block...It is also much less strict on out of order data and holes, though the lowest offset for data must be in the correct order relative to the rest of the map...What this means, is that sound data can be injected anywhere in the map, as long as sound data exists at offset 2048 where the sound data should start...And model data can be anywhere in the map, as long as the first bit of model data exists after sound data, and before other data...It's fairly easy to get a map to work with non-compliant mode if attempted...

New in Serenity v3.30 is NFG Mode...This will basically use the same 4 points as an sppf patch for those of you who are poor excuses for modders, don't care about the size of mod you're forcing people to get, and in general horrible human beings...This will allow you to take full advantage of the features Serenity provides, though it will mean for larger patches than the other 2 Serenity modes, which will usually prevent from halomods hosting, and thus additions to the serenity repository...It also means SPPF can be phased out the same way PPF has been, and we can all sleep easier at night...

Basically what he means is: SPPF is totally obsolete at this point, all mods work with Serenity now. Serenity has all the features that a patch program can have. Including Mainmenu options.
So to all you nubs out there: Start using Serenity, SPPF is useless.

Find it in the Halo 2 Modding Tools thread
 
Last edited by a moderator:
A

AtomicBump

Premium
Premium
Messages
3,341
Reaction score
179
Points
345
Sin$
0
isnt serenity the only one that supports AI also?
 
Z

Zone 117

Premium
Premium
Messages
1,431
Reaction score
225
Points
200
Sin$
0
SPPF does, but Serenity patches are smaller, more professional, and there are way more options... like mainmenu pic, description, ect.
 
A

AtomicBump

Premium
Premium
Messages
3,341
Reaction score
179
Points
345
Sin$
0
yea ive never seen an AI patch in SPPF format (like a pro mod)...and serenity is good programming, where as SPPF freezes then finishes patching, where as serenity does not...(unless you have a ****-in-the-box computer..)
 
T

That Cool Guy13

Newbie
Messages
39
Reaction score
0
Points
45
Sin$
0
when ever i try to apply a patch it just ends up with an error message
 
I

infamousedice

Newbie
Messages
25
Reaction score
0
Points
35
Sin$
0
i keep geting some error for some reason it says
The application Failed to initialize properly {0xc0000135}. click ok to terminate the application
 
E

Eqnoble

Enthusiast
Messages
81
Reaction score
2
Points
55
Sin$
0
i not sure if this applies here but do you have .net installed ....some software requires it to run properly
 
I

infamousedice

Newbie
Messages
25
Reaction score
0
Points
35
Sin$
0
yea i noticed that ma bad for the dumb question it was that i had just restarted ma computer with Vista
 
D

Devilkid666

Newbie
Messages
4
Reaction score
1
Points
45
Sin$
0
hey im getting the message that the patch might be invalid..... does CMR screw it up when you use it on the patched data or is the patches no good?
 
Z

Zone 117

Premium
Premium
Messages
1,431
Reaction score
225
Points
200
Sin$
0
Devilkid666 said:
hey im getting the message that the patch might be invalid..... does CMR screw it up when you use it on the patched data or is the patches no good?
You used CMR on a Serenity patch...?
 
D

Devilkid666

Newbie
Messages
4
Reaction score
1
Points
45
Sin$
0
yeah im use to working with SPPF and i always CMR'ed the mods that i did.... why did i do a bad thing
 
R

ravenlunatic

Newbie
Messages
3
Reaction score
0
Points
35
Sin$
0
how do i put moded maps onto halo 2 using serenity? for example war.serenity is a moded containment.map i have no idea how to replace the original map with the moded map. please help me.
 
O

Orunj

Newbie
Messages
3
Reaction score
0
Points
35
Sin$
0
ok i down loaded serenity 3.3 which by the way I don't know what that is but I downloaded it and its rar file? how do I open it? I was trying to get the two new maps to work thanks :smile:
 
R

RiP_v2

Newbie
Messages
13
Reaction score
1
Points
45
Sin$
0
Everytime I try to apply a patch I get an error message. I have windows Vista, I'm not really sure if it worked with that so I tried running it in XP compatibility mode, but no luck. When I start it it gets half wat through and then it says Program failed. Then it gives me a chioce to resolve the problem online, or just close it.

And yes I have .net framework...
 
Top Bottom
Login
Register