Author Topic: Before I totally step down, I implore that...  (Read 1313 times)

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Before I totally step down, I implore that...
« on: September 01, 2005, 06:43:20 pm »
The directors consider

http://bisqwit.iki.fi/source/chronotools.html

Some of the tools there are amazing, such as the variable width text for hugely long weapon names, inflection, and automatic paragraph wrapping. I wasn't able to learn too much about them, so it's up to you to take full advantage of these possibilities. Bisqwit would be overjoyed to hear that his tools will be used in a major rom hack, so give him a ring.

Exodus

  • Acacia Deva (+500)
  • *
  • Posts: 506
  • How do we know we exist?
    • View Profile
Before I totally step down, I implore that...
« Reply #1 on: September 01, 2005, 06:50:19 pm »
I like it.

A lot.

Thanks, I'll see if I can get him to help with the development a bit (yeah, you've already heard this, Z. It's for the other members.)

teh Schala

  • Acacia Deva (+500)
  • *
  • Posts: 561
    • View Profile
Before I totally step down, I implore that...
« Reply #2 on: September 02, 2005, 12:53:29 am »
Interesting...  It also seems he is attempting to extend -- or remove altogether -- the limit on letters in a character's name.  If he is successful, we definitely need to bring that in to accommodate Schala's longer name as well.

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Before I totally step down, I implore that...
« Reply #3 on: September 05, 2005, 11:09:18 pm »
I tried it, but I still don't know what the hell to do. I first used ctdump.exe to dump the required parts; that worked fine, though it strangely put everything in C:\Windows.

Quote from: Step 2
You need a font. Take one from DOCS/ct8fnV.tga and edit it to match your character set.
Edit the font8vfn setting in the [font] section of your configuration file so that the insertor knows the font.


Since his example font is perfect, I figured it should be used with no change. I pasted it in C:\Windows with the other stuff, and...wasn't sure about the second sentence.

Quote from: Step 3
Add the following lines to your ct.cfg in the [linker] section:


I replaced the stuff that was there that looked pretty much the same to what was being pasted. I wasn't sure about the "add_call_of" stuff. My ct.cfg, under [Linker], now looks like:

Code: [Select]
[linker]
#add_call_of syntax:
# add_call_of <func_name> <call_address> <nop_after_call> <rts_after_that>

# Addresses are SNES-based

# VWF8
load_code "ct-vwf8.o65"
add_call_of "EquipLeftItemFunc"  $C2A5AA 4  false
add_call_of "EquipRightItemFunc" $C2F2DC 1  true
add_call_of "ItemListFunc"       $C2B053 13 false
add_call_of "EquipLeftHelper"    $C2A57D 14  false
add_call_of "EquipLeftHelper2"   $C2A5B6 2   false
add_call_of "BattleItemFunc"     $C109C1 32 false
add_call_of "DialogItemCall"     $C25BA1 36 false

# VWF for techs: Have your tech list in *t format and use:
add_call_of "BattleTechFunc"     $C10B5B 32 false
add_call_of "BattleTechHelper"   $C10A99 0 false
add_call_of "DialogTechCall"     $C25A90 55 false
add_call_of ""                   $C10ABE 16 false
add_call_of "TechListFunc"       $C2BDB2 52 true

# If you use long monster names (*m11 instead of *l11):
#add_call_of "BattleMonsterFunc"  $CCED13 60 false
#add_call_of "DialogMonsterCall"  $C25AD2 35 false


I noticed ct-vwf8.o65 was in the Chronotools folder, so I disregarded the bit about assembling it.

Quote from: Step 4
Normally the items, techs and monsters are inserted as constant-width tables in the ROM, denoted by the label *l11 in your script.
When you are ready to get rid of the item length limit, replace the *l11 in the script with i11.
Same goes for techs: *l11 is changed to t11, and for monsters *l11 is changed to m11.

Note: Monster name conversion does not work yet.


I opened ctdump.out and replaced these as noted.

~

Afterwards comes ctinsert.exe. Since it didn't work just by trying it once, I moved all the stuff (image files & script) into my chronotools folder. It still had errors, so on the advice of a friend, I copied ct.cfg from etc to the main chronotools folder. Less errors, but still wouldn't generate the .ips files. So, I renamed ctdump.out to ct.txt and let it go. Got a lot of errors about the variable width font, and the patch makes the rom a black screen. Can you identify what I did wrong?

Geiger

  • Guru of Life Emeritus
  • Chronopolitan (+300)
  • *
  • Posts: 315
    • View Profile
    • Geiger's Crypt
Before I totally step down, I implore that...
« Reply #4 on: September 06, 2005, 03:37:57 am »
I do not remember if he does header detection or not.  I would try it with and without.

---T.Geiger

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Before I totally step down, I implore that...
« Reply #5 on: September 06, 2005, 07:14:13 pm »
Yeah, it makes patches for both cases. I'm going to give it another try. Bisqwit's e-mail didn't point out anything as being specifically wrong except changing Monster name stuff, so I'm going to avoid doing that this time.

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Before I totally step down, I implore that...
« Reply #6 on: September 07, 2005, 12:39:05 am »
Fail; and running ctinsert > file.log isn't generating a log file STILL. Is there any way to do so, or at least record the MS Dos operation somewhere? I need to send the log to Bisqwit.

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10795
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Before I totally step down, I implore that...
« Reply #7 on: September 07, 2005, 06:59:33 pm »
Okay, because of the VWF, Chronotools has to rebuild the Chrono Trigger dictionary. This renders Strings totally incompatible with Temporal Flux. The only way the long names can be used now is if we can possibly use Chronotools after Crimson Echoes is completed. Oh well! We'll bring this back up when the time comes.

Exodus

  • Acacia Deva (+500)
  • *
  • Posts: 506
  • How do we know we exist?
    • View Profile
Before I totally step down, I implore that...
« Reply #8 on: September 07, 2005, 07:47:37 pm »
It was certainly worth a try.

Oh well.