rebmoZ Posted September 24, 2014 Two great tools that show things linke monsters, weapons and ammo inside WADs! jmickle66666666's flash based tool "DoomWikiThingInfo.swf" - examines one selected map inside a WAD - outputs the source code of a wiki "prettytable", ready to copy and paste into wiki articles. Version 2014-10-27_16-10_FGMT:jmickle66666666 said:Hi, sorry this took so long https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf I added monster spawner, keens (i already had support for them but forgot to actually add the data to the text) and exploding barrels. While I was at it I added support for ExMy level names too (somehow I overlooked this) Ribbiks' python based tool (he pm'd me the latest version) "Things.py" - needs Python 2.7 - numpy (a python module) - examines a whole WAD - usage: Command line or Batch file that contains:python Things.py "D:\Your\Path\To\WAD\File\DOOM2.WAD" > DOOM2things.txt pause- outputs a list of all maps in WAD and things contained in each map. Version 2014-10-27_05-39_FGMTRibbiks said:hihi, I added things 88 and 89 into the monsters category. here's an updated script: http://pastebin.com/69QkMNuY feel free to make any changes you like, it was just a quick script I whipped up so you can do whatever you want with it. Or I'm happy to do it myself as well. cheers Original posting:rebmoZ said:Hi I enjoy playing classic doom wads and , if needed, edit map articles on doomwiki.org (not yet this one, see edit comment). As not all map articles contain tables like these http://doomwiki.org/wiki/MAP17:_House_of_Thorn_(Memento_Mori)#Things_.28per_skill_levels.29, i'd like to create those (or edit empty) tables. But the only way i know to find out what things are present in a map is to search for those in doombuilder, double click each search result and to write down it's skill level flags. Since this surely would be time consuming, there should be an easier method, preferably a special tool. So i googled around and found this forum where i registered to use the forum search, but i did not find what i am looking for. I tried several map editors and tools, but did not find a method better than mentioned before. Maybe i used the wrong keywords, but i spent hours searching the web and the forums without satisfying results. So which tools do doomwiki authors use get those thing lists? Edit after reading the preview/before posting: The link and website name i posted above have been changed to doomwiki.org as i saw on the post preview. Confused about it i searched the forums again and found out that the wiki i do edits on (i don't know if it is allowed here to say JEHOVA) is obviously not this forums users' preferred one, but both wiki's contents seem to be simular. Are these synced from time to time automatically or do i have to redo all my "JEHOVA" edits in doomwiki.org in order to let anyonemore people benefit form corrected/enhanced information? 0 Share this post Link to post
esselfortium Posted September 24, 2014 If you're referring to the old Wikia site, see here for an explanation of the split: http://doomwiki.org/wiki/Wikia The old wiki has been abandoned for reasons explained at the linked page, and Doomworld automatically updates Wikia links to Doomwiki.org. 0 Share this post Link to post
plums Posted September 24, 2014 I feel like that article on doomwiki about the split is quite "diplomatic," by which I mean it doesn't really go into the distaste a lot of members who founded the wiki have over Wikia today. If you are interested in contributing to a wiki, I'd encourage you to at least also contribute to doomwiki.org, if not switch to that one entirely. If you want your edits from wikia to appear on doomwiki, you do need to redo them there. Doomwiki doesn't pull any info from the wikia site. Anyhow, regarding your original question rebmoZ, I'm not sure of any tool that will automate that. MTrop wrote a program called thingspy that will tell you which things are in a map, but not how many, so it's of limited use. MTrop is pretty busy these days so I wouldn't expect him to be able to update it any time soon, but I'll put in a request on github anyhow. 0 Share this post Link to post
jmickle66666666 Posted September 24, 2014 I might be able to make a web application that you load a wad into, pick a map and it opens a text box with all the data formatted for the wiki. This will speed up filling in the data many times over. I'll see what I can do. 0 Share this post Link to post
rebmoZ Posted September 24, 2014 Thanky you for the answersplums said:MTrop wrote a program called thingspy that will tell you which things are in a map, but not how many, so it's of limited use. Yes, i found it using the forums searchs and tested it before i opened this thread. The first edits i made i did without an wiki account, but i roughly know what i did (i used to correct descriptions about secrets and how to find those). Too bad i don't remember in which map articles. So i will create an account on doomwiki.org and try to correct entries. Of course, not all at one time, but time by time as i play through the games and check each map article on both wikis while playing. Edit 1:jmickle66666666 said:I might be able to make a web application that you load a wad into, pick a map and it opens a text box with all the data formatted for the wiki. This will speed up filling in the data many times over. I'll see what I can do. This would be a great help and safe up a lot of time. Edit 2: Just created my Account on doomwiki.org. I'd better read the CAPTCHA instructions Please provide the third and fifth characters (without spaces) from the security code completely before filling out anything (including the complete CAPTCHA code) and clicking the "create" button over and over again. Hr hr hr. I guess i will start replaying all my wads (once) again and do some edits (if needed) soon. 0 Share this post Link to post
Ribbiks Posted September 24, 2014 maybe I should hold my tongue because jmickle's thing sounds orders of magnitude more useful, but here's a silly python script I wrote that counts map-things of interest: http://pastebin.com/5wu3Eqg0 here's example output running it on eaxt.wad: http://pastebin.com/6u7vtn3b 0 Share this post Link to post
rebmoZ Posted September 24, 2014 Awesome! That is precisely what i was looking for (for personal use)! I dont't want to seem greedy, but in wiki tables (almost) always keycards/skull keys are listed, sometimes (for unknown reasons) exploding barrels too. Personally i don't mind about keycard/skull key and exploding barrel amounts, so if you wouldn't add this feature i wouldn't be sorry. But for completeness's sake i'd please you to add at least a keycard/skull key "counter". Now i am neither a programer nor a scripter due to the lack of knowledge about the syntaxes of any most program/scripting languages, but i claim do know how (at least) "simple" things may work. (I don't want to depreciate your help and work, please don't misunderstand me, but:) As i learned while reading those tables and playing the maps, sometimes things are listed that only appear in multiplayer mode. If your tool just reads the skill flags, the output data, put in tables and posted in an article, may confuse wiki readers. Aren't those tables supposed to show only singleplayer things? Or is those's purpose to show multiplayer things too? Anyone knows? Maybe it'd better to create two tables per map article if the things counter differ from singleplayer to multiplayer only things? BTW: Errrrr... how to use your fine script? Do i have to compile it? 0 Share this post Link to post
Ribbiks Posted September 24, 2014 Hihi, you can download an updated script here: https://www.mediafire.com/?pwhm46ray12uydv I added keys and exploding barrels. Currently it just completely ignores any things that are flagged as MP-only. I thought about including MP as well, but then you have skill levels again.. MP-HNTR, MP-HMP, MP-UV, etc. It seemed like an overload of info. One thing that might be sensible is to just include MP-UV? Who the eff plays multiplayer on lower difficulties anyways? Oh yeah. in order to run it you'll need python and an associated module called 'numpy'. You can get both of them via some convenient installers if you don't already have it on your system, e.g. http://continuum.io/downloads To run the script open a command line (terminal on mac/linux, cmd or 'command prompt' on windows), change to where you downloaded the script (cd /path/to/download/), and run: python blahhhhhhThings.py /path/to/wad/you/want/to/count/stuff/in.wadHope this helps edit: oh yeah. The way this works is that it looks for any MAPXX lumps, and uses the next THINGS lump it finds below it to do the counting. so at the moment it won't work on fancy zdoomy projects that might have different mapnames or weird lmp layout. 0 Share this post Link to post
Tristan Posted September 24, 2014 The standard is to account for single-player only. In the majority of articles, exploding barrels are also excluded, but keys are always listed. 0 Share this post Link to post
jmickle66666666 Posted September 24, 2014 https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf mine just does monsters at the moment. it's counting every other thing that is normally counted (no exploding barrels because i didn't see them on any of the pages i went on) but I just haven't written the formatting for the rest of the items yet and i'm super tired so it'll have to wait til tomorrow edit: not checking the multiplayer flag either, dang. i'll fix that quickly because its pretty important edit2: ok, updated to ignore multiplayer enemies edit3: updated again to include all Things, except barrels. sue me. load a wad, pick a level, copy and paste the text in the Things part of a wiki page. 0 Share this post Link to post
rebmoZ Posted September 24, 2014 Ribbiks said:Hihi, you can download an updated script here: https://www.mediafire.com/?pwhm46ray12uydv I added keys and exploding barrels. Well, thanks a lot! This is really a Great job! I was able to do a test run: It works fine with (Miniconda) Python 2.7 (as i found out the usual hard way) and Doom2. I guess Doom 2 compatible WADs should smoothly work too. But trying Ultimate Doom using the batch file "UDoom1ShowWadThings.bat"python ShowWadThings.py "D:\Zeugs\Installer\Spiele\Doom 1+2\OriginalWAD\DOOM.WAD" pause resulted in error messages:D:\Python\2.7\Miniconda>python ShowWadThings.py "D:\Zeugs\Installer\Spiele\Doom1+2\OriginalWAD\DOOM.WAD" Traceback (most recent call last): File "ShowWadThings.py", line 98, in <module> main() File "ShowWadThings.py", line 54, in main things = readThingsLumps(sys.argv[1]) File "ShowWadThings.py", line 27, in readThingsLumps outDict[currentMap] = f.read(n[2]) UnboundLocalError: local variable 'currentMap' referenced before assignment D:\Python\2.7\Miniconda>pause Drücken Sie eine beliebige Taste . . . (I renamed "blahhhhhhThings.py" to "ShowWadThings.py". Re-renaming to the original file name resulted in correspondent error messages.) Ribbiks said:Currently it just completely ignores any things that are flagged as MP-only. I thought about including MP as well, but then you have skill levels again.. MP-HNTR, MP-HMP, MP-UV, etc. It seemed like an overload of info. One thing that might be sensible is to just include MP-UV? Who the eff plays multiplayer on lower difficulties anyways? So it will not list multiplayer flagged things, that is great, since:Eris Falling said:The standard is to account for single-player only. In the majority of articles, exploding barrels are also excluded, but keys are always listed. So i will only verify/edit single player columns in tables (- I have seen tables that have a UV Multiplayer column that i wouldn't mess with). As for the barrels: Using Ribbiks's great tool it should be easy to enter the barrels line when creating a new table. It will be easy also to delete the lines if someone decides that those aren't needed. But it would be a needless work for the same person creating a lot of tables without barrel entries and adding those entries later all at once... Again, thanks for your replies rebmoZ Edit 1:jmickle66666666 said:https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf Awesome. Using this one it is even more easy to create tables! You are promoting my laziness :-) It doesn't like Doom 1 too, so i will start looking at things in Doom 1 (if needed) the old fashioned way: tables on both wiki sites for E1M1 differ by one (1) set of shotgun shells since there are three at all, but one of them is multiplayer only as i looked yet in doombuilder. So i will mess with Doom 1 map article thing tables only when there is a difference between both wikis or if i encouter mistakes. Edit 2:rebmoZ said:But the only way i know to find out what things are present in a map is to search for those in doombuilder, double click each search result and to write down it's skill level flags. Since this surely would be time consuming After just checking E1M1 because of a difference:rebmoZ said:tables on both wiki sites for E1M1 differ by one (1) set of shotgun shells since there are three at all, but one of them is multiplayer only as i looked yet in doombuilder. I can say: "It IS time consuming." 0 Share this post Link to post
Ribbiks Posted September 25, 2014 updated to handle EXMX map markers: http://pastebin.com/e4LLeaYQ also cool interface jmickle, makes me want to whip out flash and relearn actionscripting :D 0 Share this post Link to post
rebmoZ Posted September 25, 2014 Great! Looking for thing amounts will be a child's play using this! Thank you all so much! You helped me really quick! 0 Share this post Link to post
jmickle66666666 Posted September 25, 2014 I'm considering looking into expanding this to be able to generate entire templates for maps, filling all the discrete information like the linedef/sidedef count etc. would be very handy for filling out maps that don't have pages yet. if it'll get some use I wouldn't mind making it. 0 Share this post Link to post
rebmoZ Posted September 26, 2014 This sounds pretty useful. (Although I don't remember having played a map that was not written an wiki article about yet. But this is probably since I only played addons mentioned on (the other) doomwiki. So for now I restrict my activities to check thing table contents and secrets descriptions.) For sure any wiki author would be happy (like i am) having such a tool. It does save a lot of time and is more reliable than counting/typing manually. So go on and make people happy :-) regards rebmoZ 0 Share this post Link to post
Tristan Posted September 26, 2014 rebmoZ said:For sure any wiki author would be happy (like i am) having such a tool. It does save a lot of time and is more reliable than counting/typing manually. So go on and make people happy :-) As someone who will inevitably have to verify the BTSX E1 thing tables (because I made them even though the WAD was still in beta, gj eris) I certainly agree with this. It's just a shame this thread wasn't around when I did ZDCMP2's article... 0 Share this post Link to post
jmickle66666666 Posted September 26, 2014 i think i tested this with a couple of btsx levels and they checked out, but it was just a quick check to make sure my tool was working. 0 Share this post Link to post
Gez Posted September 26, 2014 Eris Falling said:It's just a shame this thread wasn't around when I did ZDCMP2's article... Making a universal tool is complicated by how there are three different map formats to take care about; ZDCMP2 is UDMF. I'm not sure how the wiki would handle Hexen maps, since things are filtered by both class and skill. 0 Share this post Link to post
rebmoZ Posted October 9, 2014 jmickle66666666 said:https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf I found a bug in your tool. I started playing Doom 2, using Ribbiks' and jmickle66666666's Tools, comparing the output data and comparing the existing tables in the wikis. In Doom 2 Map 02 there is only one blue armor (i checked in Doombuilder) , but jmickle66666666's Tool's output data shows two blue armors? regards remboZ 0 Share this post Link to post
jmickle66666666 Posted October 9, 2014 good spot, thank you! turns out for some reason i was counting blue armors twice (i was pretty tired when i wrote this, haha) That's fixed now, available at the same link: https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf 0 Share this post Link to post
rebmoZ Posted October 9, 2014 Yes, just finsihed Map 2 and was starting to look at Map 3 data and saw four instead of two blue armors. Thank you very much for the fast reaction. regards rebmoZ 0 Share this post Link to post
rebmoZ Posted October 16, 2014 jmickle66666666 said:That's fixed now, available at the same link: https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf I really don't want to nag aorund, but ... i am about to play Doom 2 Map 32 and there are four Commander Keens on it. Those are not listed by your tool. Could you please...? regards rebmoZ 0 Share this post Link to post
jmickle66666666 Posted October 26, 2014 Hi, sorry this took so long https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf I added monster spawner, keens (i already had support for them but forgot to actually add the data to the text) and exploding barrels. While I was at it I added support for ExMy level names too (somehow I overlooked this) 0 Share this post Link to post
rebmoZ Posted October 27, 2014 You don't need to be sorry (but i do for nagging). Playing from map 32 to map 30 took some time and if you did respond instantly to add Commander Keen i anyway nagged again to please you to add the Monster Spawner. So it was better to update all at once :-D Since i finished playing Doom 2 i discovered that some things were missing in both tools. So i pm'd both authors and asked them for an update that they quickly made: Ribbiks's Tool, that he pm'd me:hihi, I added things 88 and 89 into the monsters category. here's an updated script: http://pastebin.com/69QkMNuY feel free to make any changes you like, it was just a quick script I whipped up so you can do whatever you want with it. Or I'm happy to do it myself as well. cheers Since there are no version numbers, i saved it as "2014-10-27_05-39_FGMT_Things.py" (message timestamp the forum shows me as GMT*). Added:Thing 88: Boss Brain (aka Romero's Head) Thing 89: Spawn Shooter (aka Monsters Spawner)jmickle66666666 said:Hi, sorry this took so long https://dl.dropboxusercontent.com/u/8943931/games/2014/DoomWikiThingInfo.swf I added monster spawner, keens (i already had support for them but forgot to actually add the data to the text) and exploding barrels. While I was at it I added support for ExMy level names too (somehow I overlooked this) Since there are no version numbers, I saved it as "2014-10-27_16-10_FGMT_DoomWikiThingInfo.swf" (that posting's timestamp the forum shows me as GMT*). Added:Support for ExMy level names Thing 72: Commander Keen Thing 89: Monster Spawner Thing 2035: Exploding barrelAgain, i have to thank both of you. I will recompare both tools* outputs to each other and again with the existing wiki tables of Doom 1 and 2 for good. I will post the result in this thread. Next time i encounter something unexpected i better finish playing the game first before asking you again ;-) cheers rebmoZ OT: *GMT: Forum software said:All times are GMT. The time now is 12:40. Well... 12:40 is also the time my PC's clock showed me when i sent this Posting. But i know it shows CET. 0 Share this post Link to post
rebmoZ Posted November 7, 2014 rebmoZ said:Again, i have to thank both of you. I will recompare both tools' outputs to each other and again with the existing wiki tables of Doom 1 and 2 for good. I will post the result in this thread. Done. Both tools work fine, identical output data for uDoom 1 and Doom 2. Found an error in wiki things tables, so i removed the "Pain Elementals" from Doom 2 Map 16 :-) Great work from you, guys! I copied the links to both tools into the opening thread. regards rebmoZ 0 Share this post Link to post
rebmoZ Posted April 15, 2015 rebmoZ said:I guess i will start replaying all my wads (once) again and do some edits (if needed) soon. So i did, using both tools, creating excel-tables, comparing with the existing wiki(a) tables, making corrections or creating things tables on both wiki sites. The tools work fine for [url='http://doomwiki.org/wiki/The_Ultimate_Doom']Ultimate Doom[/url], [url='http://doomwiki.org/wiki/Doom_II']Doom 2[/url], [url='http://doomwiki.org/wiki/TNT:_Evilution']TNT: Evilution[/url], [url='http://doomwiki.org/wiki/The_Plutonia_Experiment']The Plutonia Experiment[/url], [url='http://doomwiki.org/wiki/Plutonia_2']Plutonia 2[/url], [url='http://doomwiki.org/wiki/Plutonia:_Revisited_Community_Project']Plutonia Revisited[/url] and [url='http://doomwiki.org/wiki/No_Rest_for_the_Living']No Rest for the Living[/url]. Now it is time to play [url='http://doomwiki.org/wiki/Memento_Mori']Memento Mori 1[/url] again. On my last attempt i stopped playing it after [url='http://doomwiki.org/wiki/MAP17:_House_of_Thorn_(Memento_Mori)']Map 17[/url] since http://doomwiki.org/wiki/MAP18:_A_Dead_Man's_Town_(Memento_Mori) and the rest are missing/have empty things tables what caused me to post this thread. But... Neither tool works on MM.WAD: jmickle66666666's flash based tool DoomWikiThingInfo.swf shows the maps in reversed order (strange orders happened before, but each map could be analyzed) and an "S" after each mapname: Clicking each map entry does nothing but lets vanish the Level Directory. (Usually it shows the map infos in a black font on a blue background.) Ribbiks' python based tool Things.py outputs an empty text file, missing any error message. I guess MM.WAD uses a format neither tool can handle, but [url='http://doomwiki.org/wiki/Doomsday']Doomsday[/url], [url='http://doomwiki.org/wiki/Doom_Builder']Doom Builder[/url] can. Could you please have a look at it? regards remboZ 0 Share this post Link to post
VGA Posted April 15, 2015 *takes sunglasses off* Open it in SLADE, use ctrl-a to copy all the lumps, create a new wad and paste them and save. Load that wad. *puts sunglasses back on* 0 Share this post Link to post
rebmoZ Posted April 15, 2015 Thanks for the reply, you made me think, so i just opened MM.WAD, Map 01 in Doom Builder, clicked "Save Map As" "01.WAD". And big Surprise: using the flash tool on "01.WAD" shows the Level Directory in correct order. Even better, "01.WAD" seems to contain all 32 maps. ([Edit:]Exactly the same filesize as MM.WAD[/Edit]) Tomorrow i try the python tool on it. thanks, rebmoZ 0 Share this post Link to post
VGA Posted April 15, 2015 Ah ok cool. Same deal. Easier to do it with SLADE all at once and be done with it. I can upload the fixed wad if you can't figure it out. 0 Share this post Link to post
rebmoZ Posted April 16, 2015 No thanks. Just "Save Map As" in Doom Builder fixed the WAD and kept all maps. I successfully used both tools with it. regards rebmoZ 0 Share this post Link to post