Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 8:55 am
All times are UTC + 0
Tutorial: How to Insert a C&C95 map into a C&CN64 ROM
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Kamuix
Rocket Infantry


Joined: 02 Nov 2012
Location: Canada

PostPosted: Mon Apr 03, 2017 4:44 am    Post subject:  Tutorial: How to Insert a C&C95 map into a C&CN64 ROM
Subject description: It is now possible to make maps for C&C99 3D
Reply with quote  Mark this post and the followings unread

Thanks to the lead programmer at http://www.goldeneyevault.com and to Nyerguds(the Creator of the revised 1.06c version of C&C95 found here:http://nyerguds.arsaneus-design.com/cnc95upd/cc95p106/) it is now possible to add your Command & Conquer 1995 map to the four years newer Command & Conquer 1999 that was redone in 3D for the Nintendo 64.

To start off I'll note that i was surprised to learn that the file formats for the INI are the exact same! And thanks to a tool that Nyerguds has made up for us we can easily convert the .bin maps to .map (which is what C&C64 uses instead of the bin). There's also an additional file for maps that a .IMG extension and is responsible for the 3D terrain effect seen on the C&C64 that you'll see in the images below. I'll also note that it's not essential to have the .IMG file to play your map you just won't have the 3D terrain effect. In fact, it's not even essential that you have the .map (bin) file either, so you can play maps that are clear of terrain other than trees/tiberium/buildings/units/triggers etc. I'm not an experienced tutorial writer, so bear with me!

Also, before I start i want to say that almost all the Covert Operations missions are in the Command & Conquer '64 game/ROM, but are not playable unless you hex edit the ROM (which is easy to do, and I might actually show you how to do that here as well). For more information on the hidden secrets of the N64 game, read here:
https://tcrf.net/Command_and_Conquer_(Nintendo_64) (written mostly by Nyerguds)

To start off, you'll need these tools to do this awesome process:

First the main tool called Universal N64 Compressor:
http://www.goldeneyevault.com/viewfile.php?id=213

A Command & Conquer 64 ROM: (I'm using the US version)
http://romhustler.net/rom/n64/command-conquer-1

Project 64 version 1.7 or above: (Right now I prefer 1.7)
http://www.pj64-emu.com/downloads/project64/binaries/

Nyerguds's PC<->N64 map converter:
http://nyerguds.arsaneus-design.com/project_stuff/2013/CnC64MapConverter/release/ (Take the latest version; the one at the bottom)

RTool 64: (this is v2.07. Some newer v3 betas are available in the same folder)
http://n64.icequake.net/mirror/www.dextrose.com/files/n64/transfer_tools/bb-rt207.zip

HxD Hex Editor:
http://download.cnet.com/HxD-Hex-Editor/3000-2352_4-10891068.html

The reason why I listed Project 64 was because It's the only emulator that comes with the working Glide64 video plugin which is the only plugin that runs C&C64
properly. You could download the 1964-ultrafast emulator that overclocks the emulator which makes C&C64 not lag at all except the only problem is is that the video plugin it uses doesn't quite run it as well everything is dimmed for some reason but you can try it out if you want. Also i couldn't get the Glide64 with that emulator or any other emulator. download 1964-ultrafast here: www.emulation64.com/files/info/944/1964-ultrafast.html/

Before we open the Universal De compressor we'll want to open Nyerguds's CnC64MapConverter so that we can convert your maps bin file to a .map file. When you open it, it should look like this:



Now click 'load scan result' and select one of the included .nms files. You'll see there is one for desert and one for temperate. so click the correct one for the map you have. After hitting OK, you'll see some stuff on the list which you usually don't have to get involved with.

The "default high byte" and "default low byte" are used to fill in cells that can't be converted. If you leave them empty, they'll automatically use the right bytes for 'clear terrain', so just leave them empty. (They're filled in on the image because that's an older version of the converter)

Now you're ready to hit 'Convert bin to map' and select your bin file. It will then ask where you want to save your map... probably in the same place, so there you go, that's done! Now moving on to the decompressor program.

One more thing we'l need to do before getting to the universal decompressor is to open and use RTool so extract that somewhere then open it and all you have to do is what's shown here in this picture:


So yeah select your C&C64 rom and click change image format and you're done with that! That's required to make your rom editable.

Now you'll want to extract Universal N64 Compressor somewhere, and have your C&C64 US ROM ready, preferably in an empty folder, so, yes, create a folder and put your C&C64 ROM in that folder first. You'll see why in a moment. Now open GEDecompressor.exe and you'll see where you can select a range of games, so select Command & Conquer of course:



After that, just next to that, click 'Load/decompress game', go to the folder you created and select your C&C ROM. Now you'll see a loading bar as a bunch of files pour down the menu screen. Wait for it to finish. When it's done, do this:



Scroll down until you reach the mission .ini files, and from there it's almost as simple as selecting the map file you want to replace with whichever map you want to insert there, except that there are size limits for each map, especially when dealing with the ini's. Luckily when you hit "Inject file into ROM", if the file you are trying to insert is bigger than the file you're replacing it with, it will warn you if you are replacing a file that is smaller than the one you're inserting.



So if that comes up you're usually best to hit 'no' and find another file to replace that has enough room for the map you're inserting, otherwise part of your map will get cut off and you'll find that out ingame.

Assuming you have a .ini and a .map to insert, once you have found slots to insert them in where there's no size problems, take note of which map filenames they were that you replaced. It's also important to note that the name of your map before you insert it doesn't matter, so your map that you are wanting to insert can be called anything like gdrhgsdfg.ini for example. The only filename you need to remember is the one you replaced. So let's say hypothetically you chose to replace scg15ea.ini with your ini and scb07ea.map with your map(bin) file (for future reference).

Now click 'save ROM' and save it somewhere, preferable outside the folder which is now littered with extracted files.

Now that your map is inserted we need to make it playable, so open the hex editor I linked you to (or any hex editor you may already have; should be similar enough) and open your N64 ROM that has the maps inserted. One thing you'll want to do is this: at the top, go to 'Search' and go down to 'Goto' and type in the address "20D4EA". It should bring you to a large list of map filenames seen here:
(You can expand your view to 48 which is what i use to make it easier to see)



So let's say your mission is a Nod mission, so let's use the slot that's for NodSpecOps1, so change 'SCB21EA' to 'SCB45EA' for example, since we know that filename is not used. If it's a GDI mission you have to change 'SCG30EA' to 'SCG45EA'. Note that the number 45 in your filename dictates the build level. so yes the build level option in your ini file is ignored in the N64C&C for some reason. so all filename numbers that are 15 and above are buildlevel max which is 15 (Construction yard vehicle buildable)

It's also important to note that the G and the B in the map filenames dictates whether or not you have a Nod or GDI sidebar menu, with yellow or red units. The minimap also changes: it gives desert terrain for Nod and temperate terrain for GDI. So if you insert a Nod map and call it 'SCG20EA' You'll be playing as nod but with a GDI sidebar, with yellow icons for the buildings/units #Tongue

Anyway, moving on, we need to get to the next list of filenames so we can line up the maps we inserted with the SCG/B45EA names we chose, so now under search click 'Goto' again and go to this address: "461449" you'll see a different list of filenames now, and my maps I've inserted are 'scg15ea.ini' and 'scb07ea.map', so we need to find those and rename them to the map filename we chose above, which was 'SCG45EA' (or 'SCB45EA'). So in this case, it should look like this for mine:



See how the slots where my maps were inserted are now changed to match our Special Ops slot and map name. Now all you have to do from your hex editor is save your ROM and load it up in Project64, go to the SpecOps slot you used and play it (or if you chose a mission map slot between 1-15 just go to that map and play).

Oh, one last thing in Project 64! Go to settings and change your video plugin to this Glide64 like this:



It runs the game almost perfectly, and all other video plugins seem to have problems.

There were more details i wanted to get into, especially with what you can do with the hex editor, so i may edit this tutorial in the future.

I hope I didn't miss anything and I hope i detailed everything well enough for people to follow. If you have any questions, feel free to PM me anytime if you happen to be confused about something. Cheers!

Here are some Pictures of Custom levels





Here's an example of a tiny map and what it looks like in the map editor vs in the game


Last edited by Kamuix on Mon Apr 03, 2017 7:26 am; edited 1 time in total

Back to top
View user's profile Send private message
Allen
Pyro Sniper


Joined: 13 Feb 2007
Location: C:\Westwood\ TechLevel=12

PostPosted: Mon Apr 03, 2017 6:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Not my thing but cool to see and nice to see some clear pics of CnC64.

_________________


C&C in RA-1 Get it here
http://www.ppmsite.com/forum/viewtopic.php?t=30101 100+ Single Player Missions! Now playable on CnCNet 5!

Back to top
View user's profile Send private message
TAK02
General


Joined: 28 Jun 2015
Location: It was Damascus.

PostPosted: Mon Apr 03, 2017 4:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

C&C95 TD had a Nintendo version? Wow, what else did I miss? RA2 for the PlayStation 3000? (I know RA1 had a PS version)

_________________
One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done. #Tongue

Back to top
View user's profile Send private message Send e-mail Visit poster's website ModDB Profile ID YouTube User URL Twitter Channel URL Skype Account
DeathRay2K
Commander


Joined: 01 Sep 2002
Location: Canada

PostPosted: Thu Mar 22, 2018 12:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

Very cool. I used to love C&C64 before my cartridge crapped out, maybe I’ll have to get an emulator and try this out!

_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1552s ][ Queries: 11 (0.0083s) ][ Debug on ]