Author Topic: Problem starting newly compiled snes9x with RC3  (Read 2556 times)

fabianE

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Problem starting newly compiled snes9x with RC3
« on: September 10, 2004, 06:31:59 pm »
Hello,

I am using the onboard compiler to compile some programs. The newvox-sample worked easily but now I want to compile snes9x and it doesn't work. I used the sources from http://www.lysator.liu.se/snes9x/ (tried both 1.43 and 1.42), the compiler produces the snes9x binary but when I load a rom (under X) I only get a black screen and some information:

# snes9x ~/Documents/smk.smc

Rate: 22050, Buffer size: 2048, 16-bit: yes, Stereo: yes, Encoded: no
Found ROM file header (and ignored it).
"SUPER MARIO KART" [checksum ok] HiROM, 4Mbits, Type: ROM+RAM+BAT+DSP1, Mode: 21, TV: NTSC, S-RAM: 2KB, ROMId:  Company: 01 CRC32: CD80DB86
/dev/js0: No such file or directory

I tried it with different games and had always the same effect.

Does anybody have an idea or does anybody knows the last working version of snes9x?

If anybody wants the binary to try, I'll send it to you.

Regards,

Fabian

P. S.: The undefined symbol doesn't appear.

CetExX

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problem starting newly compiled snes9x with RC3
« Reply #1 on: September 10, 2004, 08:24:29 pm »
It may have something to do with the last message, "/dev/js0: No such file or directory".  This may or may not be a device that the program depends on.  If the program happen to depend on this device, you may need to alter the code so that the program do not depend on it (joystick device I believe).  

Anyone else have any ideas?
-] CetExx
-] C860 / 512MB SD / 256MB CF / Linksys WCF12 / pdaXrom
-] WinXP Pro / SuSE 9.1 Linux

scoutme

  • Hero Member
  • *****
  • Posts: 579
    • View Profile
Problem starting newly compiled snes9x with RC3
« Reply #2 on: September 12, 2004, 06:47:37 am »
yes, I think CetExX is right.

You should place an ifndef - or brutally change the source

fabianE

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Problem starting newly compiled snes9x with RC3
« Reply #3 on: September 12, 2004, 11:22:28 am »
Hi,

thanks for your hints so far, but still no luck. I have compiled it with debugging enabled and joystick disabled, it still shows only the black screen, the warning about /dev/js is gone and I can see in the console the result of the debugging: no warnings, just some output from the decompression of the rom. I don't think it is an sdl issue because I could compile newvox without problems.

I also compiled the same source under my gentoo and it works.

Regards,

Fabian