• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

batch creating nes save files?

Started by bobslack, September 12, 2005, 05:16:45 PM

Previous topic - Next topic

bobslack

For the time being I am thinking making gba roms with under 30 megs of nes roms within is the easiest way to go. am i wrong in thinking i have to make a .sav for each nes rom if i put them straight on the card? is there an easy/quick way to do this?

socket

Quote from: "milk"here's a windows batch file i have for the same purpose
although it requires you to copy the NesFileName.sav from the SC card install directory to the directory of your NES roms

@echo off
for /f "delims=." %%a in ('dir /b *.nes') do (
copy "NesFileName.sav" "%%a.sav"
)

isomorph

That batchfile Socket posted works good.  I did my whole directory of NES games with it quickly.

Mavromatis

I use directory opus instead of explorer so it was already fast to me :)

dai_uk

Quote from: "socket"
Quote from: "milk"here's a windows batch file i have for the same purpose
although it requires you to copy the NesFileName.sav from the SC card install directory to the directory of your NES roms

@echo off
for /f "delims=." %%a in ('dir /b *.nes') do (
copy "NesFileName.sav" "%%a.sav"
)

Thanks  :D
Damo

equalizr

I might be a little duh on this one.  how do i go about writing this batch file?  what should it be called?  do i upload it to my SD card then run it each time before i start a NES game?

sorry about the dumb question but im having troubles saving NES games :(

socket

save it into a text file and name it something.bat

you run it on your computer, in the directory with your nes roms, not the supercard.

equalizr

I tried that and it just re-opens up at a .txt file :(

socket

on your explorer window
go to

Tools,
Folder Options,
View,
Uncheck "Hide extensions for known types"
Apply

Then you can actually change the extension. I have a feeling your filename is actually something.bat.txt.

good luck!

equalizr

well i did exactly what you asked me to do and it did make a batch file but when i ran it, nothing happened :(  I give up.

socket

did you have NesFileName.sav in the same folder?

oh, you gave up.  nevermind.  if youre too impatient to try things, dont ask and expect help.[/code]