Bug Fixes

If you are stuck in the Dunan Unification Wars; or wish for more details on the gameplay systems, this is the place.
User avatar
Pyriel
Webmaster
Posts: 959
Joined: Wed Aug 18, 2004 1:20 pm

Re: Bug Fixes

Postby Pyriel » Thu Jan 03, 2019 9:02 pm

For any Germans interested, I pushed a new version of the patch to the GitHub repository that fixes the bugs in Two River and Gregminster that can rope you into crashing/locking up your game.

Antimatzist
Posts: 2578
Joined: Sat Apr 19, 2008 9:48 am
Location: Germany, yeah baby
Contact:

Re: Bug Fixes

Postby Antimatzist » Sun Jan 06, 2019 5:11 pm

This is amazing. After all these years ... do you know what caused the bug?

User avatar
Pyriel
Webmaster
Posts: 959
Joined: Wed Aug 18, 2004 1:20 pm

Re: Bug Fixes

Postby Pyriel » Sun Jan 06, 2019 6:46 pm

Yes and no. The text display is sort of limit, and while ordinary speech can probably overrun the box without much issue, it caused problems when there's a choice. If there are enough lines of text that it overflows vertically, the game seems to get confused about what it's supposed to display firstly, and it breaks the selections if the player tries to interact with lower options.

I didn't actually watch what happened in the code, but my suspicion is that an incorrect option value is returned. Under normal circumstance, the scripts will indicate that the player must make a choice, from X number of options represented by however many text strings. Then the options are numbered, and when the player makes a selection it actually runs through the remainder of the script looking for the appropriately numbered block of code. Each block is terminated by the same set of values that indicates the end of any event script. So either it reaches the end of the entire script without finding a block of code to run, or it accidentally runs an incorrect block of code that appears to correspond to the bad option number from the input. Either way, you'll get to the end of the script fragment without having run the correct code, and either the game has nowhere to go subsequently, due to event flags and the like not getting set, or control flags are left set that render other script un-runnable, or any of dozens of different possibilities.

For Two River, they added an extra line break to give emphasis to the hero saying, "always," I guess. That option takes three lines of the four that are allowed. The second option had two lines just due to its length. Daring to press down caused the game to get lost, and I'm not sure you could even safely pick the first option at that point. In Gregminster, they had three options and sort of arbitrarily decided to put line breaks in two of them. More for looks maybe, because neither was in much danger of overrunning the margins of the box. Since the last option there is required to continue from that point, you're doomed if you get to that screen. In both cases, reformatting so the text all fits in one display fixes the issue.

Antimatzist
Posts: 2578
Joined: Sat Apr 19, 2008 9:48 am
Location: Germany, yeah baby
Contact:

Re: Bug Fixes

Postby Antimatzist » Mon Jan 07, 2019 11:22 am

I'll just pretend as if I've udnerstood anything of your explanation. But given that the German translation is even worse than the English one, it is no miracle that it also has strange issues on the technical side. It's especially interesting that the Gregminster bug has been known for years, but the Two River one has never occurred.

Anyway, thanks a lot for fixing these issues!

User avatar
Celes
Global Admin
Posts: 1385
Joined: Sun Nov 12, 2006 6:25 pm

Re: Bug Fixes

Postby Celes » Mon Jan 14, 2019 2:21 pm

How is it that you have taken care of the German version?

User avatar
Pyriel
Webmaster
Posts: 959
Joined: Wed Aug 18, 2004 1:20 pm

Re: Bug Fixes

Postby Pyriel » Mon Jan 14, 2019 4:07 pm

How do you mean? I have a German copy of the game, and the nuts and bolts of it are essentially identical to the US version.

User avatar
Celes
Global Admin
Posts: 1385
Joined: Sun Nov 12, 2006 6:25 pm

Re: Bug Fixes

Postby Celes » Mon Jan 28, 2019 8:44 am

Do you understand the language as well?

User avatar
Pyriel
Webmaster
Posts: 959
Joined: Wed Aug 18, 2004 1:20 pm

Re: Bug Fixes

Postby Pyriel » Mon Jan 28, 2019 2:43 pm

Not really. I might get the gist if people keep talking long enough, but a lot of the time I think I'm more confused than I would be if I understood none of it.
Translation apps and dictionaries are things, though, and the saves are basically interchangeable by editing the file IDs. I just took a couple of US saves I had, made the changes, and played through the minimum amount of story I could. To fix these issues, I didn't have to make meaningful changes to the text. I just removed some control characters.

User avatar
Celes
Global Admin
Posts: 1385
Joined: Sun Nov 12, 2006 6:25 pm

Re: Bug Fixes

Postby Celes » Mon Feb 04, 2019 1:24 pm

I see ....

Omnigamer
Posts: 299
Joined: Wed Feb 13, 2013 11:48 am

Re: Bug Fixes

Postby Omnigamer » Sat Mar 02, 2019 8:23 pm

New minor bug. When recruiting Anita at Muse, if you get her liquor request when you're supposed to visit Jowston Hill for the meeting, Leona has fixed story lines and won't give the liquor. When you are out of the story event (after Muse war battle) you can continue the request, but completing it doesn't raise Anita's "points" at all. It's only a minor issue overall, but just wanted to note it. Found by z3r01337.

Z3R01337
Posts: 11
Joined: Sat Feb 06, 2016 6:06 am

Re: Bug Fixes

Postby Z3R01337 » Thu Mar 07, 2019 5:32 am

So dug into the Anita bug and it's not actually a bug, I just didn't understand how she worked. I wrote up an explanation here: viewtopic.php?f=9&t=14624


Return to “Suikoden II”

Who is online

Users browsing this forum: No registered users and 6 guests