Am Mittwoch, 20. Februar 2008 19:20:43 schrieb Giel van Schijndel: > Dennis Schridde schreef: > > Am Mittwoch, 20. Februar 2008 17:45:26 schrieb Roman: > >> I obviously have to use player0.slo and player0.vlo file when testing > >> Aivolution: > >> > >> Step 1: copy player0.slo and player0.vlo files into mod folder > >> Step 2: Replace 0 with X in player0.slo > >> Step 3: Add .in exntention to playerX.slo > >> Step 4: Replace 0 with X in player0.vlo > >> Step 5: Add .in exntention to playerX.vlo > >> Step 6: open playerX.slo.in for editing > >> Step 7: replace script "player0.slo" with script "playerX.slo" > >> Step 8: replace "player INT 0" with "player INT X" > > > > I would propose doing it differently: > > > > 1: Do some fun editing in playerX.slo.in > > 2: Run make > > 3: Have fun > > > > I guess there must be some reason why this is impossible... Why? > > Yes, there is. There simply isn't an immediate alternative to "sed" on > Windows systems, and as such this proces is not as easy to automate on > windows as it is on GNU/Linux. Aha, so that's what's this about. I wondered why one would want to work reversed, creating changes in the autogenerated files and transforming them into templates. Simple answer would have been: '"Run make" does not do what it should, since sed is not available.'
Ok, makes sense, will adapt it then, if Buginator finds no way to do search-and-replace in files from within MSVC. (dotnet and bundled tools were the ideas right now.) --Dennis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev