This repository contains symbol information for Ghidra extracted from the MacOS PowerPC port of SimCity 4.
- Download
SimCity4.gdt
. - Open the Data Type Manager.
- Select ▼ > Open File Archive.
- Browse for the downloaded archive and open it.
This procedure has to be done for each type that you wish to import. There may be an automated/bulk way of doing this, but I am not aware of one.
- Right-click on one of the structures in the binary and select Replace.
- Select the matching type in the
SimCity4
archive.
- Click OK in the dialog.
The conflicting types that are imported from the SimCity4
archive will show up in the Data Type Manager with a .conflict
extension.
- Right-click on the structure that does not have the
.conflict
extension and select Replace.
- Select the matching type in the
SimCity4
archive.
- Click OK in the dialog.
Note that the SimCity4
archive must be open for editing, by default it is opened in read-only mode.
To change this, right-click on the SimCity4
archive and select Open for Editing.
- Right-click on the type in the binary that you want to add to the archive and select Associate With Archive.
- Select the
SimCity4
archive in the dialog that pops up. - Save the modified
SimCity4
archive.
- Right-click on the binary in the Data Type Manager and select the Commit Data Types To menu item.
- Select the
SimCity4
archive in the menu. - If necessary, select the types you want to commit in the dialog.
- Right-click on the binary in the Data Type Manager and select the Update Data Types From menu item.
- Select the
SimCity4
archive in the menu. - If necessary, select the types you want to update in the dialog.