You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.

#1 Re: Support » MacOsX Build of Desmume » 2008-04-10 01:01:51

0. Open desmume project
1. double-click desmume in the groups & files pane
2. now you get the Project "DeSmuME" Info dialog.  Pick the General pane.

Near the bottom of this pane there's a drop-down selector called "Cross-Develop Using Target SDK:".  That's where I've chosen "Mac OS X 10.4 (Universal)".  This presumes you have the 10.4 universal SDK installed.  If not, download it from Apple.  I'm using Xcode 3.0, btw.  It looks like somebody (you?) is using a 3.1 beta (iPhone SDK?).

#2 Re: Support » MacOsX Build of Desmume » 2008-04-06 20:47:56

Ok, FAT image support seems to work fine here.  Yay!  Adios VMWare Fusion!

#3 Re: Support » MacOsX Build of Desmume » 2008-04-06 20:20:38

One other part of my patch should have gone in but didn't.  The SDK of the Xcode project needs to be changed from 10.4 to 10.4u (universal).  That might be why jvernet's universal builds don't work on intel machines.

#4 Re: Support » MacOsX Build of Desmume » 2008-04-06 20:06:18

jeff wrote:

Thanks and good work on that patch, TypeError. I'll go ahead and apply it.

Edit: I applied it (slightly modified). I don't have any FAT images to test it with, so if you want to make sure its working that would be good.

Thanks.  I'll test the FAT stuff in a bit.  I just noticed one change that shouldn't have gone in.  In this diff:

http://desmume.cvs.sourceforge.net/desm … threv=HEAD

The #if 0 shouldn't have been changed to #if 1.  It causes massive log output during FAT access.

#5 Re: Support » MacOsX Build of Desmume » 2008-04-06 02:38:56

Hi guys,

In XCode, go to the build settings and enable the checkbox "Treat Missing Function Prototypes as Errors".  Marvel at the massive compilation failure.  Then go get my patch that fixes it:

http://pastebin.org/27740

The patch also allows users to use FAT images with homebrew apps by either using a menu to choose the image or passing a command-line option (-FlashFile).

#6 Re: Support » MacOsX Build of Desmume » 2008-04-04 23:37:13

Phazz:  Are your patches fixes for the x86 build?  I'm running the latest jvernet build but it only works properly under Rosetta on my MBP.

Also, is there a way to mount a FAT disk image under OS X?  I'm not having luck with the --cflash option in this build.  The .nds file needs to be patched with the GBAMP compact flash DLDI file, right?

#7 Re: Support » FAT support » 2008-04-04 20:45:46

shash wrote:

I looked at the issue of sub-folders a while ago, but forgot to fix it after reading through cflash.c tongue I'll check in the future whenever I've some free time.

Great!  In the mean time I've found that FAT works properly with a disk image passed on the command line.

#8 Re: Support » FAT support » 2008-04-03 05:55:29

I'm using 0.7.3 on Windows XP Pro (in VMWare Fusion under OS X -- I really wish the mac port worked).  I'm also having trouble with the FAT support in the port I'm working on.  Subdirectories just don't seem to work properly.  I seem to get a list of all the files/dirs in the folder alongside the .nds file if I list "/" but if I try to list the "/content" dir I get *some* of the files from the "/.git" dir instead.  It's strange -- I get the correct *number* of files, but the filenames themselves are from the wrong dir.  So instead of "version" and "packages/" (the things in /content) I get "HEAD" and "refs/", two out of the 10 files in the /.git dir.

It's a real shame -- this means I can't use desmume to debug any more because I can't get it to load any files. sad

Board footer

Powered by FluxBB