[Translation] Marchen Maze

hu, cd, scd, acd, supergrafx discussions.
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Marchen Maze translation

Post by MooZ »

I run some tests yesterday and fixed the bpe font routine. I used a dummy script that fills the entire text area. And... Everything worked fine.
This evening I'll run a test with a human readable text instead of a letter soup. And I'll try to finish/clean up the insertion program.
Attachments
font_bpe.asm
(3.07 KiB) Downloaded 229 times
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Marchen Maze translation

Post by MooZ »

Tadam! The insertion program works :)
I made a little test by trying to stuff the Hamlet monologue in the intro.
Attachments
hamlet.ips
(2.16 KiB) Downloaded 977 times
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Marchen Maze translation

Post by MooZ »

Here's a first release of the tools. Everything can be compiled via the Makefile.

Generate the 2 tools encodeScript and createIPS:

Code: Select all

make all
Generate the asm include and the compressed text data:

Code: Select all

make script SCRIPT=script.txt TXTOUT=text.bin
Compile the font output routine:

Code: Select all

make pceCode PCEAS_PATH=../bin
Generate the ips patch:

Code: Select all

make ips IPSOUT=out.ips
Important note only the first ten text blocs (the intro) of the script are compressed/used.
Attachments
marchen_tools.tgz
(10.42 KiB) Downloaded 980 times
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: Marchen Maze translation

Post by MooZ »

Level names are made of sprites. The SATB starts at $7200.
For the first level we have :

Code: Select all

80 00 - 30 00 - 00 03 - 80 00
80 00 - 40 00 - 02 03 - 80 00
80 00 - 50 00 - 04 03 - 80 00
80 00 - 60 00 - 06 03 - 80 00
80 00 - 70 00 - 08 03 - 80 00
and for the second one:

Code: Select all

80 00 - 30 00 - 0E 03 - 80 00
80 00 - 40 00 - 02 03 - 80 00
80 00 - 50 00 - 12 03 - 80 00
80 00 - 60 00 - 06 03 - 80 00
80 00 - 70 00 - 08 03 - 80 00
The LSB of the pattern indices are stored for lvl 1 at $5196 (file offset) and $519C for lvl2.
After putting a read breakpoint on $*4f96 (the rom has a $200 bytes offset) and $*4f9C, I ended up at $8E3F.
So a quick look at the code show me there's a address table stored at $8F81 where each address starts 1 byte before the LSB pattern index list.
The first byte indicates the number of sprites.
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Translation] Marchen Maze

Post by MooZ »

Merry Chrismas dudes!

I wrote a little piece of code that decode and encode data using the xor/rle method. So now all I have to do is to redraw the sprites for the level names and see if there's enough room for them :)

[edit] $2625 holds the live count. And if you put $05 at $2617 you'll end up at the 2nd lvl boss, $14 will bring you to the end.
Attachments
sprite.c
xor/rle encode/decode test
(4.04 KiB) Downloaded 231 times
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Translation] Marchen Maze

Post by MooZ »

level names :
  • Image Candy country
  • Image Toy country
  • Image
  • Image
  • Image
  • Image
  • Image Sky country
  • Image Soldier country
  • Image Queen country
Wikipedia japan to the rescue :)
Attachments
lvl9_name.png
(313 Bytes) Not downloaded yet
lvl8_name.png
(363 Bytes) Not downloaded yet
lvl7_name.png
(332 Bytes) Not downloaded yet
lvl6_name.png
(340 Bytes) Not downloaded yet
lvl5_name.png
(345 Bytes) Not downloaded yet
lvl4_name.png
(345 Bytes) Not downloaded yet
lvl3_name.png
(356 Bytes) Not downloaded yet
lvl2_name.png
(359 Bytes) Not downloaded yet
lvl1_name.png
(348 Bytes) Not downloaded yet
peperocket
Posts: 15
Joined: Mon Jan 26, 2009 2:34 pm

Re: [Translation] Marchen Maze

Post by peperocket »

Douglas has the 6502 books I've keeped for you, Merry Chrismas !

Happy to see this Translation project is always very active !
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Translation] Marchen Maze

Post by MooZ »

Thank you!
And merry christmas too :)
User avatar
MooZ
Site Admin
Posts: 402
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Translation] Marchen Maze

Post by MooZ »

I'm back on it! Atm I'm working on the rle/xor encoder in order to have all lower case characters in contiguous order. This'll simplify the script generator.
And after that, I'll put my hands in the level names. (And maybe write a complete "postmortem" article)
Charles MacDonald
Posts: 38
Joined: Sun Jun 22, 2008 5:18 pm
Contact:

Re: [Translation] Marchen Maze

Post by Charles MacDonald »

Good luck! I would like to read an article on hacking/translating a game from start to finish. Your work could inspire other people to translate more PCE games. :D
Don't forget your two NOPs after CSH.
Post Reply