ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Dec 11, 2017 11:18 am

All times are UTC




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Mar 14, 2016 6:31 pm 

Joined: Sat Aug 09, 2014 11:21 am
Posts: 616
Hello there!

As many of you may know, I do streamed music rips of video games in my free time. I write scripts and I know how to use all the little tools. What I'm in need of is a little tool that I guess can easily be programmed. It only has to do some automatic file operations and needs a context menu implementation in Windows. I need to collapse folder structures. This means that I need the program to be able to:
1. move all files in a folder structure to the base folder where the program is called (right-clicked)
2. all the files need to be renamed so that "\" in the path is replaced by "~", starting at the base folder
Example: we have the following folder structure

D:\temp\game3\audio\music\level1\action.mp3
D:\temp\game3\audio\music\level1\quiet.mp3
D:\temp\game3\audio\music\level1\suspense.mp3
D:\temp\game3\audio\music\level2\boss_fight.mp3
D:\temp\game3\audio\sfx\jingle1.mp3
D:\temp\game3\audio\sfx\lose.mp3
D:\temp\game3\audio\sfx\win.mp3

The programm is executed in the folder "audio". The result are the following files in that folder audio:

music~level1~action.mp3
music~level1~quiet.mp3
music~level1~suspense.mp3
music~level2~boss_fight.mp3
sfx~jingle1.mp3
sfx~lose.mp3
sfx~win.mp3

as well as an empty or deleted folder structure.
Can somebody write something like this? I'd be extremely thankful!!

Regards, Timo


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited