Views: 308,416 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 12-13-18 02:17 AM
Guest:

0 users reading Not founding the bios files | 1 bot

Main - General - Not founding the bios files New reply


Player01
Posted on 12-06-18 08:42 PM (rev. 2 of 12-06-18 10:39 PM by StapleButter) Link | #780
Hi, I'm trying to run the Linux version of the emulator but I got a bios error even with the files in the same directory. What am I doing wrong? Here's the directory screenshot:
[thumbnail]

StapleButter
Posted on 12-06-18 09:45 PM Link | #783
now that's weird af

maybe the working directory is being set to somewhere else by the launcher, or something shitty

also, that's not how you embed an image. we have a tag for that.

____________________
Kuribo64

Player01
Posted on 12-06-18 10:35 PM Link | #784
I'm sorry about the image, I know about the image tag, but it gets too big and I did not find a way to set a resolution (hight/width arg seems not to work in the preview). Also, I've noticed that I mix up the words in the title and wrote "founding" instead of "finding". 😑

Anyway, is out there some way to manually set the directory or maybe track what directory is it trying to access? Maybe someway to debug it? The executable seems to not have any argument in the terminal and all the "debug" info it gives me is the melon version and website (that's how I get there).

shibboleet
Posted on 12-06-18 10:39 PM Link | #785
Very possible it's trying to look in the folder that melonDS is in somehow?

StapleButter
Posted on 12-06-18 10:40 PM Link | #786
oh, right

the [imgs] tag is there for that. it's the 'thumbnail' button on the post toolbar.

actually lemme edit your post to fix that for ya.


as for knowing what the working directory is... dunno.

try opening a terminal, cd'ing your way to the melonDS directory, then running it from that, and see how that goes?

____________________
Kuribo64

shibboleet
Posted on 12-06-18 10:43 PM Link | #787
Or you can just compile it yourself and insert a debug here to see where it's trying to access.

StapleButter
Posted on 12-06-18 10:49 PM Link | #788
Posted by shibboleet
Very possible it's trying to look in the folder that melonDS is in somehow?

that's what it's set to do as a first attempt, and seeing as the files are there, it should find them... unless it's looking elsewhere on accident.


Posted by shibboleet
Or you can just compile it yourself and insert a debug here to see where it's trying to access.

I don't know whether the OP is willing to delve into source code, so for now let's keep this simple

____________________
Kuribo64

Player01
Posted on 12-07-18 02:46 PM Link | #793
Posted by StapleButter
try opening a terminal, cd'ing your way to the melonDS directory, then running it from that, and see how that goes?

I've tried just opening it from the terminal before and it did the same, however, I did what you suggested (cd to the path and then opening it) and it works.

Posted by shibboleet
Or you can just compile it yourself and insert a debug here to see where it's trying to access.

I did that and find out that the emulator was trying to access the files from my home folder (/home/$USER/) for some reason.

Posted by StapleButter
I don't know whether the OP is willing to delve into source code, so for now let's this simple

I personally don't mind to. I know nothing about emulation, but of course, I can make simple modification and compile it.


That's said, I dunno if it's a bug related to my system (using Deepin 15.8, Debian based) or to the melon. If I just double-click it, it will try to access my home folder, if I try to open it from the terminal, it will try to access the directory the terminal is in (and not the executable).

The only two ways I found to get it to work is cd to the directory melon is in and open it, or put the bios files in my home folder and simply double-click melon wherever it is.

Thank you for the help.



StapleButter
Posted on 12-07-18 02:47 PM Link | #794
no, that also points to an actual issue with melonDS.

for example, if you launch a ROM by, say, dragging it over the melonDS executable, it will try looking for BIOS/etc in the ROM's directory, and fail.

____________________
Kuribo64


Main - General - Not founding the bios files New reply

Page rendered in 0.020 seconds. (2048KB of memory used)
MySQL - queries: 30, rows: 93/93, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.