+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  "Passworded" games
Pages: [1]
Author Topic: "Passworded" games  (Read 2 times)
aishsha
Guest
« on: July 06, 2009, 12:51:01 pm »

One of the games I'm working on at the moment has an implemented system of passwords instead of battery saves (kana-loaded, of course). Does anybody have a universal way to treat this kind of situations? I mean, I don't know whether it's used anywhere else in the game but at least a player will have to type in some letters (although I know, 90% will play it via emulator save states).
In this case I have 2 screens of letters (hira- and kata-) but it's obviously much more than necessary for English letters and on the top of that - I wanted to use some of Japanese tiles to put my diphthongs...
KingMike
Guest
« Reply #1 on: July 06, 2009, 02:35:04 pm »

To make it look nice, you'd need ASM rewrites to add a load/save menu.
At the minimum, you'd have to probably find the routine that prints the password for the player, and store that to SRAM (if this is NES, you'd also need to check the game doesn't already use WRAM (no battery) and the mapper is capable).
Then you'd need to auto-load the password at some point in the password-entry screen. Either when the password input buffer is initialized, or maybe make an unused button combination load it.
Again, to look nice, you'd probably want to print the entered password.
(I kinda skipped out on that step in Dragon Scroll. I was getting sick of having to write stuff to the timing sensitive VRAM input buffer in that game. Seriously, I think that game was running exclusively on IRQ & NMI.)
« Last Edit: July 06, 2009, 02:42:57 pm by KingMike »
aishsha
Guest
« Reply #2 on: July 06, 2009, 04:38:58 pm »

Adding a new menu is totally out of my league at the moment... I was thinking about some convenient positioning of the letters available or finding the comparative loop (it should use one, because this routine doesn't use all the symbols in the game) and limiting it to the values I need... And yeah, I do wanna type the password, not replace it with Load-Save or auto-filling... The other choice is probably adding some more clear letters to the font (like maybe symbols and macrons, for example)...
Pages: [1]  


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