mvi Posted September 21, 2013 Share Posted September 21, 2013 (edited) Introducing the Dune 2000 Resource Editor The Resource Editor supports loading both .R8 and .R16 resource files of all formats (normal, UILANG and UIBB), exporting sprites to .PNG, replacing sprites from a .PNG (converting to the native colour format of the original sprite) and saving the modified resource files to be used in game. This is an Alpha release, bugs are highly likely. Backup all relevant files first. The feature set is pretty barebones at the moment, see the future work section for planned improvements. Example changes (credit to D2k Sardaukar for the repair pad): Download 0.2 Preview 0.2 Introduces: Support editing of sprite attributes such as X Offset, Image Handle, Frame Width (early stages)Untested support of editing custom sized UIBB files Known issues: DATA.R8 shroud images 40-101 are incorrectly displayed Future work: Support overwriting an embedded palette sprite with a palette that better fits the new image (either a external palette supplied by the user or automatically quantize a 15/24 bit image into a new palette.)Support changing the format of a sprite (e.g. change a 8 bit reference to 8 bit embedded, change an 8 bit sprite to 15 bit)Support editing of UIENG (UILANG) control positions. Edited October 15, 2013 by mvi 4 Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted September 21, 2013 Share Posted September 21, 2013 Awesome! Thank you very much. Ahh, I see you also edited the construction yard, small but nice/funny effect. I recognize that repair pad, haha. Quote Link to comment Share on other sites More sharing options...
Nyerguds Posted September 21, 2013 Share Posted September 21, 2013 Finally a tool to open the .r16 archives? Awesome :D 1 Quote Link to comment Share on other sites More sharing options...
athanasios Posted September 22, 2013 Share Posted September 22, 2013 R16 support? Wonderful news! Bravo! Quote Link to comment Share on other sites More sharing options...
Feda Posted September 22, 2013 Share Posted September 22, 2013 NEAT. Great job mvi ! D: Quote Link to comment Share on other sites More sharing options...
THE AQIB Posted September 23, 2013 Share Posted September 23, 2013 sweet..I bow to your power..Awesome job MVI.. Quote Link to comment Share on other sites More sharing options...
dashkov.a Posted September 24, 2013 Share Posted September 24, 2013 Great!!! I waited for it 2 years ))). I have many graph in R8, but there is no edit.How about edit option for atributes:X OffsetY OffsetFrame HeghtFrame Withwithout editing of these parameters I can't replace graphics - shift of shots in game won't be correct.For R8 new graphs usnits i did this in other editor (magic team). I can test completely your R16 editor. But, sorry, i don't uderstand how to change atributes. Try to insert new value, but nothing.Awesome !!! Only need edit enable.I'm sorry, didn't see "Future work:" ... Quote Link to comment Share on other sites More sharing options...
dashkov.a Posted September 24, 2013 Share Posted September 24, 2013 Unforchanatley like in R8 editor (from magic team) - don't work replace graph for damaged structure. In editor work correct, but there are no changes in game.Possibly specific index atrib in graph damaged structure. Quote Link to comment Share on other sites More sharing options...
mvi Posted October 15, 2013 Author Share Posted October 15, 2013 Uploaded 0.2, note that 0.2 is a very rough release, I wanted to get attribute editing in for people to use, but it's not very use friendly currently. Be careful when editing attribute values and make sure to make regular backups, since it's easy to break the resource files with attribute editing. This should mean that you can now make new units and buildings and get the offsets right. Also added some untested support for editing UIBBs that are custom resolutions, so that may work (or it may not). I didn't really have time to test the feature, so let me know if it doesn't work. Download 0.2 Preview 4 Quote Link to comment Share on other sites More sharing options...
Gruntlord6 Posted October 16, 2013 Share Posted October 16, 2013 Glad to see you release this :) 1 Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted November 20, 2013 Share Posted November 20, 2013 - After replacing a sprite, the source sprite is not closed. The file cannot be adjusted until the resource editor is closed.- A list of previous opened resource files would be nice. Drag and drop perhaps also? Just something to make the process of previous used sprites/locations faster.- House mask is not exportable and/or editable?- The replace sprite preview window confuses me. It shows unclear (zoomed in) images and no real differences between the last two.- What does the 'Alignment' value stand for?- What does the frame height/width? How is this used in the game? I don't see any change. With entry 19 (in DATA.R16) the shown frame does not correspond with the image, but do have the same size. Also changing the frame size has only visible effect in the editor after going to a different entry.- What does 'First Value' do? Changing first value makes re-opening the .R16 file impossible.- What is the palette handle good for? Changing it does no good.- For example entry 27 in DATA.R16 says embedded palette, yet the same kinda images (entries 28 and so) show referenced palette. Is that correct?- How can I know and/or link the animations (like building lights blinking or fire when damaged) with the correct building? Also, what determines what image goes over which one? Like bottom and top of factory?- Exporting a sprite, doing nothing and importing/replacing the same sprite messes up the house colours (house mask). Example of entry 2767 of DATA.R16 (note the Smugglers brown colour is not even): Quote Link to comment Share on other sites More sharing options...
Nyerguds Posted November 21, 2013 Share Posted November 21, 2013 Frame width/height and alignment mean that the game can, for example, treat a 30x30 image as a 40x40 image by drawing it starting from the point at coordinates X=5, Y=5. This is standard in Tiberian Sun graphics too, where the graphics are cropped as much as possible, and the file just saves where it should be positioned in a larger frame. 1 Quote Link to comment Share on other sites More sharing options...
Luminar Posted December 26, 2013 Share Posted December 26, 2013 D2K Sardaukar said: "- Exporting a sprite, doing nothing and importing/replacing the same sprite messes up the house colours (house mask). Example of entry 2767 of DATA.R16 (note the Smugglers brown colour is not even): " the sprites must have Ixian colours (where you want to see house colour)the game will change the Ix colour to the house colour. so....you must export it with that colour :) 1 Quote Link to comment Share on other sites More sharing options...
Grand_Leo Posted March 11, 2014 Share Posted March 11, 2014 Problem with DATA.R16.0002-sprite What's wrong? With r8 all ok Quote Link to comment Share on other sites More sharing options...
dashkov.a Posted January 29, 2016 Share Posted January 29, 2016 Hi guys,Probably there is a bug in R16 rool.How to reproduse:1. Open data.R16 in tool and go to 2453 (Ordos tank grahpic)2. Export sprite an export mask images of 24533. Replace 2453 sprite.Result:The mask of 2453 replaced sprite is not correct, but I don't making any changes (just export sprite and replaced same).Screanshot: http://prntscr.com/9w8qe1"ffffff" white colour not eplemented for mask after replacing the sprite. In original (before raplacing) "ffffff" colour exist also and mask is correct.Maybe the bug when importing sprites? For other sprites the same troble, but in different colours reproducing. Quote Link to comment Share on other sites More sharing options...
Gruntlord6 Posted May 12, 2016 Share Posted May 12, 2016 Here's a working link to the program: old.d2kplus.com/Release/ResourceEditor/ResourceEditorV0.2.zip 1 Quote Link to comment Share on other sites More sharing options...
Fey Posted October 7, 2018 Share Posted October 7, 2018 (edited) Hey, the resource editor I have can't edit sprite attributes. It's the "v0.1 PREVIEW." Does anyone else have a working link to v0.2? Edited October 19, 2018 by Fey Quote Link to comment Share on other sites More sharing options...
D2k Sardaukar Posted December 3, 2018 Share Posted December 3, 2018 On 10/7/2018 at 8:12 PM, Fey said: Hey, the resource editor I have can't edit sprite attributes. It's the "v0.1 PREVIEW." Does anyone else have a working link to v0.2? I got the "v 0.2 preview" version uploaded here: https://forum.dune2k.com/topic/24640-dune-2000-sprite-pack-8-bit/?do=findComment&comment=396012 Quote Link to comment Share on other sites More sharing options...
Fey Posted December 3, 2018 Share Posted December 3, 2018 2 hours ago, D2k Sardaukar said: I got the "v 0.2 preview" version uploaded here: https://forum.dune2k.com/topic/24640-dune-2000-sprite-pack-8-bit/?do=findComment&comment=396012 You're fantastic, man. Thanks so much! I've been working on some custom spritework for my mod over in the second smugglers campaign thread. The new building looks great since I could adjust sprite offsets with tibed data editing, which I was doing already, but the new vehicle was screwed up. I wanted to overwrite one of the tank bodies and condense all three Combat Tanks into one body (I'd add more faction color to the bodies to compensate), but the sprite was grayed out. It has blue conduits that generate the lightning it attacks with. Only sprites with that sort of blue in them (like Trikes) could be overwritten successfully, and then I had nowhere to put the Trike bodies. And, the sprite offsets are screwy too and couldn't be adjusted in v0.1, so I had to make the new vehicle sprites fit into the sprites of vehicles I wanted to overwrite... it was a mess. So, I turned the new vehicle into a Raider variant instead of the hovering vehicle I originally intended. 'Shock Raider,' for now. Here's some spritework and stuff, if you want to put an image to all that up there:Storm Lasher firing on targets: https://prnt.sc/l44lv2Damaged Storm Lasher: https://prnt.sc/l44x62Striped Combat Tanks: https://prnt.sc/l6197k'Spark Darter' prototype LAVs; striped CTs at more angles: https://prnt.sc/l6jm6y I haven't finished the work on the vehicles since I haven't had a need to, but I may just go ahead and do that now. Right after my next ambition, a Heighliner tileset... oh, and if you want to see the fully-implemented Storm Lashers in action, S15V1 is out in said campaign thread. The sprites are considered entirely done and anyone has my permission to re-use them as desired. Quote Link to comment Share on other sites More sharing options...
Plamz DooM Posted August 27, 2020 Share Posted August 27, 2020 Does anyone have a working link? Every link i've come across is dead and i can't seem to find any working one anywhere. Would very much appreciate it, and sorry for necro-ing the thread, there's no where else to ask. Quote Link to comment Share on other sites More sharing options...
Fey Posted August 28, 2020 Share Posted August 28, 2020 19 hours ago, Plamz DooM said: Does anyone have a working link? Every link i've come across is dead and i can't seem to find any working one anywhere. Would very much appreciate it, and sorry for necro-ing the thread, there's no where else to ask. Ayy mate.ResourceEditor.exe Here's my resource editor. Just move the colours.bin / palette.bin from your D2k directory's data > bin folder to the same folder as the resource editor, and it'll load everything properly. Quote Link to comment Share on other sites More sharing options...
Plamz DooM Posted October 7, 2020 Share Posted October 7, 2020 On 8/28/2020 at 2:25 PM, Fey said: Ayy mate.ResourceEditor.exe Here's my resource editor. Just move the colours.bin / palette.bin from your D2k directory's data > bin folder to the same folder as the resource editor, and it'll load everything properly. Sorry for the late reply but highly appreciated. Thank you very much. Quote Link to comment Share on other sites More sharing options...
Fey Posted October 7, 2020 Share Posted October 7, 2020 2 hours ago, Plamz DooM said: Sorry for the late reply but highly appreciated. Thank you very much. No problem. Quote Link to comment Share on other sites More sharing options...
wisezombiekiller Posted January 22, 2023 Share Posted January 22, 2023 Does anyone have an up-to-date link for this? The one from 2020 is dead now Quote Link to comment Share on other sites More sharing options...
Andrew Posted January 23, 2023 Share Posted January 23, 2023 The 2020 link downloaded for me. Maybe you needed to be an approved message to be able to download it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.