Why the Famicom Game Mother Is Hard to Localize into Chinese

The FC game Earth Adventure is a famous work on the Red and White machine. As an RPG, it has a lot of text. Such a game should have had a Hanish version, after all these years of Chinese games. But in fact it just didn't. I'm developing a new technology as a red and white machine, and I'm trying to do a technical analysis of how difficult this game is.

Headline of Earth Adventures Earth Adventure Dialogue

Some of the basic messages of Earth Adventure: it's a daily game entitled “Mother”. There are no official English versions, but there are enthusiasts who change the English version. From Mapper's point of view, it's a Mapper4 game, using MMC3 chips.

MMC3 supports IRQ interruptions, it can count the scanners and trigger IRQ interruptions when PPU draws the N scans. In IRQ interrupts the execution code, we can change the data on which the PPU draws. This means that we can get a screen-spectrum mapping. For example, during the N scan, the map of the CHR-ROM was changed by the Pattern Table. Then, during the M scan, the drawing sheet is changed back. This allows more CHRs (in the background) to be drawn across the section (Bank).

Let's see here what we're looking at in the battle scene of Earth Adventure:

In battle.

We're decomposed from the graphics process to see how IRQ has changed the map to achieve the mapping of the screen:

The picture is too big, if you can't see it, please leave the right button on the picture " Open the picture in the new tab " and zoom in on the view.

The change in the PPU's mapping of Earth Adventures

The PPU debugging function of the Mesen emulator, which has the advantage of locating not only the scanner but also the PPU clock cycle (cycle), allows us to know how many IRQ break codes have been executed in the PPU cycle.

A total of 10 clips were intercepted, which is explained below:

Note here is Mesen's nametable Viewer, which is not used to show real-time results of scans that draw pixel points on the screen. It gives visual PPU data, which most simulators debug.

  1. At the outset, this is the same as the end of the previous frame.
  2. When drawing scan line 1 and running to 340 PPU clock loops (underS1C340In this form, the first PPU sample sheet was cut to the relevant section of the enemy in the CHR-ROM.
  3. At the third to sixth cut-off points (from S2C40 to S2C130), we can see that Table 1 has been cut only to the relevant part of the enemy. I guess it's because there's a bigger enemy in the back, like BOSS. And the procedure is a set one.
  4. From the sixth cut-off point, S78C323, we can see that table 1 is gradually retrieving the relevant sections of the text interface. So that PPU can draw the text interface again.

This led to the mapping of screen subregions.

Something a little more advanced, for example."DX Night of Bright Stars". The sky and the ground in this motion picture are the impact of the visual scrolls drawn from screens.

DX starlight night

In general, PPU draws a pixel, measured as a PPU clock cycle. Under NTSC television, three PPU clock cycles correspond to one CPU clock cycle.

Although the red and white machine's screen pixels are 256 x 240 points, not every pixel is counted as a PPU clock cycle. The electron beams of the television set are before entering the next scanner (horizontally scanned) and, in addition to 256 pixels, there are 84 additional PPU clock cycles (perhaps more than 84, I'm not sure, I'm new).

For more information, see:NESDev Wiki - PPU Render

**What's the CPU clock cycle? ** In short, for example,LDA #$01Two CPU clock cycles are required for implementation. This is the corresponding machine code for this compilation.0xA9 0x01It's about two bytes. For more information, see:NESDev Wiki - Clock Cycle Reference Script

So much has been said. So what's the difficulty of the Hanking of Earth Adventure?

We're looking at a pre-game outdoor scene, opening the frame of the menu interface:

Earth Adventures menu.

Look at that. PSI option, where the word model is in the CHR-ROM section, and which Japanese text is not. We'll look at the PSI's pre- and post-profiling process using the Mesen Simulator debugging:

"Earth Adventure" changes around PPU when drawing menu PSI.

As we can see, at S64C8, the English symmetry had already been cut to scale 1. PSI was now normally drawn by PPU.

By S64C56, the English-synthesis section in Table 1 was cut back to the scene.

This is a fucking scan! So Earth Adventures is not scrutinizing the screens to switch to a CHR-ROM.

Whether or not the original developers did so, this made Han's Earth Adventure difficult.

In contrast to the English and Japanese pseudonyms, the Chinese text is large in size and cannot be replaced in a very short PPU cycle. In the case of PSI, only 24 pixels, the original developer completed the retrieving of the scene in 24 PPU clock cycles (8 CPU clock cycles). This is an impossible task for Chinese. Unless it is a menu item, the same pattern address space is not shared with the large text, and is non-encoded. For the very limited image of the red and white machines, a large part of the Chinese text is shown in a frame, which cannot be completed by simply switching the CHR-ROM segment map.

So, is there any way to do this? Still there. When we look at those Chinese RPG cards, we find that they are actually basically CHR-RAM.

CHR-RAM

With CHR-RAM, we can place the Chinese word model in the PRG-ROM and compress it (one pixel can have four values, so the symmetry can be stacked). In the NMI interruption, all the Chinese required for the next frame was then moved to the CHR-RAM. Finally, when PPU shows the picture, the map sheet is mapped to the CHR-RAM.

"The Heavy Armor."

For example, the "D" version of "Reloading Armored" is a Hanish version. It's...Mapper74It's also an MMC3 Mapper, capable of sending IRQ. It also used 74LS138 and 74LS139 chips, redirecting paragraphs 8 and 9 of the CHR-ROM of 1 KiB to CHR-RAM of 2 KiB.

Yeah, with a 74 chip you can make a Mapper. I wonder if IRQ disruptions can be achieved with a generic logical chip.

"Soldier heavy" shows Chinese.

For example, in this frame of dialogue in Heavy Armour, we can see:

"Reloading Armours" shows changes in PPUs in Chinese.

At S145C0, the PPU sample map of content already met the need to display Chinese. Moreover, only the words used in the CHR-RAM were used as a basis for the organization of the symphonies.

For the common purpose, it is certain that the schematics in the ROM (possibly PRG-ROM, or CHR-ROM) are not organized in this way. The words "Display as 8x16 sprites" are selected here, so that the stylists in "Reloader" are easily visible.

Of course, the Reloader did not locate the PPU clock cycle to change the map map, as Earth Adventures did. It has a dialogue box that directly and completely covers the bottom half of the game.

Dialog covers scenes Panorama of the scene

Well, by this point, the difficulties of the Hanking of Earth Adventure have been largely explained. It shouldn't be impossible, it's just extremely difficult. The game is expanded with the support of the CHR-RAM and the choice of a suitable Mapper program. The simulator may not support it well (see figure below). If we want to put the game in Han's game,N8 Burn CardOr make an MMC3 physical tape, it is difficult to make it operational.

Mesen doesn't really support the viewing of the CHR with the CHR-RAM game.

As a freshman, there may be mistakes and a desire for instruction.