Thanks for that ;-) Is having to rewrite the refuelling syntax the only drawback you can think of??
Hi Dave,
It is the only real bug that I've found with BGLX but it does also put in a lot of unecessary rem comments of Offsets. I prefer to delete these and that can be a pain with a big file. Basically BGLX is just perfect for dissembling other peoples .bgl files and then copying and pasting a bit of code that you want to put in your own file. BUT...I always keep my text files for later use rather than dissembling my own .bgl file again. That way I don't have to do any of those annoying rem deletions. Just keep your refuelling syntax text file handy somewhere just in case!...Here is mine:-
I'm obviously starting from a point no where near where I should be as I downloaded bglanalyze yesterday hoping that it was a GUI based program and this obviously isn't so as hitting the exe opens a dos box for a brief second and then it's gone! :roll: I think I'll pencil it onto the growing list of 'Things to do before you die'
There is a nice small registry hack, that enables you to open up a DOS-prompt any location you are at the present.
Open the File-Explorer, place your cursor upon the folder you wish to run the command-prompt from
Right-click your mouse and select Command Prompt, and voila you now have a command-prompt window and your current directory is the one you just selected.
This is how it's done:
1. Start up Notepad
2. Copy and paste this into the file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\OpenNew]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Directory\shell\OpenNew\Command]
@="cmd.exe /F:OFF cd %1"
[HKEY_CLASSES_ROOT\Drive\shell\OpenNew]
@="Command Prompt"
[HKEY_CLASSES_ROOT\Drive\shell\OpenNew\Command]
@="cmd.exe /F:OFF cd %1"
3. Save the file as CmdHere.reg (note the extension)
4. Close Notepad.
5. Find the file you just created and double-click on it to merge it into your registry.
6. You are now ready to use it.
Very usable in various occasions.
Best Rgds
Dan
Who's General Failure, and why is he reading my harddisk?
I'm obviously starting from a point no where near where I should be as I downloaded bglanalyze yesterday hoping that it was a GUI based program and this obviously isn't so as hitting the exe opens a dos box for a brief second and then it's gone! :roll: I think I'll pencil it onto the growing list of 'Things to do before you die'
Food for thought as always guys and thanks ;-)
ATB
DaveB :tab:
Dave,
There are several versions of that program floating around and somewhere I found a GUI interface for it. I just checked a few sites and I can't find it online and I can't remember where I found it, but if you want I could send it to you. To be clear, this is the dissasembler for SCASM created .bgl files only.
Hi Nigel and tks for that ;-) I suppose you only find out what a scenery area has been compiled with when you try and decompile it and get a message saying 'Sod off' (or words to that effect) It does seem that one has to be somewhat proficient in a number of programs and not just one. Ah well.. that's the beauty of open code I suppose ;-)
Suddenly, I seem bereft of 'tinker time' so I may not get to tinker for a while but I'll take you up on the offer when the time comes ;-)
DaveB wrote:Hi Nigel and tks for that ;-) I suppose you only find out what a scenery area has been compiled with when you try and decompile it and get a message saying 'Sod off' (or words to that effect) It does seem that one has to be somewhat proficient in a number of programs and not just one. Ah well.. that's the beauty of open code I suppose ;-)
Suddenly, I seem bereft of 'tinker time' so I may not get to tinker for a while but I'll take you up on the offer when the time comes ;-)
ATB
DaveB :tab:
Not exactly 'sod off' but "Error: Compressed BGL file, uncompression failed, file not compressed" A bit cryptic but it means the same thing I suppose! BGLXML is a little kinder if you try to decompile a SCASM assembled file - "Input file: not a valid FS2004 facility data BGL!" which I translate as a slightly gentler "Get lost"
When you are ready to tinker again, just let me know.