Author Topic: (SCI.0) Most of My Views and Pics are Missing!  (Read 408 times)

0 Members and 1 Guest are viewing this topic.

Offline ajogames

(SCI.0) Most of My Views and Pics are Missing!
« on: February 23, 2019, 02:48:12 PM »
So today I opened my SCI.0 game in SCI Companion, and for some reason, a large majority of the sprites (Views) are blank, and some of my Pics are missing entirely, I have no idea what happened, as two days ago, it was all there, nothing was wrong with it,

I've attached a screenshot so you can see what I get when the game opens in SCICompanion



Offline troflip

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #1 on: February 23, 2019, 05:32:09 PM »
Your resource.map and resource.000 probably got out of sync... are there any resource.map.bak or resource.000.bak files in your game folder? SCI Companion saves to those and then deletes the originals and renames the .bak ones. But if the delete fails you might get this issue.

(and remember to always backup or use source control!)

Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline gumby

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #2 on: February 23, 2019, 08:19:12 PM »
If it's just a corrupted .MAP file, you can rebuild it. I created a utility (and I believe there are other as well) that will do that.

See this thread: http://sciprogramming.com/community/index.php?topic=554.msg3037#msg3037
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline ajogames

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #3 on: February 23, 2019, 11:14:19 PM »
Thank you all for your help so far.

I did see this little thing called "rebuild Resources" in SCI Companion, What does this do exactly?
I thought about trying it out, but since I don't know what it does, I'm a bit anxious to try it.

And yes, Troflip, I do believe it may be an out of sync issue, trying to keep track of both resource files and keeping them preserved/backed-up is surprisingly tricky at times, almost makes me wish both resource.000/001 and resource.map could all just be merged into ONE file instead of two and/or more, file to keep in sync with each other.

The only .bak files I could find in my game folder were outdated by several months, and judging by the file sizes numbers for these .bak files and then comparing them to the current file sizes of the r.001 and r.map, the .bak files have much less content.

Thanks for the link Gumby.
I had read in the post you made on "Recreate Map Files" in which you had given a link to the compiled version on sierrahelp.com, but the link there is now dead, clicking on that link will just lead to a 404 error on the SierraHelp site.

Offline Kawa

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #4 on: February 24, 2019, 05:05:01 AM »
"Rebuild resources", if given a functional map and volumes, will repack them all into one big volume without duplicates. Duplicates will appear when you edit a resource and save (these don't show up as separate items in the list), or when you open a game that came on multiple diskettes (these do).

Offline gumby

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #5 on: February 24, 2019, 07:19:55 AM »
Thanks for the link Gumby.
I had read in the post you made on "Recreate Map Files" in which you had given a link to the compiled version on sierrahelp.com, but the link there is now dead, clicking on that link will just lead to a 404 error on the SierraHelp site.

Try here:  http://sci.sierrahelp.com/Files/download.php?file=Gumby/recreateMapFile.zip

EDIT:
Or try this utility:  http://sci.sierrahelp.com/Files/download.php?file=Gumby/resDumpPack.zip

« Last Edit: February 24, 2019, 07:24:32 AM by gumby »
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline ajogames

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #6 on: February 24, 2019, 09:49:07 PM »
"Rebuild resources", if given a functional map and volumes, will repack them all into one big volume without duplicates. Duplicates will appear when you edit a resource and save (these don't show up as separate items in the list), or when you open a game that came on multiple diskettes (these do).

Thank you! now I feel more a little more safer knowing what it does exactly.

Offline ajogames

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #7 on: February 24, 2019, 10:00:55 PM »
Thanks for the link Gumby.
I had read in the post you made on "Recreate Map Files" in which you had given a link to the compiled version on sierrahelp.com, but the link there is now dead, clicking on that link will just lead to a 404 error on the SierraHelp site.

Try here:  http://sci.sierrahelp.com/Files/download.php?file=Gumby/recreateMapFile.zip

EDIT:
Or try this utility:  http://sci.sierrahelp.com/Files/download.php?file=Gumby/resDumpPack.zip

Thanks for the links again, Gumby,

However for some reason when I try RecreateMapFile.exe, a command prompt will briefly appear before closing, I tried opening it in both a seperate empty folder (empty, with the exception of the "recreateMapFile.pl" file) and in the main game folder, but got the same result.

Offline gumby

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #8 on: February 25, 2019, 07:54:53 AM »
Those are both command-line utilities, you need to provide parameters in order for them to function correctly.
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline ajogames

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #9 on: February 25, 2019, 11:39:04 PM »
So I just used RecreateMapfile to recreate my resource.map file, but now SCICompanion won't open said map file, it closes after I  try to open it.

Offline gumby

Re: (SCI.0) Most of My Views and Pics are Missing!
« Reply #10 on: February 27, 2019, 08:31:10 PM »
Did you give resDumpPack a try?  Could be that RecreateMapfile has a bug somewhere  :-[
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition


SMF 2.0.14 | SMF © 2017, Simple Machines
Simple Audio Video Embedder

Page created in 0.119 seconds with 23 queries.