Popular Post Xandy Posted May 19, 2018 Popular Post Posted May 19, 2018 (edited) NOTE: TOPIC HAS BEEN MERGED TO HERE: MapIt Quest Special thanks: AdmiralAlkex, Melba23, MrCrearoR, Dragon Warrior 3, SDL MapIt is a tile world editor. MapIt was built around the concept of reversing Dragon Warrior map images. MapIt can take image input and produce a tile and world array. Changing and replacing tile / world data is easy. B/c tile world editor. CTRL+R in image above to signal replace tile action and I use "G" to Get the tile under mouse. A full list of hotkeys can be assigned in the: Help Menu\Hotkeys MapParser is a C++ project that scans images for unique tiles. MapIt can be downloaded without MapParser. MapParser can be toggled off in the Scan_Image dialog. Without MapParser, MapIt will use the Scan_Tiles() function written in AutoIt ; which is 100 * slower Idk. If MapParser.exe will not run for you: Installing Visual C++ Redistributable for Visual Studio 2015 should fix it: https://www.microsoft.com/en-us/download/details.aspx?id=48145 You can start with example world and tiles. Example world was made following these steps: Started with a tile map image of DragonWarrior3 town of: Reeve From MapIt World Menu \ New \ Scan_Image dialog, I set the area to exclude the key legend to the far right of image. After scanning the map image to world and tile array. I removed a few of the map artifacts. More work could be done on this world; removing unwanted tiles, but it is fine for now. I saved my world to disk. This creates folder: Worldname: Containing folder of Tiles and a Worldname.txt. Using The Gimp, I edited some tiles to have a transparent color: Stairs, Trees, Desk Tables, Chest-of-drawers, Chairs, Signs, Doors, Beds. I changed the world layers to 2: World Menu \ Properties. F9 Finds all selected tile on current layer and changes to a new selected tile on new layer. I used F9 to change all Trees on layer: 0 to Trees on layer: 1. Then I used F9 to change all Trees on layer: 0 to Grass on layer: 0 In this video you can see how I used the Tile Menu \ Replace From Disk option to remap tile images to my custom tiles. Conveniently my tiles already have a transparent pixel. See video for how that was done: Spoiler To use the example world: First unzip the world save file: http://songersoft.com/programming/mapit/worlds/Reeve_Swapped.zip From the World Menu: choose \Load Navigate to the Reeve_Swapped.txt located in the extracted zip. Or you can scan any image. The map images I used are here: http://www.realmofdarkness.net/dq/games/nes/dw3/maps/world For download, videos, and example of created world file data; please visit the MapIt webpage: http://songersoft.com/programming/mapit/mapit_about.phtml Edited January 25, 2019 by Xandy TheDcoder, genius257, aa2zz6 and 3 others 4 2 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
TheSaint Posted May 20, 2018 Posted May 20, 2018 Brilliant Xandy, just brilliant. @TheDcoder and I, have had the privilege to share part of the journey with you as you have been developing this (discussions in HexChat and many youtube clips and code examples), and to say we are impressed, as I am sure Dcoder will agree with me, would be a huge understatement. We haven't been able to contribute much, other than enthusiasm and encouragement, but it has been a joy to see you conquer things etc and progress. You are one very dedicated and talented man/coder. Xandy 1 Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
TheDcoder Posted May 20, 2018 Posted May 20, 2018 Great program @Xandy, would certainly be useful for those who want to do some tile extraction from games @TheSaint has stolen words out of my mouth Xandy 1 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
TheSaint Posted May 20, 2018 Posted May 20, 2018 7 minutes ago, TheDcoder said: @TheSaint has stolen words out of my mouth Actually, it was out of the upper left quadrant of your brain. Spoiler But don't tell anyone about my MapIt mind reading powers ... that Xandy taught me ,,, over Burritos and Donuts. TheDcoder 1 Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)
Xandy Posted May 21, 2018 Author Posted May 21, 2018 (edited) Spoiler Edited May 22, 2018 by Xandy Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Xandy Posted August 19, 2018 Author Posted August 19, 2018 (edited) Updated first post. Draw world to pre-rendered layers. (For providing quick blit operations with separate layers) Map with auto-color detection. Delete tiles using lasers. /\ Some new hotkeys: Plus and minus (not on numpad): to change target layer. CTRL+M: to open map. Plus and minus (numpad): to change map scale. ESC: to exit map. Delete: destroy a tile on select layer. Aug 19 2018 11:20 EST: Added hot fix: If $tile > Ubound($aTile) - 1 Then $tile = 0 This fixes a crash that appeared inserting the default tile when 0 tiles were loaded. Edited August 19, 2018 by Xandy Fin and TheDcoder 2 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Xandy Posted August 20, 2018 Author Posted August 20, 2018 (edited) Added animated water background layer. Added effect layer drawn after all board layers - This removes all screen tear flickering destroying tiles with lasers Fixed Tile Menu\Edit\Replace Colors - To update color with changes and use the updated colors. Fixed unremoved menu from Tile\Edit\Replace Color: GUICtrlDelete($menuHelp) Added Change_Window_Size(): Assigns new size to window / screen Remakes apBG to win_size + 1 tile w, h for animated background layer scrolling Redraws tile file to apBG[0] (water) Remakes surfEffect to new size of screen Added toggle to Window Menu\Show to disable BG display layer: **Now in the Background Menu Video removing transparent colorkey from background tiles b/c I don't want the water bleeding through. Spoiler A new download is available from the MapIt website. While it is true that many of these new features were already part of the Dragon Warrior 3 Remake. MapIt has overcome some of the problems that were holding the Remake back. IE: I can always determine correct tile under mouse now. A critical bug holding the Remake back before. So every system brought over is a big success again. Edited August 29, 2018 by Xandy TheSaint 1 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Xandy Posted August 31, 2018 Author Posted August 31, 2018 (edited) Properties dialog for World: Layers, Width, Height. Properties dialog for Tile: Width, Height. Fixed a crash occurring on World_Save() - Cancel Changed World_Save() process to create folder of filename entered in dialog and place filename inside folder as well as Tiles folder Toggle display scrolling background layer: On / OFF Converted aWorld from struct to array aWorld[layer][x][y][data] this removes the need to recreate structs on ReDim greater size. Much faster to shift in size. Hotkey_Dialog() Now has pages and saves hotkeys. If hotkeys stop working, sometimes I forget to restore them after another window has been activated. Use F1 to restore the hotkeys. If somehow you have tried F1 and they're are still totally fucked, delete the file at User Documents\Songersoft\MapIt\Hotkeys.txt If the world map fails to repaint to aBoard[] F2 will update the world to aBoard and then to screen. Use F2 to fix if map doesn't update. Moving to board boundaries now redraws world to board. Behold! Dynamic water tile file and dynamic tile frame. Added Background Menu: Custom scrolling background tile layer can be selected Added rando trees, low hanging fruit never looked so good. A new download is available from the MapIt website. Edited August 31, 2018 by Xandy TheSaint 1 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Xandy Posted August 31, 2018 Author Posted August 31, 2018 (edited) Also a new Overworld file: http://songersoft.com/programming/mapit/worlds/Overworld_Tile_Changes.zip (It's the world map in the post above) To use. Run MapIt. World Menu \ File \ Load - Navigate to the Overworld_Tile_Changes.txt. Located in the Extracted: Overworld_Tile_Changes.zip [ _IsPressed( 'x' ) deletes tiles. ] The Accelerator keys seem to get bogged down. So now you can set an Accelerator delete key or use the _IsPressed( 'x') to fire lasers. Edited August 31, 2018 by Xandy TheSaint and TheDcoder 1 1 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Xandy Posted September 1, 2018 Author Posted September 1, 2018 (edited) Fixed Redim_To_Settings issue causing crash for new users. Changed World Save, Load to use User Documents\MapIt\Worlds Fixed World_Create_Dialog() wasn't updating tile palette when tiles were loaded. Changed lasers to damage the side of tile hit. Very cool forests now :/ A closer look at the new forest lasers: Spoiler A new download is available from the MapIt website. Edited September 1, 2018 by Xandy TheSaint and TheDcoder 2 Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now