DCEmulation

dreamcast development • homebrew software • hardware hacking • indie games • emulators • and more!
Back to main site
It is currently Fri Nov 21, 2014 1:21 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 16 posts ] 
Author Message
PostPosted: Tue Aug 12, 2008 2:02 pm 
Offline
DC Developer
DC Developer

Joined: Fri Feb 21, 2003 6:37 am
Posts: 2285
Location: Chicago, IL
Hey all. It's been a long time. I just wanted to let you guys know that I managed to add ability to browse for files on the CD. Ok, I'm lying... I didn't add it... because it had been there all along and I totally forgot!

Here's the deal. During development I did make a simple browser, but after I came up with the fancy jukebox-style browser I just completed forgot about the former. The fuctionality is still there. In fact, the executable doesn't even need to be recomplied to get it.

Remember that the whole NesterDC SE graphical interface was written using my prototype "Dreamscript" engine. All you have to do to you get the old style browser is change one line in one script. That's it!

Here's how...

1. After extracting the zip, navigate to the pre_cd folder.
2. You'll see a lot of .js files. The one we care about is main2.js. Open it in a text editor.
3. On line number 15, you'll see:

Code:
g_settings.romBrowseMode = 'SE';


Remove the SE so it becomes:

Code:
g_settings.romBrowseMode = '';


4. Create a folder in pre_cd called something like "myroms".
5. Copy your roms there.
6. Build a CD using the builder program. DONT point it to the same directory where you just put your roms. What you want to do is point it to a folder that contains only a few roms. I would be inclined to suggest pointing it to a folder that has no roms, but I don't know how the thing will work with an empty db. With my luck (and coding) it'll probably just choke.

Burn the CD and pop it in. When you go to the "library" you should instead be taken to a plain text-based browser. Locate your game and play!

I know a lot of you had been asking the right from the beginning and I put it off because I thought it would be a lot of work. On the contrary it's so easy a task that anyone can do it.

_________________
Image


Top
 Profile  
 
PostPosted: Tue Aug 12, 2008 2:32 pm 
Offline
DC Developer
DC Developer

Joined: Wed Jan 30, 2002 8:14 am
Posts: 2009
Location: UNITED STATES NRN
:o haha after all this time. Geeze!


Top
 Profile  
 
PostPosted: Tue Aug 12, 2008 4:57 pm 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Thank you so much! :worship:

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Tue Aug 12, 2008 5:15 pm 
Offline
DCEmu Commie
DCEmu Commie
User avatar

Joined: Sun Jun 15, 2003 9:47 pm
Posts: 3205
Location: Montevideo
Good thing you remembered :lol: Thanks!


Top
 Profile  
 
PostPosted: Tue Aug 12, 2008 6:13 pm 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Strapping Scherzo wrote:
4. Create a folder in pre_cd called something like "myroms".


Just to clarify: This is optional. The file browser allows you to freely browse the content of the disc, so you can put your ROMs wherever you want (it has to be somewhere in pre_cd tho).

Strapping Scherzo wrote:
6. Build a CD using the builder program.


...or BootDreams to enable support for Rock Ridge and long file names. :)

Strapping Scherzo wrote:
I would be inclined to suggest pointing it to a folder that has no roms, but I don't know how the thing will work with an empty db. With my luck (and coding) it'll probably just choke.


Nope, I pointed it to an empty folder and it worked :)







Edit #1 - Here are the controls for the browser:


A - selects game, opens directory
X - goes up a directory
B - goes back to the main menu
L/R - scrolls faster through the listed items



Edit #2 - Answered my own question: Do you think there is a way to tell the browser to start in a certain folder, e.g. \pre_cd\Games\ or \pre_cd\NES\ ?

In "main2.js", you have to edit the following line:

Quote:
g_settings.normalBrowseDir = '/cd/myroms';

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Wed Aug 13, 2008 2:01 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri Oct 12, 2007 11:52 am
Posts: 614
Location: Munich, Germany
Wow, that's really nice! Thank you!

_________________
..::SEGA-DC.DE - The home of the German Dreamcast scene::..
Image


Top
 Profile  
 
PostPosted: Wed Aug 13, 2008 6:09 am 
Offline
DC Developer
DC Developer

Joined: Fri Feb 21, 2003 6:37 am
Posts: 2285
Location: Chicago, IL
Thanks for testing this out for me, Christuserloeser. Some adventurous person could probably figure out how to add a toggle in the options menu to change the browsing mode. Actually, this weekend I'll try to make an official edit and a re-release. Time to dust off the old Dreamcast.

_________________
Image


Top
 Profile  
 
PostPosted: Wed Aug 13, 2008 6:11 am 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Oh, yes, that'd be sweet! - Check your PMs. I had some things that should make browsing the GUI easier.

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Wed Aug 13, 2008 6:40 am 
Offline
DC Developer
DC Developer

Joined: Fri Feb 21, 2003 6:37 am
Posts: 2285
Location: Chicago, IL
OMG, I have another discovery of code that already exists but is unused. God, how could I do this? It must have been the rushed release.

Anyway, add this line after line 15 in optionsScreen.js:

Code:
      {name : "Misc", func : miscOptions},


This will unlock the ability to toggle between SE browsing mode and FILE browsing mode. This change actually makes my original post almost unnecessary. You still have to put your roms somewhere in pre_cd, but that's it. One line of code.

Sorry for overlooking this for more that two years. :oops:

_________________
Image


Top
 Profile  
 
PostPosted: Wed Aug 13, 2008 7:00 am 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Hey, better late than never. It's not like you owe us something.

This is just great actually. It couldn't come at a better time. I really enjoy playing around with SE atm. :D

Strapping Scherzo wrote:
This change actually makes my original post almost unnecessary.


I wouldn't say that. At least I finally sat down and tried to wade through the scripts. It's still mostly gibberish to me but I am actually starting to make out some things here and there.

- You did a fantastic job on DreamScript and the GUI for SE!

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Fri Aug 15, 2008 5:57 pm 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Strapping Scherzo wrote:
Anyway, add this line after line 15 in optionsScreen.js:

Code:
      {name : "Misc", func : miscOptions},


This will unlock the ability to toggle between SE browsing mode and FILE browsing mode.


I couldn't get this to work, but it could be because I booted SE with the old file browser activated.

It wouldn't be of much use anyway, since the files are either numbered (without any indication of what the games are about) for the SE browser, or simply named "My Game (JUE) [!]" (without being indexed) for the file browser. - There got to be a way to use both browsers with one set of files.

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Sat Aug 16, 2008 11:29 am 
Offline
DC Developer
DC Developer

Joined: Wed Jan 30, 2002 8:14 am
Posts: 2009
Location: UNITED STATES NRN
Strapping Scherzo wrote:
Actually, this weekend I'll try to make an official edit and a re-release. Time to dust off the old Dreamcast.



Woot!


Top
 Profile  
 
PostPosted: Thu Nov 20, 2008 7:44 am 
Offline
Insane DCEmu
Insane DCEmu

Joined: Sun Oct 05, 2008 10:51 am
Posts: 106
I know this is a tad late, but does this mean that there is a way to circumvent using the online database using the builder application?

Specifically:
Quote:
...or BootDreams to enable support for Rock Ridge and long file names. :)


Does this mean I can somehow use Bootdreams to burn this emu? Or besides the plain rom browser support, has it been figured out how to build the database locally on say...your own PC?

_________________
ImageImage


Top
 Profile  
 
PostPosted: Thu Nov 27, 2008 2:06 pm 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
U-said-it wrote:
I know this is a tad late, but does this mean that there is a way to circumvent using the online database using the builder application?

Does this mean I can somehow use Bootdreams to burn this emu?


Yes and Yes.


U-said-it wrote:
Or besides the plain rom browser support, has it been figured out how to build the database locally on say...your own PC?


That's one of the ideas I proposed in one of my recent PMs to Scherzo. Sadly, I haven't heard him in a while but maybe he reads this and got time to reply ?

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Tue Dec 09, 2008 12:08 am 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5843
Location: DCEvolution.net
Got a pm from Scherzo:

Strapping Scherzo wrote:
No, I don't plan on doing any work or making any releases for NesterDC SE in the near future. The desire just isn't there. Maybe one day I'll again feel inspired to continue where I left off, but not right now. If you want to make your own changes or releases, that's fine with me.


:(



- I decided to release a version with the modified GUI I sent him: viewtopic.php?f=72&t=98192

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Sun Oct 14, 2012 3:24 am 
Offline
DCEmu Newbie
DCEmu Newbie

Joined: Sun Oct 14, 2012 12:41 am
Posts: 2
Strapping Scherzo, man I wish you had gotten around to remaking a version of Nester for PC with that awesome NotSoFatso sound output support.... :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group