Author Topic: Brigandine Grand Edition...  (Read 386203 times)

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #130 on: February 21, 2015, 09:18:03 pm »
Ok I found at this address 1a6444 and the address you gave be above both have to be changed to the 1f . However when I went and changed her to a Cleric and back she only had the vixen again . Should I change and 1d to 1f in the disc ?

Offline HwitVlf

  • Dark Slayer Destroyer
  • ****
  • Posts: 1667
Re: Brigandine Grand Edition...
« Reply #131 on: February 21, 2015, 10:58:33 pm »
Yeah, change that one too. There are multiple copies of the knight definitions. I think the duplicates are used for the multiplayer scenarios. Maybe I gave you the wrong location. I changed them both to 0x1F and Millet started as a mystic in 6 player multi.

What I know of the character definitions is as follows:
1D = class
0A = level
3D14 = EXP
5F01 = HP
0701 = MP
32 =  STR
4D = INT
4C = AGI
2 = ?
4 = Rune Area
DB00 = Rune Power
30,31,32,ff,ff,ff = Troop 1 - 6
« Last Edit: February 21, 2015, 11:00:19 pm by HwitVlf »

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #132 on: February 22, 2015, 05:30:34 pm »
I'm guessing it is hardcoded somewhere else in the data for her to chose Vixen because even when I change her to an Enchantress and at level 10 the mystic doesn't even show up . Unless there is a way to make her not an expert in the Enchantress class and re level her up .

Offline HwitVlf

  • Dark Slayer Destroyer
  • ****
  • Posts: 1667
Re: Brigandine Grand Edition...
« Reply #133 on: February 22, 2015, 08:26:03 pm »
I think you're right. The game probably records how many levels were achieved in each class in order to decide class-up options. A picture of the full definition area is attached (0x28 each). Each highlighted area is for a different knight- Millet is the dark blue. The first 4 bytes are the name pointer, the next 0x14 are described above, leaving the last 16 bytes (00000000 5FFF1112 050F5400 00000122). It's likely that the "levels achieved in each class" info is somewhere there. I think it also contains "current castle, gender (last 2), equipment (5fff), and age (11)". It seems if you change the "00000000" to "35000000" it enables the Lancer class.
« Last Edit: February 22, 2015, 08:28:54 pm by HwitVlf »

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #134 on: February 22, 2015, 10:11:21 pm »
Wow how do you find this stuff . I bet another number would let her be mystic by class change .

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #135 on: February 22, 2015, 10:43:36 pm »
I changed it to 35 and it didn't do anything is there a second address like for the class and level ? I tried my number 1a6444 is the second location where her class then the next on was the level but I don't see a second 00000000

Offline HwitVlf

  • Dark Slayer Destroyer
  • ****
  • Posts: 1667
Re: Brigandine Grand Edition...
« Reply #136 on: February 23, 2015, 03:50:17 pm »
I see where the confusion is. I was looking at the definitions in memory, but they're written differently on the disk. It looks like the definition at a9c9c (ISO) is just a template for the character. The "00000000" is a blank space where the class data will be assembled based on a 'definition override' written elsewhere. 

At 1a6444 in the ISO is the Millet "definition overrides" for the 6 player multi.  It seems likely these values also define the single-player new game for Milltet.
It reads:
1D0A3D14 5F010701 324D4C24 DB003031 32FFFFFF 025FFF05 0F000122

The "02" in  "025FFF05" is processed into the class value and written over the "00000000". Changing that to "03" and her starting class to "1f" (Mystic) might make Millet work right. I found these values by comparing them to Lecarra who starts as a Mystic. 

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #137 on: February 23, 2015, 10:46:07 pm »
Wow I was going to sugest you look at someone like Carlota or Elaine but it works the way you found it Thanks now I can have 1 of each class of knight even as Esgares . BTW Would there be a way to make the game let you have a Ninja without beating Esgares as another country ? Or to make the cpu choose certain classes for characters ? Kiloph for example imo should be the berserker class but if he ever gets to 10 the cpu always makes him a knight .

Offline HwitVlf

  • Dark Slayer Destroyer
  • ****
  • Posts: 1667
Re: Brigandine Grand Edition...
« Reply #138 on: February 24, 2015, 03:42:46 pm »
You could just make one of the default knights a ninja. I don't know if that would let you make more ninjas, but it might. You would just do that the same way as Millet. IE Search for Shiraha's "definition override" and check what the ninja code is, then change one of the default knights to that code.

I have no idea about the level-up paths. they may be set separately for each character (in which case they'd probably be stored in their definition), or the AI may pick the same path for all knights based on their current class. It would take some effort to trace back and find where that data is.  You could probably set a "memory write break" on Kiloph's class data which would pause the game when he classed up. You could then back-trace the routine that produced the new class and see where it came from. 

Offline Tony0075

  • Mace Masher
  • *
  • Posts: 78
Re: Brigandine Grand Edition...
« Reply #139 on: February 25, 2015, 07:40:33 am »
I know . Do you know where Rock's Info is the quest knight he would be perfect to make a ninja he starts at level 10 and that would give all countries a chance at a ninja without wiping out Esgares .