Homebrew Updates about nesDS...

  • Thread starter Thread starter huiminghao
  • Start date Start date
  • Views Views 283,525
  • Replies Replies 1,409
  • Likes Likes 15
avenir said:
really strange. where is your nesDS.ini? never have multiple nesDS.ini on your TF
The .ini is on the root like the .nds file, well now I'm launching it with moonshell and the vhbootlib from the mshl2tools, works fine
smile.gif
 
So... I'm noticing that NesDS likes to freeze whenever I try to save the SRAM on Zelda II. I can't get it to play afterward without turning off my 3DS. Is anyone else having this problem?

Edit: And by the looks of it, my save got deleted the last time I tried to save within NesDS. Not awesome.
 
yaketyJack said:
For next update, it would be awesome to display the extra NES resolution at the bottom screen. This way, no pixels would be hidden.

But without a distracting alternating flicker method. You mentioned it was hard, but if you are able to do it, it would be the perfect emulator. It would be ideal if it would be possible to choose between the bottom or top pixels, to display on the bottom screen. And to be able to scroll it.

You think this would be possible, huiminghao?
 
If I may make a request, humminghao...

Any chance for a 'screenshot' function to be added in to nesDS? that would save the active game render to a gif/png/jpg?

Ever since the AVGN started talking about it, I'd found and been playing the NWC 1990 rom out there on nesDS, and it would help to basically take a screenshot of the final score there ofr verification purposes.
smile.gif
 
I'm not sure wheter it's a bug, but the sound in Kirbys Adventure seems to be a bit... distorted or crackling. But that may be original NES "quality" since it sounds the same as on other emulators.
 
NesDS it's still being a 0.x and with all those changes I guess is enough to be a 1.x, since you change the menu it was a 1.x. Don't you think so?
wink.gif
yaynds.gif
 
I clarify: it is up to you whether you use my dszip or you will port xenofunzip.c to gzip, in future nesDS release.
 
gothicall said:
NesDS it's still being a 0.x and with all those changes I guess is enough to be a 1.x, since you change the menu it was a 1.x. Don't you think so?
wink.gif
yaynds.gif

I wondered that, too. Maybe he's hoping to have the perfect emulator by the time he hits version 1.0?
 
Dann Woolf said:
yaketyJack said:
For next update, it would be awesome to display the extra NES resolution at the bottom screen. This way, no pixels would be hidden.

But without a distracting alternating flicker method. You mentioned it was hard, but if you are able to do it, it would be the perfect emulator. It would be ideal if it would be possible to choose between the bottom or top pixels, to display on the bottom screen. And to be able to scroll it.
You think this would be possible, huiminghao?

I will show something in the next release.
wink.gif


Mugiwara no Kot said:
there are no bugs in this emulator, almost perfect, i dont think it'll need Ultra Upgrades, but the way it is, it's ok for me xD
There are always some requests on nesDS, so...

codezer0 said:
If I may make a request, humminghao...
Any chance for a 'screenshot' function to be added in to nesDS? that would save the active game render to a gif/png/jpg?
Ever since the AVGN started talking about it, I'd found and been playing the NWC 1990 rom out there on nesDS, and it would help to basically take a screenshot of the final score there ofr verification purposes.
smile.gif

E.. There is no way to capture the output of emulator.. BUT nesDS could generate a .bmp file according to the 'PURE-SOFT' rendering mode. gif/png/jpg need encoders...
Anyway, it would be supported. Keep waiting...


redfalcon said:
I'm not sure wheter it's a bug, but the sound in Kirbys Adventure seems to be a bit... distorted or crackling. But that may be original NES "quality" since it sounds the same as on other emulators.
nesDS does NOT handle the sound channels in REAL-TIME, and the precision of calculations are not fine enough, so the "quality" is NOT quite well.

QUOTE(gothicall @ Sep 27 2011, 06:42 AM)
NesDS it's still being a 0.x and with all those changes I guess is enough to be a 1.x, since you change the menu it was a 1.x. Don't you think so?
wink.gif
yaynds.gif
1.x, E..... I LIKE IT... I shell take that in the next release.

QUOTE(avenir @ Sep 27 2011, 07:57 PM)
I clarify: it is up to you whether you use my dszip or you will port xenofunzip.c to gzip, in future nesDS release.
GREAT work. I will keep the code you made. 'dszip' is renamed to 'zip' in the source tree.

A new version is coming...
 
QUOTE said:
redfalcon said:
I'm not sure wheter it's a bug, but the sound in Kirbys Adventure seems to be a bit... distorted or crackling. But that may be original NES "quality" since it sounds the same as on other emulators.
nesDS does NOT handle the sound channels in REAL-TIME, and the precision of calculations are not fine enough, so the "quality" is NOT quite well.

i remember reading that dwedit did a rewrite of the sound stuff in pocketnes. nesds is an old version of pocketnes ported over to the slot1 side of things. perhaps he would be willing to share some tips. i'm sorry i can't provide more info, i forgot what he updated and i can't find the thread from pocketheaven.

-another world
 
Another World said:
QUOTE said:
redfalcon said:
I'm not sure wheter it's a bug, but the sound in Kirbys Adventure seems to be a bit... distorted or crackling. But that may be original NES "quality" since it sounds the same as on other emulators.
nesDS does NOT handle the sound channels in REAL-TIME, and the precision of calculations are not fine enough, so the "quality" is NOT quite well.

i remember reading that dwedit did a rewrite of the sound stuff in pocketnes. nesds is an old version of pocketnes ported over to the slot1 side of things. perhaps he would be willing to share some tips. i'm sorry i can't provide more info, i forgot what he updated and i can't find the thread from pocketheaven.

-another world
E... GBA has a sound chip that can emulate the sound of NES, BUT the NDS have to generate the PCM data by software and that is what ARM7 core does.
 
Sorry huiminghao I forgot to mention a thing in romloader.c:
CODEÂÂÂÂÂÂÂÂelse {
ÂÂÂÂÂÂÂÂÂÂÂÂchar *roms;
ÂÂÂÂÂÂÂÂÂÂÂÂmemcpy(romfilename,files[rom]+1,256);

ÂÂÂÂÂÂÂÂÂÂÂÂif(strstr(files[rom]+1, ".GZ") || strstr(files[rom]+1, ".gz") ||
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂstrstr(files[rom]+1, ".ZIP") || strstr(files[rom]+1, ".zip")
ÂÂÂÂÂÂÂÂÂÂÂÂ) {ÂÂÂÂ// a gz file is loaded.
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(load_gz(files[rom]+1)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂreturn 1;ÂÂÂÂ//fail to unzip.
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂf=fopen(tmpname,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂelse {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂf=fopen(romfilename,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂromfileext=strrchr(romfilename,'.')+1;
ÂÂÂÂÂÂÂÂÂÂÂÂroms = (char *)rom_start;
ÂÂÂÂÂÂÂÂÂÂÂÂ//f=fopen(romfilename,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂi=fread(roms,1,ROM_MAX_SIZE,f);ÂÂÂÂ//read the whole thing (filesize=some huge number, don't care)
ÂÂÂÂÂÂÂÂÂÂÂÂdo_ips(i);
+ÂÂÂÂÂÂÂÂÂÂÂÂfclose(f);
+ÂÂÂÂÂÂÂÂÂÂÂÂif(strstr(files[rom]+1, ".GZ") || strstr(files[rom]+1, ".gz") ||
+ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂstrstr(files[rom]+1, ".ZIP") || strstr(files[rom]+1, ".zip")
+ÂÂÂÂÂÂÂÂÂÂÂÂ) {ÂÂÂÂ// a gz file is loaded.
+ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂunlink(tmpname);
+ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂif(i < 0x100000)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂi = 0x100000;ÂÂÂÂÂÂÂÂÂÂÂÂ//leave some room for FDS files.
ÂÂÂÂÂÂÂÂÂÂÂÂfreemem_start=((u32)roms+i+3)&~3;
ÂÂÂÂÂÂÂÂÂÂÂÂfreemem_end=(u32)roms+ROM_MAX_SIZE;
-ÂÂÂÂÂÂÂÂÂÂÂÂfclose(f);
ÂÂÂÂÂÂÂÂÂÂÂÂinitcart(roms);
ÂÂÂÂÂÂÂÂÂÂÂÂreturn -1;ÂÂÂÂ//(-1 on success)
ÂÂÂÂÂÂÂÂ}
 
avenir said:
Sorry huiminghao I forgot to mention a thing in romloader.c:
CODEÂÂÂÂÂÂÂÂelse {
ÂÂÂÂÂÂÂÂÂÂÂÂchar *roms;
ÂÂÂÂÂÂÂÂÂÂÂÂmemcpy(romfilename,files[rom]+1,256);

ÂÂÂÂÂÂÂÂÂÂÂÂif(strstr(files[rom]+1, ".GZ") || strstr(files[rom]+1, ".gz") ||
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂstrstr(files[rom]+1, ".ZIP") || strstr(files[rom]+1, ".zip")
ÂÂÂÂÂÂÂÂÂÂÂÂ) {ÂÂÂÂ// a gz file is loaded.
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif(load_gz(files[rom]+1)) {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂreturn 1;ÂÂÂÂ//fail to unzip.
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂf=fopen(tmpname,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂ}
ÂÂÂÂÂÂÂÂÂÂÂÂelse {
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂf=fopen(romfilename,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂromfileext=strrchr(romfilename,'.')+1;
ÂÂÂÂÂÂÂÂÂÂÂÂroms = (char *)rom_start;
ÂÂÂÂÂÂÂÂÂÂÂÂ//f=fopen(romfilename,"r");
ÂÂÂÂÂÂÂÂÂÂÂÂi=fread(roms,1,ROM_MAX_SIZE,f);ÂÂÂÂ//read the whole thing (filesize=some huge number, don't care)
ÂÂÂÂÂÂÂÂÂÂÂÂdo_ips(i);
+ÂÂÂÂÂÂÂÂÂÂÂÂfclose(f);
+ÂÂÂÂÂÂÂÂÂÂÂÂif(strstr(files[rom]+1, ".GZ") || strstr(files[rom]+1, ".gz") ||
+ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂstrstr(files[rom]+1, ".ZIP") || strstr(files[rom]+1, ".zip")
+ÂÂÂÂÂÂÂÂÂÂÂÂ) {ÂÂÂÂ// a gz file is loaded.
+ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂunlink(tmpname);
+ÂÂÂÂÂÂÂÂÂÂÂÂ}

ÂÂÂÂÂÂÂÂÂÂÂÂif(i < 0x100000)
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂi = 0x100000;ÂÂÂÂÂÂÂÂÂÂÂÂ//leave some room for FDS files.
ÂÂÂÂÂÂÂÂÂÂÂÂfreemem_start=((u32)roms+i+3)&~3;
ÂÂÂÂÂÂÂÂÂÂÂÂfreemem_end=(u32)roms+ROM_MAX_SIZE;
-ÂÂÂÂÂÂÂÂÂÂÂÂfclose(f);
ÂÂÂÂÂÂÂÂÂÂÂÂinitcart(roms);
ÂÂÂÂÂÂÂÂÂÂÂÂreturn -1;ÂÂÂÂ//(-1 on success)
ÂÂÂÂÂÂÂÂ}

Hi avenir, I understood most of your code, however... why did you (4th line) add a +1 while reading a filename/file from memory??

Thx
 
Coto said:
Hi avenir, I understood most of your code, however... why did you (4th line) add a +1 while reading a filename/file from memory??

Thx
files[rom] is a 'char *' and the first data indicates the type of the filename.

line 226:

if(*files[rom]==1) { //directory
...
} else { //file

files[rom][1 ... n] is the filename. files[rom][0] is the type.
 
huiminghao said:
gothicall said:
NesDS it's still being a 0.x and with all those changes I guess is enough to be a 1.x, since you change the menu it was a 1.x. Don't you think so?
wink.gif
yaynds.gif
1.x, E..... I LIKE IT... I shell take that in the next release.

I'm not sure why, but reading this made me chuckle.
Can't wait for your next release, huiminghao!
 

Site & Scene News

Popular threads in this forum