• Moose
  • Announcements

    • Dirktator

      Help us with our donation goal for a new Chat upgrade!   04/17/2017

      Your donations not only help keep the site up and running, but also allows us to expand some functionality and upgrade other features of the site periodically to stay current! We're looking for some community support to help us get a new Chat system (as you know our old Chat is no longer supported by IP.Board). A new system promises to give us many more options and all for fairly little cost, relatively speaking. Please help us reach our April goal so we can keep bringing you site improvements as well!  Donate and Get a Gift or Donate Any Amount Thanks so much! - Dirktator & The Admins
oppie

SimCityPak - Modding Tool

618 posts in this topic

...

 

This makes somewhat sense as it would prevent cheating for challenges and stuff. I think it's going to be waiting for Maxis to either built in a check if all the original files are loaded into the game (making you elligable for a challenge) or if you have a modified version where you can't particpate in the leaderboards and stuff. At least it can be modded, but just a bit less easy. In the worst case really someone needs to write a tool to easily put the files into the package file so they don't need to download a huge amount.

I was thinking something along the same lines, although unless they add a file check later, you'd still be able to make "game breaking" modificiations - but then again, it would be harder for the game to check if there are changes to the original files than to just detect whether there are additional modded files and disable leaderboards when that's the case. But before I'm going to jump to a conclusion, there are a couple of things I'd like to try.

 

Anyway, I'm having a lot of fun just messing around with these files and in the end, modding GlassBox is turning out to be relatively easy. The hardest part is identifying the relationship between all of the property files and the properties themselves. Here's one I wish I could release in a simple .package file; a longer train mod:

v766zrY.jpg

wokisan and fatbuster like this

Share this post


Link to post

his makes somewhat sense as it would prevent cheating for challenges and stuff. I think it's going to be waiting for Maxis to either built in a check if all the original files are loaded into the game (making you elligable for a challenge) or if you have a modified version where you can't particpate in the leaderboards and stuff. At least it can be modded, but just a bit less easy. In the worst case really someone needs to write a tool to easily put the files into the package file so they don't need to download a huge amount. 

This is part of how their patch system works rather than an attempt to prevent cheating. Given that script data is heavily versioned (note the number in the package name), it needs to be able to purge old content (and does).

Share this post


Link to post

Oppie, I would like to congrajulate you on jump-starting the modding for Simcity.

 

Once the tool is more drawn out and understandable, the modding community will probably explode.

Share this post


Link to post

Hey Guys,

I was wondering for anyone could give me some help I am new to Sim City and have no idea how to mod this game.  I have installed mods in other games the Civ 5 but never for any of the sim city games. Is there any where i can find step by step instructions for installing this mod.  I have been looking through all the program files and I have no idea where or how to install this mod.  It sounds awesome and I cant what to play it once i figure out how to install and play this mod.  Please Please Please if there is any way some body can help me i would greatly appricate it. Thanks guys for you help.

Share this post


Link to post

Hey Guys,

I was wondering for anyone could give me some help I am new to Sim City and have no idea how to mod this game.  I have installed mods in other games the Civ 5 but never for any of the sim city games. Is there any where i can find step by step instructions for installing this mod.  I have been looking through all the program files and I have no idea where or how to install this mod.  It sounds awesome and I cant what to play it once i figure out how to install and play this mod.  Please Please Please if there is any way some body can help me i would greatly appricate it. Thanks guys for you help.

I believe that this isn't a 'playable' mod. It's just an early programme that's being used to discover what various files are in game.

Share this post


Link to post

This is not a mod itself, it is a tool to view (and now edit) the game files to create mods.

There are some mods on this forum, and some on reddit and some on simcity-mods.com

Share this post


Link to post

@santosh82 - I plan to release a new version tomorrow that hopefully fixes that problem. In the mean time, have you tried running the program as an administrator (it might have something to do with not being able to load the Property Registry XML)?

@warrior - I seem to be missing a few files like ViewScanUnusedIDs and ViewMiniResult that haven't been checked in (or am I missing something?)

Share this post


Link to post

Cannot wait for the ability to edit textures and edit the Nissan logo placement out of the recharging station.  :)

By the way, is it possible to upload one's changed instance names so that everybody can access property's more easy using their name?

 

//edit: I guess that's only possible by joining the CodePlex Project and editing the InstanceRegistry.xml?

Share this post


Link to post

@santosh82 - I plan to release a new version tomorrow that hopefully fixes that problem. In the mean time, have you tried running the program as an administrator (it might have something to do with not being able to load the Property Registry XML)?

 

Hi Oppie, tried that as well. I will wait for a new version. cheers

Share this post


Link to post

Cannot wait for the ability to edit textures and edit the Nissan logo placement out of the recharging station.  :)

By the way, is it possible to upload one's changed instance names so that everybody can access property's more easy using their name?

 

//edit: I guess that's only possible by joining the CodePlex Project and editing the InstanceRegistry.xml?

If you post them here, then I or someone else can add them in for you.

Share this post


Link to post

So, here is a list of names from the SimCity_DLC0.package, it's kinda weird that all the DLCs are downloaded to your computer, even the ones you didn't buy or aren't released yet:

<Instance id="0xbc45e41b" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="Vu Tower" Comment="" Hidden="false" Tags="" />
<Instance id="0x4d4a028e" groupId="0x47f0c900" typeId="0x00b1b104" DisplayName="Jail Cells (Ground Floor)" Comment="" Hidden="false" Tags="" />
<Instance id="0x4d4a028d" groupId="0x47f0c900" typeId="0x00b1b104" DisplayName="Jail Cells (Top Floor)" Comment="" Hidden="false" Tags="" />
<Instance id="0xeb3c5ba1" groupId="0x49f0c900" typeId="0x00b1b104" DisplayName="German High-Speed Rail Station" Comment="" Hidden="false" Tags="" />
<Instance id="0xc5ded49d" groupId="0x47f0c900" typeId="0x00b1b104" DisplayName="French Patrol Car Lot" Comment="" Hidden="false" Tags="" />
<Instance id="0x921aeacd" groupId="0x48f0c900" typeId="0x00b1b104" DisplayName="Double-Decker Bus Terminal" Comment="" Hidden="false" Tags="" />
<Instance id="0x2bbd3f21" groupId="0x48f0c900" typeId="0x00b1b104" DisplayName="Big Ben" Comment="" Hidden="false" Tags="" />
<Instance id="0x1111dd2d" groupId="0x49f0c900" typeId="0x00b1b104" DisplayName="Brandenburg Gate" Comment="" Hidden="false" Tags="" />
<Instance id="0xeb9b1350" groupId="0x47f0c900" typeId="0x00b1b104" DisplayName="Eiffel Tower" Comment="" Hidden="false" Tags="" />
<Instance id="0x7a1395a8" groupId="0x4ff0c900" typeId="0x00b1b104" DisplayName="Diamond Park" Comment="" Hidden="false" Tags="" />
<Instance id="0xc7b1bfc6" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="Maxis Manor" Comment="" Hidden="false" Tags="" />
<Instance id="0xfb212a3c" groupId="0x53f0c900" typeId="0x00b1b104" DisplayName="Nissan LEAF® Charging Station" Comment="" Hidden="false" Tags="" />
<Instance id="0xe7dbcf72" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="Turbo Machine Garage" Comment="" Hidden="false" Tags="" />
<Instance id="0xc646206b" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="VuMobile Garage" Comment="" Hidden="false" Tags="" />
<Instance id="0xfa05dc89" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="Vu Laboratory" Comment="" Hidden="false" Tags="" />
<Instance id="0x2e0f3c49" groupId="0x48f0c900" typeId="0x00b1b104" DisplayName="Double-Decker Bus Shelter" Comment="" Hidden="false" Tags="" />
<Instance id="0xaf876821" groupId="0x41f0c900" typeId="0x00b1b104" DisplayName="Reticulator Landing Pad" Comment="" Hidden="false" Tags="" />
<Instance id="0xa502a505" groupId="0x48f0c900" typeId="0x00b1b104" DisplayName="Double-Decker Bus Terminal Sign" Comment="" Hidden="false" Tags="" />
<Instance id="0x88be71fb" groupId="0x47f0c900" typeId="0x00b1b104" DisplayName="French Police Station Sign" Comment="" Hidden="false" Tags="" />
<Instance id="0x895dea91" groupId="0x49f0c900" typeId="0x00b1b104" DisplayName="German Rail Station Sign" Comment="" Hidden="false" Tags="" />

 

Also here are some names for a, I guess, future DLC including a Roman Casino:

<Instance id="0x95431b20" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino ???" Comment="" Hidden="false" Tags="" />
<Instance id="0xe67d6b93" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Rooms (Top Floor) ???" Comment="" Hidden="false" Tags="" />
<Instance id="0x878f9107" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Rooms (Ground Floor) ???" Comment="" Hidden="false" Tags="" />
<Instance id="0xed0b8be9" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Addon ???" Comment="" Hidden="false" Tags="" />
<Instance id="0xce2ea2d0" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Addon ???" Comment="" Hidden="false" Tags="" />
<Instance id="0x6aa1fff1" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Addon ???" Comment="" Hidden="false" Tags="" />
<Instance id="0xa21dcce3" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Sign ???" Comment="" Hidden="false" Tags="" />
<Instance id="0xa21dcce0" groupId="0x55f0c900" typeId="0x00b1b104" DisplayName="Roman Casino Sign ???" Comment="" Hidden="false" Tags="" />

Share this post


Link to post

@Oppie: Hey Oppie just wanted to chime in and let you know it is quite easy to share Scripts package changes. You will need S3PE though, and first thing you'll need to do is do the change you want to do to a prop file in your program SCPAK. Then save the Scripts file as normal (as a backup maybe as this is a file you will be using just to extract the modified prop using s3pe). You'll want to then open up the modified Scripts package with S3PE and look for the prop you modified and export it through S3PE into a binary file suich as S3_00B1B104_48E0C000_00000000F1CFC5B0%%+UNKN.

Once that is done you can just open up your own unmodified scripts package and import this extracted prop into your scripts.

This is still limited in the sense that each prop file can only really be edited once unless you have a compiled list of mods to apply at one go.

Share this post


Link to post

App.package  InstanceId  0x01c7ac81

It might be the real filename extension or "typename" or dir ?

Share this post


Link to post

App.package  InstanceId  0x01c7ac81

It might be the real filename extension or "typename" or dir ?

 

Sadly no, its left over from Spore and most of them dont exist.

Share this post


Link to post

We've released a new version (linked to in the first post of this thread). Apart from bugfixes, user interface tweaks and a lot of property identification, I've added the first version of a lighting editor that can be used to edit the night lighting on buildings.

MmgwVlg.jpg

wokisan, eoin247, Firebird and 1 other like this

Share this post


Link to post

Hi Oppe,

 

I got the latest version but still can´t view properties. is there something i can do to remove the error

Share this post


Link to post

@santosh82 - I built in an error message display into the property viewer this time, can you post the error message you're getting?

Share this post


Link to post

@santosh82 - Thanks! It seems that one of the 3rd party libraries that we use isn't being loaded correctly. I'll try to find out which one it is (and hopefully provide a fix) tomorrow!

Share this post


Link to post

@oppie, I've just gotten the latest version, however I get a build error, "Error 106 The tag 'HelixViewport3D' does not exist in XML namespace 'clr-namespace:HelixToolkit.Wpf;assembly=HelixToolkit.Wpf'" Even though I downloaded the dlls, and add the references to them?

i was using the NET45 version instead of the NET40.

 

@rejooh, I added the instance names you found.

Share this post


Link to post

I don't know whether this is helpful or anything but I was able to change the texture of the Nissan Leaf, not In-Game, but in the Pak's model viewer. With only slight adjustments to the code, check for DXT1 texture: 

public const int DXT1 = 0x31545844;   // 'DXT1'

 

and if that's the case dividing the size per mipmap by 2, because DXT1 uses 8, not 16, bytes per 4x4=16 pixels

var sizes = (from i in Enumerable.Range(0, mipmaps)
                                         select Math.Max(width >> i, 4) * Math.Max(height >> i, 4) / 2 // DXT1: 8 bytes per 4x4=16 pixels
                                            ).ToArray();

 

I really don't know much about these file formats and it seems too easy to be correct, but it worked for me.

Here is the result, a purple Nissan Leaf:

tEVlFfG.png

Share this post


Link to post

Can you make a different version. Different from a .rar file. I dont know how to open those kind

Share this post


Link to post

getting an error messsage when i try to view properties mto get to the parent menu    unable to load one or more of the requested types retrive loader exception property for more info....  any ideas?

Share this post


Link to post

@jef76 - A few people have reported this problem and it probably has something to do with a missing/wrong referenced DLL file. I'm trying to find a way to identify which one is the problem.

jef76 likes this

Share this post


Link to post

Just wanted to say i cannot wait until this tool is fully developed :) Wish i could help but dont know really any coding :( ah well. Good luck getting this fully functioning oppie. I cannot wait to be able to work on this once its in final release and mod the crap out of the game haha.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an Account  

Sign up to join our friendly community. It's easy!  :thumb:


Register a New Account

Sign In  

Already have an account? Sign in here.


Sign In Now

  •  
  • Recently Browsing   0 members

    No registered users viewing this page.