fMSX for Android released

Pagina 16/50
9 | 10 | 11 | 12 | 13 | 14 | 15 | | 17 | 18 | 19 | 20 | 21

Van cax

Prophet (3735)

afbeelding van cax

25-10-2011, 14:31

https://market.android.com/details?id=com.fms.fmsx

Going directly to the web market from the tablet doesn't help - all I see is "You don't have any devices".
When I search for "fmsx" in the tablet's market application, it says 6 results for "fmsx"
but actually shows only 4 : MSX.emu, "Emulators", "TINY RACER" and "TINY RACER(LITE)".

I think the missing 2 are the fmsx itself (free and ad-free versions).
The reason I cannot see them is probably definitions Marat put on the apps in the market (maybe my tablet's screen size doesn't fit...).

So, the question is: can I run fmsx on my device, and if yes , how.

Van fms

Champion (359)

afbeelding van fms

25-10-2011, 15:58

Going directly to the web market from the tablet doesn't help - all I see is "You don't have any devices". The reason I cannot see them is probably definitions Marat put on the apps in the market (maybe my tablet's screen size doesn't fit...).
I have listed the hardware requirements entered into the Market a little time ago, in this thread. All screen sizes should work. There is a requirement that your device should be able to work in landscape mode. Maybe that is the problem?

Van fms

Champion (359)

afbeelding van fms

25-10-2011, 16:41

So, the question is: can I run fmsx on my device, and if yes , how.
You should at least tell me the make and model of your Android device. "Cheap Chinese tablet" does not mean a thing to me or the Market.

Van cax

Prophet (3735)

afbeelding van cax

25-10-2011, 17:28

The tablet is a no-name, according to the net they (or similar devices) are sold under names A9Pad, N71, N71N, M70003B, OPAD Renesas, Rena3, CUTEPAD A9, Haipad M9, etc. My tablet shows JunPad logo when starts. It can work in both portrait and landscape modes and has a gyro.
Kernel version is 2.6.29 hengai@and-ser2 #1020
Build number: renesas_emev-eng 2.2.1 Master eng.hengai.20110729.175133 test-keys

http://www.slatedroid.com/topic/18596-rena3-faq/

Van fms

Champion (359)

afbeelding van fms

25-10-2011, 20:31

The tablet is a no-name, according to the net they (or similar devices) are sold under names A9Pad, N71, N71N, M70003B, OPAD Renesas, Rena3, CUTEPAD A9, Haipad M9, etc. My tablet shows JunPad logo when starts. It can work in both portrait and landscape modes and has a gyro.
I cannot find any of these names in the list of devices at Android Market (neither compatible nor incompatible), so I have no idea what is going on here. Do you have the "/sdcard" directory? Maybe it is missing the "/sdcard" for some reason?

Van cax

Prophet (3735)

afbeelding van cax

26-10-2011, 11:49

I do have a card and it's mounted at /sdcard.
I still think the problem is the market settings of fmsx. Devices unauthorized by Google, like mine, usually cannot see protected apps, and require a hack to see "full market".
I will try this hack soon and will write here whether it helps.
Anyway I still believe you can make the app accessible to everybody yourself, by changing the way it is published on the market.

Van fms

Champion (359)

afbeelding van fms

26-10-2011, 16:12

I still think the problem is the market settings of fmsx.
Yes, but what settings? I do not have anything special set. Asked a friend at Google to check what their guys can say about it.

Devices unauthorized by Google, like mine, usually cannot see protected apps, and require a hack to see "full market". I will try this hack soon and will write here whether it helps.
Hmm, that may be the case, as I have copy protection enabled "just in case". As far as I know it is not very reliable copy protection though.

Anyway I still believe you can make the app accessible to everybody yourself, by changing the way it is published on the market.
Only if I know what makes it inaccessible.

Van cax

Prophet (3735)

afbeelding van cax

27-10-2011, 22:38

Now my device uses a hacked market application and sees fmsx.
As for fmsx itself, it runs too fast on my tablet and doesn't detect rom types properly - e.g. aleste or zanac-ex.
I suggest to use the rom type code from my mod of dingux-fmsx.

Van fms

Champion (359)

afbeelding van fms

28-10-2011, 06:36

Now my device uses a hacked market application and sees fmsx.
Good. So it is about no-name devices being rejected by the copy protection then.

As for fmsx itself, it runs too fast on my tablet
Too fast by how much? Is it just a 50/60Hz thing, or is it running much faster?

doesn't detect rom types properly - e.g. aleste or zanac-ex. I suggest to use the rom type code from my mod of dingux-fmsx.
A pointer to the source code would be nice.

Van cax

Prophet (3735)

afbeelding van cax

28-10-2011, 08:30

A pointer to the source code would be nice.

Sure. The solution consists of 3 files: CARTS.SHA, sha1.h, sha1.c, and a couple lines of code in

1) file CARTS.SHA can be taken from
http://cax.nm.ru/msx/dingoo/dingux-msx-v1.1.0.cax-bin.zip
(or you can generate CARTS.SHA yourself by applying the included msxromdb.xsl to msxromdb.xml distributed with openMSX or blueMSX)

2) sha1.h, sha1.c and modified MSX.c can be taken from
http://cax.nm.ru/msx/dingoo/dingux-msx-v1.1.0.cax-src.zip

3) The following code in MSX.c is used:

int GuessROM(const byte *Buf,int Size)
{
  int J,I,ROMCount[6];
  char S[256], SHA_BUF[256], SHA[41];
  FILE *F;
  SHA1Context sha;

  /* Compute ROM's SHA1 */
  SHA1Reset(&sha);
  SHA1Input(&sha, Buf, Size);

  if (SHA1Result(&sha)) {
   sprintf( SHA,"%08x%08x%08x%08x%08x", 
 sha.Message_Digest[0], sha.Message_Digest[1], sha.Message_Digest[2], sha.Message_Digest[3], sha.Message_Digest[4]);
  }

  /* Try opening file */
  if(F=fopen("CARTS.SHA","rb"))
  {

    /* Scan file comparing SHA1s */
    while(fgets(S,sizeof(S)-4,F))
      if(sscanf(S,"%s %d",SHA_BUF,&I)==2) {
        if(!strcmp(SHA_BUF,SHA)) { 
  		fprintf(stderr, "Matches %s, rom type: %d\n", SHA_BUF, I);
		fclose(F);
		return(I);
	}
      }
    /* Nothing found */
    fclose(F);
  }

...
Pagina 16/50
9 | 10 | 11 | 12 | 13 | 14 | 15 | | 17 | 18 | 19 | 20 | 21