Author Topic: Upgrading Snow Tigress to DC 2.x/3.x  (Read 597 times)

Offline Dinonykos

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2332
    • Dinonykos Dungeon Craft
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #15 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?
Find four contributions to the Pre-Generated Character Mini-Module Design Contest on my homepage.
New: THE AMBASSADOR'S LETTER, my contribution to the 7-day-challenge.
DINONYKOS DUNGEON CRAFT DESIGN HOMEPAGE

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9812
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #16 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.

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9812
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #17 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. :)

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9812
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #18 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
« Last Edit: August 10, 2017, 03:09:11 PM by manikus »

Offline Dinonykos

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2332
    • Dinonykos Dungeon Craft
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #19 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.
« Last Edit: August 10, 2017, 04:36:13 PM by Dinonykos »
Find four contributions to the Pre-Generated Character Mini-Module Design Contest on my homepage.
New: THE AMBASSADOR'S LETTER, my contribution to the 7-day-challenge.
DINONYKOS DUNGEON CRAFT DESIGN HOMEPAGE

Offline manikus

  • Skriptor
  • Administrator
  • Hero Member
  • *****
  • Posts: 9812
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #20 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. ;)

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #21 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.

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #22 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?

Offline Dinonykos

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2332
    • Dinonykos Dungeon Craft
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #23 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.
Find four contributions to the Pre-Generated Character Mini-Module Design Contest on my homepage.
New: THE AMBASSADOR'S LETTER, my contribution to the 7-day-challenge.
DINONYKOS DUNGEON CRAFT DESIGN HOMEPAGE

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #24 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.

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #25 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.

Offline Dinonykos

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2332
    • Dinonykos Dungeon Craft
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #26 on: August 12, 2017, 01:49:13 AM »
Thank you very much!  :D

Can you explain how this is achieved? (I mean, in theory...)
Find four contributions to the Pre-Generated Character Mini-Module Design Contest on my homepage.
New: THE AMBASSADOR'S LETTER, my contribution to the 7-day-challenge.
DINONYKOS DUNGEON CRAFT DESIGN HOMEPAGE

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #27 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).

Offline Dinonykos

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2332
    • Dinonykos Dungeon Craft
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #28 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.
Find four contributions to the Pre-Generated Character Mini-Module Design Contest on my homepage.
New: THE AMBASSADOR'S LETTER, my contribution to the 7-day-challenge.
DINONYKOS DUNGEON CRAFT DESIGN HOMEPAGE

Offline Paul R. Stevens

  • Dungeon Craft Tester
  • Hero Member
  • ***
  • Posts: 2231
Re: Upgrading Snow Tigress to DC 2.x/3.x
« Reply #29 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

 

anything