Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - SCFan68

#1
Some brainstorming on IRC lead to some revelations about how all this works, that may be helpful to making these launchers even better.


In order to view any replay, the map you played on must have originated from somewhere in the cache\ subfolders.  Lazy Launcher needs to load the map from there for the later replay to work.


The 00\11 stuff people have said before was unnecessary.  The map files can go anywhere inside the cache\ subfolders. No renaming required.  

I've tested myself by doing the following:


1)  copied all my original 14, unmodified map files to the cache\00 folder (I put them there to just keep them separate from the others, anywhere works. The root of the cache folder, a new subfolder completely.. anwhere, just under the cache\ folder).
2)  launched Lazy Launch 2, and pointed to one of those maps, in those cache folders.
3)  Game came up, got "victory" because it's unmodified without AI's.  Fooled around a bit, and then quit game.
4)  Loaded replay with LazyLaunch 2, and it worked and played properly.


Now the problem is, most of these launchers take the original map file, and make a new, temporary map file that is used.  They recompile it or whatever and add in the AI starting locations, and in some cases, the AI code.  Then they save it somewhere, and launch Lazy Launcher using that temp map file.  Then when you are done it deletes this temp map file.


Possible solutions for replays:


1)  Have this temporary file be created somewhere IN the cache sub-folders, with a unique name (so it's not overwritten each time by the next one).  And leave it behind when game is finished.  Then a replay via Lazy Launcher is possible. However, over time, this would mean more and more unique maps filling your cache folders.


2)  Another solution would be for the launchers to be coded to handle for this.  Create the temp map file, in the proper location (under cache\ somewhere).  Launch it from there with Lazy Launcher.  And delete it afterwards.   But add functionality to the launcher to play replays.  And have it RE-CREATE that temporary map file, as needed, depending on the replay in question, somehere in the cache.  Not sure if this is fully feasible and how much work it would be, but it would mean not leaving tons of maps behind every time you play. Having the launcher be dynamic to create and delete temporary map files, as needed.


1) is the quick easy solution that tech savvy people can deal with.  2) is more ideal for the average user, but would take more coding.
I hope to have helped.