• Increase font size
  • Default font size
  • Decrease font size
Welcome, Guest
Username Password: Remember me

(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Physion-Sceneloader

Physion-Sceneloader 2 years, 2 months ago #924

  • Lynxx
  • Moderator
  • Java/C#-Developer
  • Posts: 223
I saw this post Downloading Scenes and wondered why it isnt possible to doubleclick scenes to load them in Physion, so i did a loader myself.

Unzip the Archive, copy the Physion-SceneLoader.exe to the Physion-folder, doubleclick the Physion-Sceneloader.reg (the path in there is %ProgramFiles(x86)%\Physion\Physion-Sceneloader.exe, you might have to change this, usually not).

The Exe needs Net2.0, which should be installed an almost every computer today.

How to remove:
Delete the %ProgramFiles(x86)%\Physion\Physion-Sceneloader.exe
and doubleclick Physion-Sceneloader_REMOVE.reg

How it's done:
First the program it uses either the registry-entry from Win32 or Win64 to find Physions path, then it checks if the scene exists, if not if it exists in physions/data/saves-folder, then a script is created in physions/data/scripts/autoload/zzz_sceneloader.script which looks something like this:
function MySceneLoaderTimer(event) {
mysceneloadtimer = new QTimer();
mysceneloadtimer.interval = 1000;
mysceneloadtimer.timeout.connect(mysceneloadtimer, MySceneLoaderTimer);

The script is removed after 8 seconds, i hope thats slow enough for every computer.
Infinity is vast, especially near end.
bye, Lynxx
Last Edit: 2 years, 2 months ago by Lynxx. Reason: Icons should also be visible for scene-files
  • Page:
  • 1
Moderators: Lynxx, Glenn555
Time to create page: 0.08 seconds