Author Topic: Hack Add-On Going To Need Help!  (Read 2771 times)

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Hack Add-On Going To Need Help!
« on: December 20, 2008, 05:17:43 pm »
I'm pretty certain most of you guys know about the Schala project and DS project, but the other thing is Chrono Trigger: Ultimte Edition.  It was originally the DS project but we're deciding to expand on this and upgrade CT a bit.

Here's where the problem starts.  One of the options we want to add is a Language Setting.  (Photoshopped) - For example, that.  Except more professional looking.  Now this is where it gets hard.  How will we be able to expand on this to get it working?  I don't think adding the graphic, expanding the box, and having it move over there will be that hard.  In fact, I think I have where most of that is located written down...It's just, how will we make it load what we want, where do we do it, how does it work etc etc...This is why I'm asking for all of massive hackers to help on this.  I really don't honestly think anyone will be able to help, but this is one of 2 options I can think of.

1) As stated above

2) Have a hard-coded variable check on every map.  When the character presses select, it'll load up a dialogue box asking what language they want, and change it to that.  That one is much simpler, but I think it'd look better if we added it in the menu...It'd definitely give this more of a professional feel instead of just a random shortcut.

This isn't really something needed, but it would make everything easier for people.  Plus, I have someone lined up that's willing to help with the translation to Spanish.

DarioEMeloD

  • Guardian (+100)
  • *
  • Posts: 150
  • Ñ
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #1 on: December 20, 2008, 05:51:15 pm »
I don't know anything about hacking and stuff, but I can help with the Spanish translation and some sprite editing.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #2 on: December 20, 2008, 06:08:57 pm »
Alrighty.  That's good, we're going to need those.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Hack Add-On Going To Need Help!
« Reply #3 on: December 20, 2008, 06:28:14 pm »
I'll help with whatever coding I can.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #4 on: December 20, 2008, 06:31:09 pm »
Alright, thank you.  I'll post every single bit of Data that I have for the menu listed and labeled...I hope it can help with this thing.

Quote
Yes, but you will have to do some experimenting.  In general, code from bank $02 (which includes the main menu, shops, etc.) uses data from bank $3F.

The data (or at least some of it) that you are looking for should be between 3FB518 and 3FC456.
=============================================================================================================================
02F0A7 - Changing this to 01 makes all numbers White

0281AC - Hand Icon
029B17 - Edits the surround tiles in menu (1D/1F = Awesome)
029C0A - Positioning of Menu Pointers
0281A4 - Pointer for Selecting Character Coordinates/Graphics
x28578 - Where I left off

x2a303 - Where I left Off
x29EA7 - Main Menu Pointer o.o..

3FB718 - Editing position of Menu stuff

Battle Menu Editing
======================
CFADF - Change this and it'll move the X position of where the hand moves when selecting something.

============================================
3FBEF8 - Character Replacement Screen
============================================
3FBF0E - Character Replacement Width
3FBF0F - Character Replacement Height
3FBF10-12 - Box design of First Column

3FBF13 - First Column Character X Coordinates
3FBF14 - First Column Height (Maybe Y Coordinate?)
3FBF15 - ???
3FBF16 - Box Height First COlumn?
3FBF17 - ???
3FBF18 - Last 3 Boxes First Column X Coordinate <--
3FBF19 - Last 3 Boxes Background First COlumn Y coordinate
3FBF1A - Last 3 Boxes First Column X Coordinate -->
3FBF1B - First Column Y Coordinate Boxes
3FBF1C - 2 Boxes/First COlumn Width

3FBF1D-1E - ??? Box Underneath "Who'll you replace"

3FBF1F - 2nd Column Box Design
3FBF20 - Same as Above
3FBF21 - 2nd Column X Coordinates
3FBF22 - 2nd Column Height (Maybe Y Coordinate?)
3FBF23 - 2nd Column Background Box Width
3FBF24 - 2nd Column Background Box Height
3FBF25 - ???
3FBF26 - Background Design
3FBF27 - Background Design
3FBF28 - Background Design speed?
============================================

3FB808 - Menu Editing

3fB825 - Character Scrolling Main Menu Editing
3FBBB0 - 3FBC57  - Set all to FF and menu has no shading
3FBD5C-3FBD73 - "I have listed as Coordinates and other data for six main menu icons" (Quoted by: Geiger)
3FBD7D - Gold Text Modifying
3FC4FC - Gold Modifying
3FBD7F-80 - Time X Coordinate

3FBD84 - PWR SPD EVA etc Text Modifying
3fBD85 - PWR SPD EVA etc X Coordinates
3fBD86 - PWR SPD EVA etc Y Coordinates

3fBD89 - Menu X Coordinate (Messes up graphics =/)
3fBD8A - Menu Y Cooridnate (Messes up Graphics =/)

3fBD8E - Character Scrolling Menu X Coordinate (back)
3fBD8F - Character Scrolling Menu Y Coordinate (back)
3fBD90 - Character Scrolling Menu Width
3fBD91 - Character Scrolling Menu Height
3fBD93 - Character Scrolling Menu Bottom 3 Objects Width
3fBD94 - Character Scrolling Menu Bottom 3 Objects Y coordinate
3fBD97 - Character Scrolling Menu Bottom 3 Objects Height
3fBD99 - Character Scrolling Column Menu Height

3fBD9C - Character Status X coordinates
3fBD9D - Character Status Y coordinates
3fBD9E - Character Status Width
3fBD9F - Character Status Height
3fBDA9 - Character Stat Spacing

3fBDB1-2 - Character 2-8 MP Y coordinate

3fBDB5 - Start of Editing Column

3FBE11 - Character Stats X Coordinate Menu
3FBE12 - Character Stats Y Coordinate Menu

3FBE20 - Characters Name/LVl Text Modifying Status

3fC53C-41 - Editing the text "Level **"
3FC542 - Edits the max level symbol  07 = Star * 09 = 00
3FC546 - Pwr Hit Mag ** editing
3FC549 - Edits Max symbol for Power 00 = ** 0a = 99
3FC4D8 - Name Pointer in Menu
3FC4ED - "LV" text modification
3FC557 - SPD EV STAM ** X COORDINATE
3FC55F - SPD Max Symbol Editing
3FC564 - STAM MAX SYMBOL EDITING
3FC56A - M.Def ** X coordinates
3FC56D - M.def Max Symbol editing
3FC5BF - How many letters appear in Menu (Gets rid of 1 ><)
3FCB04 - Prelease (Same as above)
3FC5C3 - Pointer for "LV" Text
3FC5CA - X Coordinate of Health Points
3FC5D5 - Editing / That seperates the HP
3FC5DE-DF - Editing the blank spaces between MP
3FC5E5 - Editing / that seperates MP

3FC5BD-3FC5C1 - General Area for Character Name

Character Stats
=======================
3FC4E6 - Defense Symbol/Stat Editing
3FC4DD - Attack symbol/Stat Editing

3FC503 - PWR. text editing
3FC507 - PWR. Stat Editing

3FC6A2 - 3FC730? - Menu Settings Editing - Menu Settings Editing
3FC815 - Menu Tech Editing

3FC8F4 - Shop Editing

3FCBB6 - Edits the outline of the text if it's a "NEW" item
3FCBBB - Edits the color of the text if it's a "NEW" item

3FCF0? - Pwr Speed Evade etc editing

3FE000 - Where I left Off


3FC5C3 - Pointer for "LV" Text
3FC4D8 - Name Pointer in Menu

3FBE11 - Character Stats X Coordinate Menu \
3FBE12 - Character Stats Y Coordinate Menu / These move the ENTIRE status, including name, attack, defense etc..
3FBE20 - Characters Name/LVl Text Modifying Status?

Settings menu
----------------------------
3FD56E - Window Design Box Icon Editing


Defense Data
------------------
.<bh:03><bh:ce><bh:9a>!~<bh:00><bh:ff>

x3FC5BE - This is where the name starts
x3FC5C2 - This is where Lv** starts

Name Pointer is at:

x3FC4D8 - BE C5 FF


3FC5C5 - HP Letter
<bh:01><bh:a7><bh:af>

MP Data
======================
3FC5E2 - Change to 22 for 3 digit MP.  Works Partially.
3FC5E8 - Change to 22 for 3 digit MP.  Works Partially.
3FC7FE - Change to 22 for 3 digit MP.  Works Partially.

3FC5DB - MP Letter
<bh:01><bh:ac><bh:af>

3FC4DB-3FC4E5 - Attack Data (Including Icon)
<bh:01><bh:07>M
<bh:03><bh:cd><bh:9a>!~<bh:ff>


3FC5CD-3FC5DA - HP Data xxx/xxx
<bh:03><bh:93><bh:9a>"~<bh:06>Q<bh:00><bh:e0><bh:03><bh:cf><bh:9a>"~


3FC5DE-3FC5EB - MP Data xx/ xx
<bh:ff><bh:ff><bh:03><bh:97><bh:9a><bh:11>~<bh:e0><bh:ff><bh:03><bh:99><bh:9a><bh:11>~




Exchange Menu Data
===================================
3FBF51 - Exchange Text Selection
3FBF53/3FBF49 - Exchange X coordinates
3FBF54 - Exchange Y coordinates

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1756
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #5 on: December 20, 2008, 09:37:01 pm »
I have some information that controls movement between options in the menu.

Starting, there are six-byte (I think) groups defining which option is moved to when going a particular direction.

For the main menu, this data is stored at 3FB51B.

(I found this not long ago while I was trying to see if I could implement an option in the config menu for my font switcher).
« Last Edit: December 20, 2008, 09:41:20 pm by Vehek »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #6 on: December 20, 2008, 11:02:30 pm »
Yea, that's what I forgot to throw in here.  Found that little tidbit yesterday and threw it in the offsets guide for some reason..

Edit: Your font switcher patch is where I originally got this idea.

3FB541 - Seems to be, how many lines to move down when you down.

Edit 2: Further then that is the movement of the hand in the item menu partially.  The rest, I'm not sure.
« Last Edit: December 20, 2008, 11:19:26 pm by justin3009 »

Acacia Sgt

  • Guru of Reason
  • Zurvan Surfer (+2500)
  • *
  • Posts: 2654
  • Forever loyal to the Acacia Dragoons
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #7 on: December 21, 2008, 01:03:37 am »
I could help translating, but it seems that someone else is already going to do that.

Mauron

  • Guru of Reason Emeritus
  • Errare Explorer (+1500)
  • *
  • Posts: 1764
  • Nu-chan
    • View Profile
    • Maurtopia
Re: Hack Add-On Going To Need Help!
« Reply #8 on: December 21, 2008, 01:39:24 am »
3FBD5C-3FBD73 - "I have listed as Coordinates and other data for six main menu icons" (Quoted by: Geiger)
Format: 4 bytes each (X, Y, Icon used, Unknown (always 30)).
I have some information that controls movement between options in the menu.

Starting, there are six-byte (I think) groups defining which option is moved to when going a particular direction.

For the main menu, this data is stored at 3FB51B.

(I found this not long ago while I was trying to see if I could implement an option in the config menu for my font switcher).

3FB51B-3FB53C is the data loaded, with four extra bytes. The first two are always the same, starting at 00 and increasing by one for each group. I'd suspect one of those serves as an index. The third byte is the previous item, and the fourth is the next item. Byte 5 is always 00 and byte 6 is always E3.

I also played around with the spacing, and came up with this:

[attachment deleted by admin]

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1756
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #9 on: December 21, 2008, 01:41:18 am »
Quote
I'd suspect one of those serves as an index.
No, I'm pretty sure these are for up/down movement (which isn't used in the main menu, so they just loop back onto the current option).

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #10 on: December 21, 2008, 09:34:30 am »
Very nice.  I didn't think of the spacing...duh.  Anywho, I'm going through the data bit by bit seeing if I can find someway to re-arrange the data to have it load an extra icon up.  In the meantime, I'll see if I can add the Icon in there.

Edit: Seems to be that the menu is only allowing the 6 icons + the hand and the pointers to be loaded.  We'd have to make it read beyond those.
« Last Edit: December 21, 2008, 10:04:27 am by justin3009 »

Gemini

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 84
  • Psx asm guru
    • View Profile
    • Jikan no Page
Re: Hack Add-On Going To Need Help!
« Reply #11 on: December 21, 2008, 10:00:10 am »
Well, unless you find a decent way to expand the game by A LOT to allow the whole multi-language script, it's impossible to do. And even in the case you find a way to expand it correctly, it will still be a pain in the ass to hack all the functions to read multiple data.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #12 on: December 21, 2008, 10:03:37 am »
There's enough expansion for this, that's not the problem.  And yea, that's another issue I knew about...Not sure how this will all be solved.

Gemini

  • Architect of Kajar
  • Porrean (+50)
  • *
  • Posts: 84
  • Psx asm guru
    • View Profile
    • Jikan no Page
Re: Hack Add-On Going To Need Help!
« Reply #13 on: December 21, 2008, 10:09:06 am »
Solution: probably, headache: certainly.

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3296
    • View Profile
Re: Hack Add-On Going To Need Help!
« Reply #14 on: December 21, 2008, 10:13:12 am »
Indeed...

Edit: I haven't found much more, but some of the starting data at the beginning of the game was taking up like, 100 extra bytes then what it needed.  Re-did the text with substrings included, moved them a bit and there's somewhat more free room for a small text string.

3FBF64 - Somewhere above here, on here, or around here is the beginning of the tech menu data.  The data we have labeled listed above is the one for the item menu...Possibly meaning that the Main Menu drawing is further above that.

3FC694 - Somewhere above here, on here, or around here relates to Item/Settings menu.
« Last Edit: December 21, 2008, 12:58:23 pm by justin3009 »