Jump to content

Loading Prefab Issue


Psillias

Recommended Posts

NOTE:  I'm running Hero Designer 6, Build 20170504

 

So when I attempt to load certain prefabs from either the Champions Powers (CP HD) files or the Equipment Guide (HSEG HD) files, I run into an issue where I cannot see the actual .hdc files in a given sub directory. 

This has occurred in the following sub directories for the Powers files:

 - Size Alteration

 - Sleep and Dream

 - Solar and Celestial

 - Spirit Projection

 - Stretching

 - Telekinetic

 - Time

 - Vibration

 - Water

 - Weather

 

This has occurred in the following sub directories for the Equipment Guide files:

 - Powered Armor

 

This issue did not seem to occur with the last build and I deleted the directories and reinstalled the files from the Client Area of this page with the same results.

Link to comment
Share on other sites

If the file is named something like [filename].hdp.txt, then yes -- remove the .txt and it will show up and act like a prefab.

 

If the file is named [filename].hdc, then no -- it's a character file and should be used as such.

Link to comment
Share on other sites

So then I'm confused...

 

Why would a list of powers (e.g.; Size Alteration) from the Champions Powers book be listed as .hdc files instead of the correct .hdp???

 

Note:  I realize this is probably not your issue...I'm just venting.

Link to comment
Share on other sites

  • 3 months later...

I noticed some further weirdness.  I copied TELEKINESIS-CP.hdc to TELEKINESIS-CP.hdp and tried to open that as a prefab.  HD threw a bunch of weird errors (text below).  I opened up the file in Notepad++ and got a bunch of binary in the file.  On a hunch, I renamed the copied file to TELEKINESIS-CP.zip, then opened it.  It opened with a "Telekinesis Powers" folder inside, and a number of .hdc files inside that.  I extracted those and they were standard .hdc files when opened in Notepad++.  

 

The text of the errors I am getting is: 

 

 

 

Title: Error retrieving template 

Red octagon bang

An error occurred retrieving the template used for the saved character.

Using 'Standard Super' template.

 

Error Message: Error on line 1 of document file:<path>TELEKINETIC_POWERS/TELEKINESIS-CP.hdc: Content is not allowed in prolog.

 

 

 

 

 

Title: Error loading character

Red octagon bang

An error occurred loading the character.

Data loss may occur if you save.

 

Please shut down Hero Designer and restart.

 

Error message: Error on line 1 of document file:<path>TELEKINETIC_POWERS/TELEKINESIS-CP.hdc: Content is not allowed in prolog.

 

 

 

 

 

Title: Error loading preferences

Red octagonal bang

An error occurred loading your character.

Data loss may occur if the character is saved.

 

Please restart HERO Designer and try again.

Error Message: null

 

 

Attaching screenshots of the above, as well as trace.log as trace.log.txt

 

My fix:  I was getting that same series of messages every time I opened HD.  In order to end that I had to delete the spurious TELEKINESIS-CP.hdc file, and then I could open the software.

post-2606-0-89470100-1504461816_thumb.png

post-2606-0-15135700-1504461821_thumb.png

post-2606-0-12246900-1504461827_thumb.png

trace.log.txt

Link to comment
Share on other sites

Main issue: prefabs and character files (.hdp and .hdc, respectively) have a large amount of similarity, but they _are_ different. Simply renaming a .hdc file to .hdp is going to cause issues — as noted. Don’t do that. If you _have_ done that and run into errors AND have HD set to reload prefabs on launch, you’re going to need to either delete the file in question (to prevent HD from trying to load it on launch) or delete your appPrefs.xml file (to remove all settings that tell HD what to do on launch beyond the basics).

Link to comment
Share on other sites

  • 3 weeks later...

I was seeing this same issue and tried Chris' solution — renaming the TK file to .ZIP and extracting.

 

It worked, creating a folder as he said. I poked around some of the other files and noticed there are others (e.g., Teleport) that suffer the same problem.

 

I think it would be helpful to remedy this issue for the pack so future buyers don't have this problem, and maybe even see about turning those .hdc files into .hdp files (which are much more useful).

Link to comment
Share on other sites

  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...