Author Topic: So then...what sucks about Mysterious Song?  (Read 3829 times)

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #75 on: December 15, 2009, 01:14:11 PM »
I already tried that; it failed to work. I had that idea as well. Unfortunately, it doesn't work that way. The BRAM functions are apparently too smart for it.

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: So then...what sucks about Mysterious Song?
« Reply #76 on: December 15, 2009, 03:25:52 PM »
That's funny. They work okay for me. Have test code showing it working, if you would like to see.
Did you remember to put the id bytes at the beginning of the name? That got me when I started writing it.

Arm

  • Full Member
  • ***
  • Posts: 123
Re: So then...what sucks about Mysterious Song?
« Reply #77 on: December 15, 2009, 08:30:36 PM »
Hi,
 
I noticed you were looking for someone to translate Mysterious Song into french. Has Kaminari found time to do the translation ?
If it's not the case and you still need someone, I guess I could help with the translation. I think I'm pretty fluent in english (more than 10 years of study and reading/writing english is necessary at work to complete my job). French is my mother tongue.
Anyway, if you still need help for the french translation, feel free to contact me.
 
« Last Edit: December 16, 2009, 12:11:15 AM by Arm »

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #78 on: December 16, 2009, 06:18:32 AM »
That's funny. They work okay for me. Have test code showing it working, if you would like to see.
Did you remember to put the id bytes at the beginning of the name? That got me when I started writing it.
Yes, of course I put the id bytes; that's a fundamental detail of doing bram. :) Remember, MSR already has bram functions, so that was not an issue at all.

Here's the test program I used to check it out:

Code: [Select]
#include "huc.h"

#define BRAM_FILE "TESTFORWOS"
char filename[13];

char test0;
int test1, test2;
char test3, test4;
int test5,test6;
char test7;
int test8,test9;

main()
{
  load_default_font();

  put_string("BACKUP RAM CONTIGUITY TEST",0,2);

  filename[0] = 0;
  filename[1] = 0;
  filename[12] = 0;
  strcpy(&filename[2], BRAM_FILE);
  if(bm_exist(filename) == 0) bm_create(filename,16);
  test0 = 240;
  test1 = 1999;
  test2 = 9467;
  test3 = 45;
  test4 = 194;
  test5 = 90;
  test6 = 9000;
  test7 = 18;
  test8 = 32762;
  test9 = 12345;
  put_number(test0,5,0,8);
  put_number(test1,5,0,9);
  put_number(test2,5,0,10);
  put_number(test3,5,0,11);
  put_number(test4,5,0,12);
  put_number(test5,5,0,13);
  put_number(test6,5,0,14);
  put_number(test7,5,0,15);
  put_number(test8,5,0,16);
  put_number(test9,5,0,17);
  bm_write(test0,filename,0,16);
  put_string("WROTE 16 BYTES",0,4); put_number(bm_errno(),4,16,4);
  test0 = 0;
  test1 = 0;
  test2 = 0;
  test3 = 0;
  test4 = 0;
  test5 = 0;
  test6 = 0;
  test7 = 0;
  test8 = 0;
  test9 = 0;
  bm_read(test0,filename,0,16);
  put_string("READ 16 BYTES",0,5); put_number(bm_errno(),4,16,5);
  put_string("DUMPING BUFFER TO SCREEN:",0,6);
  put_string("ORIGINAL   BRAM",0,7);
  put_number(test0,5,10,8);
  put_number(test1,5,10,9);
  put_number(test2,5,10,10);
  put_number(test3,5,10,11);
  put_number(test4,5,10,12);
  put_number(test5,5,10,13);
  put_number(test6,5,10,14);
  put_number(test7,5,10,15);
  put_number(test8,5,10,16);
  put_number(test9,5,10,17);

}
Did this both as a pce rom image and as a scd iso. Didn't work as either. I'd be interested in seeing your implementation though; perhaps I've overlooked a detail or two.

Arm: I've still not heard from him since he said that he'd do it. We went through a few years of him saying "yep I'll do it this weekend" or something along those lines, and nothing ever got done. I don't deal well with people who don't communicate with me. At the very least he could have told me "I'm not gonna do it because this game will never be finished" but instead, he kept us hanging for years in vain. That severely pisses me off. If he didn't wanna do it, all he had to do was tell me. And now that the deadline is on top of us, I simply don't have the time to wait for the translation. It takes a long time to insert new text into the game, and if I have to wait any longer, it's simply not gonna be added. So unless I hear from him in the next 48 hours with SOMETHING, I'm cutting out the plan to add a French translation. It needed to be done 2 years ago.

Arm

  • Full Member
  • ***
  • Posts: 123
Re: So then...what sucks about Mysterious Song?
« Reply #79 on: December 16, 2009, 07:38:48 AM »
Sorry to hear that. I haven't talked with Kaminari, so I didn't know the situation. I was just proposing to help in case you were looking for someone as I remembered your last message about the translation.
You know, I'm a good translator too. I can translate rather quickly, so if the script is not too long, I guess it would take a couple of days.
That's too bad. Anyway, you can contact me if you change your mind. Good luck :)
« Last Edit: December 16, 2009, 07:53:22 AM by Arm »

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: So then...what sucks about Mysterious Song?
« Reply #80 on: December 16, 2009, 10:44:22 AM »
"char test0;
....
bm_write(test0,filename,0,16);"

No, bm_read and bm_write take pointers as the first arguement (ie, addresses).
Try bm_write( &test0, filename, 0, 16 );
and bm_read( &test0, filename, 0, 16 );

That's pretty close to what I used as a test, btw.
I dumped the return values, too, and they came out as 32; I didn't bother to see if that
was an error code or not, but since I got the data back (into different variables) I didn't
worry about it.
« Last Edit: December 16, 2009, 11:21:37 AM by TheOldMan »

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #81 on: December 17, 2009, 03:14:33 PM »
Hey, that actually worked. Hrm...perhaps I could reorganize the variables in the source and do this with a single read and write. That would make things much easier, and would cut out some code space too.

The fact that HuC didn't throw an error bothers me though. It's pretty lax about errors.

TheOldMan

  • Hero Member
  • *****
  • Posts: 958
Re: So then...what sucks about Mysterious Song?
« Reply #82 on: December 17, 2009, 03:47:20 PM »
"Huc...pretty lax about errors". What an understatement!
Here's hoping you get a little extra data / code space, and .that it runs faster. Progams in Huc can use all the help they can get :-)

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #83 on: December 17, 2009, 08:32:10 PM »
Progams in Huc can use all the help they can get :-)
You're not kidding there. :)

I tested it out using variables in globals.h and it still worked, so this is a good thing. Now I can simply rearrange the variables and use a single instruction. It won't run any faster, but it will certainly cut out about 8KB of code space, and allow for more save locations.

shubibiman

  • Hero Member
  • *****
  • Posts: 1832
Re: So then...what sucks about Mysterious Song?
« Reply #84 on: December 18, 2009, 05:54:51 AM »
TOR, I pmed you to say I would do this translation if Kaminari didn't show up. I haven't heard from you since then and now it's too late as I've been really busy lately. So the French Translation could have been done by now.
Self proclamed Aldynes World Champion

Arm

  • Full Member
  • ***
  • Posts: 123
Re: So then...what sucks about Mysterious Song?
« Reply #85 on: December 18, 2009, 06:04:02 AM »
I suppose that the fact that you didn't give me an answer implies you don't want my help. That's fine.
By the way, you should empty your mail box. I tried to contact you via email several times and received a message stating it was full. I also sent you a PM 2 days ago. :)
« Last Edit: December 18, 2009, 06:17:35 AM by Arm »

peperocket

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #86 on: December 18, 2009, 07:36:13 AM »
There are many PC Engine owner in France, Belgium and Switzerland.

It will be very a shame to forget them.

nodtveidt

  • Guest
Re: So then...what sucks about Mysterious Song?
« Reply #87 on: December 18, 2009, 10:34:11 AM »
TOR, I pmed you to say I would do this translation if Kaminari didn't show up. I haven't heard from you since then and now it's too late as I've been really busy lately. So the French Translation could have been done by now.
I expected him to do it; he stated he would, and you said that he was probably better for the job than you. But it seems he's bailed on us...again. Arm says he'll do it though, so no worries.

Arm

  • Full Member
  • ***
  • Posts: 123
Re: So then...what sucks about Mysterious Song?
« Reply #88 on: December 18, 2009, 11:12:31 AM »
The Old Rover, I have sent you a PM.

esteban

  • Hero Member
  • *****
  • Posts: 24063
Re: So then...what sucks about Mysterious Song?
« Reply #89 on: December 19, 2009, 09:49:21 AM »
SH*T, does this mean that I don't have time to finish the Ukranian translation?

  |    |