Homebrew Updates about nesDS...

  • Thread starter Thread starter huiminghao
  • Start date Start date
  • Views Views 283,497
  • Replies Replies 1,409
  • Likes Likes 15
r0b0tr0n said:
thanks huiminghao! i love your work
smile.gif


but the touch screen isn't working at all in 043 and 044a. i have a old black nds lite.

use the shortcuts
smile.gif


SELECT+START load new rom

SELECT+DPAD scaling

START+Up/Down Load/Save State

it works great!
 
personuser said:
Yeah...one thing I want to say about that.

Can you have the cfg named something other than nesDS? I'm asking this because if it has to be in the same directory as the emulator itself, then it might overwrite the .ini for the emulator on DSTWO in the _dstwoplug folder which is also called nesds. This happens with ds2key because of its cfg name.

so just name it nesDS_cfg or something if possible. Thanks.
Or simply nesDS.cfg?

QUOTE(machomuu @ Mar 18 2011, 11:15 AM) Also, I don't want to come off as needy or selfish, but I have a request. Super Mario Bros. The Lost Levels (aka the original Super Mario Bros. 2) goes to a black screen upon pressing one player or two player. I have tried many a dump and nothing has worked.

Mine works perfectly.
 
Startropics isn't working correctly, the bottom part with the weapons/items/hearts doesn't display correctly for me. Has anyone gotten Startropics 1 to work correctly?
 
Just thought I would mention it but I sort of added multi-savestates. In reality it's just saving the different save states as different files game.s1-game.s8 and you can just choose which one to load, but because I just was playing around with the idea, I kind of just made it work with the tab swapping that I usually add. Pretty much all that I did was make it so that each tab is a save state slot and the menu only loops once so I don't lose track of which loop I'm on...Anyways, once huiminghao updates the svn I'll probably update and poke that out so people can try it out.
 
twiztidsinz said:
personuser said:
Pingouin7 said:
Or simply nesDS.cfg?

uh...yeah, right
tongue.gif
as long as it isn't an .ini
It's not so much the extension as how it's read.
.INI, .CFG, .DAT could all contain the same info, it's just a matter of is it encrypted/compressed in some way.
You could store the information as plain text, and save it as nesds.derp for the program cares. Like twiztid is saying here, the filename is irrelevant. As a programmer myself, storing the settings as plain text would probably make the most sense IMO, as that means less processing to read in and parse the data (and less processing to write it too).
 
So yeah, I poked at the latest source and played around a bit and because there is a ton of random specific shortcuts, it's easier if I list them instead of have people search for them (plus it's easier for me to find in case I forget them xD).
Shortcuts
-Savestate = Start + Down
-Loadstate = Start + Up
-Load ROM = Start + Select
Touchscreen Light Dependant (Touchscreen active)
-Toggle tab left = Start + Left
-Toggle tab right = Start + Right
-Scaling = Select + Left/Right
-Y-Position = Select + Up/Down
-Automatically turns off bottom screen = Have touchscreen on and don't use the shortcuts: Savestate/Loadstate/Toggle between tabs.
Touchscreen Light Independent (Touchscreen inactive)
-B/A Key Swap = Start + Left
-Save SRAM = Start + Right
-Toggle Per Frame/Scanline = Select + Up

The Multi-savestate feature:
So each tab represents a savestate slot ranging from slot 1 to slot 8. The tab toggling shortcut is needed in order to get to slots 5-8 since I just made the tabs loop once (in other words, tab one tab two tab three tab four tab one tab two tab three tab four), but you can choose to save/load from a certain slot and it is actually kind of amusing for all of a minute.

Anyways, here is the mod version:
http://www.mediafire.com/?wqhpiaio38dm899

-edit-
btw, it supports extlink.dat/plgarg.dat/loadfile.dat...
...and it will make your nes rom folder a complete mess if you use savestates for all of your games (if you have 10 games, that is 80 savestates you could possibly have, making a total of 90 files in a folder for the original 10...)
 
jurassicplayer said:
...and it will make your nes rom folder a complete mess if you use savestates for all of your games (if you have 10 games, that is 80 savestates you could possibly have, making a total of 90 files in a folder for the original 10...)So have it save/read states from/to a \saves folder?
smile.gif


I could be wrong, but I think it would be as simple as this...
Find each of the following lines in the misc.c file:
Code:
void load_sram() {

void save_sram() {

void write_savestate() {

void read_savestate() {
Move down a few lines to:
Code:
ÂÂÂÂif(!active_interface) return;

Add this after it:
Code:
ÂÂÂÂFAT_chdir("saves");
And this at the bottom of the codeblock:CODEÂÂÂÂFAT_chdir("..");
All that's left is to add an "If 'saves' doesn't exist, make folder" to the write sections.
(I'm pretty sure there's an easier way to do it, like adding ".\saves\" to the filename that is being written/read, but I'm not a programmer.)


I tried it out in Zelda, and it seems fine. I'll try a few more games and update.
 
A year ago i never liked nesDS [after it corrupted my sd many times]
but after testing it now, its a must-try along with msxDS and LameBoy

Many thanks for this fine piece of homebrew!

A couple of suggestions:

1.- Shortcuts reorganization
Ive been testing with Batman the videogame, you select weapons with the START button and becomes kinda annoying
cuz the shortcuts gets in the way every time i want to choose weapons
About the turbo i think it should be toggled on B and Y [or A and B] with a control on the touchscreen and use A and X [or Y and X] as shortcuts
You can also make use of L and R buttons
lets say:

L+left = rewind [this one still impress me]
L+right = fastfoward
L+up =save state
L+down = load state
R+X=load rom
and so on

You already stated custom shorcuts, but at least in the mean time, if you have time

2.- An aislate control for screen resolution config. Lets say theres is a button on the display tab that says "screen res"
then that button take you to the screen config that normally its on the front of the display tab, there you can change resolution freely
and when finish press like L+R to confirm

Also i agree with FDS support

Once again thanks, and take your time.
yaynds.gif
 
Schlupi said:
@ AlanJohn

You totally could have done that anyways if you had a good dump.
tongue.gif


Besides, world 0-1 is fun.
The dump was made by myself, I found an old cart of it in my basement, and them I dumped it (Not me, I gave it to a guy who dumps them)

And I agree 0-1 is fun but not when you play it 100 times trying to to 1-1
 
Pingouin7 said:
jurassicplayer said:
-Toggle tab right = Start + Right
-Save SRAM = Start + Right

Fail.

QUOTE(jurassicplayer @ Mar 19 2011, 01:55 AM)
Touchscreen Light Dependant (Touchscreen active)
-Toggle tab right = Start + Right
Touchscreen Light Independent (Touchscreen inactive)
-Save SRAM = Start + Right
Yes, you do fail at reading. Sorry to hand it to you in such a harsh fashion.

In other news, I got nesDS to save the sram and savestates in a separate folder...but it has some issues still...
 
jurassicplayer said:
In other news, I got nesDS to save the sram and savestates in a separate folder...but it has some issues still...
Nice... it's a start
smile.gif


Which file has the shortcuts btw?
I kind of want to disable/change some of them (like Start+Select for the ROM menu) since they sometimes come up inadvertently.
 
jurassicplayer said:
huiminghao added them to the misc.c (I broke my build in various places and moved around crap just to see what would happen, but that is where it originally was xD).
Thanks kindly
smile.gif
 

Site & Scene News

Popular threads in this forum