Author Topic: Pre-Release VWF Help?/Translation Progress  (Read 5189 times)

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Pre-Release VWF Help?/Translation Progress
« on: October 24, 2008, 12:36:02 am »
Well, I've decided to go back into the pre-release a bit to mess with it, and my first thing I want to apply is a VWF routine.  Could I get a little help on how to actually figure out how to write it, if possible?
« Last Edit: October 27, 2008, 08:04:25 pm by justin3009 »

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Chrono Trigger Pre-Release VWF Help?
« Reply #1 on: October 24, 2008, 01:08:36 am »
What kind? If it's the regular dialog, you just need to copy the VWF routines JLukas gave over somewhere.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Chrono Trigger Pre-Release VWF Help?
« Reply #2 on: October 24, 2008, 08:37:42 am »
He did? O_o...I'll go search for that.

Edit:
Quote
Compare the routines

JPN $025DE2-025DEE
USA $025E1E-025E35
PRE $025E34-025E40 (025E38) = 385EC2
0312F0

F160C2

and it should be pretty clear on what to do.  The JPN version and Pre uses a hardcoded $0C width value.  The USA version loads the width values from a table at 0260E6-026145.

Since the VWF routines take up more room, you'll need to JSL to some free space somewhere, and also pick a spot of free space for your width table (and update the 3 byte pointer address to match it)

BTW, 7E0235 is the current value of the character to display, and 7E0234 is a width counter for everything displayed on the line up to that point.
- Minus that.
« Last Edit: October 24, 2008, 08:40:01 am by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Chrono Trigger Pre-Release VWF Help?
« Reply #3 on: October 27, 2008, 08:04:06 pm »
- Double Post.  Still need to fix the VWF, also in the wrong topic, I'm probably going to rename this one to Pre-Release translation progress...but here's proof of the text working with the substrings.  It's..kind of hard to tell that it is, but ome = 55 which is 3 letters in 1 which is out of the normal range of "3F", but it works!

Edit: For right now, I'm trying to get the basics worked out.  The entire menu being translated minus tech/item names.  And trying to remove a couple things or at least MOVE them.  Move the Weapon/Armor/Helmet/Accessory stuff 3 nudges over or 2 nudges so I can fit the normal 11 letters, and removing the MP and # of items in the Equipping and Tech Use areas.  It'd be the basic setup of the US menu with pre-release additions.
« Last Edit: October 27, 2008, 08:06:18 pm by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #4 on: October 28, 2008, 06:39:46 pm »
- Ignore "Font" - Just a little testing.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #5 on: October 29, 2008, 04:44:29 pm »
Triple Post.  Still getting the basics setup.  I'm hexing all "Save Game codes" so no codes are needed for anything, except for WTW.  I edited Tyrano Lair Throne Room via hex to remove the Mode7 cut-scene so the game doesn't reset.  All events have been enabled via hex as well.  I've started a text file holding all the offsets I've checked so far + other things.

I'm also updating them a bit for Save File 2.  So far, Party unlocked and full party is ready.

Another thing is that the game is fully playable up to about...when you hit 65,000,000 BC unless you're using WTW code.  Other then that, it goes to after you beat Black Tyrano.  You can't progress any further from what I've experienced so far.

Edit: I'm going to edit Guardia Forest data once I find it to remove the Imps from guarding the entrance.
« Last Edit: October 29, 2008, 04:46:18 pm by justin3009 »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #6 on: October 29, 2008, 11:45:58 pm »
Quad Post

All cheats for "Save Games" are now done.  You can choose any save point with full party, unlocked characters, epoch, dactyl, replacement screen, along with their names.

Here's some of the addresses for the Pre-Release.

|====================================================================|
|Pre-Release                          |
|====================================================================|
025D66 - Change to 06 and it'll show the 6th letter in dialogue (Pre-Release).
02EC21 - Change to 06 and you can write the 6th letter...but it won't save (Pre-Release).
02E221 - Change to 06 and it will scroll to 6th letter when naming (Pre-Release).
02E2AA - Change to 06 and it will show the 6th letter in dialogue and you can name it (Pre-Release).
02EC1D - Change to 0C and it'll show 6th letter in Save, Char switch, exchange menus.  But not in Tech (Pre-Release).
02EC21 - Shows 6th Letter in Menu Screen when set to 06 (Pre-Release).
*0CE455 - Change to 06 and it'll load 6th letter but won't show (?).  I'm not sure on this..but I think that's what it does. (Pre-Release)
C10406 - Change to 06 to display 6th letter! (In Battle - Pre-Release)
C10428 - Change to 01 02 or 03 so the first letter of the next name doesn't appear above it. (In Battle - Pre-Release)

025DDA    - "Unknown Routines - For Font/Menu"
|====================================================================|
|MENU THINGS                          |
|====================================================================|
3FCA1A - "LV" text
3FCA72 - "LEVEL"
3FCB0C - "HP"
3FCB21 - "MP"
3FCB1A - / for HP
3FCB29 - / for MP
3FD479 - "SPD ???"
3FCA31 - "EQP" in Menu
3FCA35 - X coordinates of Stats of heroes
3FCA37 - "PWR"
3FCA3C - "SPD"
3FCA2F - "G"

3FC3FF? - Menu X/Y Coordinate stuff
3FC357 - Time/Gold X/Y Coordinates
3FC35D - EQP X/Y Coordinates

3FCBAB - Menu Text

|====================================================================|
|Text                             |
|====================================================================|
398073 - Character Name (Load Screen)
397BEA - Change to 00 for Character Lock Off when selecting "New Game"

3C0472 - "MOM: Come on, sleepy head!  Get Up!" text
3CFF00 - Substring Pointers/Text Substrings 20 to 3F
3D85B6 - Save Data?
0258E8 - ???
06EFF4 - Location Names
06F400 - Location Name Pointers
02595F to 025980 - Routines load text character, and checks type

0CE4C3 - Hex address for character name letters 1-5 (Pre-Release)
025968 - How far it reads for substrings

|====================================================================|
|3FC984 - Pointers to Menu Text/Routines (Organize, Use/Move, etc...)|
|~~~~~~~~~~3F207C - New Menu Routine Implements~~~~~~~~~~        |
|====================================================================|
3FC984 (04 CA) - Character Stats (Small Box - Left)
3FC986 (1A CA) - LV ## (Small Box - Left)
3FC988 (22 CA) - TIME 00:00/ ######G
3FC98A (31 CA) - HIT/EVADE/MAGIC/NEXT/EXP Text etc...
3FC98C (6B CA) - ## HIT/EVADE/MAGIC/NEXT/EXP Text etc...
3FC98E (BF CA) - ?????
3FC990 (03 CB) - Crono LV 99 HP/MP (Not Sure Which)
3FC992 (30 CB) - ??? (Might Be Weapon)
3FC994 (33 CB) - Blank Stuff when you click the person in Tech Menu
3FC996 (3C CB) - ???
3FC998 (A0 CB) - "Exchange"
3FC99A (B1 CB) - "Who'll you replace?"
3FC99C (C4 CB) - "Use/Move         Organize"
3FC99E (D7 CB) - Item Icon (In Item Menu)
3FC9A0 (E1 CB) - All The Icons In The Settings Menu
3FC9A2 (3E CA) - Red 1-9?
3FC9A4 (49 CC) - Confirm Warp Exit Dash text
3FC9A6 (6D CC) - ???
3FC9A8 to 3FC9AE (91 CC) - ??? (New?)
3FC9B0 (9A CC) - Save Icon/Gold/Time
3FC9B2 (C5 CC) - Character Stats Save Menu
3FC9B4 (0D CA) - Chraracter Stats (Unsure where)
3FC9B6 to 3FC9C3 (E8 CC) - Tech Icon "1" "2" "3"
3FC9C4 (02 CD) - Hp/Mp Tech MP Used
3FC9C6 (3E CD) - ???
3FC9C8 (4F CD) - Item Menu Equip (Who Can use)
3FC9CA (88 CD) - All Text in Item Buying - Item Buying




|====================================================================|
|Game Shark Codes                       |
|====================================================================|
C0932764 Walk through walls (WTW)
C0932D64
C0932FAF
C09332FC

C266D0A9 Overworld map WTW - turn off before boarding Epoch/Dactyl
C266D144

C0022F80 Game continues if party falls in battle
C01E1080

C01B9600 Party exchange menu always available
C2349D00

C28B6C00 Save Game checksum bypass - MUST BE ON FOR SAVE GAME CODES

-----------------------------------------------------------

FD87FF10 Save 1 Epoch enabled - XX= 80 Unused Hovercraft, A0 Upgraded
FD880001
FD8801E0
FD880200
FD8803XX
FD880EF0
FD880F01

FD880918 Save 1 Dactyl enabled
FD880A02
FD880B48
FD880C01
FD880D80

FD858203 Save 1 Full party
FD858404
FD858505
FD858606

FD87DC00 Save 1 Party unlocked

FD85FDXX Save 1 Storyline counter

---------------------------------------------------------

FD91FFB0 Save 2 Epoch enabled - XX= 80 Unused Hovercraft, A0 Upgraded
FD920002
FD920100
FD920201
FD9203XX
FD920EF2
FD920F01

FD920918 Save 2 Dactyl enabled
FD920A02
FD920B48
FD920C01
FD920D80

FD8F8303 Save 2 Full party
FD8F8404
FD8F8505
FD8F8606

FD91DC00 Save 2 Party unlocked

FD8FFDXX Save 2 Storyline counter

---------------------------------------------------------

FD9C0002 Save 3 Epoch enabled - XX= 80 Unused Hovercraft, A0 Upgraded
FD9C01E0
FD9C03XX
FD9C0EF1
FD9C0F01

FD9C0918 Save 3 Dactyl enabled
FD9C0A02
FD9C0B48
FD9C0C01
FD9C0D80

FD998403 Save 3 Full party
FD998505
FD998606

FD9BDC00 Save 3 Party unlocked

FD99FDXX Save 3 Storyline counter

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #7 on: October 30, 2008, 12:07:29 am »
5th Post =|

- Blue Imps are now removed from Guardia Forest.

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Pre-Release VWF Help?/Translation Progress
« Reply #8 on: October 30, 2008, 02:58:02 am »
5th Post =|

- Blue Imps are now removed from Guardia Forest.

And there's a wooden post stuck on top of Crono's head!

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #9 on: October 30, 2008, 09:09:49 am »
Walk through walls <3

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #10 on: October 30, 2008, 12:35:33 pm »
Thanks to Vehek for pointing out that there aren't anymore events, I decided to go looking for another route.  I modified the doorway that leads to the 2nd part of Manoria Cathedral to lead to the last hallway where you fight Yakra, vice versa.  The music is also changed to "Silent Night".

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #11 on: October 30, 2008, 12:46:13 pm »
Something I want to mention right now:
Back in 2006 or so, I decompressed the Chief's Hut event from the final, modified its beginning to match the pre-release's format, and compressed it into the pre-release. It worked, or at least it didn't crash when entering.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #12 on: October 30, 2008, 01:36:13 pm »
That event is absolutely needed for this.  Would you be willing to throw out an IPS patch or the info to put into this rom?

Edit: Yea, that is needed.  The game is playable up until that exact point because the Chief's Hut doesn't exist entirely.
« Last Edit: October 30, 2008, 02:09:47 pm by justin3009 »

Geiger

  • Guru of Life Emeritus
  • Chronopolitan (+300)
  • *
  • Posts: 315
    • View Profile
    • Geiger's Crypt
Re: Pre-Release VWF Help?/Translation Progress
« Reply #13 on: October 30, 2008, 05:31:54 pm »
Back in 2006 or so, I decompressed the Chief's Hut event from the final, modified its beginning to match the pre-release's format, and compressed it into the pre-release. It worked, or at least it didn't crash when entering.

Careful with inserting event records from the release game.  Some of the event commands don't exist in the BETA and some of them are formatted differently.

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1761
    • View Profile
Re: Pre-Release VWF Help?/Translation Progress
« Reply #14 on: October 30, 2008, 05:57:41 pm »
I don't know if any non-beta commands exist in the Chief Hut's code, but I got lucky there. I think it's the only event I've tried that worked.