It is currently Sun Oct 21, 2018 9:55 am

All times are UTC - 7 hours





Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: NES2PCE
PostPosted: Fri May 18, 2018 7:05 am 
Offline

Joined: Tue May 15, 2018 7:09 am
Posts: 13
A developer (website here: https://pcedev.wordpress.com/) worked on a method to convert NES Roms to PC-Engine format. I think it was some sort of wrapper/emulation layer but I don't know the technical details. He released a handful of conversions including Megaman 2, SMB1, Duck Tales 2 and Castlevania. These aren't on his website anymore although you can find the ROMs elsewhere online.

As a homebrew developer who owns both a NES and PC-Engine, I would like to convert my NES games to PCE format. So my question is: Does anyone have the NES2PCE code? I'm guessing it must have been shared or been made available at some point..? Thanks in advance.


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Fri May 18, 2018 7:27 am 
Offline
User avatar

Joined: Wed Apr 02, 2008 2:09 pm
Posts: 1251
Archive.org can be a cool resource for exploring removed links and such.

https://web.archive.org/web/20110716023 ... and-links/

I verified that the Megaman 1 and SMB1 download works on that particular date. They include source code.

You can see other files here: https://web.archive.org/web/*/http://ww ... /nes2pce/* (You have to wait a bit for it to load the list)

It doesn't seem like anything has been shared that's too useful to do this automatically, but perhaps this source could help you plan a similar process.

_________________
https://kasumi.itch.io/indivisible


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Fri May 18, 2018 7:45 am 
Offline

Joined: Tue May 15, 2018 7:09 am
Posts: 13
That's great, thanks for your help!


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Fri May 18, 2018 8:20 am 
Offline

Joined: Tue May 15, 2018 7:09 am
Posts: 13
It looks like the actual NES rom for the game (SMB, Megaman) has been dumped to a BIN file. This is then used by the assembler, along with other assembly code, to create the PC engine rom.

I want to try and use the existing code to get one of my games to work. I used the "Nes Mapper Reader / Rom Fixer / Rom Splitter v2.0" utility to remove the 16 byte nes header from a mapper 0 version of my game and then put it in place of SMB.BIN (super mario bros) and ran the assembler. This created a .PCE file but unfortunately it doesn't run in the emulator, so I guess there's not a simple way to do this. I don't know assembly language, so I don't think there's much more I can do. Ah well.


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Fri May 18, 2018 9:17 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4093
Static Recompilation is some amazing stuff. Just look at the Corn N64 emulator, which played Mario 64 on a Pentium II.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Fri May 18, 2018 3:34 pm 
Offline

Joined: Sun Mar 19, 2006 9:44 pm
Posts: 959
Location: Japan
The NES2PCE source code merely uses the original NES file as a binary that it overlays modifications on top of. The programmer (you) still has to search for all graphic, sound, and mapper writes in the original NES ROM and hook in PCE graphics (etc) routine calls, some of which are probably provided in the source code.

_________________
http://www.chrismcovell.com


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Mon May 21, 2018 5:43 am 
Offline
User avatar

Joined: Sun Jan 22, 2012 11:46 am
Posts: 103
Location: Stockholm, Sweden
Dwedit wrote:
Static Recompilation is some amazing stuff. Just look at the Corn N64 emulator, which played Mario 64 on a Pentium II.


No need for static recompilation. I played Mario 64 on UltraHLE on my P166 MMX and voodoo1 back in the 90s. Not full framerate, but I played through it.


Top
 Profile  
 
 Post subject: Re: NES2PCE
PostPosted: Mon May 21, 2018 6:30 am 
Offline
User avatar

Joined: Fri Nov 19, 2004 7:35 pm
Posts: 4093
That's the difference, corn WAS full framerate.

_________________
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!


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

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 4 guests


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