FRUA & DUNGEON CRAFT Community Forums

Dungeon Craft => Dungeon Craft - Troubleshooting => Topic started by: Dinonykos on August 09, 2017, 05:54:02 AM

Title: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 09, 2017, 05:54:02 AM
I have just tried transferring Snow Tigress from DC 0.914 to DC 3.x.

It seems the logic-block-based wall change thing which is so important for this design seems to generally work thanks to Paul's hint to add "UseWallIndex" to the Global Settings. There seem to be some issues concerning transfer modules. I assume that the "execute event after transfer" function does not work properly, but I will check that in detail

However, one thing that can probably easily be changed is that
a) Characters cannot equip items.
b) Combats do not work.
I guess this is related to the item and monster databases I tried to import. What do I have to do to import old items and monster databases into DC 2.x/3.x?

(In worst case, I could just manually change these databases...)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 09, 2017, 11:37:20 AM
It is my hope that such upgrades should be
extremely painless.  And important.  The fact
that it does not happen automatically means that
I failed.

Let us (you, Manikus, and I) attempt to get this
to work by changing the editor only.  We can see
how far we can get before you make any changes to
the design.

I imagine we should start by my installing your
0.914 design, in it entirety, on my computer.  Can
you provide a link?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 09, 2017, 11:51:44 AM
Dear Paul,

you can find the link here:
http://dhost.info/dinonykos/pagesnwt.html

I do not yet necessarily see that you failed. I have seen that the way the items and monster files work has changed a little (I think there was a warning message concerning this when importing the design), and maybe I just used a wrong procedure when transferring the item.txt and the monster.txt files to the updated design.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 09, 2017, 12:35:42 PM
You gents have my complete attention. :)

I have recentl converted a whole bunch of .914 designs to 3.02. All of the failures I have had are related to various database issues. I was able to re-import the databases and the problems resolved. All of them. One of these designs I updated was my own and I have been testing all the things that happen in it (because I am updating the art). No issues with events found, the caveat being that this design does not have any Logic Block events.

Dinonykos, did you import the new text versions of the database? DC only reads the .dat versions of the databases as far as play is concerned.

Paul, let me know what you need. Along this update line, thre were two games made in earlier versin of DC that I cannot update, one of which crashes the editor when I try. These are currently waiting in my queue of issues to bring up because we were working on the AVI issue (which when the paths are resolved will show you a CtD).
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 09, 2017, 01:22:50 PM
Quote
re-import the databases and the problems resolved

I need to be sure I understand this.

What if I have a 0.914 design and I have made many
changes to my databases.  Are you saying that I
should 'import' the new databases that you supply?
Would I not lose all the modifications that I worked so
hard to produce?

Or do I misunderstand what you are saying?  Or....
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 09, 2017, 01:27:36 PM
I did the following:

I took several txt-files from another design ("Ambassador's Letter"), since these were modified versions of the newer databases, and imported them into the new design (races, baseclasses, classes, ability, config). I think this worked well. I had no "traits.txt" file, but I hope that is not a problem(?)...

I exported the monster and items files from the 0.914-version of Snow Tigress to text files, moved these files into the data folder of the 2.x-version of Snow Tigress, and imported them. I got messages that there are minor errors in the databases. 

I moved the AI-Script-BLK file (and bass.dll and sound.ini) into the data folder.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 09, 2017, 01:37:04 PM
There is a bit of a back end to this particular conversation - Dinonykos has updated databases for his design he made in 2.x.
You are right. if he used something I provided it would ruin his work.

In another thread, I had suggested to him and the rest that they export to text the databases that they have modified and then they will need to update and re-import. But, any database that they have not modified they can just use the ones I have provided with our default package. I think if there was some way to check if the designer had modified a database and if no, to use the one from TemplateDesign.dsn/Data folder, that would help a lot.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 09, 2017, 01:43:44 PM
I did the following:

I exported the monster and items files from the 0.914-version of Snow Tigress to text files, moved these files into the data folder of the 2.x-version of Snow Tigress, and imported them. I got messages that there are minor errors in the databases. 

Not a surprise. Much has changed, including some keywords (plus the addition of some and the elimination of some).
Rename the .914 databases to something that lets you know they are the old ones. Convert your design and export the same database files to text. Open up an old one new one for the same database and you will see the main differences, but not all of the keywords for some databases.

Also, "traits" and "spellgroups" are no longer used by DC. I may be mis-recalling, but I don't think they were being used in .914 and earlier.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 09, 2017, 02:43:05 PM
Well, this is all very confusing to me.  Imagine what it must
be like to people who have not spent ten years writing the
DC editor and engine.

Quote from: Manikus
export to text the databases that they have modified and then they will need to update and re-import.

What does this mean "to update".  What needs to be done
and why is it necessary?  Why cannot the editor do this
automatically?  Is it very complicated?

===========**************===========
As chief programmer (by default) I would like to make this
conversion as automatic as possible.  Can we start with
Dinonykos' original design and start the conversion
process up until the first problem and see if that first
problem can be fixed?  If it cannot, so be it.  If it can, we
can proceed to the second problem.

Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 09, 2017, 03:55:25 PM
Sounds good to me, Paul. And better yet, it sounds completely doable.

By "updating" I mean removing 'Key ID' if it is there, adding missing keywords , removing any extraneous keywords and if applicable changing any keywords.

In at least one case (the ability database), it actually will work as is, but has none of the bonuses or penalties for PC races.

Let me know what you need from me, and I will do what I can to make it happen. :D
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 09, 2017, 06:12:51 PM
I will download Dinonykos' design and see how I fare
in an attempt to load it with the latest editor.

I faintly recall a version of the editor that was labeled
as the latest editor that could directly load older designs.
Something like "To convert an old (x.xx) design you first
load it with editor version y.yy, save it, and then you can load
it with the most recent editor.  May have been a nightmare.
But if anyone remembers such a thing, speak up!

Meanwhile, I have attacked the AVI-movie problem so that
we can get that out of our way.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 09, 2017, 07:02:04 PM
I downloaded SnowTigress.

I copied all resource files to 'Resources'.
I copied all data files to 'Data'.
I added engine version 3.05 to the design.

I loaded the design with editor 3.05 and answered
all the questions positively.  Ie: let it do whatever
it wants.  I saved the design in a new folder.

I played the design.  Added two characters.  Pressed
'Enter' about a hundred times, and got stuck in a room
where it says I need additional items to exit.

As far as I can tell, it works.  What we need is a
demonstration of something that fails.

The editor says something about editor version 0.998101.
Perhaps that is a magic editor version.  I don't have a copy
of that editor right at hand but I can probably find it in
a backup somewhere.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 10, 2017, 02:01:51 AM
Hi Paul,

I guess this is the general problem that in such cases, some issues occur only later in game with certain types of events.

However, there is one problem you can encounter right after the (I admit) long introduction: The character Binjo has two items with her, which cannot be equipped (though they can in the 0.914 version). I guess that is related to the imported item file and the changes Manikus mentioned.

Sidenote: I think a completely automated transfer from 0.914 to 2.x/3.x cannot work in any case since the frame handling has been changed (for good reason). Thus the old frame graphics have to be changed to work in newer DC versions.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 10, 2017, 03:03:27 AM
Perhaps this is more complicated than I thought.
To experiment a little, I saved the transferred design into a new folder.

The equip-problem is simply related to the classes. When I imported the items file, the information that the class "Ninja" can use Binjo's items was lost.

What confuses me now is that the midi music is not played. I added a lot of music to the design, but it is not played. (I checked that it's not because of my settings, midi files are played correctly in other designs.) I even loaded other music pieces, e.g. for the intro music, but it was not played. When I loaded a wav-file, it was played. Midi files are not even played within the editor.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 10, 2017, 09:25:30 AM
Quote from: Dinonykos
When I imported the items file,

Stop!  Where are we?  I downloaded the design  from
your link (above).  I loaded it with the latest editor.
I did not 'import' an items file.  Why did you do that?

I thought we are trying to 'convert' an old design,
not 'upgrade' it.  What is happening here?  Manikus, help!
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 10, 2017, 10:19:09 AM
I guess Manikus could indeed help us understanding each other and understanding the database problem.

My understanding is that when converting an 0.914 design to the recent DC version, several databases (e.g. items, monsters) are not automatically converted into databases that work properly. Right, Manikus?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 10, 2017, 02:01:44 PM
What we have hear is...failure to communicate. (Oh, come on. You know I had to say it.)

Paul is saying:
"I updated in editor, doing nothing other than loading and answering okay to all questions, and it appears to work fine."

Dinonykos is saying;
"I loaded in editor, followed the instructions that manikus gave me to fully update design which is more than just answering okay. There are are issues that I as the designer have noticed."

I had forgotten aout the addition to the config.txt which whows the right side vertical frame. Dinonykos, all you should need to do is add teh source file info to continue to use the frame files you already have.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 10, 2017, 02:32:14 PM
Okay, I have just downloaded the design for the sole purposes of updating it.

I will do exactly what Paul did so that there is common ground as a starting place for discussion. :)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 10, 2017, 03:07:23 PM
I got as far as Paul did with exactly the same results as Paul. But, then I looked in the wardrobe and found the items which let me leave the room. I am now wandering around the castle. The only issues I have encountered:
1) frame not displaying as intended
2) Seiyuki's items can not be readied
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 10, 2017, 04:28:33 PM
Hi Manikus, thanks for testing!

a) The reason that the items cannot be equipped, is that because the conversion of the items file does not work? (Maybe "does not work" is not appropriate... rather, not all information like which class is allowed to use the item is converted?)

b) Do you hear the MIDI music? For example, there should be an Intro Music which works fine in 0.914, but is not played after the conversion. Wave-Files seem to work, MIDI-Files not.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 10, 2017, 04:52:39 PM
i did not look into why the items did not work. I strongly suspect because the item records do not list any baseclasses that can equip them - that is a new thing (it used to be classes)

I did not have the sound on, as I am at the library and I seemed to have misplaced my headphones. I will check that when I get home. ;)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 10, 2017, 05:06:24 PM
I will look into why the items cannot be readied.  It should
work.  One thing at a time, please, to keep my head intact.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 10, 2017, 07:03:27 PM
OK.  Binjo cannot ready Binjo's Glaive.

Binjo is a Ninja.  Single baseclass = ninja.

Binjo's Glaive can be readied by baseclasses:
fighter
paladin
ranger
thief

So now I need to know what is wrong. 
Is Binjo a Ninja?
Does the class Ninja have a single basclass = ninja?
Should Binjo's Glaive be usable only by fighter, paladin, ranger, or thief?

In other words, how should it have worked?
How did it work in 0.914?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 11, 2017, 08:32:33 AM
Manikus, please correct me if I am wrong, but my guess is this:

I changed the default classes and baseclasses of DC 0.914 to my own classes and baseclasses. The Ninja class is at the position where in the default files the Ranger file is positioned. This is also indicated by the screenshots from the NPC editors. In the overview, Binjo is listed as "Cleric" and "Ranger", not as "Helmettiger" and "Ninja" (as she is when you show her menu).

In the item editor, I could only chose the original classes, thus I had to mark "Ranger" in the Item editor so that Binjo can use her glaive.

I assume, when the design is converted to DC 3.x, the information that Binjo is a Ninja is preserved, she is not imported as a Ranger, so she cannot use the glaive.

To be honest, I have no idea how this could be solved. Maybe Manikus has one?

But I assume this will also be an issue for my own designs, the other 0.914 designs have probably all used the default databases.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 11, 2017, 09:42:33 AM
After 10 minutes of study I have come to the
conclusion that this will be fixable.  Give me a little
more time to sort it out in my mind.  I don't want to
break something else in the process.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 11, 2017, 07:15:35 PM
Thank you very much for those screenshots.  I
don't have any easy way to run the old editor
so your screenshots of how it looked were invaluable.

Editor version 3.06 fixes the bug that ignored renamed
classes in 0.914 designs.  Load your 0.914 design, save
it somewhere else, and run it with engine 3.05.  You can
now ready your Glaive.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 01:49:13 AM
Thank you very much!  :D

Can you explain how this is achieved? (I mean, in theory...)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 09:24:08 AM
Quote
Can you explain

Certainly. 

In 0.914, classes were represented by numbers.
The Glaive said that it could be used by 2,3,4, and 5.
I had written to code to use the default names for
these numbers....including "ranger".

So, I changed the code to look in the class database
and find any new names you might have given to
these numbers.  But, of course, the item database was
loaded before the class database, so that did not work.

So, I changed the code so that when the item database
was loaded, it made a note of the usable numbers for
each item.  Then, after the class database was loaded
it went back and updated each of the item's usability,
converting the numbers to baseclass names.

This works because the class database contains the
same numbers.  And, when the engine found your
class named "Ninja" it noticed that a baseclass was
needed.  It guessed at a baseclass with the same
name and a lowercase 'n' (as it warns you as it loads).
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 09:42:26 AM
Thank you!

I think the MIDI issue would be a reasonable next step, since the title music already is not played.
As I have seen when converting another design, this is not just the case in Snow Tigress.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 10:27:14 AM
I don't know what is missing.  Here is what I
see and what I hear after converting with editor
3.06 and playing with engine 3.05:

Code: [Select]
See                          Hear
ver 3.0500                  midi
based on dungeoncraft       midi
general seiyuki             midi
add character               nothing
Binjo                       nothing
begin adventure             nothing
Have you already            nothing
two letters have arrived    midi
Dear niece ,etc             midi
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 11:24:22 AM
Sorry, Paul, I just converted the design again. Equipping items works well. wav-files are properly played, but midi-files are not.

To make sure that it's not something concerning my sound settings, I loaded another design afterwards and therein, all music is properly played.

Interestingly, when I converted "Fiend's Ritual", I have the same issue that the title midi music and level background midi music is not played.

But how can it work for you and not for me?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 11:35:31 AM
Can you provide a UafErr_Engine.log?  It may contain
a clue.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 11:45:04 AM
Sure!

Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 12:05:39 PM
Those are nice but I wanted UafErr_Engine.log that
results from playing the game.

Edit: ooops should have said  "UafErr_Engine.txt".
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 12:17:27 PM
Sorry...

In any case, this one does not seem to contain a lot of information... :(
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 02:21:10 PM
It appears you did not do much game playing. when you
created that log.

You should play the game up until the failure, terminate
normally (ENCAMP/QUIT/YES), and then the log should
be more complete.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 12, 2017, 04:38:15 PM
Well, the MIDI-music failure occurs right at the beginning, thus I did not play long.

However - I played now until a combat was not triggered in another level (as you can see in the playfile.log), and the UafErr_Engine-file (attached) shows the right hour (I mean it is the correct file), but it still is not bigger than 1 KB... It almost seems like errors are not recorded, can that be the case? I would have expected an error message in the error file when the combat is not triggered (since I assume it is related to problems with the monster database).

I don't get what's happening...
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 12, 2017, 10:44:01 PM
Do you run the engine with a shortcut or something?
Is this the UafErr_Engine.txt from the design file?

I think you have two UafErr_Engine.txt.  The first
is created before you load the design and the second is
created after the engine knows where the design is located.

Can you look around a bit in the directories that you use?
It has to be somewhere.  I have never known it to be missing.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 13, 2017, 02:21:34 AM
This is strange. I converted two designs:

Fiend's Ritual: The engine error file is just in the folder I would expect, and it clearly indicates the MIDI problem (respective files not found).

Snow Tigress: I only find the file I already attached. I will convert the design again, maybe I made some mistake during the process or in the folder structure.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 14, 2017, 12:45:45 PM
As I recall, in version .914 and earlier, the only thing we could change about baseclass/class/race was it's name. All the internal stuff looked the same. So, if you changed the name of "thief" to "baker", in the item database you would select "thief" if you wanted the "baker" to use the item.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 15, 2017, 10:22:28 AM
Where are we with this MIDI problem?  Did you ever find
the UafErr_Engine.txt file that we need?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 15, 2017, 11:45:42 AM
Sorry Paul, due to work I have not yet found time to check. (I wanted to do the converting once again, maybe something went wrong ast time or may folder structure is not okay...) Maybe I can do it tonight. If not, I will have spare days starting on Friday.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 15, 2017, 12:48:46 PM
No problem.  I was worried that the ball
might have been in my court.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 16, 2017, 05:58:31 AM
Hi Paul, this time it worked (after I did the converting process again, not sure what went wrong last time), I got a reasonable error file (attached).

In the line 0009e198, the text says that the required file was not found, and the it is referred to the Midi-File played right at the title screen.

The file is there, though! And, as I mentioned, the Wave-files are played.
In the other design I converted ("Fiend's Ritual"), it seems that some Midi-files are found, others not... I do not see a pattern there.
My first idea was that it has something to with my German system and how the folders are named, but then I would expect all files not to be found, not just the Midi files...  ???
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 10:15:59 AM
It is my (rather informed) opinion that your
path name is too long for the MIDI player.  It
appears to have a built-in limit.  I created the same
error by putting your design in a folder with a long
path name (except that I got an English error).

This is a Windoze limitation. not a DC limitation.
The error occurs in mciSendCommand:
https://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k(mmsystem%2FmciSendCommand);k(mciSendCommand);k(DevLang-C%2B%2B);k(TargetOS-Windows)&rd=true
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 16, 2017, 10:24:16 AM
Oha! That's interesting. I will check that!
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 10:37:34 AM
Further, rather tedious, testing indicates that
the maximum is 127 characters.  I added an
error message that will help future designers
over this hurdle.

Yours is 130 characters.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 16, 2017, 10:46:21 AM
I cannot yet check it (wrong computer), but could that explain why in the other design some midi files work, and some not? (Those with short names might work because they are just below 128?)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 11:00:16 AM
Yep.  127 is very different from 128.  That is
the nature of integers.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Nol Drek on August 16, 2017, 07:16:25 PM
Does the engine need the 130 character absolute path:

C:\Users\Kotthoff\Documents\Kotthoff_Projekte\DC_2x\DCEditor\DCeditor_2016\Helmetlands_SnowTigress.dsn\Resources\MID_DarkSeven.mid

Could it instead use the 28 character relative path:
\Resources\MID_DarkSeven.mid
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 07:26:31 PM
Usually.  But then I would be dealing with
the exceptions.  It is better to deal with
Windoze' limitations directly rather than
obliquely.  I think.

Besides, the DC engine has been rather carefully
re-crafted in such a way that the various resources
and files could be trivially placed anywhere on
any device.  Using relative paths would totally
destroy that possibility. (A possibility that has
been kept quiet and not implemented)

Old FRUA fans should have no trouble dealing
with short folder/file names.   ;)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Nol Drek on August 16, 2017, 07:42:48 PM
If I make a design with short file and folder names, and Someone downloads my finished design and places it in the following location:

C:\Users\Someone\Desktop\ThisIsAReallyBadNameForTheFolderWhereIKeepAllOfMyDCRelatedDesignsBecauseThisParticularFolderNameIsRidiculouslyLong

Resulting in a path of:

C:\Users\Someone\Desktop\ThisIsAReallyBadNameForTheFolderWhereIKeepAllOfMyDCRelatedDesignsBecauseThisParticularFolderNameIsRidiculouslyLong\MyDesign.DSN\Resources\Music.mid

will that still cause the same error?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 08:20:34 PM
It most certainly will result in the same error.

See:
      The Gospel according to William Gates
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 16, 2017, 08:24:40 PM
As a matter-of-fact, all Windoze programs are
full of references to the constant 'MAX_PATH'.
It is bigger than 127 but it ain't anywhere near
aleph-0.

See:
https://msdn.microsoft.com/en-us/library/cc249520.aspx
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 17, 2017, 12:54:24 AM
Cool! I just moved my whole folder structure a little (removing one "folder level"), and the music is played. Thank's Paul!  :hello2:
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 17, 2017, 01:10:08 AM
Interestingly, now that I changed the folder structure, the UafErr_Engine.txt file is again only 1 kb in size, even if I play through more than one level...  ???
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 17, 2017, 10:17:04 AM
Quote
the UafErr_Engine.txt file is again only 1 kb in size

The only reason that I can find after a quarter-hour
of study is that you removed the following from
your config file:

LOG_ERRORS = 1
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 17, 2017, 01:27:45 PM
No, it is still there. I will experiment a little, maybe I can find out what's the reason. I never had this problem in any other design so far and use quite the same config.txt files always...
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 17, 2017, 02:21:04 PM
No, it is still there. I will experiment a little, maybe I can find out what's the reason. I never had this problem in any other design so far and use quite the same config.txt files always...

Paul, could lines 11-14 of the config.txt have something to do with this?
Code: [Select]
Install_Dir = G:\Kottprojekte\DC_port
Default_Resources = G:\Kottprojekte\DC_port\DefaultArt
CommonCharFolder = G:\Kottprojekte\DC_port\CharSave
Game_Exec = G:\Kottprojekte\DC_port\UAFWin\UAFWin.exe

Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 17, 2017, 02:47:24 PM
I thought about this, too, these lines are relics from old folder configurations.

However, these are also in the config.txt of "Fiend's Ritual", and I had no problems with the UafErr_Engine.txt yet after converting that design to DC 3.x.
I cannot look after this tonight, but I guess I will find time for it tomorrow.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 17, 2017, 03:01:05 PM
i know that they are supposed to be ignored, but you know, sometimes things don't do what they are supposed to do. ;)

Did you post that small error log? If not, can you?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 17, 2017, 05:16:27 PM
Quote
could lines 11-14 of the config.txt have something to do with

A quick examination of the code leads me to say "No".
Some are used by the editor and others are obsolete
and unused.

Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 17, 2017, 05:51:15 PM
At the day's end, if we can find no reason for this behavior,
we can ship the entire design to me for debugging.  But
that should be our last resort.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on August 18, 2017, 01:25:45 AM
Sorry, this time, also redoing the converting process did not help. I played the design until it crashed, encountered several errors, but the UafErr_Engine.txt file (attached) contains only two lines...

Not sure what is going on here, since it works, as written above, well for the other design I converted.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Paul R. Stevens on August 18, 2017, 08:51:08 PM
Both of those log files seem rather remarkable.

If they contained the first two lines of the log then
that could be a clue.

If they contained the last two lines of the log then
that could be a clue.

If they contained the first line and the last line then
that could be a clue.

But.....it seems they contain the first line and one of the
middle lines.  Perhaps that is a clue but I am clueless.
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on August 19, 2017, 02:13:25 PM
I don't know if this might be a thing, but if I have the error log open in my text editor when I do someting in the engine or editor, I get a warning to update the doc in the text editor. If I chose no, but continue to do stuff in the engine or editor and then save in my text editor, it make s mess. Maybe something like this is occurring? Admittedly, it usually crashes something - tet editor or Windows folder.

Dinonykos, do you have any clues that might prove relevant?
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: Dinonykos on September 26, 2017, 10:41:39 AM
Sorry, I had not yet found time to look at this again (the last weeks were quite busy). I had seen that there were/are also some other bugs for you to deal with anyway... But I have not forgotten about it and will try to convert "Snow Tigress" with the newest editor and engine versions soon.
Concerning Manikus' idea, I don't think I had the error log open. But I remember we had other issues earlier, like the number of error logs. We'll see. :)
Title: Re: Upgrading Snow Tigress to DC 2.x/3.x
Post by: manikus on September 26, 2017, 01:07:05 PM
No worries. Paul and I are rather busy at the moment working on the Change Class issue and then we have at least one other significant bug to deal with after it.