Can't open Asset X!

Status
Not open for further replies.
It won't get one as andi06 passed away.

It's working fine here in both Win10 and Win11.

Default Ownership is Administrator, so you need to be using an Admin Account.
What Operating System are you using?
Is it fully up to date?
What Antivirus are you using? Is it interfering with AssetX?
Is Microsoft blocking it? Can happen with Win 10 and 11, should be able to right click on the exe file and click Unblock.

Have you run SFC /scannow from an Admin Command prompt, may be a corrupt system file causing the problem.

I'd suggest having a look at your Sisters Laptop and see just what you are missing in the way of Microsoft Visual C++ Redistributables under Control Panel > programs and features
And check your .net is up to date, check Windows update and that you have enabled .NET Framework 3.5 and .NET Framework 4.8, again Programs and Features > Turn Windows Features On or Off.

Default Ownership is Administrator, so you need to be using an Admin Account.

I checked my sister's laptop and made sure I have everything needed from there to my new computer, but it still won't open!
 
Last edited:
I've just double checked EVERY code file that builds AssetX. Richedit is NOT mentioned in any of them.

We do use a "shell" command that depends on the target file extension but as far as I can see we've only used it for *.chm help files. Check your OpenWith list in Win11 for *.chm files.

And one more thing for you to check... Search the AssetX.INI file for "richedit".. You may have set it up as an external tool for AssetX. If so get rid of it. Just delete the line with it in. If it's in a numbered list, re-number and items that follow the richedit entry. The line numbers must have no gaps.. The AssetX.INI file is not overwritten during updates, so you may have an old tool entry.

I will not be doing any further updates to AssetX. The Delphi Compiler and code libraries for it are now over 20 years old and are 32 bit. My 64 bit Pascal compiler does not have the necessary libraries to build AssetX, and it's way too complicated to rewrite without the libraries .

The late Andi Smith was the brains behind AssetX, I just provided the Trainz related file decodes and the scripting software. Even so it took the pair of us almost two years to get it up and running. As I said it's extremely complicated.
 
Last edited:
I've just double checked EVERY code file that builds AssetX. Richedit is NOT mentioned in any of them.

We do use a "shell" command that depends on the target file extension but as far as I can see we've only used it for *.chm help files. Check your OpenWith list in Win11 for *.chm files.

And one more thing for you to check... Search the AssetX.INI file for "richedit".. You may have set it up as an external tool for AssetX. If so get rid of it. Just delete the line with it in. If it's in a numbered list, re-number and items that follow the richedit entry. The line numbers must have no gaps.. The AssetX.INI file is not overwritten during updates, so you may have an old tool entry.

I will not be doing any further updates to AssetX. The Delphi Compiler and code libraries for it are now over 20 years old and are 32 bit. My 64 bit Pascal compiler does not have the necessary libraries to build AssetX, and it's way too complicated to rewrite without the libraries .

The late Andi Smith was the brains behind AssetX, I just provided the Trainz related file decodes and the scripting software. Even so it took the pair of us almost two years to get it up and running. As I said it's extremely complicated.

I checked the INI file, but there's no "richedit"
 
OK it seems this can be due to

RichEdit line insertion error.

This error message is due to a size limitation with richedit components for some versions of Windows.
An exception error is raised when trying to insert text greater than 64KB.
It has to do with the version of riched32.dll that you're using on your computer.

you should have riched32.dll or riched20.dll files on your PC, latest riched32.dll should be version 10.0.19041.1 in C:\Windows\system32 size 10kb, latest riched20.dll should be 5.31.23.1231 size 598kb. There are older versions in C:\Windows\sysWow64 and a couple of other places, however pretty sure you need the latest version in the System32 folder. If they are corrupted then SFC /scannow in an admin console should fix them.

If they are not the latest versions is your copy of Windows fully up to date? Check Windows update.

If that doesn't work you may be looking at re-installing Windows.
 
Bro, I know how to solve it. In Windows 11, go to Time & Language -> Language & Region -> Windows Display Language. There's an option for the language of non-Unicode programs. Change that to English (United States) and it will run normally. This is a language encoding issue, probably caused by the Chinese language encoding not being considered during the design process. It has nothing to do with memory, compatibility, or whether it's running in administrator mode.

Moderator note:
Post in English unless you are posting in a language specific forum (which this is not).
 
Last edited by a moderator:
兄弟,我知道怎么解决了,Windows 11 的化打开时间和语言->语言和区域->Windows显示语言,下面有个选项非Unicode程序的语言,把这个改成英语(美国)就可以正常运行了,这东西还是个语言编码问题,估计是中文语言编码当时制作的时候没有考虑导致的,和内存以及兼容性还有是否管理员模式运行没关系
It's normal to post in English in this section, google translate works well enough. I note the problem was previously solved though.

John
 
Status
Not open for further replies.
Back
Top