Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Chrono Tweak | |
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Chickenlump

Level: 41

Posts: 221/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-27-04 08:25 AM Link | Quote
It's no Map editor or anything of the sort, my strong points right now lie with stats.
And...this is an early work in progress that I've been doing in my spare time, based on
data found by Evil Peer, JLukas and myself. What was 3 seperate programs, I've combined, to make a sort of multi basic stat editor.

I plan on adding pointer editing for a couple of things, and much more, but I thought I'd let you all try out what I have so far. Once I compile lists of values and such, I'll make more of the options drop-down combo boxes or list boxes instead of plain number editing...although I'm kind of torn on that, maybe I'll release two versions, on with comboboxes for easy clicking, and one where you can enter any value, not just the given ones....
Suggestions?




right click and save target as....

http://www.angelfire.com/in3/chickenlump/ChronoTweak.zip


(edited by Chickenlump on 05-26-04 11:27 PM)
(edited by Chickenlump on 05-26-04 11:29 PM)
MathOnNapkins

Math n' Hacks
Level: 67

Posts: 233/2189
EXP: 2495887
For next: 96985

Since: 03-18-04
From: Base Tourian

Since last post: 1 hour
Last activity: 32 min.
Posted on 05-27-04 08:37 AM Link | Quote
Cool. Glad to see someone taking some leaps towards messing with CT.
Geiger

Buster Beetle
Level: 34

Posts: 61/460
EXP: 241080
For next: 12571

Since: 03-15-04
From: Indianapolis, IN, USA

Since last post: 6 hours
Last activity: 6 hours
Posted on 05-27-04 08:49 AM Link | Quote
The only suggestion I can make is you need to split the bitfields up instead of using combo boxes. For an example, see Lord J's Multi Editor. The status data is contained in bitfields. You will need to do something like that.

If you need a code example, I can provide one.

---Evil Peer
Chickenlump

Level: 41

Posts: 222/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-27-04 08:56 AM Link | Quote
Originally posted by Evil Peer
The only suggestion I can make is you need to split the bitfields up instead of using combo boxes. For an example, see Lord J's Multi Editor. The status data is contained in bitfields. You will need to do something like that.

If you need a code example, I can provide one.

---Evil Peer



Please do, any help at all would be appreciated.

Chrono Trigger is sort of an obsession of mine, anything I can do to help people hack it , I'd love to be a part of. I'd love to see some Chrono Trigger hacks. Heck, over at Zophar's Message Domain, someone is working on Chrono Trigger in Leet speak. I'd play that just because.


------side note-------
Chrono Tweak used to be able to load CT Prerelease, and some of the data was the same, such as weapons and armor, perhaps I'll add an option to load that rom, and only the editor windows that apply to that rom be accessable. After the usability is up some anyway.


(edited by Chickenlump on 05-26-04 11:59 PM)
Geiger

Buster Beetle
Level: 34

Posts: 62/460
EXP: 241080
For next: 12571

Since: 03-15-04
From: Indianapolis, IN, USA

Since last post: 6 hours
Last activity: 6 hours
Posted on 05-27-04 10:05 AM Link | Quote
Warning: The following may make your eyes glaze over.

Some abbreviated background info to make sure you're up to speed.

Hexidecimal numbers are formed from binary equivalents; each place in binary is a bit. A single hex digit is four bits. A single byte is eight.

Just like in decimal, each place is a power of that number system's base number.

So, 100 decimal is 10 ^ 2. 100 hexidecimal is 16 ^ 2. 100 binary is 2 ^ 2.

The bit values are:
binary . decimal . hexidecimal
1 . 1 . 1
10 . 2 . 2
100 . 4 . 4
1000 . 8 . 8
10000 . 16 . 10
100000 . 32 . 20
1000000 . 64 . 40
10000000 . 128 . 80

The hex number notation for C is either '0x' followed by the number, or 'h' following the number. For VB, its '&H' before the number.

To get at each bit, you need to apply bit logic (typically, you spend an entire semester on this in college, but the basics are pretty easy).

To test for a single bit value, you use the AND operator. Usually ampersand.
0x67 & 0x40 = 0x40
0x38 & 0x40 = 0x00

To remove a single bit, you still use AND, but you use the supplementary bit value (subtract the bit value from 0xFF).
0x67 & 0xBF = 0x27
0x38 & 0xBF = 0x38

To add a single bit, you use the OR operator. Usually vertical slash.
0x67 | 0x40 = 0x67
0x38 | 0x40 = 0x78

A simple way to see if Crono can equip something would be something along the lines of:
If ( nData & &H80 == &H80 ) Then
' Set checkmark
EndIf

To enable Crono to equip something:
If ( 'Checkmark set ) Then
nData = nData | &H80
EndIf


You may find at some point that a byte actually contains several values, instead of bits. For example, the two highest bits may contain the value for the direction a character faces.

To get this value, you would use bit logic and bit shifting. Bit shifting is literally sliding a bit up and down in the byte. In C, these operators are '>>' for downshift and '<<' for upshift. Unfortunately, VB does not have any bit shifting operator I have ever come across, so you will have to use the less effecient technique of dividing by power of two.

So, say you have 0xDB, and we need the middle four bits. There are eight bits in a byte, and you do not need the bottom two, so you need to downshift the bits by two.

0xDB >> 2 = 0x36

Two (our base number) to the power of two (the number of bits to downshift) is four.
0xDB / 4 = 0x36

If you are using a language that has bit-shifting though, you should always use it when you can. It uses far less CPU time (that means its quicker).

We still need to get rid of those top two bits. To do that, we use an AND operation. The bottom four bits we want to keep are 1 + 2 + 4 + 8 = 0x0F.

(0xDB >> 2) & 0x0F = 0x06

or in VB code:

nValue = (nData / 4) & &H0F


Most languages also have advanced operators for data operating on itself. For example, there is the INCREMENT operator '++'

nData = nData + 1
nData++

And others, such as:

nData = nData & &H80
nData &= &H80
nData = nData | &H80
nData |= &H80
nData = nData + 4
nData += 4
Etc. I think VB has most or all of these and more.

This was just a quick overview, and not meant to be comprehensive. If something is not clear, feel free to ask about it.

---Evil Peer
Chickenlump

Level: 41

Posts: 223/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-27-04 10:32 AM Link | Quote
Thank you for that *washes glazed eyes out with water* , that will give me something to chew on for awhile. If I have any questions when experimenting, I'll just ask it here.

I just uploaded a slightly updated version of Chrono Tweak.
The only thing added is that the price and bit fields display correctly now, I added signed and unsigned integer conversions, which will help when I add in pointer editing (although I think quite a few of the pointers in CT are 3 byte pointers, but that shouldn't be too hard to do either...).

http://www.angelfire.com/in3/chickenlump/ChronoTweak.zip

Math was my worst subject in school, but learning programming, hex editing, and rom hacking has improved my math skills considerably....


(edited by Chickenlump on 05-27-04 01:33 AM)
Weasel
Missionary in Peru
Level: 34

Posts: 349/454
EXP: 236444
For next: 17207

Since: 03-15-04
From: Washington

Since last post: 467 days
Last activity: 339 days
Posted on 05-27-04 11:54 AM Link | Quote
What an awful name Chrono Tweaker would have been better. Regardless, it's good. But didn't Maticolotto already make this?
Chickenlump

Level: 41

Posts: 224/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-27-04 11:59 AM Link | Quote
I can rename it to Chrono Tweaker, I did like it better.
The version of Crone I have doesn't have a working item editor, just enemy stats and names. Perhaps I have an outdated version?

*checks* Nope, seems he never finished the item editor, or enemy tactics editing.
Perhaps he lost interest? (now that I think about it, I haven't seen Maticolotto for quite a while.....)




(edited by Chickenlump on 05-27-04 03:16 AM)
(edited by Chickenlump on 05-27-04 03:16 AM)
Jigglysaint

Red Cheep-cheep
Level: 24

Posts: 22/215
EXP: 76907
For next: 1218

Since: 03-17-04

Since last post: 7 days
Last activity: 3 days
Posted on 05-27-04 07:51 PM Link | Quote
You should add treasure chest editing. Without a map editor, it's hard to move the the chests, but you can at least add suport for changing what youget in each chest. I have the offsets, but I can't give them to you untill my internet is fixed.


Pleasure forgive my spelling, I can't see the screen while I am typing, it's too far and I can't move it.
Weasel
Missionary in Peru
Level: 34

Posts: 352/454
EXP: 236444
For next: 17207

Since: 03-15-04
From: Washington

Since last post: 467 days
Last activity: 339 days
Posted on 05-27-04 11:23 PM Link | Quote
I haven't seen him on AIM in a long time. Of course, I'm usually on IRC now anyway. He must have lost interest in the project...


Can you add a map editor? ^_________^
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 164/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 05-28-04 10:24 AM Link | Quote
Sounds purty nifty nice!

And I'll have to agree with the weasely one: Chrono Tweeker sounds better. XP

P.S. - Your font is too dark on that BG. I have to highlight your posts to read them...
Chickenlump

Level: 41

Posts: 226/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-29-04 03:27 AM Link | Quote
The font has been lightened, and the new name is Chrono Tweeker, and Weasel is now in the about dialog ( )

New version should be up tonight with a few fixes and a monster AI Pointer Editor (kind of misleading, it does edit the pointers, but ...not really... It's good for swapping enemy AI around I suppose...it's one of those things I jumped into without thinking...happens alot )

Kefka
Indefinitely Unbanned
Level: 81

Posts: 2216/3392
EXP: 4826208
For next: 166641

Since: 03-15-04
From: Pomona, CALIFORNIA BABY!

Since last post: 4 hours
Last activity: 4 hours
Posted on 05-29-04 03:30 AM Link | Quote
My god, for once, I DON'T have to highlight your post! Thank ya mightily! And that AI pointer thing sounds cool. Especially if someone were to do a major enemy overhaul.
Chickenlump

Level: 41

Posts: 228/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-29-04 06:26 AM Link | Quote
Updated with enemy AI pointer editing, and something I threw in at the last minute, a misc menu with it's first window..the Gato window. This window will let you replace Gato in Millenial Fair with any other monster in the game, to make it easier to test custom monsters, or monster changes you may have made (so you don't have to travel in-game to get to your edited enemy).




right click save as...

http://www.angelfire.com/in3/chickenlump/ChronoTweaker.zip


(edited by Chickenlump on 05-28-04 09:29 PM)
Weasel
Missionary in Peru
Level: 34

Posts: 357/454
EXP: 236444
For next: 17207

Since: 03-15-04
From: Washington

Since last post: 467 days
Last activity: 339 days
Posted on 05-29-04 06:51 AM Link | Quote
The Gato Editor XD omfg that's awesome.

A nicer gui would be really cool. It's nice just selecting the editor you want, but for something like the Item editor and item secondary, that could be combined into one.

You might also consider altering the enemy editor to edit the stuff that Gears and Crone (better than gears) could do. You know, monster hp, exp, etc.

And the gato editor NEEDS a picture of Gato I know it, you know it. We all know we need more gato.

As for me in the credits, thanks I'm glad i could help, albeit in a small way.
Chickenlump

Level: 41

Posts: 229/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-29-04 07:04 AM Link | Quote
All your ideas are good ones and valid, I had thought of combining them, but something in the back of my mind told me to keep them seperate..... I try not to listen to that part of my mind..but...IT'S 90% of my mind!!!! *cries*

Combining should be easy enough.
Adding support for things Gears and Crone already do?
I'll need more opinions from people on that. It would be simple enough to add in, but
it never crossed my mind (Gears and Crone are one of the reasons I started this little project, out of respect for them).
Perhaps I worry too much...

Hmmmm...



--------------edit----------------
While pondering I added this.




(edited by Chickenlump on 05-28-04 10:34 PM)
(edited by Chickenlump on 05-28-04 10:37 PM)
Weasel
Missionary in Peru
Level: 34

Posts: 359/454
EXP: 236444
For next: 17207

Since: 03-15-04
From: Washington

Since last post: 467 days
Last activity: 339 days
Posted on 05-29-04 07:49 AM Link | Quote
Having one editor to do everything is much nicer than multiple editors. Using Tweaker and Crone at the same time is sucky


Love the Gato You're my new favorite programmer EVAR!
Chickenlump

Level: 41

Posts: 230/722
EXP: 474192
For next: 5953

Since: 03-15-04
From: Columbia City Indiana

Since last post: 3 hours
Last activity: 4 min.
Posted on 05-29-04 07:52 AM Link | Quote
*blush blush*
Ok, youve talked me into it, I'll see what I can do!
(got the accessory forms combined already)
Perhaps tommorow I'll have the enemy editor done, with Stats, AI pointers, and such all in one form...


--edit--
Things will be a little easier than I thought...




(edited by Chickenlump on 05-28-04 11:29 PM)
xZeaLitYx

Cheep-cheep
Level: 23

Posts: 9/199
EXP: 66932
For next: 791

Since: 04-13-04

Since last post: 1 day
Last activity: 3 hours
Posted on 05-29-04 09:44 AM Link | Quote
Since Angelfire is terrible, Chickenlump and I have mirrored Chrono Tweaker on the Chrono Compendium.

http://www.chronocompendium.com/pub/ChronoTweaker.zip

By the way, the complete script of Chrono Trigger has been released, cleaned up and chronologically arranged from a rom dump. This includes unused lines. Check it out at the Compendium if you've got the time.


(edited by xZeaLitYx on 05-29-04 12:46 AM)
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 166/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 05-29-04 09:59 AM Link | Quote
Chickenlump, YOU RULE!

Yes, we need an
Pages: 1 2Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - Chrono Tweak | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.018 seconds.