The following warnings occurred: | |||||||||||||||
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.24 (Linux)
|
RockPatch -> Ares Migration Assistance - Printable Version +- Renegade Projects Network Forums (https://forums.renegadeprojects.com) +-- Forum: Inject the Battlefield (https://forums.renegadeprojects.com/forumdisplay.php?fid=60) +--- Forum: Ares General Discussion (https://forums.renegadeprojects.com/forumdisplay.php?fid=19) +--- Thread: RockPatch -> Ares Migration Assistance (/showthread.php?tid=1398) Pages:
1
2
|
RockPatch -> Ares Migration Assistance - Renegade - 23.11.2009 Good day, for those of you who didn't follow the other topic, the suggestion to create a converter for those switching from RockPatch has come up. Given that those who used a previous pd-inspired exe patch will likely be the first ones to adopt the next generation of them, I do think helping and supporting people switching from RP to Ares is an important step in establishing Ares as the new exe patch. (Whether it technically is an "exe patch" or not is a different topic.) I created this thread (and will sticky it) to serve two purposes:
I'm also open to suggestions how the converter should look/work. Currently, my idea is making it a wxWidgets application (got to be something cross-platform, 'cause I can't do native Windows development), having a load button to load RP rules, an execute button, a text field which shows the converted sections and other notes, and a "save to ini" button to save the complete converted ini. (I will make it preserve comments, 'cause I hate those tools that just wipe them out.) I don't know whether I'll actually parse the INI yet, or if I'll just do simple text operations, but that's ultimately an implementation detail, nothing more. I *may* offer the option to generate a diff between converted and original file, if a diff util is present, but that's low priority. So yes. Talk to me about the converter, shower me with your wisdom and code, and help those who want to join the next generation of YR modding. (Administrative side note: This thread will, by design, attract newbies. You don't have to accept full-blown n00b behavior, as usual, but in general, be lenient and nice - while the n00bs are a lost cause, the newbs could grow into formidable modders - if we don't push them to the n00b havens.) Features known to work in both RP and Ares:
RP-features known not to work in Ares:
Post here if you need help switching from RockPatch to Ares! Please include the exact version designation of the RockPatch you're using and all other information available, such as which RP features you're using, where and how exactly the problem occurs, and what you have attempted to fix it so far. RE: RockPatch -> Ares Migration Assistance - Tempest - 24.11.2009 I'm just gonna go download the Rockpatch documentation and compare against ares'. That'll probably give a lot of 'possibles' and 'impossibles'.. RE: RockPatch -> Ares Migration Assistance - Professor_Tesla - 24.11.2009 Here is a RockPatchified rulesmd.ini (attached to this post). It is huge. And when I made the changes to it, I was using Rock Patch 1.10 Super Mega Turbo Lightning Hyper Fighting Edition, revision 36. RE: RockPatch -> Ares Migration Assistance - Renegade - 24.11.2009 Thanks, both of you Any interface/functionality suggestions? RE: RockPatch -> Ares Migration Assistance - Renegade - 27.11.2009 This is pre-alpha, the most functionality it has right now is calling the open/save dialogs, but I thought I'd give you something shiny to look at, and get your comments on the layout right away: Ignore the colors, that's just my personal theme, nothing fixed. Two main questions to answer:
In all likelihood, I'll drop the source in Ares's tools repository once I release, which poses another question: Which license to use? By default, I'm tending towards GPL, but I'm open for suggestions, in case someone would prefer a different license for a good reason? RE: RockPatch -> Ares Migration Assistance - DCoder - 27.11.2009 Layout is good. Checkbox = "Remove unsupported"? License = BSD. Just because. RE: RockPatch -> Ares Migration Assistance - Professor_Tesla - 28.11.2009 I think the overall layout looks good. Maybe the checkbox could be labeled "Disable unsupported." RE: RockPatch -> Ares Migration Assistance - WoRmINaToR - 30.11.2009 Now, I fully understand that NPatch was not a PD project and most people don't really like it... but it is relatively similar in many aspects. Would it be too far of a stretch to include NPatch conversion functionality into this? If not, I can cope, as it wouldn't be too incredibly difficult to go rewrite some of my rules entries, but it would be nice since you're going this far out for RockPatch. Also, if I may say so, the interface looks good so far. Nice and simple with a somewhat professional touch on the interface colors. For the checkbox, for a little extra clarity, you could perhaps say "Disable Unsupported Flags", as simply "Disable unsupported" may perhaps be a bit vague. You can reduce text size slightly if multiple lines is a problem for you. RE: RockPatch -> Ares Migration Assistance - Renegade - 30.11.2009 Disclaimer: In all instances, "you" is a general, plural "you" in this post, not a personal "you" directed at WoRmINaToR. This message applies to all NPatch users. As it has been stated numerous times before, we do not offer NPatch support. VK's abrasive nature, his utter lack of quality assurance, random decisions to stop coding, and the general bugginess of his code have all been known for a very long time. In other words: Anyone who decided to go with NPatch had it coming. You can't say "fuck quality", abandon ship, go with the mad scientist of EXE hackers for a year, totally mess up your rules and mod with NPatch-induced madness, and then realize "oh shit...the RenProj dudes were right - this sucks!" and then expect us to be waiting here investing time and energy to fix your problems for you. If NPatch was built reasonably, I might have done it. The way it is, I refuse to wade through the documentation to try to understand wth he was thinking. That is, if there is any documentation at all. Would surprise me. And, to be perfectly honest, even if I wanted to support NPatch, I couldn't - since VK has no problem randomly renaming flags and changing functionality just because, I would have to constantly track what exactly currently works how in NPatch and adapt the converter. No way. Sorry, but if you decided to go with VK's madness despite us constantly and continuously pointing out how badly NPatch is developed and how unreliable VK is, then you're on your own. Choosing NPatch despite its problems was your decision, not ours, and there's no reason we should have to support his bullshit just because people chose not to listen and go with him anyway. That being said, I did not plan on recompiling the converter every time a new Ares is released. I plan on implementing a text-based file format that describes which changes to perform, so that we only have to release new translation files should something change, not an entirely new converter. So if you're up for it, once it's developed, you can just go and edit the translation file to work on NPatch flags instead. But that will not be officially supported. If you want to, you can even start an NPatch->Ares thread on your own and debate with other users how to migrate. I won't sticky it, I won't provide support, but I won't kill the thread, either. It's not like we're telling NPatch users they can't use Ares. We're happy if NPatch users switch. We just feel that, if, after reiterating over and over and over again that we advise against NPatch usage, people still chose to go with that rather than RP or Ares, the consequences of that decision are their problems to deal with, not ours. In addition, as pointed out further up, the converter will be coded in standards-compliant C++, under an open source license, using an open source widget library - so even if pure translation file editing doesn't help, nothing's stopping anyone from making the necessary changes for it to support NPatch. Bottom line: NPatch support can be added to the converter, but I won't be the one doing it. RE: RockPatch -> Ares Migration Assistance - WoRmINaToR - 01.12.2009 alright, well I got my answer (gosh, seems like you could write a book on how much you hate NPatch )... (On a side note about documentation... while his grammar is absolutely atrocious, it is documented in quite good detail, at least in his NPAE MDK. His NPAE was at least somewhat stable, given that I haven't messed with some of the more complex features...) yeah, I'm one of the guys that is avidly following Ares development... i'm switching immediately the second a stable release comes out, whether I do it the easy way or the hard way. Anyways, yes, it's quite alright; don't think i'm one of those idiots who's going to storm in here and say "SUPPORT NPATCH NOW OR U SUCK RAWRBWABWABWA!!!", since I do know that NP is not well-liked... I followed VK out of necessity (man do I wish pd would have stayed on rockpatch, but i understand why he stopped); It did have several features that I used however that RP didn't have so for my purposes I used it instead because I knew those features would never make it into a RP. besides, it's more of a personal mod at this point anyways... i've been considering going public as it's got massive potential, but i am hindered greatly by the fact that I don't have any webdesigning experience, so i effectively cannot get hosted... Anyways, I'm rambling... RE: RockPatch -> Ares Migration Assistance - Renegade - 01.12.2009 It's less the amount of hate making a book necessary, it's the number of things wrong with NPatch If NPatch is well-documented, then it should be easy for you to write replacement logic. Ultimately, it'll be nothing more than simple instructions along the lines of "if you find this flag, change it to this and place the value there". I don't know what kind of format I'll give the file yet, but it looks like wxWidgets comes with classes to parse XML documents, so it may end up something like this: Code: <old flag="Foo" values="2" seperator=","> Code: Foo=42,69 Code: Bar=42 In general RockPatch to Ares INI Converter news, since "RockPatch to Ares INI Converter" is a mouthful, I have found myself adopting "Arpytuares" inside the source and as the binary filename. So if I talk about that, I mean the converter. I had the thing as far as loading INIs, displaying them, and showing a progress bar while it loaded, but I refactored the code so the working logic wasn't in the GUI event handlers, and am currently having a segmentation fault somewhere. I'm pretty sure I know where and why, though >_> so that should not be a big obstacle. Something more concerning is execution time. The most convenient way to step through the INI wxW offers is a TextFile handler that allows me to go through text files line by line. It works as expected, it's easy to use, and I'm very sure it'll make the actual conversion very easy to write. The problem? The virgin rules I have here are 31068 lines long, Tesla's RP rules have 35593. That takes....long, to put it mildly. I'll have to check whether the displaying code is what slows it down, or whether that's just the way the handler is. If it's just the displaying, I can let it work without outputting the code and do that later, but if the handler itself is that slow, you'll have to test whether the speed is acceptable for a one-time or infrequent conversion, or if I have to rewrite it to use a different handler. I'll keep you posted. RE: RockPatch -> Ares Migration Assistance - Renegade - 08.12.2009 Tiny live update as I'm coding: I've kicked the segfault I got in the balls earlier, and have determined that, indeed, running through the lines goes a lot quicker when lines are not output as they are parsed. As such, I'll try to work with that file parser for the moment, and just show a summary in the text window once the conversion is done. I'm currently about to try implementing the conversion rules parser, and this is the syntax I will try to make it understand: Code: <flag simple="1"> With that also comes that, once I succeeded in implementing it, I'll have to actually test it. For that, I would really appreciate if people could help me craft lists of available flags of both Ares and RP, and see which functionalities overlap. (That goes especially for the RP-using crowd...you're the ones who'll be using this, after all ) Without that data, I can't possibly debug this thing. Edit: And since it's been a week anyone but me posted in here, I might just assume nobody cares and stop investing time into this... RE: RockPatch -> Ares Migration Assistance - Beowulf - 11.12.2009 We didn't think you'd gotten far enough yet. If you have the XML unhardcoded, I'm probably going to make one for NPatch... as insane as that is. RE: RockPatch -> Ares Migration Assistance - Dubzac - 02.01.2010 I wasn't expecting this forum to be run by a child. i intent to change all tags if need be . i have no superweapons that required Npatch or its complex Addon's. Only thing i need is its Ingame. GUI Menu function for my 3rd side Air to Air Combat Flying mechanics I couldn't give a Sh*t if you hated V.K.!, Renegade. that was not the question. Answer Correctly Not a dumb answer please. Quote:Ares dont have I use none of the above since i read the topics "Guest" that answer your question? RE: RockPatch -> Ares Migration Assistance - Beowulf - 02.01.2010 Then you won't have an issue migrating so why the hell are you complaining? |