Day/Night System for PSO

Paradroid

Member
Guildcard
414
Day/Night System for PSO

Well... Kinda. But not really. But kinda!

Obviously an actual real-time day/night transition is unlikely to ever happen. As such, the following is probably the closest thing you're going to get.

This is a crude method to make the game launch with daytime graphics when it is daytime, and nighttime graphics when it is night depending on your actual real-world time of day.
It's pretty simplistic, but I figured I'd share it anyway, just in case there's anybody else who would like to use it.

Of course this will only work for any area's/lobbies which have both daytime and nighttime skins available (such as Seaside and several others). Any official or fan-made skins are fine.

How is it done?

1) Create a copy of your PSO installation. The original with your daytime skins, the copy with night skins.
2) Create a *.js file containing the below javascript. (i.e. copy/paste the below code into notepad and save as *.js)
3) Edit the JS to reflect your installation paths and preferred time of day for the change.
(The "8" in the code is 8am, and the "20" is 8pm).
4) Edit your PSO shortcut on your desktop (or wherever) to target the JS file instead of targetting your PSO exe.

Now when you use the shortcut to launch the game, your night skins will automatically display when it is night for you IRL and the default/daytime skins will show if it is daytime.

There is no in-game transition. It just changes depending on the time of day which you launch the game.

The JS...

Code:
var WshShell = new ActiveXObject('WScript.Shell');
var hour = (new Date()).getHours();

if (hour >= 8 && hour < 20)
   WshShell.Run("C:\\Program Files\\EphineaPSO\\EphineaDAY\\psobb.exe");
else
   WshShell.Run("C:\\Program Files\\EphineaPSO\\EphineaNIGHT\\psobb.exe");

The paths to psobb.exe are just examples of course.


And hopefully some of you skinners out there might improve this method by making us some more night themed skins. ;)
 
Last edited:
Actually, with Glader's custom client, this could be used to implement a system where different/stronger enemies spawn at different times of the day. It could also change drops, drop rates, or other things. Obviously, this would break compatibility with the normal Blue Burst and would probably at that point need its own servers, but it's still something to think about.

Edit: this is in no way stating that Glader's custom client is anywhere near close to being ready for use, just commenting on what a project like that would allow and why it should be a bigger deal than it seems to be.
 
Back
Top