ZenHAX

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

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Associate files to QBMS
PostPosted: Tue Nov 29, 2016 4:49 pm 
User avatar

Joined: Thu May 05, 2016 10:53 pm
Posts: 12
Hi, im trying to associate files to Quick BMS to take an adventage of file browser.
For example i've got a file ".file1" and i want that type of files with the script "file1.bms" on "quickbms.exe"

There is a way to force Quick BMS to open with a X script loaded?
There is a way to force Quick BMS to select output same as file directory?


Sorry if this is solved

Thanks for reading

_________________
The most glorious ideas born of the most humble feathers


Top
   
PostPosted: Tue Nov 29, 2016 5:18 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7251
For the files associations I suggest you:
http://www.nirsoft.net/utils/file_types_manager.html

First you have to create the extension association:
  • Edit->New File Extension
  • in Extension put the extension including the dot, for example .file1

Then select the new association and:
  • Actions->New Action
  • Action Name: Open
  • Command-Line: browse and select quickbms.exe and add the arguments as I will show you later

You have to play with the syntax depending by your needs and where the scripts are located:
http://ss64.com/nt/syntax-args.html

Let's say you have all the scripts in the same folder of quickbms, the output folder is the same folder of the input file and the name of the script is "script.bms":
Code:
quickbms.exe "%~dp0script.bms" "%1" "%~dp1"


(note: unfortunately the %~x1.bms can't be used because adds a dot before the extension and so .ext.bms instead of ext.bms)


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

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