| LizzLove | posted: Wed Sep 14, 2005 10:08 pm | |
Member since: 2005-07-22 Posts: 8
| I just got Nightlife and started taking it a apart (of course!) :D I get a lot of errors with the bhav files. I did a DisAsim2 dump of the object file and noticed that it could not decompile a lot of the bhavs.
I thought I would start a thread where we can list format changes in the Nightlife expansion as we find them. Hopefully this will give Quaxi the a start on what is needed to make SimPE compatable with Nightlife.
Here is the error message I get: (Note SimPe reports the format as 0x6C43)
Message:
Error while trying to open
Package: F:\Sims2\Nightlife Object file\objects.package
File: Behaviour Function (42484156) - 00000000 - 7FD46CD0 - 0000029B
SimPE Version:
Default (0.48.2080.40597).
Exception Stack:
System.Exception: Unknown BHAV Format 6C43
at SimPe.Plugin.BhavHeader.Unserialize(BinaryReader reader)
at SimPe.Plugin.Bhav.Unserialize(BinaryReader reader)
at SimPe.Interfaces.Plugin.AbstractWrapper.ProcessData(IPackedFileDescriptor pfd, IPackageFile package, Boolean catchex)
Source:
simpe.bhav.plugin
Execution Stack:
at SimPe.Plugin.BhavHeader.Unserialize(BinaryReader reader)
at SimPe.Plugin.Bhav.Unserialize(BinaryReader reader)
at SimPe.Interfaces.Plugin.AbstractWrapper.ProcessData(IPackedFileDescriptor pfd, IPackageFile package, Boolean catchex)
Example DisaSim2 dump:
###
# Group = 0x7FD46CD0, Instance = 0x29B
# Title = Clothes - Change Outfit - External Guid
#
# Format = 8009, Params = 4, Locals = 0
# Tree type = 0, Header flag = 6, Tree version = FFFF8018 (-32744)
Note that DisaSim2 reports the format as 8009. The Wiki is down but I do not remember any 8009 format.
Lizz |
| Inge Jones | posted: Thu Sep 15, 2005 9:40 am | |
Member since: 2005-03-06 Posts: 1899
| Lizz, which BHAV plugin were you using? Can you try using the other one and compare if you still get the error? I won't have NL for a few days yet and your input will help Pete get on top of this the soonest. |
| quaxi | posted: Thu Sep 15, 2005 12:16 pm | |
Member since: 2006-04-28 Posts: 3154
| The error was generated by the default wrapper.
See the source section in the Exception Message, it says simpe.bhav.plugin, if it was caused by Peters Plugin, it would give you the filename of his dll. |
| Anonymous | posted: Thu Sep 15, 2005 12:18 pm | |
Member since: 1999-11-30 Posts: 0
| HI Inge 8)
I received NL yesterday (it's about USD $20 in my country and I received a good SIMS2 printed mouse pad too! oh yeah!) and tested in SIMPE,
SIMPE (default) plugin -> error in some bhavs
PJSE plugin -> looks like trying to open, but doesn't interpret some bhavs
Disasim2 -> doesn't interpret some bhavs
I can't wait for the next version of SIMPE...
:wink: |
| quaxi | posted: Thu Sep 15, 2005 1:31 pm | |
Member since: 2006-04-28 Posts: 3154
| Ok, here is what i found about the BHAV.
The format code is 0x8009, which simply means, that the BhavHeader contains one more Byte.
The instructions stored in the BHAV can be read as with the 0x8007 types.
Would it help you Inge if I extract one or tow BHAVs with the new Format, and send them to you or Peter? |
| Inge Jones | posted: Thu Sep 15, 2005 1:38 pm | |
Member since: 2005-03-06 Posts: 1899
| Yes please Quaxi :) Send them to me because Peter tends to delete his mail haphazardly and might not see them. |
| quaxi | posted: Thu Sep 15, 2005 2:04 pm | |
Member since: 2006-04-28 Posts: 3154
| I'll attach them here. |
| Inge Jones | posted: Thu Sep 15, 2005 2:05 pm | |
Member since: 2005-03-06 Posts: 1899
| Is there not an 8008? We went up to 8007 before, and surely they didn't jump straight to 8009? |
| quaxi | posted: Thu Sep 15, 2005 2:07 pm | |
Member since: 2006-04-28 Posts: 3154
| No, I am not sure yet. There are 23000 BHAVs in the objects.package, and I didnÄt have the time to check all of the yet :D |
| Inge Jones | posted: Thu Sep 15, 2005 2:10 pm | |
Member since: 2005-03-06 Posts: 1899
| Quaxi you lazy thing, fancy not learning the contents of the entire file already :D
Well PJSE read and opened the 8009 BHAVs but the line numbers are all out - obviously explained by that extra byte. |