May 23, 2012, 11:07:01 PM
Homepage
Home
Help
Search
Login
Register
Wiki
Imprint
Warhammer Dark Omen Forum
|
Modifications
|
Tools
CLI editor
Username
1 Hour
1 Day
1 Week
1 Month
Forever
Password
Pages: [
1
]
Go Down
Print
Author
Topic: CLI editor (Read 1059 times)
0 Members and 1 Guest are viewing this topic.
Mikademus
Developer
Offline
Posts: 549
CLI editor
«
on:
January 19, 2009, 01:18:02 AM »
Ghabry, the CLI editor now has full BTB edit and save (including save to new file) functionality. You can add, remove, reorder and insert any block and item. In principal you can also make a new BTB from scratch. Note that this is in CLI mode, but all my classes are easy to extend by a graphical front-end (remember that the text mode is primarily for testing that the classes work).
Logged
Mikademus
Developer
Offline
Posts: 549
Re: CLI editor
«
Reply #1 on:
January 24, 2009, 07:07:57 PM »
Oh well, I guess I can reuse this thread to mention new features.
The CTL viewer has been upgraded and now works as the other editor sections. You type "ctl" and then you can "list" and select segments you want to view by entering its number etc etc. You can switch between hexadecimal and decimal output of arguments by entering "dec" or "hex", and yes ghabry, it should support redirected output not.
You can also define aliases to opcodes (f.i. "def 8006 Ghabry_wears_dresses").
Logged
Mikademus
Developer
Offline
Posts: 549
Re: CLI editor
«
Reply #2 on:
January 26, 2009, 11:19:26 PM »
Download link
Well, another update. I especially hope Rob reads this. (Also, I'm moving the thread to the modding forum).
The CTL viewer's "find" command now supports the "succ" (or "next") and "prec" (or "prev") arguments, both of which takes a number. These instruct the lister to output the specified number of cells preceding or succeeding the found instruction.
So you can f.i. search for all opcodes 8015 that has two arguments, at least one of which must be an address for another segment, and the leading two and following three instructions by this command:
"list op 8015 args 2 addr prev 2 next 3"
The order of the arguments does not matter. Also note that you can define strings to opcodes, so if you're certain an opcode, say 8076, is "if", type "def 8076 IF" and "IF" will be output instead of "8076".
Logged
Mikademus
Developer
Offline
Posts: 549
Re: CLI editor
«
Reply #3 on:
January 27, 2009, 05:42:31 PM »
Download link
Another day, another update.
The CTL viewer now supports providing arguments for the "addr" and "uuid" switches. If you want to search for any UUID segment address, either leave "addr" or "uuid" as the last argument or add "any" or "all" after the switch.
I have also added an "arg" switch. It takes a parameter and searches for that among instructions' arguments. You can provide several "arg" switches. So say you want to find all instructions that take 0x10 and 0x64 as arguments, type "find arg 0x10 arg 0x64".
Logged
Pages: [
1
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Warhammer Dark Omen Community
-----------------------------
=> News
=> Tavern
===> Introduction
=> Website Related
-----------------------------
Warhammer Dark Omen
-----------------------------
=> Singleplayer
=> Multiplayer
===> Rules and Standards
===> Tournaments
===> Armybuilds
=====> Empire Armybuilds
=====> Greenskin Armybuilds
=====> Undead Armybuilds
===> Tactics
=====> Empire Tactics
=====> Greenskins Tactics
=====> Undeads Tactics
===> Dark Omen Expanded
===> Black Prophecy (Dark Omen Mod)
=> Help Section
=> Tactical wargaming and other Warhammer games
-----------------------------
Multiplayer Campaign
-----------------------------
=> Dark Omen Conquest
-----------------------------
The Remake Project
-----------------------------
=> OMG WARTBED
=> Bright Portents
=> General Suggestions
-----------------------------
Modifications
-----------------------------
=> 3D Scenery Models
=> Maps
=> 2D Sprites
=> Troops
=> Tools
=> Campaigns
Loading...