How to a check a corrupt .rsc file


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):07.01.04.10
 Environment: N\A
 Area: Custom Linestyles
 Subarea: N\A
 Original Author:Bentley Technical Support Group
  

Problem

How to a check a corrupt .rsc file

Product: MicroStation J V7
Version: 07.01.04.10
Area: Custom Linestyles

Solution

You can check the structure of the resource file by using the RDUMP utility which is located in :

Bentley> Program > MicroStation > MDL >Bin directory.

Move your resource file to this directory and from the Microstation Development shell type in lower case:

Through Development Shell Change directories to the rdump.exe in the MDL> BIN Directory
Then run the following:

rdump -x <(><<)>filename>
This will show you the structure of the resource file and check the files integrity

Then from the same directory type:
rlib -o <(><<)>newfilename> -v <(><<)>oldfilename>

This will create a new resource file and merge the old one into it.

See Also:

https://communities.bentley.com/products/microstation/w/microstation__wiki/14628/how-to-check-if-a-rsc-file-is-corrupted