Arcade Prehacks

Results 1 to 7 of 7

Thread: .Bat file help

  1. #1
    Senior Member
    Join Date
    Feb 2010
    Location
    http://tinyurl.com/2atap49
    Posts
    2,328

    .Bat file help

    I'm trying to make a .bat file that will automatically type in the redirecting codes and everything into CMD so I can decompile (and recompile) .swfs for hacking, but I keep failing...
    Here's what I have so far:
    Code:
    @echo off
    echo cd Documents
    echo cd Nick's Stuff
    echo cd E-Backup
    echo cd Hacking
    echo cd flasm
    echo flasm
    echo flasm -d game.swf > gametext.txt
    But all it does is make a .txt file that says "flasm -d game.swf"

    I've also tried it with "@echo" instead of "@echo off", but it gives the same results...

    What am I doing wrong?
    Um... I used to be a moderator here...

  2. #2
    Administrator selectLOL's Avatar
    Join Date
    May 2010
    Posts
    3,290

    Re: .Bat file help

    You dont need the echo before cd.
    I made myself a bat which does the same. I placed it into the flasm folder.
    Code:
    flasm -d game.swf > game.flm
    Do you know what echo means? Its a output command.

    BTW, i have an other short script which does this with all swf files, then i have one wich does -a with all flm files.
    My website: http://selectlol.com/
    My second game: Play it now

    Its easier to find intelligent life in the universum than in the internet.

  3. #3
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: .Bat file help

    Oh select, the assembling script doesn't work for me.
    Sand, PM me for the codes select made + a very short tutorial on how to use them.
    I've been here before.

  4. #4
    Senior Member
    Join Date
    Feb 2010
    Location
    http://tinyurl.com/2atap49
    Posts
    2,328

    Re: .Bat file help

    Quote Originally Posted by selectLOL
    I made myself a bat which does the same. I placed it into the flasm folder.
    Ya, I saw that in an earlier post of yours. You're my inspiration

    Quote Originally Posted by selectLOL
    Do you know what echo means?
    Not really. I just saw it a bunch when I was making fake viruses, so I figured that's what it needed

    Quote Originally Posted by selectLOL
    You dont need the echo before cd.
    Alright, I'll try that now, thanks for the info
    Um... I used to be a moderator here...

  5. #5
    Administrator selectLOL's Avatar
    Join Date
    May 2010
    Posts
    3,290

    Re: .Bat file help

    If you want i can send you 3 scripts, disassembling, re-assembling and compressing. But you need ruby to execute them.
    My website: http://selectlol.com/
    My second game: Play it now

    Its easier to find intelligent life in the universum than in the internet.

  6. #6
    Senior Member
    Join Date
    Feb 2010
    Location
    http://tinyurl.com/2atap49
    Posts
    2,328

    Re: .Bat file help

    I just got Ruby and got the codes that Sub sent me.
    They worked and you both received karma

    Problem solved, request lock
    Um... I used to be a moderator here...

  7. #7
    Senior Member
    Join Date
    Jul 2010
    Location
    The Netherlands
    Posts
    1,862

    Re: .Bat file help

    I don't have the compressing one yet.
    I've been here before.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •