• HomeBoards
  • RulesRules
  • HelpHelp
  • WikiWiki
  • Donate

Author Topic: OhBoy  (Read 84043 times)

Anubis

  • Posts: 35
Re: OhBoy
« Reply #160 on: October 29, 2014, 12:42:24 am »
Can the emulator launch ROMs through the command line? I've tried opkrun /path/to/emulator /path/to/rom but it doesn't seem to work.

TimeDevouncer

  • Posts: 231
Re: OhBoy
« Reply #161 on: November 08, 2014, 09:20:23 pm »
I've finished Shadowgate Classic with Ohboy, How nostalgic! ;D.

I love the "Alt menu combo", I think more emulators should have it, it's a fabulous option :)

By the way, could you add a L+R combo?
Look behind you! A three-headed monkey!

hi-ban (OP)

  • Posts: 889
Re: OhBoy
« Reply #162 on: November 10, 2014, 02:39:45 pm »
L and R are bindable to other functions, including save/load state, so they would interfere. Select+Start already does the job.

Here is a new build, 20141110:

- Now there are separate "Main Settings" and "Video Settings" subsections.
- Added "System" option to force DMG mode (monochrome GB) or enable "GBA Enhanced" features in some GBC games.
- Added ROM browser remembering the last selected position in the romlist.
- Fixed graphical menu issue in which you could select a non-selectable field when selection-looping.

Download in the first post of this thread.
« Last Edit: November 10, 2014, 09:56:02 pm by hi-ban »

Xaijiqq

  • Posts: 450
Re: OhBoy
« Reply #163 on: November 11, 2014, 11:38:07 am »
thanks for the update :) i like the idea of ROM browser remembering the last selected position. though with this latest build 20141110 for me it goes back to the gmenu when selecting 'Load ROM'.  it happens whenever i go from one game to the next.  also a few times it wasn't saving the settings such as rom path and video settings though haven't noticed any further similar issues since

hi-ban (OP)

  • Posts: 889
Re: OhBoy
« Reply #164 on: November 11, 2014, 12:55:28 pm »
thanks for the update :) i like the idea of ROM browser remembering the last selected position. though with this latest build 20141110 for me it goes back to the gmenu when selecting 'Load ROM'.  it happens whenever i go from one game to the next.  also a few times it wasn't saving the settings such as rom path and video settings though haven't noticed any further similar issues since

I don't have any of those issues.

When you change the settings, be sure to select "Apply & Save". If you just select "Apply", it will apply the settings only for the current game session, but it wont save them.

Also, this new build now saves the Main and video settings in separate config files. So everyone should go into each (Main and Video) menu and save the settings at least once, for the new files to be created. Once you do that, you shouldn't have any problems.

Which is your exact rom path?

Xaijiqq

  • Posts: 450
Re: OhBoy
« Reply #165 on: November 11, 2014, 02:21:16 pm »
well i remember experiencing minor same-like issues when you did the exit/menu update months back.  yep, did "Apply & Save" for each setting in the Main and Video

however i did recently get external memory the path is sdcard/Games/Gameboy

not sure whats causing the crashes back to the gmenu but it still happens

hi-ban (OP)

  • Posts: 889
Re: OhBoy
« Reply #166 on: November 11, 2014, 03:12:47 pm »
I haven't changed any code of the rom browser, so if it didn't happen before, there's no reason why it should happen now.
Try re-selecting the rom path and saving it again.

TimeDevouncer

  • Posts: 231
Re: OhBoy
« Reply #167 on: November 12, 2014, 05:10:18 am »
Thank you for this update hi-ban ;)
Look behind you! A three-headed monkey!

Xaijiqq

  • Posts: 450
Re: OhBoy
« Reply #168 on: November 12, 2014, 08:04:24 pm »
I haven't changed any code of the rom browser, so if it didn't happen before, there's no reason why it should happen now.
Try re-selecting the rom path and saving it again.
indeed it is the damnedest thing.  was messing with it for a while today even transferring files back to internal memory and also re-installing everything, nothing improved.  for some reason its not saving properly which ends up resulting in the menu crash.  although an older build 'Ohboy_20140907' works fine

computerguy

  • Posts: 37
Re: OhBoy
« Reply #169 on: November 22, 2014, 01:41:36 pm »
Has anyone else had an issue where under video settings if you select Hadware Fullscreen the games don't actually fill the screen? This is with the current version 11-10-2014. Software Fullscreen has the games fill the screen though, I've tested this with a few different Gameboy and Gameboy color games.

Senor Quack

  • Posts: 225
Re: OhBoy
« Reply #170 on: November 22, 2014, 03:24:21 pm »
Has anyone else had an issue where under video settings if you select Hadware Fullscreen the games don't actually fill the screen? This is with the current version 11-10-2014. Software Fullscreen has the games fill the screen though, I've tested this with a few different Gameboy and Gameboy color games.

If you are running the latest firmware (8-20-2014), this is probably because the hardware scaler is now supported and has two different modes: Keep-Aspect-Ratio and Stretch-to-Screen:  Press Power-Slider + A and it will switch between the two modes, as described under "Button Combinations" here in the quick-start guide:  http://wiki.surkow.com/Quick_Start_Guide

Some programs/emulators give you the option of saving this selection as a setting, others make you press Power+A each the time video mode changes.

computerguy

  • Posts: 37
Re: OhBoy
« Reply #171 on: November 22, 2014, 03:44:55 pm »
Thank you very much Senor Quack i had forgotten about that setting since its been a while since i played by zero.

CSX

  • Posts: 59
Re: OhBoy
« Reply #172 on: November 27, 2014, 12:49:59 am »
Thanks for the update. Have problems with this version though =(

Whenever I try to change path to any directory the application craches
Here is the log:
Code: [Select]
Nov 27 00:42:50 opendingux daemon.info init: process '/usr/sbin/frontend_start' (pid 1062) exited. Scheduling for restart.
Nov 27 00:42:50 opendingux daemon.info init: starting pid 1079, tty '/dev/tty1': '/usr/sbin/frontend_start'

And here is strace of gmemu
Code: [Select]
opendingux:/media/data/local/home # strace -s 500 -f -p 1145
Process 1145 attached
waitpid(1161, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0) = 1161
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=1161, si_status=SIGSEGV, si_utime=254, si_stime=8} ---
chdir("/")                              = 0
umount("/mnt/OhBoy")                    = 0
rmdir("/mnt/OhBoy")                     = 0
exit_group(11)                          = ?
+++ exited with 11 +++

ohboy's strace

Code: [Select]
nanosleep({0, 50000000}, 0x7fee3318)    = 0
_newselect(6, [4 5], NULL, NULL, {0, 0}) = 0 (Timeout)
read(6, 0x7fee3150, 256)                = -1 EAGAIN (Resource temporarily unavailable)
ioctl(3, FBIOPAN_DISPLAY or FBIPUT_COLOR, 0x4e625c) = 0
ioctl(3, FBIOPAN_DISPLAY or FBIPUT_COLOR, 0x4e625c) = 0
nanosleep({0, 50000000}, 0x7fee3318)    = 0
_newselect(6, [4 5], NULL, NULL, {0, 0}) = 1 (in [4], left {0, 0})
read(4, "\35", 4096)                    = 1
_newselect(6, [4 5], NULL, NULL, {0, 0}) = 0 (Timeout)
read(6, 0x7fee3150, 256)                = -1 EAGAIN (Resource temporarily unavailable)
ioctl(3, FBIOPAN_DISPLAY or FBIPUT_COLOR, 0x4e625c) = 0
ioctl(3, FBIOPAN_DISPLAY or FBIPUT_COLOR, 0x4e625c) = 0
nanosleep({0, 50000000}, 0x7fee3318)    = 0
open("/usr/local/home/.ohboy/lastselected.rc", O_RDWR|O_CREAT|O_TRUNC, 0666) = 7
ioctl(7, TIOCNXCL, 0x7fee3280)          = -1 ENOTTY (Inappropriate ioctl for device)
write(7, "49", 2)                       = 2
close(7)                                = 0
open("/usr/local/home/GBx_Best_Games/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
fstat64(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
getdents(7, /* 20 entries */, 4096)     = 324
getdents(7, /* 0 entries */, 4096)      = 0
close(7)                                = 0
open("/usr/local/home/.ohboy/lastselected.rc", O_RDWR) = 7
ioctl(7, TIOCNXCL, 0x7fee3280)          = -1 ENOTTY (Inappropriate ioctl for device)
read(7, "49", 4096)                     = 2
read(7, "", 4096)                       = 0
close(7)                                = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0xcd1} ---
rt_sigaction(SIGSEGV, {0x10000000, [RT_65 RT_67 RT_69], 0}, {SIG_DFL, [RT_70 RT_71 RT_72 RT_73 RT_74 RT_77 RT_79 RT_81 RT_83 RT_86 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], SA_RESTART|SA_INTERRUPT|SA_NODEFER|SA_NOCLDWAIT|0x79675b0}, 16) = 0
close(6)                                = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], SA_RESTART|SA_INTERRUPT|SA_NODEFER|SA_NOCLDWAIT|0x796fa44}, 16) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, NULL, 16) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], SA_RESTART|SA_INTERRUPT|SA_NODEFER|SA_NOCLDWAIT|0x796fa44}, 16) = 0
rt_sigaction(SIGTERM, {SIG_DFL, [], 0}, NULL, 16) = 0
munmap(0x77425000, 3686400)             = 0
ioctl(3, FBIOGET_CONTRAST or FBIOPUT_VSCREENINFO, 0x4e62fc) = 0
close(3)                                = 0
close(5)                                = 0
ioctl(4, KDSETMODE, 0)                  = 0
ioctl(4, KDSKBMODE, 0x2)                = 0
ioctl(4, SNDRV_TIMER_IOCTL_SELECT or TIOCSPGRP, {B38400 opost isig icanon echo ...}) = 0
ioctl(4, VT_UNLOCKSWITCH, 0x1)          = 0
ioctl(4, VT_ACTIVATE, 0x1)              = 0
close(4)                                = 0
rt_sigaction(SIGSEGV, NULL, {0x10000000, [], 0}, 16) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], SA_RESTART|SA_INTERRUPT|SA_NODEFER|SA_NOCLDWAIT|0x79675b0}, 16) = 0
rt_sigaction(SIGBUS, {SIG_DFL, [], 0}, NULL, 16) = 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], SA_RESTART|SA_INTERRUPT|SA_NODEFER|SA_NOCLDWAIT|0x79675b0}, 16) = 0
rt_sigaction(SIGFPE, {SIG_DFL, [], 0}, NULL, 16) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], SA_NOCLDSTOP}, 16) = 0
tgkill(1182, 1182, SIGSEGV)             = 0
sigreturn() (mask [])                   = -1
--- SIGSEGV {si_signo=SIGSEGV, si_code=SI_TKILL, si_pid=1182, si_uid=0} ---
+++ killed by SIGSEGV +++[code]
« Last Edit: November 27, 2014, 12:53:43 am by CSX »

CSX

  • Posts: 59
Re: OhBoy
« Reply #173 on: November 27, 2014, 01:12:53 am »
I figured that the issue is with the file lastselected.rc
On my system if contains of one byte
Code: [Select]
opendingux:/media/data/local/home/.ohboy # hexdump lastselected.rc
0000000 0035
0000001
opendingux:/media/data/local/home/.ohboy # cat lastselected.rc
5opendingux:/media/data/local/home/.ohboy #

The byte changes when I go up in dirs tree (the only way I can go =) )

If I remove it it's being creating again. If I replace it with a symlink to /dev/null everything works fine!

Nebuleon

  • Guest
Re: OhBoy
« Reply #174 on: November 27, 2014, 03:12:13 am »
So OhBoy's last-file-saving code stores an integer corresponding to the number of the file among the directory's sorted file names. That's great  :-\

shawnrob

  • Posts: 18
Re: OhBoy
« Reply #175 on: December 14, 2014, 07:48:51 pm »
Downloaded the newest version but it doesn't work. It keeps crashing every time I try to load a game.  :(


Is there anywhere I can download the previous version that worked?
« Last Edit: December 14, 2014, 07:54:05 pm by shawnrob »

Gab1975

  • Posts: 1165
Re: OhBoy
« Reply #176 on: December 14, 2014, 08:26:48 pm »
Downloaded the newest version but it doesn't work. It keeps crashing every time I try to load a game.  :(


Is there anywhere I can download the previous version that worked?

Did you update your GCW Zero to the latest firmware (2014-08-20)?

AskaLangly

  • Posts: 106
Re: OhBoy
« Reply #177 on: December 15, 2014, 12:08:36 am »
I felt like turning on the SELECT+START Menu access, but whenever I do this, the games recognize the keystrokes.
For example, after I save on Mario DX, you know how the cursor goes back to Continue, correct? (It goes Continue, Save, End. Saving was complete, so it become un-selectable.) I press Sel+St, and it ends the game (Select places the cursor at End, Start chooses the option). I dislike the use of the Power slider to operate the menu, and I saw in previous releases that it used to be L+R. Well, all I get for Alternate Menu Combo is said Sel+St and No. Please add L+R back!

Meganubis

  • Posts: 3
Re: OhBoy
« Reply #178 on: December 18, 2014, 12:36:36 am »
Ive been out of the loop for a while, but did GCW add rumble support?? If so any chance of adding it to Ohboy for pokemon rumble?

shawnrob

  • Posts: 18
Re: OhBoy
« Reply #179 on: December 18, 2014, 12:38:38 am »
Downloaded the newest version but it doesn't work. It keeps crashing every time I try to load a game.  :(


Is there anywhere I can download the previous version that worked?

Did you update your GCW Zero to the latest firmware (2014-08-20)?

Yes the firmware is up to date with the 2014-08-20 release. And I've read that if you load the games from the internal memory instead of the SD card it will work correctly. Unfortunately, this did not work.

 

Post a new topic