Jump to content

Problems using FAT support


Dark Knight ez

Recommended Posts

Hey all.

 

I'm currently working on an 2D RTS (engine) for the DS.

It reads almost everything in from FAT. What buildings there are, what units, graphics, etc.

(See ds-scene.net interviews if you're interested in checking out what's it all about.)

I'm getting tired of testing it via hardware as every (short) test takes me at least 20 seconds to put it on the NDS and run it.

So that's where Dualis seems like a good alternative.

 

Anyway, on to the more important point.

I'm experiencing problems with trying to use the FAT support Dualis has.

I also experience the same problem with DesMuME. Does it use the same code to support GBAMP FAT?

On hardware I experience no such problems at all.

 

Problem: I can't open files. FAT_fopen returns 0.

Example of a file I want to open: /rts4ds/DesertSands/houses.ini

- I did do a FAT_InitFiles() in the code. (like I said, it works on hardware)

- I did make sure that Dualis uses GBAMP as compact device.

- I did compile the code with the latest official Chishm's gba_nds_fat library (supporting GBAMP).

- I did put the rts4ds folder with all its subfolders in the same directory as the .nds I open in Dualis.

 

I tried to replace the '/' in the path name with '\'. Also tried not having the first slash. Both to no avail.

 

If anyone has any suggestions as to what could be wrong, please let me know.

 

Thanks in advance.

Edited by Dark Knight ez
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...