DCEmulation

The Dreamcast Homebrew Community Online
Back to main site
It is currently Thu Jul 24, 2014 10:43 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun May 18, 2014 3:21 pm 
Offline
DCEmu Newbie
DCEmu Newbie

Joined: Wed May 14, 2014 8:55 pm
Posts: 5
I am exploring the NEsterDC SE library and am looking into adding some missing images and games but to do so I must access master_nes.db (or my_nes.db that the CD Builder creates locally or ram/mynes.db on a built CD image). I have found a source of screenshots and cartridge scans and box scans but I can't open the .db files.

I am trying to use LibreOffice Base at the moment but it does not support the .db format or at least not this form of it. I can open master_nes.txt which is very informative but the software presumably reads from the .db files not the text files (although if it turns out that I am wrong on this point then that would be most convenient) so even if I edit that file I still need to save it to exactly the correct format. Any suggestions on what may be able to open and save in this format?

Oh, and if anyone is curious here are my sources of images. Note that the screenshots on the second website are not sized the same as those in Nester's library. They are a bit shorter I think. I have not yet compared the scans from the first site.
http://bootgod.dyndns.org:7777/home.php
http://www.vgmuseum.com/


Top
 Profile  
 
PostPosted: Sat May 24, 2014 11:15 pm 
Offline
DCEmu Newbie
DCEmu Newbie

Joined: Wed May 14, 2014 8:55 pm
Posts: 5
Ok, I found the source code at an archive for http://www.sch3rz0.com and finally got it to compile a database builder that came with it. It has ghttp as a dependency and I found that library but I could not find one of ghttp's own dependencies so I just cut out all the code that uses ghttp and compiled the program without it. I think it was used to access files over a network? Not really a vital feature.
http://archiv.sega-dc.de/www.sch3rz0.com/nesterdcse/index.html

I was actually working on my own software to convert between CSV/txt files and .db files when I got this working. The main advantage would be the ability to convert back from .db to CSV again. I'm nearly done but I'm getting some kind of undefined reference errors... possibly because I'm trying to use his C code with my own C++. I've got what I need now, a database builder, but I'm so close to done I may see about changing my portion of code to pure C and see if that fixes it. I'll happily upload what I've written if anyone wants to take a look but otherwise I'm not going to upload broken code.

I've attached a .zip with the modified dbbuilder and source. I have only compiled it for linux for now but I'll make a windows binary next time I'm using that OS or if I can figure out cross compiling. I may have to look over it's source code in a bit more detail later to figure out the commands to actually use this. I'll post them on here when I do.
And of course credit goes to the original developer. All I did to this code was remove a few lines.


Attachments:
db_builder_Minus_ghttp.zip [197.18 KiB]
Downloaded 4 times
Top
 Profile  
 
PostPosted: Tue Jun 17, 2014 4:32 am 
Offline
Moderator
Moderator
User avatar

Joined: Wed Aug 27, 2003 10:16 pm
Posts: 5755
Location: DCEvolution.net
Excellent work! This needs an update real bad.

_________________
Insane homebrew collector.


Top
 Profile  
 
PostPosted: Wed Jun 25, 2014 9:47 am 
Offline
DCEmu Newbie
DCEmu Newbie

Joined: Wed May 14, 2014 8:55 pm
Posts: 5
Oh hey, and thank you! Haven't been checking my email lately so I didn't notice you until just now. (I never get interesting mail.)

I have a deadline on something at the moment so I haven't had a chance to finish up my work on this but it is definitely on my todo list. :) I did successfully make a new .db file though so even if I don't get it all packaged up nicely I'll at least upload the pieces you need to do it.

If I don't post again in a few weeks PM me. I may have forgotten.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Group