Timenn Posted June 19, 2002 Share Posted June 19, 2002 Ok, if someone already made this, lock this. But I read a suggestion of a modswapper. And it doesn't look so difficult to me to makeSome quotes from another topic:Hmm I could try it. But then I need a list with all filetypes and where they should go to when installed. And 1 mod a timeBut then you must make a log-file with your, devided into 2 sections. One for install. And 1 for uninstall, and in each section stands what to install or remove to place the mod, or remove it. Then you get a program with a list of all mods it can see (with that log-file) and you can say, install. Or you can say, remove the current mod, and reset Emperor to normalI could make this btw, for all games, as long as I get lists, what lists exactly! which files should go whereVidiWare's reply:You mean that a data file like:Shadow over Arrakis mod v1 - Data file "arrakis_v1.log"rules.txt,datamodelartini.txt,datamodeltexture.tga,data3ddatatexturesmodel.xbf,data3ddataunitsbuilding.xbf,data3ddatabuildingsMy reply:I see thanks. That is all?But I can't work at it this week, but next week, wait, I make my own topicAny comments?As said, I hope I can do something tomorrow, or else next week Quote Link to comment Share on other sites More sharing options...
Frodo Posted June 19, 2002 Share Posted June 19, 2002 That would be great! Quote Link to comment Share on other sites More sharing options...
vidiware Posted June 19, 2002 Share Posted June 19, 2002 Thats something useful!And dune combines editing/modding with programming in a new way... Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 19, 2002 Author Share Posted June 19, 2002 Don't forget I can make it for other games as well. As long as I get the lists with the all required info. But now only for Emperor Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 20, 2002 Share Posted June 20, 2002 Oh yes, this will be great.Hope you make it well.How will it tell the difference between multiple mods? Im new to programming note.Keep us updated. Quote Link to comment Share on other sites More sharing options...
Edric O Posted June 20, 2002 Share Posted June 20, 2002 Trouble is you'll need to constantly update it as new mods come out... But it's a great idea! Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 20, 2002 Author Share Posted June 20, 2002 No update is needed, you make a file named *.lgt (lgt = lg = logfile t = hehe, timenn, just to have a original file type, no confusing then) And there stands the name of the mod, the files which need to be installed. And maybe some info about the mod, author etc.When you install a mod, it copies all files to the folders they belong, which ARE noticed in the lgt-file. And when you remove the mod, it removes all the files listed in the lgt. Sometimes things need to be replaced. So I must make some backup-files with it. So that you can always say to 'Reset Emperor to Default'No multiple mods nowThings important when using:-All lgt-files must be in a specefic folder-In the lgt stands in which folder the modfiles are located WITHIN the folder where Modswapper stands (the Emperor folder)-The Modswapper itself must be in the Emperor folder, and not higher or lower. To provoke all questions where Emperor is installed etc.Don't worry it are only 2 files, if I'm right-2 files, 1 exe file, and 1 file to remember some things, like which mods are installed-It's free :) :P, no serious, mayb people ever wonder :PASAP, I will get a file-structure of the lgt-file. Which every mod must have, will it works with ModswapperI have a src-shot. But it is a bit empty yet, you see the buttons which are used. And the list of availabe mods. The one now listed is from a test-file. You may translate it if you want :P, but the result isn't satisfactingYeah, this is not needed but fun. Whoever makes the best icon (32x32 + 16x16) for Modswapper, I will choose that icon :), about the results may not be complained blablabla etc. :P Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 20, 2002 Share Posted June 20, 2002 Um, what should the icon be?But, I will enter. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 20, 2002 Author Share Posted June 20, 2002 Something that visualizes (love the word 8)) the Modswapper idea. Like this:-------| ||E<=>M| Emperor logo <==> Mod picture|_____| Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 21, 2002 Share Posted June 21, 2002 all in one icon? Icons and logos are usually Square, but, okay dooky, I will see what I manage, with my horrible computer imaging. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 21, 2002 Share Posted June 21, 2002 [attachment archived by Gobalopper] Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 21, 2002 Author Share Posted June 21, 2002 It's a nice one, but too faded, have you an original? Don't forget that a ico-file has:2 images, one from 32x32 and 16x1616 colorsSo the best way to save is with a 16 color bmpWhat's stands beneath mod switcher?I'm now working with the file copyer, And is the list above the full list of possible modfilesI miss the label-files and soundtxt-filesBut for now the file structure looks like this:<Name>{put here the name of your mod, not too long}<Info>{put here all info you like, length doesn't matter, but don't flood}<End> //This closes the Info-tag<Files> //Now the modfiles{here comes the folder where the modfiles are (in /Modlogs/), this must be original<Text files>{list all text-files here *.txt}<End> //close the tag<Buildings>{Put all buildings XBF here}<End> //close buildings tag<Units>{guess what, all units XBF here}<End><Textures>{all tga-files here, the textures}<End><End> //This closes all!I can change the structure, but this is it mainly Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 21, 2002 Share Posted June 21, 2002 Kay, below Mod Switcher is by Timeen.A 16x16 is extremely hard to get with good quality, 32x32 is hard enough.Okay, I will work on it, hope to come up with something readable. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 21, 2002 Author Share Posted June 21, 2002 Sorry, I can't help it. I didn't invented the ico-file :(It has to be that, otherwise my program won't except itOk, my first beta is out!Read the readme.txt well before you use itAnd please report any bugs etc. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 21, 2002 Author Share Posted June 21, 2002 I would be happy if I got the full list of possible mod-files. Otherwise there would be alot of wrong lgt-files inside your modzips. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 22, 2002 Share Posted June 22, 2002 Um, maybe you want to shorten this line.E:WestWoodEmperorDATATIMENDelphi 4ModswapperMaybe remove the Delphi 4And, possibly the TimenOkay.At the current time, this is what are in mods.DataMoviesDataMusicDataSFXDataStringsDataModelData3ddatatexturesData3ddataunitsData3ddatabuildingsAnd their equivelents in RFH/RDH files, so, all the 3ddata ones are in a RFH/RDH file called 3ddata0004.rfh etc model0003.rfh/rdhetc Quote Link to comment Share on other sites More sharing options...
scorpio9a Posted June 22, 2002 Share Posted June 22, 2002 Most people uses rfh/rfd, since that format is compressed so it makes the files very small, and why do people need to manually edit that file, make an visual editor for it.Why do they need to list the building xbf and unit xbf seperate, they are both handled the exact same way. Quote Link to comment Share on other sites More sharing options...
nemafakei Posted June 22, 2002 Share Posted June 22, 2002 Soon, we might change the AI commands - .txt files in DataAI I believe. Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 22, 2002 Share Posted June 22, 2002 Yes, the AI files are in AI0001.rfh/rdh, 0002.rfh/rdh, and the files dataai.But, we haven't looked into that much yet.Timenn, how do you use your moddyswappermajig?Perhaps? Just perhaps, we could make it a standard, with every mod, you know how there is a readme, well, maybe every mod should come with a log file for now on. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 23, 2002 Author Share Posted June 23, 2002 Where do you see that line? Delphi 4Timen etc...?Thanks for the list, but which files must go there? I know it from almost all.And I will make an update what replaces the rfh/rfd files, or put the new ones with that. And the original ones will be backuped.And making that log-file is very simple. I can add a template if you want, but it is actually, only some typing at the right place.And you must say what are buildings and what are units, because I can't (and so the program can't) see what is a builing or a unit, in the filename.Ok, that's just a matter of adding into the log-file.And, the program is just doing what you always do, placing the right files where you would doWell that's what you need, otherwise it won't work with Modswapper.Ok, I will see what I can do this week, was away this weekend. Quote Link to comment Share on other sites More sharing options...
nemafakei Posted June 23, 2002 Share Posted June 23, 2002 Could you make the file format customiseable so mod authors simply have to add in the paths - something like the Emp music inis...#include AIFiles#include ModelInins[AIFiles]Dest="DataAI"0="KobraClifftopPatrol0.txt"[ModelInis]Dest="DataModel"0="Rules.txt"1="ArtIni.txt" Quote Link to comment Share on other sites More sharing options...
Gobalopper Posted June 23, 2002 Share Posted June 23, 2002 The Delphi 4etc is when you extract the zipfile. The zip stored all those extra folders. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 23, 2002 Author Share Posted June 23, 2002 But when you say you are talking about 'textures' for example, then you don't need to add the path, because there is only 1 correct path, am I right?But I can add that #include buildings, #include textures etc. So you won't have to make empty tags (<Buildings> ... <End>) Quote Link to comment Share on other sites More sharing options...
jacobdouds Posted June 24, 2002 Share Posted June 24, 2002 Perhaps when you have finished this, you could make a simple program that lets modders, ie, me, or other people not understanding your lgt files, that lets us just input the required fields, and it makes the log file for us?If you know what I mean. Quote Link to comment Share on other sites More sharing options...
Timenn Posted June 24, 2002 Author Share Posted June 24, 2002 Damn WinZip >:(Ok, I updated that now, it should do what it has to do.And I added a template file, but it will be all temporary, for I'll make a big-update this week I hope.I deleted the other zip-file 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.