SC4 Devotion Forum Archives

Sim City 4 Devotion Tools => Tools - General Discussion => BSC NHP DatPacker => Topic started by: medit84truth on June 23, 2015, 08:28:30 AM

Title: DatPacker Python Error
Post by: medit84truth on June 23, 2015, 08:28:30 AM
There were a few other topics dealing with similar errors using this tool, but I didn't want to bump threads that hadn't been active for three years.

I received this error message when attempting to datpack one of my plugins folders. Funny thing is, the items that are shown in the error message have been previously packed at one point.


********************* ERROR *********************
in examplar 0x6534284AL 0xB8C3A1C9L 0x78B01BC6L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\meister1235\MEI_garage-over-ave\MEI_garage-update1-0x6534284a-0xb8c3a1c9-0x78b01bc6.SC4Desc
0x27812810:{"Occupant Size"}=Float32:3:{Width: 64, Height: 23.86199951, Depth: 48}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xB8C3A1C9L 0x78B01BC6L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\meister1235\MEI_garage-over-ave\MEI_garage-update1-0x6534284a-0xb8c3a1c9-0x78b01bc6.SC4Desc
0x2781284F:{"Landmark Effect"}=Sint32:2:{Magnitude: 0x00000019, Radius: 0x0000000A}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xB8C3A1C9L 0x78B01BC6L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\meister1235\MEI_garage-over-ave\MEI_garage-update1-0x6534284a-0xb8c3a1c9-0x78b01bc6.SC4Desc
0x27812850:{"Park Effect"}=Sint32:2:{Magnitude: 0x00000019, Radius: 0x0000000A}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xB8C3A1C9L 0x78B01BC6L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\meister1235\MEI_garage-over-ave\MEI_garage-update1-0x6534284a-0xb8c3a1c9-0x78b01bc6.SC4Desc
0x27812851:{"Pollution at center"}=Sint32:4:{Air: 0x00000000, Water: 0x00000000, Garbage: 0x00000000, Radiation: 0x00000000}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xB8C3A1C9L 0x78B01BC6L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\meister1235\MEI_garage-over-ave\MEI_garage-update1-0x6534284a-0xb8c3a1c9-0x78b01bc6.SC4Desc
0x68EE9764:{"Pollution radii"}=Float32:4:{Air: 0, Water: 0, Garbage: 0, Radiation: 0}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xD692584CL 0x3A742D16L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\nofunk\BSP Davidson Block-DarkNite (Nofunk)\BSP Davidson Block-DarkNite\CS$$4_5x2_DavidsonBlock_DN_GROW.dat
0x27812810:{"Occupant Size"}=Float32:3:{Width: 0}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xD692584CL 0x3A742D16L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\nofunk\BSP Davidson Block-DarkNite (Nofunk)\BSP Davidson Block-DarkNite\CS$$4_5x2_DavidsonBlock_DN_GROW.dat
0x27812851:{"Pollution at center"}=Sint32:4:{Air: 0x0000000A}
*************************************************
********************* ERROR *********************
in examplar 0x6534284AL 0xD692584CL 0x3A742D16L
located in C:\Users\Owner\Documents\SimCity 4\Plugins\B Folder\nofunk\BSP Davidson Block-DarkNite (Nofunk)\BSP Davidson Block-DarkNite\CS$$4_5x2_DavidsonBlock_DN_GROW.dat
0x68EE9764:{"Pollution radii"}=Float32:4:{Air: 0}
*************************************************


What could possibly be wrong with these particular files for them to have prompted an error message?
Title: Re: DatPacker Python Error
Post by: markussaage on June 24, 2015, 03:39:37 AM
Hi,

I've had the Python error once in a while and it always was a file problem. For what I know is that the
CS$$4_5x2_DavidsonBlock_DN_GROW.dat has an internal file error with the occupant size width which is 0 (zero).
And that's definitv wrong, because no building should have a zero occupant size. I don't use this building anymore.
I only use the second building in this package. For the mei-garage I don't know, I use it. Maybe there was an error with
it which I corrected with the SC4DataNode tool, but I don't remember.

Remove those files from the folder and try to datpack again. If you can datpack then without problems you know, what's
wrong. You should remove the nofunk file and try to redownload the meister1235 file.

Are you using iLive's Reader to look into the files? If so, don't use the newer versions, try the old 0.93 version. The newer versions cause data error during saving (made my experience with it).

Kind regards!
Title: Re: DatPacker Python Error
Post by: medit84truth on June 24, 2015, 09:51:00 PM
I figured I would have to take them out of that folder. I put them back in after correcting the values in reader and everything gets datpacked fine now.

Thanks for the response.
Title: Re: DatPacker Python Error
Post by: markussaage on June 25, 2015, 03:35:50 AM
You're welcome!
Title: Re: DatPacker Python Error
Post by: Tropod on July 25, 2015, 03:06:33 PM
Quote from: markussaage on June 24, 2015, 03:39:37 AM
Hi,

I've had the Python error once in a while and it always was a file problem. For what I know is that the
CS$$4_5x2_DavidsonBlock_DN_GROW.dat has an internal file error with the occupant size width which is 0 (zero).
And that's definitv wrong, because no building should have a zero occupant size. I don't use this building anymore.
I only use the second building in this package. For the mei-garage I don't know, I use it. Maybe there was an error with
it which I corrected with the SC4DataNode tool, but I don't remember.

Remove those files from the folder and try to datpack again. If you can datpack then without problems you know, what's
wrong. You should remove the nofunk file and try to redownload the meister1235 file.

Are you using iLive's Reader to look into the files? If so, don't use the newer versions, try the old 0.93 version. The newer versions cause data error during saving (made my experience with it).

Kind regards!

I realise this post is a month old however.....

A few new versions of ilives reader have been updated by both myself & null45. And OS bug should be fix. If users are still encountering problems then I suggest posting it in the relevant thread  :thumbsup:.