The new WIP and Far East of Eden Zero
Moderator: ZSNES Mods
The new WIP and Far East of Eden Zero
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) ?
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) ?
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
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
_____________
Insane Coding
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.
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.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
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.
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
_____________
Insane Coding
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.
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.
-
- Locksmith of Hyrule
- Posts: 3634
- Joined: Sun Aug 08, 2004 7:49 am
- Location: 255.255.255.255
- Contact:
Good luck with this onemnk 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.
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.
NSRT here.
-
- ZSNES Developer
- Posts: 115
- Joined: Thu Jul 29, 2004 9:51 pm
- Location: Germany
I need one. Put it on http://rapidshare.de or something like that.mnk wrote:Of course, if anybody wants a batery save, I can send one.
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Okay, we probably have an SPC7110 glitch somewhere.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
Our interface does have diffs.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) ?
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
_____________
Insane Coding
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 ?
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 ?
-
- ZSNES Developer
- Posts: 6747
- Joined: Tue Dec 28, 2004 6:47 am
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.
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...
-
- ZSNES Developer
- Posts: 3904
- Joined: Tue Jul 27, 2004 10:54 pm
- Location: Solar powered park bench
- Contact:
Talk to the Bounty Source guys. #bountysource @ irc.freenode.net, or on their feature request section on their part of the site.mnk wrote:Could this behavior be changed, so zsnes.bountysource.com/svn/ redirects to latest, but doesn't overwrite the address ?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
_____________
Insane Coding
-
- ZSNES Developer
- Posts: 115
- Joined: Thu Jul 29, 2004 9:51 pm
- Location: Germany
-
- Rookie
- Posts: 18
- Joined: Wed Sep 19, 2007 10:37 pm