The new WIP and Far East of Eden Zero

A forum for admins and moderators to move verified bug posts to. Only move topics here if they are indeed verified bugs.

Moderator: ZSNES Mods

Post Reply
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

The new WIP and Far East of Eden Zero

Post by mnk »

About two years ago (I think) I had a problem with that game, I posted to snes9x and zsnes forums and got replies along the line "no such problem exists" although it definitely did. The problem was that after casting a certain spell, graphics got corrupted and emulator hanged. Since latest WIP stated that problem DID exist I decided to check for progress.
Well, first I got a nasty surprise: at each attempt to load the rom, I got a crash. After some testing I discovered something strange:
when program enters showinfogui() (initc.c) and does
strcpy(CSStatus2, "INTERLEAVED: CHKSUM: ");
for some reason infoloc value gets changed (infoloc=infoloc-192), and that makes SPC7PackIndexLoad() fail check
strncmp(ROM+infoloc, "HU TENGAI MAKYO ZERO ", 21)
so SPC7110fname==null and fopen_dir causes segfault.

After hacking around that (not fully fixed though), I managed to run the game
and check again that spell. Well, progress has been made - graphic still gets corrupted but emulator no longer hangs (same result in snes9x). So now I will repeat the question from two years ago:
is this a problem with spc7110 emulation or with the graphic pack (got it from Nach's page and rom is 100% OK - nsrt checked) ?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Did you try using latest SVN? We updated SPC7110 code yesterday.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

Post by mnk »

Well, I checked out a moment ago from https://svn.bountysource.com/zsnes/trunk it was version 3844.
The problem is still there.
One more thing: when I wrote: "when program ... does
strcpy(CSStatus2, "INTERLEAVED: CHKSUM: "); "
I meant that if I surround that line with
printf("infoloc showinfogui 3 %d\n",infoloc);
the one before strcpy call gives me correct value, the one after not.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Can you please elaborate.

When you say "the" problem, I'm not sure what you're refering to.

And I fixed the buffer overflow there, thanks.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Firon
Trooper
Posts: 361
Joined: Fri May 05, 2006 4:37 pm
Contact:

Post by Firon »

I suppose he means the graphics corruption.
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

Post by mnk »

OK, thanks Nach, +1 to CSStatuses was it for the detection.
So now I shall elaborate (again) what exactly is my problem.

Later in game, when you obtain all 4 of the magic scrolls,
all you need to do to see the corruption is:
1. enter any battle
2. choose first fire then water scroll
3. cast it on all opponents

Two sidenotes:
1. Any chance on zsnes http svn interface getting upgraded to something
that could at least show diffs between two revisions of a file (can't recall names, but have already seen a few projects having such) ?
2. A minor upgrade of forum - it would be good if after you hit "post reply" or "add topic" while not logged in, after getting redirected to login screen and logging in, next redirect would to "post a reply", "add new topic" or the thread you logged in from, and not main forum screen.
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

mnk wrote:2. A minor upgrade of forum - it would be good if after you hit "post reply" or "add topic" while not logged in, after getting redirected to login screen and logging in, next redirect would to "post a reply", "add new topic" or the thread you logged in from, and not main forum screen.
Good luck with this one

the head admin, _Demo_, is hardly ever on, and he is the only one who has FTP access to the server
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

Post by mnk »

Of course, if anybody wants a batery save, I can send one.
Jonas Quinn
ZSNES Developer
ZSNES Developer
Posts: 115
Joined: Thu Jul 29, 2004 9:51 pm
Location: Germany

Post by Jonas Quinn »

mnk wrote:Of course, if anybody wants a batery save, I can send one.
I need one. Put it on http://rapidshare.de or something like that.
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

Post by mnk »

OK, it's http://rapidshare.de/files/32852222/Far ... ro__J_.srm

I hope you'll be able to solve it.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

mnk wrote: Later in game, when you obtain all 4 of the magic scrolls,
all you need to do to see the corruption is:
1. enter any battle
2. choose first fire then water scroll
3. cast it on all opponents
Okay, we probably have an SPC7110 glitch somewhere.
mnk wrote: 1. Any chance on zsnes http svn interface getting upgraded to something
that could at least show diffs between two revisions of a file (can't recall names, but have already seen a few projects having such) ?
Our interface does have diffs.
Examples:
https://zsnes.bountysource.com/svn/!revision/3845
https://zsnes.bountysource.com/svn/!dif ... rc/initc.c
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
mnk
Rookie
Posts: 20
Joined: Sat Feb 05, 2005 12:32 am

Post by mnk »

I've been quiet for a while, but today I decided to check for progress.
Well, no - the bug is still there.
And to clear some things:
In the savefile I posted, there are two saves, in one of them when you get out of town and check for bug, you only get graphic corruption, the other one freezes.
And the svn part is a missunderstanding. Bountysource is OK if if you go to https://zsnes.bountysource.com/svn/ , but svn.bountysource.com/zsnes/ is a little more then a http interface to a ftp server - at least it looks that way. I simply missed the other link.
I think a little modification of zsnes.bountysource.com/svn/ would be nice. I'm using a session manager in firefox and there's a little issue. zsnes.bountysource.com/svn/ redirects you to the latest svn, but it overwrites address in browser, so next time session is loaded, instead of latest svn, the old one is loaded (the one you were viewing at closing browser). Could this behavior be changed, so zsnes.bountysource.com/svn/ redirects to latest, but doesn't overwrite the address ?
Deathlike2
ZSNES Developer
ZSNES Developer
Posts: 6747
Joined: Tue Dec 28, 2004 6:47 am

Post by Deathlike2 »

IIRC, this bug was looked into and came to conclusion that the lack of Openbus support is causing it.

As for SVN, you need to get Zget (if you are a Windows/DOS user) or an SVN client to obtain stuff from SVN. However, we don't have control over the SVN browser @ bountysource.. you have to ask the guys @ bountysource.
Continuing [url=http://slickproductions.org/forum/index.php?board=13.0]FF4[/url] Research...
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

mnk wrote:Could this behavior be changed, so zsnes.bountysource.com/svn/ redirects to latest, but doesn't overwrite the address ?
Talk to the Bounty Source guys. #bountysource @ irc.freenode.net, or on their feature request section on their part of the site.
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jonas Quinn
ZSNES Developer
ZSNES Developer
Posts: 115
Joined: Thu Jul 29, 2004 9:51 pm
Location: Germany

Post by Jonas Quinn »

It's a problem with the gfx packs. It works with the complete packs that Caitsith posted on his site.
nensondubois
Rookie
Posts: 18
Joined: Wed Sep 19, 2007 10:37 pm

Post by nensondubois »

Nach wrote:Did you try using latest SVN? We updated SPC7110 code yesterday.
Download; please?
I.S.T.
Zealot
Posts: 1325
Joined: Tue Nov 27, 2007 7:03 am

Post by I.S.T. »

Go and reread that post. It's years old.
nensondubois
Rookie
Posts: 18
Joined: Wed Sep 19, 2007 10:37 pm

Post by nensondubois »

Woops. I assumed.
Post Reply