Menu

LEX File Exchange
EA Support Files
SC4 Wikipedia
Network Addon Mod
Dependencies
Chat
Welcome, Guest. Please login or register.
Did you miss your activation email?

July 24, 2021, 06:57:01 PM

Login with username, password and session length

Author Topic: PIMX Official support thread  (Read 170924 times)

0 Members and 1 Guest are viewing this topic.

Offline ncamferdam

Re: PIMX Official support thread
« Reply #520 on: April 15, 2021, 01:48:34 PM »
I'm having an issue that I've seen mentioned a few times before, but I've never been able to find a fix. I've been using PIM-X for a while now, and never encountered any problems. Recently though, I've been opening up the Lot Editor, and the LE Tools window is missing. As a result, there's no way to really use the LE. Uninstalling and then re-installing fixes the problem, but within the day the TE Tools window disappears again.

I'm not sure how it's connected, but another error I've never encountered before but am now getting frequently is attached: "Couldn't add an image to the image list". The python script will run continuously and then seemingly crash, resulting in this window. PIM-X overall will frequently gray out as "Not Responding". Sometimes this will result in a complete crash, sometimes not.

Does anyone have any experience with this suite of problems? The most pressing one for me is the missing LE Tools window.

Offline BartonThinks

Re: PIMX Official support thread
« Reply #521 on: May 11, 2021, 09:44:36 PM »
I'm having an issue that I've seen mentioned a few times before, but I've never been able to find a fix. I've been using PIM-X for a while now, and never encountered any problems. Recently though, I've been opening up the Lot Editor, and the LE Tools window is missing. As a result, there's no way to really use the LE. Uninstalling and then re-installing fixes the problem, but within the day the TE Tools window disappears again.

I'm not sure how it's connected, but another error I've never encountered before but am now getting frequently is attached: "Couldn't add an image to the image list". The python script will run continuously and then seemingly crash, resulting in this window. PIM-X overall will frequently gray out as "Not Responding". Sometimes this will result in a complete crash, sometimes not.

Does anyone have any experience with this suite of problems? The most pressing one for me is the missing LE Tools window.
I've had that issue come up before, but unfortunately I can't remember how I solved it.

Is there any chance you've been expanding the number of plugins that you're loading into PIM_X. Most of the issues that I have with the program are caused because I overload the program with too many files. If you're getting repeated issues even after uninstalling and reinstalling the program, the number of plugins you're loading could be the issue.

Offline art128

  • ~\.Failed Haibane./~
  • Administrator
  • Forums Legend
  • *
  • Posts: 8396
  • Total likes: 1346
  • Reputation: 21
  • CL: Chocolarte
Re: PIMX Official support thread
« Reply #522 on: July 14, 2021, 04:48:08 AM »
I seem to have an issue regarding the PIMX. Whenever I try to select certain props the software throws an error like this: (Right click the pics for full size.)


In this instance I tried to move Mattb325's recently released tower props. I had the same issue when I wanted to raise Deadwood's underground mall props pieces.  These are the only two times I threw this error at me.



The errors seem to grow longer as I love the mouse about. If I stay perfectly still it doesn't show more.

I have all the DLL in the PIMX folder, which is in the default location at C:\Program Files (x86)\SC4PIM
As for MS Visual C++ I have the following installed on my computer:



I have patched PIMX executable with the 4Gb Patch.


I'm running all of this on a Laptop with the following specs:

Windows 10 up to date
Ryzen 5 5600H
16GB DDR4 3200MHz
Nvidia RTX 3060 (and Radeon chip as well)

I don't think it did this issue on my previous computer which only had one dedicated GPU.

It's not a blocking issue as much, I can just not move the props, but I'd still like to know why.
Any ideas welcomed. :)
I'll take a quiet life... A handshake of carbon monoxide.

Looking for a specific props or texture? Check out the Props & Textures Catalog: Props [link] - Textures [link]


Do you want to turn off all shadows in the game? Check out GMT's trick! [link]

Offline Tyberius06

Re: PIMX Official support thread
« Reply #523 on: July 14, 2021, 06:45:46 PM »
Art,

I've never seen this issue, but a few things which came into my mind.
Are you running the PIM-X in any kind of compatibility mode
For example WIN-XP SP3 or WIN 7 SP1?
Also it is good if you run it in Admin Mode or as Admin (same menu where you would set the compatibility up).
The other thing, you mentioned that you have the DLLs in your PIM-X folder, while as far as I know the NET freme Windows DLLs should go into the Windows\System32 and/or SysWOW64 folders, which are sometimes hidden system folders (not always, maybe they were hidden under WIN7). Probably if you want to copy there anything the windows start complaining, but you can overrule that as Admin.

Try these, maybe it helps.

- Tyberius
You may find updates about my ongoing projects into my development thread here at SimCity 4 Devotion: Tyberius Lotting Experiments
or over there on Simtropolis into the Tyberius (Heretic Projects) Lotting and Modding Experiments.
I'm also member of the STEX Custodian and working on different restoration projects on behalf of non-anymore-active custom content creators.
Current projects: WMP Restoration and SimCity Polska Restoration.
Member of the NAM Team and RTMT Team.

Offline BartonThinks

Re: PIMX Official support thread
« Reply #524 on: July 14, 2021, 08:05:34 PM »
Hey art128. So, I'm pretty clueless when it comes to this stuff, but I have a theory about what's going wrong here.

In the error window, the core error before you run into a series of stack overflow errors is "global name glutStrokeCharacter' is not defined." I'm not smart enough to know what a glutStrokeCharacter is, but from what I could find, it's used to render text at specific coordinates:

https://www.opengl.org/resources/libraries/glut/spec3/node78.html

The props you're trying to move on Matt's lot are already raised, and you said that the problem also occurred when trying to raise Deadwoods' sunken mall props. When props and other elements are raised in PIM-X, a number appears next to the element telling you the elevation.  I would assume that this number is rendered using glutStrokeCharacter, and that one or more of the following is happening:

  • Whichever file or process the program uses to plot the coordinates of objects within the Lot Editor is missing or corrupted (seems unlikely, since the objects are located at the correct coordinates to start)
  • Whichever file or process the program uses to plot where the glutStrokeCharacter appears on screen is missing or corrupted
  • Whichever file or process the program uses to define the glutStrokeCharacter font is missing or corrupted
  • The actual font files used for the glutStrokeCharacter are missing or corrupted

I'm not sure if that gets you any closer to solving the problem or if I'm completely off-base. I don't know how to open any of the PYD files that come with PIM-X (figured Python would work, but no luck), so I wasn't able to check those files to see if I could identify which file (if any) is the likely source of the problem. However, I might give the following a try:

  • Double-check that the correct DLL files are in place (sounds like they are)
  • Check whether the New Properties XML files are installed. If not, see if installing those work.
  • Try running the compatibility troubleshooter and see if you can get the program to work in compatibility mode
  • Attempt a fresh install of PIM-X in a new location and check whether any of the files it installs are missing from your folder
  • Failing that, uninstall PIM-X and attempt a fresh install to see if that fixes the issue.
« Last Edit: July 14, 2021, 08:09:20 PM by BartonThinks »

Offline art128

  • ~\.Failed Haibane./~
  • Administrator
  • Forums Legend
  • *
  • Posts: 8396
  • Total likes: 1346
  • Reputation: 21
  • CL: Chocolarte
Re: PIMX Official support thread
« Reply #525 on: July 15, 2021, 01:59:14 PM »
Tibi, as per the first page of this thread, the DLL should be put in the software's directory. I wasn't running the PIMX originally in compatibility mod but I tried it in both 7 and XP and it didn't help. Same for admin mode.

Barton, I tried everything you mentioned, still get the error.  Any idea how to check for the missing or corrupted font?
I'll take a quiet life... A handshake of carbon monoxide.

Looking for a specific props or texture? Check out the Props & Textures Catalog: Props [link] - Textures [link]


Do you want to turn off all shadows in the game? Check out GMT's trick! [link]

Offline Tyberius06

Re: PIMX Official support thread
« Reply #526 on: July 15, 2021, 03:06:50 PM »
Tibi, as per the first page of this thread, the DLL should be put in the software's directory. I wasn't running the PIMX originally in compatibility mod but I tried it in both 7 and XP and it didn't help. Same for admin mode.

Barton, I tried everything you mentioned, still get the error.  Any idea how to check for the missing or corrupted font?

Hm... I don't know, Art.
I don't remember if I've ever put those DLLs into the PIM-X folder (though found two of them, which is strange, but there are like 3-4 DLLs actually what I usually put into the WIN System to support PIM-X), I've always put them into the Windows System and everything have been working fine for me. Whenever after a new install PIM-X was missing a DLL I downloaded and put it into those two Windows Sys folders and that solved my issues.
You may find updates about my ongoing projects into my development thread here at SimCity 4 Devotion: Tyberius Lotting Experiments
or over there on Simtropolis into the Tyberius (Heretic Projects) Lotting and Modding Experiments.
I'm also member of the STEX Custodian and working on different restoration projects on behalf of non-anymore-active custom content creators.
Current projects: WMP Restoration and SimCity Polska Restoration.
Member of the NAM Team and RTMT Team.

Offline BartonThinks

Re: PIMX Official support thread
« Reply #527 on: July 15, 2021, 07:49:45 PM »
Tibi, as per the first page of this thread, the DLL should be put in the software's directory. I wasn't running the PIMX originally in compatibility mod but I tried it in both 7 and XP and it didn't help. Same for admin mode.

Barton, I tried everything you mentioned, still get the error.  Any idea how to check for the missing or corrupted font?

Okay, so I had a long post written out about how perplexed I was and all the theories I had that didn't pan out -- I did a bunch of Googling, ran a bunch of tests, tried replicating the error using a bunch of PIM-X configurations, and still couldn't figure out the problem.

But then this happened...



...so this post is going to be a lot shorter.  :)

The error seems to occur when the glut32.dll file is missing. Note that it's glut32.dll, with a "t," as opposed to glu32.dll.

I was able to run the lot editor and raise props with each of the other three dll files missing. The error only occurred when glut32.dll was removed from the folder.

Hopefully that sorts out which file is missing/corrupted.

(If it helps at all, I have the dll files in the SC4PIM folder, so I don't think you need to worry about their location.)
« Last Edit: July 15, 2021, 10:26:28 PM by BartonThinks »

Offline art128

  • ~\.Failed Haibane./~
  • Administrator
  • Forums Legend
  • *
  • Posts: 8396
  • Total likes: 1346
  • Reputation: 21
  • CL: Chocolarte
Re: PIMX Official support thread
« Reply #528 on: July 16, 2021, 02:04:10 AM »
Very interesting find. Thanks to you I was able to solve the issue after re-downloading the glut32.dll file. I would not have thought about downloading the DLL again..

Interestingly, on the DLL site, there are two versions, one 32bit and one 64bit which have a different size. (96.2Kb vs 75Kb respectively)
The PIMX would throw an error when using the 64bit file while it would work perfectly while using the 32bit file.
I'll take a quiet life... A handshake of carbon monoxide.

Looking for a specific props or texture? Check out the Props & Textures Catalog: Props [link] - Textures [link]


Do you want to turn off all shadows in the game? Check out GMT's trick! [link]

Offline mgb204

Re: PIMX Official support thread
« Reply #529 on: July 16, 2021, 05:09:19 AM »
Two things to note about such libraries.

1st, use of a 32-bit or 64-bit variant is not based on your OS, rather what the application was designed with. So yeah, trying to use 64-bit libraries for 32-bit apps is probably not going to work.

2nd, the purpose of DLLs, was to provide a system where users didn't need to have multiple versions of the same files, to run different apps. So whilst Tibi is quite correct, installing the proper packages which originally contained the DLLs, will put them in system folders where every application can see/use them is generally preferred. It is also possible to place them directly in the Applications install folder, if they exist there any system-wide versions will not be used. This allows you to run a different version of a given library should a specific application require this for compatibility reasons.

One major problem with all this, people just download the standalone DLL files, but that's really not the ideal method, instead you should install the full APIs, such as the Microsoft Visual C++ Runtime and OpenGL. For example, with my current system I don't even need to install anything to run PIM-X or similar apps, because everything they rely on get's installed as part of my system's driver/app installations anyway. Of course, it's not obvious either to the average user which package contains which .DLLs and frankly the whole issue comes down to MS trying to monetise these libraries at the expense of a system that simply distributed them with apps. A system they have since learned was flawed and pointless, so now works more like it should.

As for opening the PYD files with Python, you are right that PIM-X was programmed using Python, but you can't open pre-compiled code like this, rather you need the original source code. But good sleuthing to find the cause, your Google-fu is strong BartonThinks.

Offline BartonThinks

Re: PIMX Official support thread
« Reply #530 on: July 16, 2021, 07:32:24 AM »
Glad this got fixed!

FWIW, one of the theories I had was that DLL files were mismatched to the program architecture, so I tried running the program with both 32-bit or 64-bit versions of the files. In both cases, it seemed to work just fine on my machine, so I didn't think that would be an issue.
« Last Edit: July 16, 2021, 07:34:19 AM by BartonThinks »