Author Topic: Nesemu  (Read 10293 times)

Hellsing1

  • Guest
Re: Nesemu
« Reply #20 on: October 19, 2009, 04:18:37 pm »
This is all I did : (You don't need selector option in dmenu as you select games via the menu in the emu)

1. Extract files into a folder called nesemu_dingux_v0.1 (in the emulators folder)
2. Add dmenu as posted.
3. Enter Dingux and select it.

Try deleting the .nesemu folder in your home directory and run it again.

The .nesemu folder contains 3 folders - cheats, shots and state and 3 files nesemu.cfg, nes_ntsc.pal, nesemu.txt
« Last Edit: October 19, 2009, 04:30:19 pm by Hellsing1 »

tuki_cat

  • Guest
Re: Nesemu
« Reply #21 on: October 19, 2009, 06:20:01 pm »
Strange, none of this works. I have tried a complete re-install but i still come back a seg fault.

Anyone have any other ideas?

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Nesemu
« Reply #22 on: October 20, 2009, 01:29:24 am »
Don't work for me either after clean install I wonder if it has to do with what lcd controller you have

goldenegg

  • *
  • Posts: 56
Re: Nesemu
« Reply #23 on: October 20, 2009, 07:49:09 am »
Doesn't work for me either.  Same CFG error.

joyrider

  • *
  • Posts: 220
    • Willems Soft
Re: Nesemu
« Reply #24 on: October 20, 2009, 08:58:53 am »
your home directory is probably not exported !

try
export HOME=/boot/local/home

the emulator does a getenv("HOME"); so if you don't set your home dir it probably can't find it !

add that to a script that starts the emulator or to your main script in sbin or somewhere else where it would work.

I think that should solve the error. I'm not sure but i had to do this as well when i was working on nesemu (which i never released since this version does exactly the same thing i did & more).

goldenegg

  • *
  • Posts: 56
Re: Nesemu
« Reply #25 on: October 20, 2009, 11:06:03 am »
Same problem, even with the export statement.

the_gama

  • *
  • Posts: 155
Re: Nesemu
« Reply #26 on: October 20, 2009, 11:44:29 pm »
Please be sure you are using the latest kernel and rootfs.  Also i got a lot of segfaults when using the dual boot frontend.

goldenegg

  • *
  • Posts: 56
Re: Nesemu
« Reply #27 on: October 21, 2009, 01:39:00 am »
I have the latest kernel and rootfs.

the_gama

  • *
  • Posts: 155
Re: Nesemu
« Reply #28 on: October 21, 2009, 02:57:23 am »
Mmm, i remember i was using a local pack (toddler) that came with the dual boot app and dinguxmb, but i got a lot of segfaults so i changed to version 0.30a, along with the rootfs and zImages files included, and everithing worked fine after that. 

goldenegg

  • *
  • Posts: 56
Re: Nesemu
« Reply #29 on: October 21, 2009, 03:12:01 am »
I believe the segfault is caused by the 'file not found' error, not the other way around.  There's an issue with the emulator creating the file on certain systems, which is causing the problem.

mauromartins

  • *
  • Posts: 26
Re: Nesemu
« Reply #30 on: October 21, 2009, 05:11:53 pm »
your home directory is probably not exported !

try
export HOME=/boot/local/home

the emulator does a getenv("HOME"); so if you don't set your home dir it probably can't find it !

add that to a script that starts the emulator or to your main script in sbin or somewhere else where it would work.

I think that should solve the error. I'm not sure but i had to do this as well when i was working on nesemu (which i never released since this version does exactly the same thing i did & more).

Man, i tried it but without sucess. I just don?t know how to make that script! Can you help me, please ? I tried a script like it:
#!/bin/sh
export HOME=/boot/local/home
./nesemu.dingux.dge

But without sucess. How I put it in sbin like you said or add this to a script (maybe called nesemu.sh) ?

Thanks in advance.

toddler

  • Guest
Re: Nesemu
« Reply #31 on: October 21, 2009, 10:23:35 pm »
Nesemu dmenu v0.4 don't work.

Jolu42

  • Guest
Re: Nesemu
« Reply #32 on: October 22, 2009, 02:13:51 am »
I love how after a 3-page thread of confusion and wonder toddler casually walks by and says "dmenu 0.4 and nesemu don't work." I guess the problem is finally solved. lol That's why it was working for me--I never upgraded the dmenu.

mauromartins

  • *
  • Posts: 26
Re: Nesemu
« Reply #33 on: October 22, 2009, 02:38:12 am »
I love how after a 3-page thread of confusion and wonder toddler casually walks by and says "dmenu 0.4 and nesemu don't work." I guess the problem is finally solved. lol That's why it was working for me--I never upgraded the dmenu.

It can be true, but I tested with my backup dingux, and it is dmenu 0.3 and still dont worked for me.

qbertaddict

  • * Former Staff
  • The Doctor
  • Posts: 1184
    • about.me
Re: Nesemu
« Reply #34 on: October 25, 2009, 10:41:44 am »
Worked for me. I wonder what is different in v4 that causes it to crash

vimrc

  • *
  • Posts: 66
Re: Nesemu
« Reply #35 on: October 25, 2009, 08:17:08 pm »
Please be sure you are using the latest kernel and rootfs.  Also i got a lot of segfaults when using the dual boot frontend.

I am using the latest rootfs file and tried to run  nesemu in telnet mode without using Demu anymore, I got the same "segment fault" error. Then I used the GDB to debug it, it displayed:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00435160 in menubar_create ()

Could you please check the menubar_create() function? I think it's a little strange. Maybe it's an SDL video related
problem.

 

DEADBEEF

  • *
  • Posts: 25
    • たのしいDINGUX
Re: Nesemu
« Reply #36 on: October 28, 2009, 04:42:53 am »
I am using the latest rootfs file and tried to run  nesemu in telnet mode without using Demu anymore, I got the same "segment fault" error. Then I used the GDB to debug it, it displayed:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x00435160 in menubar_create ()

Could you please check the menubar_create() function? I think it's a little strange. Maybe it's an SDL video related
problem.


Hello, vimrc.
Do you have this file and directory ?
  /usr/local/home/.nesemu/nesemu.cfg
  /usr/local/home/.nesemu/Famicom Disks

I wrote nesemu.cfg with copy & past from this comment.
http://boards.dingoonity.org/dingux-emulation/nesemu/msg387/#msg387

Perhaps, the disksys.rom file puts in /usr/local/home/.nesemu/ .

I try to start nesemu from telnet with latest zImage and rootfs, it's OK.
But I try to start nesemu from dmenu0.4 with latest zImage and rootfs, I got "Segmentation fault" error...

vimrc

  • *
  • Posts: 66
Re: Nesemu
« Reply #37 on: October 28, 2009, 10:45:11 pm »
Hi, @qbQD4T5Z0949,

I copied these files your mentioned. I also export HOME=/usr/local/home, I still got the segment fault error in
telnet mode. The error message is:

Code: [Select]
nesemu - version 0.2.3

curdir = '/usr/local/home//.nesemu/'
determined executable directory to be '/usr/local/home//.nesemu'
inited system, file and log ok
argv0 = './nesemu.dingux.dge'
initing filesystem
creating directories
inited config
initing gui
Segmentation fault

The error message said "inited system, file and log ok", so I think my cfg file should be right.
This problem is really annoying. I still think it's a SDL related problem. I will try it again when
I have time this weekend.

PS: This released version of nesemu is complied without using "-g", it displayed " (no debugging symbols found)"
when you use GDB, so GDB can't help much unless you use  "disas menubar_create" in GDB... but it's more
difficult to me. I hope the porter of nesemu could release a debug version so it's easy to check the problem...




vimrc

  • *
  • Posts: 66
Re: Nesemu
« Reply #38 on: October 29, 2009, 11:14:23 am »
Segment fault will appear every time if the zImage with IPU enabled is utilized. This is the
reason why I got the segment fault even though I'm in telnet mode. What a strange problem!

« Last Edit: October 29, 2009, 10:34:51 pm by vimrc »

 

Post a new topic
Post a new topic