Removing Scene numbers from Saves?

Discussion in 'NDS - Flashcarts and Accessories' started by Zarkz, Dec 11, 2008.

Dec 11, 2008
  1. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    I used NDS Tokyo Trim to remove scene numbers from my roms, but the sav files are still numbered, so it wont let me continue my progress. is there anyway to re-add scene numbers to roms/ remover scene numbers from sav's?
     
  2. ENDscape

    Member ENDscape REBORN! I will post with my Dying Will!!!

    Joined:
    Dec 14, 2007
    Messages:
    1,488
    Location:
    ``orz
    Country:
    Philippines
    Cant you rename the sav?
     
  3. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    Yea, but it would be a huge pain to rename ALL the sav files I have
     
  4. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,712
    Country:
    United Kingdom
    The way I usually do such things is make a batch file. You will need a command prompt, a text editor (notepad will do) or a hex editor if you prefer.

    Assuming windows xp, I can adapt for earlier later or unix if you need.

    Open the folder get a command prompt there.

    type
    dir /b *.sav >>a.txt

    If you want post up the text file here (spoiler box or something) and I can make something to do the rest for you.

    After hitting return a file called a.txt will appear in the same directory with all the names of the save files in there.
    Open the spreadsheet app up.
    In Excel 2003 there is an option to "import external data" in the data pulldown menu. Two things now need to be done, I find it easiest now to import a normal version first.
    Repeat the process and use the fixed width box instead to slice off the names as you need them.
    In open office (I only have 2.2 on this machine) it is available when you try to paste it in from another source (open in notepad and paste across), same theory as above other than that.

    You should now have two lists.
    use the fill option to add rename in the first column
    do the same but with something like # (a character not likely to be in a name) for the second
    If the names have spaces add a " next
    original names
    another " column if necessary
    # again
    " again
    new names
    " again

    Highlight the lot and paste it into notepad. Each section will be bounded by a tab so highlight it and copy it.
    Search and replace it for nothing
    Do the same for # but use a space instead

    You should start out with something like
    Code:
    RenameÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂAtest.txtÂÂÂÂ"ÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂt.txtÂÂÂÂ"
    RenameÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂxoffset.txtÂÂÂÂ"ÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂFset.txtÂÂÂÂ"
    RenameÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂFyset.txtÂÂÂÂ"ÂÂÂÂ#ÂÂÂÂ"ÂÂÂÂyset.txtÂÂÂÂ"
    and become

    Code:
    Rename "Atest.txt" "t.txt"
    Rename "xoffset.txt" "Fset.txt"
    Rename "Fyset.txt" "yset.txt"
    Save the whole thing as a batch file (extension = .bat) and copy it to the save directory.
    Double click it and a second or so later all your files will be renamed.
     
  5. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    >.<

    Woa Woa WOa, you'll do it for me if I give u txt? thx u I will post it soon

    What Should I type in command prompt, like should I subsitute b, *, or a?
     
  6. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,712
    Country:
    United Kingdom
    Not sure that needed quoting but OK.

    Get the command prompt on the memory card: if you run it from the start menu type "[drive letter]:" (for example my microSD is set to the "m" drive so I type m:
    change to the save directory ("cd save" if the directory is "save")

    "dir /b *.sav >>a.txt"

    dir displays files
    /b removes the extra stuff and just gives you a list of names
    *.sav tells it only to look at .sav files and is not strictly necessary as there is bound to
    >>a.txt tells it to output the result to a file called a.txt

    Do not remove any of it though for this go around though.
    Open up the file and copy it to this thread (or PM me if you want, I should be up for the next hour or so) or continue as I posted.
    The substitute part is there as trying to replace things can get tricky if there is a valid use somewhere else so you need to add a unique symbol (or a string if you prefer) but that does not come into it until you are messing with a spreadsheet.
     
  7. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    Code:
    0003 - Yoshi Touch & Go (U).SAV
    0005 - WarioWare Touched! (U).SAV
    0028 - Kirby - Canvas Curse (U).SAV
    ._Pokemon.SAV
    xpa-ppfk.sav
    0036 - Daigasso! Band Brother (J).SAV
    0085 - Jump Super Stars (J).SAV
    0088 - Advance Wars - Dual Strike (U).SAV
    0106 - Pac'n Roll (U).SAV
    Fire Emblem E.sav
    trm-smup.sav
    0123 - Trauma Center - Under the Knife (U).SAV
    0142 - Metroid Prime Pinball (U).SAV
    New Super Mario Bros (U).sav
    0168 - Mario Kart DS (U).SAV
    0174 - Tony Hawk's American Sk8land (U).SAV
    0177 - Sonic Rush (U).SAV
    0212 - ATV - Quad Frenzy (U).SAV
    0216 - Mario and Luigi - Partners in Time (U).SAV
    0223 - Animal Crossing - Wild World (U).SAV
    0233 - Battles of Prince of Persia (U).SAV
    0238 - Monopoly Boggle Yatzee Battleship (U).SAV
    0262 - Electroplankton (U).SAV
    0294 - True Swing Golf (U).SAV
    0314 - Resident Evil Deadly Silence (U).SAV
    0340 - Super Princess Peach (U).SAV
    0344 - FIFA Street 2 (U).SAV
    Bleach Dark Souls (U)(Xenophobia).SAV
    0367 - Metroid Prime Hunters (U).SAV
    0396 - Brain Age - Train Your Brain in Minutes a Day! (U).SAV
    0426 - Guilty Gear Dust Strikers (U).SAV
    0434 - New Super Mario Bros. (U).SAV
    0540 - Star Fox Command (U).SAV
    0556 - Megaman ZX (U).SAV
    0559 - Mario Hoops 3 on 3 (U).SAV
    0563 - MechAssault - Phantom War (U).SAV
    0569 - Dragon Quest Heroes - Rocket Slime (U).SAV
    0587 - Bubble Bobble Revolution (U).SAV
    0588 - Fifa 2007 (U).SAV
    0591 - Nintendo DS Browser (E).SAV
    Star Fox Command (U).sav
    0595 - Clubhouse Games (U).SAV
    0655 - Elite Beat Agents (U).SAV
    0663 - Digimon World (U).SAV
    0669 - Bomberman Land Touch (U).SAV
    1444 - Sonic Rush Adventure (U).SAV
    0696 - Jump Ultimate Stars (J).SAV
    0732 - Kirby Squeak Squad (U).SAV
    0782 - Hiite Utaeru DS Guitar M-06 (J).SAV
    0820 - Phoenix Wright Ace Attorney - Justice For All (U).SAV
    0836 - Diddy Kong Racing DS (U).SAV
    0852 - Jet Impulse (J).SAV
    0856 - Bleach 2nd Kokui Hirameku Requiem (J).SAV
    Super Smash Bros Rumble.SAV
    0934 - Custom Robo Arena (U).SAV
    Line Rider 2 Unbound (U)(iND).SAV
    0935-C~1.SAV
    1081 - Moero! Nekketsu Rhythm Damashii Osu! Tatakae! Ouendan 2 (J).SAV
    1118 - Tank Beat (U).SAV
    1132 - Dragonball Z - Harukanaru Densetsu (U).SAV
    1161 - Transformers - Autobots (U).SAV
    1162 - Transformers - Decepticons (U).SAV
    1174 - Brothers in Arms DS (U).SAV
    1235 - Taiko no Tatsujin DS Touch de Dokodon (J).SAV
    1238 - Dynatasy Warriors DS - Fighters BattleÂÂ(U).SAV
    1293 - MegaMan Star Force - Leo (U).SAV
    1397 - Donkey Kong Jungle Climber.SAV
    1400 - Jam Sessions.SAV
    1420 - Digimon World Dusk (U).SAV
    1421 - Digimon World Dawn (U).SAV
    1421 - Digimon World Dawn.SAV
    1491 - Bleach - The Blade of Fate (U).SAV
    1549 - MegaMan ZX Advent (U).SAV
    1550 - Naruto Path of the Ninja (U).SAV
    1567 - Dementium - The Ward (U).SAV
    0205 - SBK - Snowboard Kids (U).SAV
    1617 - Call of Duty 4 - Modern Warfare (U).SAV
    1618 - Lifesigns - Surgical Unit (U).SAV
    1628 - Dragon Quest Monsters - Joker (U).SAV
    1637 - Ontamarama (U).SAV
    1645 - Ben 10 - Protector of Earth (U).SAV
    1657 - Rayman Raving Rabbids 2 (E).SAV
    1658 - Ultimate Mortal Kombat (U).SAV
    1662 - Contra 4 (U).SAV
    1664 - Cooking Mama 2 - Dinner with Friends (U).SAV
    1694 - Mario Party DS (U).SAV
    1722 - Ryuusei no RockMan 2 - Berserk x Shinobi (J).SAV
    1728 - Master Jin Jins IQ Challange (U).SAV
    1745 - Geometry Wars - Galaxies (U).SAV
    1746 - Boogie (U).SAV
    1758 - Godzilla Unleashed - Double Smash (U).SAV
    1764 - Dr. Seuss - How the Grinch Stole Christmas! (U).SAV
    1768 - Showtime Championship Boxing (U).SAV
    1779 - Yu Gi Oh World Championship 2008 (U).SAV
    1780 - Arkanoid DS (J).SAV
    1781 - K-1 World GP Zettai Ouja Ikusei Keikaku (J).SAV
    1784 - Powershot Pinball Constructor (E).SAV
    1785 - Alvin And The Chipmunks (E).SAV
    1808 - Draglade (U).SAV
    1844 - The Prince of Tennis - Driving Smash! Side Genius (J).SAV
    1923 - Jackass the Game (U).SAV
    1946 - Mario & Sonic at Bejing Olympics (J).SAV
    1964 - Advance Wars - Days of Ruin (U).SAV
    1967 - Pro Evolution Soccer 2008 (E).SAV
    1969 - Mario & Sonic at the Olympic Games (U).SAV
    1992 - Assassin's Creed - Altair's Chronicles (U).SAV
    2002 - Professor Layton and the Curious Village (U).SAV
    2019 - Naruto - Ninja Destiny (E).SAV
    2033 - Fifa Street 3 (E).SAV
    2035 - Paint By DS (E).SAV
    2036 - Apollo Justice - Ace Attorney (U).SAV
    2044 - FIFA Street 3 (U).SAV
    2068 - Bubble Bobble Double Shot (U).SAV
    2107 - Final Fantasy Crystal Chronicles - Rings Of Fate (U).SAV
    2107 - Final Fantasy Crystal Chronicles Rings Of Fate (U)(XXX).SAV
    2167 - Crayon Shinchan - Arashi wo Yobu Cinema Land (J).SAV
    2176-Sega Superstar Tennis.SAV
    Time Hollow (U).SAV
    2195 - Ninja Gaiden Dragon Sword.SAV
    2243 - Pok‚mon Mystery Dungeon - Explorers of Darkness (U).SAV
    2252 - The World Ends with You (U).SAV
    2258 - Naruto - Shinobi Retsuden II (J).SAV
    2276 - Iron Man (U).SAV
    2329 - Super Dodgeball Brawlers (U).SAV
    2360 - LOL (U).SAV
    Tornado (U).SAV
    2369 - Arkanoid DS (U).SAV
    Dragon Ball Origins (U).SAV
    Pokemon Platinum (J-U).SAV
    2370-S~1.SAV
    2380 - Guitar Hero - On Tour (U).SAV
    2381 - Final Fantasy Tactics A2 - Grimoire of the Rift (E).SAV
    2382 - Final Fantasy Tactics A2 Grimoire of the Rift.SAV
    2385 - Daigasso Band Brothers DX (J).SAV
    Bleach - The 3rd Phantom (J).SAV
    Disgaea DS (U).SAV
    Korg DS 10 Synthesizer (U).SAV
    Trauma Center Under The Knife 2 (U).SAV
    1015 - Pokemon Bloody Diamond (U).SAV
    Final Fantasy IV (U).SAV
    N Plus (U).SAV
    Sonic Chronicles The Dark Brotherhood (E).SAV
    Bangai-O Spirits (U).sav
    Naruto Path of Ninja 2 (U).SAV
    Digimon World Championship (U).SAV
    Star Wars - The Force Unleashed (U).SAV
    Spore Creatures (E).SAV
    Viva Pinata Pocket Paradise (E).SAV
    2381 - Guitar Hero On TourÂÂ(U).SAV
    7 Wonders.SAV
    Avatar-Burning Earth.SAV
    Balls of Fury.SAV
    Bleach.SAV
    Brain Age 2.SAV
    Chicken Shoot.SAV
    Code Lyoko.SAV
    Copy of 1617 - Call of Duty 4 - Modern Warfare (U).SAV
    Crash O Teh Titans.SAV
    Daigasso Band Brothers!.SAV
    Dokidoki_Majo_Shinpan__2.SAV
    Draglade.SAV
    Drawn to Life.SAV
    Ducka Mucka.SAV
    FIfa 08.SAV
    Final Fantasy 12-Revenant Wings.SAV
    Final Fantasy Tactics A2.SAV
    Flash Focus.SAV
    FoF.SAV
    IND-DSD7.SAV
    Lego Star Wars Ogtri.SAV
    legoindy-mcrnts.SAV
    Mario Party Ds(J).SAV
    Meccha! Taiko no Tatsujin DS 7-tsu no Shima no Daibouken.SAV
    MKDS.SAV
    ML-MAJO.SAV
    MYSIMS~1.SAV
    Naruto Shinobi Retsuden.SAV
    Naruto Shippuden Council 5.SAV
    O.M.G.SAV
    One Piece.SAV
    Phoenix Wright 3.SAV
    Pictoimageq.SAV
    Pokemon Diamond.SAV
    Rabbids Strike.SAV
    Some Game .SAV
    Sonic Rush Adventure.SAV
    THESIM~1.SAV
    Tingle Game.SAV
    Tony Hawks Proving Ground.SAV
    Triple E.SAV
    Worms OpenÂÂWarfare 2.SAV
    Worms Open Warfare 2.SAV
    XXXX - Ninja Gaiden - Dragon Sword (Demo) (U).SAV
    yu_gi_oh_wc_2008.SAV
    Zelda,Phantom HourGlass-Afan.SAV
    Zelda,Phantom HourGlass.SAV
    0696 - Jump Ultimate Stars (JU) .SAV
    Kirby Super Star Ultra (U).SAV
    -R~1.SAV
    Fire Emblem DS The Dark Dragon and Sword of LightÂÂ(J).SAV
    1015 - Pok‚mon Bloody Diamond (U).SAV
    Skate It (U).SAV
    2230 - The World Ends With You (E)(EXiMiUS).SAV
    0197 - Dragonball Z Supersonic Warriors 2 U).SAV
    0121 - Castlevania Dawn of Sorrow (U).SAV
    Sid Meiers Civilization Revolution (U).SAV
    Shaun White Snowboarding (E).SAV
    1617 - Call Of Duty 4 (U).SAV
    Music Monstars (E).sav
    Metal Slug 7 (U).SAV
    Chrono Trigger (J).SAV
    Guitar Hero On Tour Decades (U).SAV
    Call of Duty World At War (U).SAV
    Spider Man Web of Shadows (U).SAV
    The Legend Of Spyro Dawn Of The Dragon (U).SAV
    Castlevania Order of Ecclesia (U).SAV
    Rock Revolution (U).SAV
    Dragon Quest IV (U).SAV
     
  8. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,712
    Country:
    United Kingdom
    Joy, some of those did not have numbers on.
    "0935-C~1.SAV" is C~1.SAV
    "Copy of 1617 - Call of Duty 4 - Modern Warfare (U).SAV" was left.
    Some were not named "properly" (2176-Sega Superstar Tennis.SAV should be "2176 - Sega Superstar Tennis.SAV" if the scheme was followed properly).
    1015 - Pok‚mon Bloody Diamond (U).SAV has a problem with what I guess to be a problem with the "é". Not included in this list so you will have to do it manually.
    None the less
    Warning: Spoilers inside!

    edit. Made a quick list of files with the same names and tested it out. Missed a couple somehow but being less than 10 and it now being 2:20am I am not inclined to chase it.
     
  9. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    Edit: Nevermind, I read ur 1st post and understood.
    Thanks SOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH FOR THIS!
     
  10. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,712
    Country:
    United Kingdom
    Sorry I forgot that part.
    Copy it to a blank window in notepad (make sure word wrap is off). Save it in the saves folder with the extension ".bat" (press file -> save as and do it by hand).
    Open the saves folder and double click the bat file.
    A dos prompt will flash up and when it closes most* of your files will be sorted

    *I did a quick and dirty test just now and a couple were missed for what appears to be wrong names. It was 8 games including those I already mentioned so I am not overly inclined to go bug hunting right now.

    Edit: no worries. If it has helped you learn about the command line (many people forget about how powerful it is for stuff like this) it is all good.
     
  11. Zarkz
    OP

    Member Zarkz GBAtemp Fan

    Joined:
    Oct 9, 2007
    Messages:
    435
    Location:
    King Taco
    Country:
    United States
    <!--quoteo(post=1623109:date=Dec 10 2008, 09:13 PM:name=FAST6191)--><div class='quotetop'>QUOTE(FAST6191 @ Dec 10 2008, 09:13 PM) <a href="index.php?act=findpost&pid=1623109"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Joy, some of those did not have numbers on.
    "0935-C~1.SAV" is C~1.SAV
    "Copy of 1617 - Call of Duty 4 - Modern Warfare (U).SAV" was left.
    Some were not named "properly" (2176-Sega Superstar Tennis.SAV should be "2176 - Sega Superstar Tennis.SAV" if the scheme was followed properly).
    1015 - Pok‚mon Bloody Diamond (U).SAV has a problem with what I guess to be a problem with the "é". Not included in this list so you will have to do it manually.
    None the less
    Warning: Spoilers inside!

    edit. Made a quick list of files with the same names and tested it out. Missed a couple somehow but being less than 10 and it now being 2:20am I am not inclined to chase it.<!--QuoteEnd--></div><!--QuoteEEnd-->
    It's hat late where u live? wow, u r a rlly nice guy, and u dont have to worry bout the other 3-4, I manually did those , so no biig deal. Im just glad i didnt have to do it for all of them!
     
  12. jesterscourt

    Member jesterscourt Not Brad.

    Joined:
    Jan 3, 2007
    Messages:
    2,153
    Country:
    United States
    Supposedly Shane is putting this into the newer version of Cyclo Edit Pro.
     
  13. camintmier

    Newcomer camintmier Member

    Joined:
    Nov 27, 2008
    Messages:
    41
    Location:
    WV, USA
    Country:
    United States
    You could also use a program such as Bulk Rename Utility. I use it to chop the scene numbers from my roms.
     

Share This Page