Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lenophis

1636
Final Fantasy IV Research & Development / FF4 code griping thread
« on: December 08, 2007, 02:30:02 AM »
Ok, I've just stumbled onto something that makes even Baby Jesus cry.

Code: [Select]
$01/81D6 DA          PHX                     A:13E9 X:D998 Y:0007 D:0100 DB:7E S:02E7 P:envmxdIzcHC:0562 VC:114 00 FL:00
$01/81D7 5A          PHY                     A:13E9 X:D998 Y:0007 D:0100 DB:7E S:02E5 P:envmxdIzcHC:0592 VC:114 00 FL:00
$01/81D8 C2 20       REP #$20                A:13E9 X:D998 Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzcHC:0622 VC:114 00 FL:00
$01/81DA A2 7F 00    LDX #$007F              A:13E9 X:D998 Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzcHC:0644 VC:114 00 FL:00
$01/81DD 86 5A       STX $5A    [$00:015A]   A:13E9 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzcHC:0668 VC:114 00 FL:00
$01/81DF E6 5A       INC $5A    [$00:015A]   A:13E9 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzcHC:0700 VC:114 00 FL:00
$01/81E1 38          SEC                     A:13E9 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzcHC:0754 VC:114 00 FL:00
$01/81E2 E9 E8 03    SBC #$03E8              A:13E9 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzCHC:0768 VC:114 00 FL:00
$01/81E5 10 F8       BPL $F8    [$81DF]      A:1001 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzCHC:0792 VC:114 00 FL:00
$01/81E7 18          CLC                     A:FC79 X:007F Y:0007 D:0100 DB:7E S:02E3 P:eNvmxdIzcHC:0170 VC:115 00 FL:00
$01/81E8 69 E8 03    ADC #$03E8              A:FC79 X:007F Y:0007 D:0100 DB:7E S:02E3 P:eNvmxdIzcHC:0184 VC:115 00 FL:00
$01/81EB 0B          PHD                     A:0061 X:007F Y:0007 D:0100 DB:7E S:02E3 P:envmxdIzCHC:0208 VC:115 00 FL:00
$01/81EC A2 00 42    LDX #$4200              A:0061 X:007F Y:0007 D:0100 DB:7E S:02E1 P:envmxdIzCHC:0238 VC:115 00 FL:00
$01/81EF DA          PHX                     A:0061 X:4200 Y:0007 D:0100 DB:7E S:02E1 P:envmxdIzCHC:0262 VC:115 00 FL:00
$01/81F0 2B          PLD                     A:0061 X:4200 Y:0007 D:0100 DB:7E S:02DF P:envmxdIzCHC:0292 VC:115 00 FL:00
$01/81F1 85 04       STA $04    [$00:4204]   A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envmxdIzCHC:0328 VC:115 00 FL:00
$01/81F3 E2 20       SEP #$20                A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envmxdIzCHC:0356 VC:115 00 FL:00
$01/81F5 A9 64       LDA #$64                A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envMxdIzCHC:0378 VC:115 00 FL:00
$01/81F7 85 06       STA $06    [$00:4206]   A:0064 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envMxdIzCHC:0394 VC:115 00 FL:00
$01/81F9 20 45 82    JSR $8245  [$01:8245]   A:0064 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envMxdIzCHC:0416 VC:115 00 FL:00

For those that may not know assembly, I'll give you what I believe this is doing.

Code: [Select]
$01/81EC A2 00 42    LDX #$4200              A:0061 X:007F Y:0007 D:0100 DB:7E S:02E1 P:envmxdIzCHC:0238 VC:115 00 FL:00
$01/81EF DA          PHX                     A:0061 X:4200 Y:0007 D:0100 DB:7E S:02E1 P:envmxdIzCHC:0262 VC:115 00 FL:00
$01/81F0 2B          PLD                     A:0061 X:4200 Y:0007 D:0100 DB:7E S:02DF P:envmxdIzCHC:0292 VC:115 00 FL:00

This is changing the Direct Page register to look at xx/4200. You might already see where this is going, but for those that don't... It gets funky.

Code: [Select]
$01/81F1 85 04       STA $04    [$00:4204]   A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envmxdIzCHC:0328 VC:115 00 FL:00
$01/81F3 E2 20       SEP #$20                A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envmxdIzCHC:0356 VC:115 00 FL:00
$01/81F5 A9 64       LDA #$64                A:0061 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envMxdIzCHC:0378 VC:115 00 FL:00
$01/81F7 85 06       STA $06    [$00:4206]   A:0064 X:4200 Y:0007 D:4200 DB:7E S:02E1 P:envMxdIzCHC:0394 VC:115 00 FL:00

This, believe it or not, is storing to the hardware registers to do math, in this case I think division. I don't know if it's 97 divided by 100 or 100 divided by 97. In any event, the game is changing the DP register to do math. Completely unnecessary. :sad: Now I know why JCE thinks this game is a coding disaster. It is a coding disaster. :bah:

Let the fun continue...

1637
Slick News / Re: Minor overhaul complete
« on: December 07, 2007, 09:22:02 PM »
The two newer ones (one a bot) haven't done email activation I guess. That's my guess, anyway. :hmm:

1638
Pandora's Box / Re: Suggestions
« on: December 07, 2007, 12:59:56 AM »
but I also think that a characters special skill shouldn't render the normal attack useless all the time,
Trust me, it doesn't. It's not so easy that Bushido = pwnage. :wink:

1639
Pandora's Box / Re: Bloopers Mk. II!
« on: December 06, 2007, 06:43:18 PM »
Probably not as funny, but apparently the item descriptions are having brain farts:


1640
Game Modification Station / Re: Refresh my memory
« on: December 06, 2007, 12:35:43 AM »
:bah:

Paste the routine, I'll see if I can. Just remember that all of the pointers just gained a byte, so you'll need to expand those yourself and possibly move them, if there's room.

1641
Game Modification Station / Re: Refresh my memory
« on: December 06, 2007, 12:18:19 AM »
16-bit pointers can work a couple ways. They can be relative, which can be a pain in the ass. Relative is relative to their current position. So say you have some pointers at 00/5400. The first pointer reads 0000, where it's pointing would be the first set of whatever after the pointers.

Then there's absolute. With absolute, you just look at the address, and go there in that bank. Easy as pie.

24-bit is similar, it just has the bank tagged on with it. To convert to 24-bit, you'd need to be handy at rewriting pointer grabbing routines.

1642
General Discussion / Re: Holy hell!
« on: December 05, 2007, 11:58:54 AM »
It's up for me. The place has always had timeout issues, and I'm not sure why. :hmm:

1643
Slick News / Re: Minor overhaul complete
« on: December 04, 2007, 11:44:34 PM »
Try it out, should be good.

1644
Pandora's Box / Re: Videos
« on: December 04, 2007, 11:25:22 PM »
It should be there, it's one of the defaults for Snes9x I think. If not, install the K-lite codec pack and see if that makes a difference.

1645
Pandora's Box / Re: Videos
« on: December 04, 2007, 11:05:48 PM »
I'll assume you are using SNES9x to encode your movies.
Indeex.

Quote
what encoder and quality settings are you using?  And how large are these videos.
XviD MPEG-4 Codec. It works. :tongue: They have better compression, so the files don't get huge in a quick hurry, though that can happen with any codec.

1646
Slick News / Minor overhaul complete
« on: December 04, 2007, 10:39:27 PM »
Beware, Lenophis (that's me!) has been ambitious lately. There's been a minor tweak to the news system. To honor the event, there's some slight news. bucky has sent in NSFE's, Asterix and Zombie Nation. Enjoy! :happy:

The old news is still accessible in the News Archive, so if you need it it's still there for ya.

1647
General Discussion / Re: Arcade?
« on: December 03, 2007, 11:28:56 PM »
"Watchoo talkin bout man! Airwar ain ther!" :tongue:

It has been removed. :happy:

1648
General Discussion & Support / Re: Want a challenge for FF2us?
« on: December 03, 2007, 04:21:32 PM »
A long process of splitting and then re-merging. :tongue:

1649
General Discussion & Support / Re: Want a challenge for FF2us?
« on: December 03, 2007, 12:23:23 PM »
Just out of curiosity, how much playtesting have you yourself done to make sure that it's not completely broken?

1650
Game Modification Station / Re: Your opinion (FF3J NES)
« on: December 02, 2007, 10:31:23 PM »
I think Gavin made it with the English translation in mind, so the data positions should be fine. As for bugs, I dunno.