+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  pc-9801 pointer hacking
Pages: [1]
Author Topic: pc-9801 pointer hacking  (Read 2 times)
Mystere
Guest
« on: January 11, 2009, 08:49:44 pm »

I recently started hacking the game The Highly Responsive to Prayers for the pc98. All of the text is in exe files, but I can't figure out how the pointers work or whether there is a pointer for every input string. Does anybody know a bit more about pc98 hacking or have a friend who does? (there are no documents on it, I checked) PM me if you want to help, and I have the file for the alpha patch (no string lengthening) in my sig.

Edit: the title should be 9821 pointer hacking, if it makes a difference.
« Last Edit: January 13, 2009, 12:57:03 am by Mystere »
Kagemusha
Guest
« Reply #1 on: January 11, 2009, 11:38:08 pm »

Well if you're looking to translate the game into english, it's already been done.

http://www.romhacking.net/trans/1131/
Mystere
Guest
« Reply #2 on: January 12, 2009, 01:34:06 pm »

That patch de-translates as much as it translates, like changing "heaven" to makai. It also leaves the high score screen and end game screen in Japanese.
Kagemusha
Guest
« Reply #3 on: January 12, 2009, 01:58:38 pm »

Ah, well I won't be of any use, but to my knowledge not too many people around here have actually hacked the PC98. It's pretty obscure. The author of the Neko Tracer would probably be able to help, but they have a habit of disappearing. I also know one person who actually looked into translating the series, but he has a sporadic internet connection.
Mystere
Guest
« Reply #4 on: January 13, 2009, 12:56:24 am »

I'm translating them as well, to the best of my ability.  Well to say I'll translate the whole series is a bit of a stretch at this point, but it's where I'm headed. Thanks for the tip-offs, not sure how I would contact the maker of the neko tracer, since it looks like he signed in as a guest, dropped of the util, then disappeared (I tried google searching, but no luck.) I think at some point I'll try playing around with the neko tracer to figure out the pc-98 in general, since it can't play the touhou games.
BRPXQZME
Guest
« Reply #5 on: January 13, 2009, 10:56:32 pm »

I do have to say, it’ll take a bit of fortitude to pull through with the first Touhou stuff (which is not so mind-bogglingly impressive compared to the quite hypnotic stuff that’s come out of it lately). But good on you for working on it. I look forward to it.
ded302
Guest
« Reply #6 on: January 14, 2009, 12:03:19 am »

When you start using neko tracer read some docs on 8086 assembly and segments.  Recently I was using Neko Tracer on a game called Aiza.  I found the text routine by searching for a sjis character number in a trace log done by Neko Tracer.  But even with the text routine in front of me I could not figure out how to find the text pointers.
« Last Edit: January 14, 2009, 12:48:39 am by ded302 »
KingMike
Guest
« Reply #7 on: January 14, 2009, 10:28:25 am »

From what I understand, that's a problem with 8086 having 4096 code:segment pairs equate to the same CPU address. :banghead:
But, I suppose that was a plus for copy-protection writers. Grin
Mystere
Guest
« Reply #8 on: January 14, 2009, 10:24:04 pm »

Quote from: ded302 on January 14, 2009, 12:03:19 am
When you start using neko tracer read some docs on 8086 assembly and segments.  Recently I was using Neko Tracer on a game called Aiza.  I found the text routine by searching for a sjis character number in a trace log done by Neko Tracer.  But even with the text routine in front of me I could not figure out how to find the text pointers.
I learned shortly after downloading neko tracer that np2 can't actually run the touhou games, on account of them technically being for the 9821, a slightly later version which seems to have used the 80386 processor.  There was something in the docs about some sort of "soft patch" though for th 2 and 3.

As far as learning some assembly and segments, I've already got some books from my university library, guess I'll see how far I can get into them for now.

Edit: mixing up my 3's and 8's...what's a 30836?

Edit2: I figured out how it accesses and handles the small bits of text, can't figure out much else though. All plain text translated (save one place where the text just wouldn't fit [i.e. Touhou Reiiden --> Touhou: Strange Spiritual Transmissions])
« Last Edit: January 14, 2009, 10:44:40 pm by Mystere »
ded302
Guest
« Reply #9 on: January 15, 2009, 01:28:14 am »

Quote
Mixing up my 3's and 8's...what's a 30836?

Would that be a way to calculate a pointer?
BRPXQZME
Guest
« Reply #10 on: January 15, 2009, 12:51:59 pm »

Glad you asked.

30836 Schnittke – named for the composer and teacher at the Moscow Conservatory (’62–’72). He died in ’98.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC