igorseabra4 / IndustrialPark

Viewer and editor for .HIP and .HOP archive files from Heavy Iron Studios games such as SpongeBob SquarePants: Battle for Bikini Bottom and Scooby Doo: Night of 100 Frights (GameCube, PS2, Xbox, PC).
https://heavyironmodding.org/wiki/Industrial_Park_(level_editor)
GNU General Public License v3.0
40 stars 13 forks source link

[Randomizer] Issues when attempting to run the randomizer on linux using mono. #10

Closed DarkRTA closed 5 years ago

DarkRTA commented 5 years ago

First thing causing issues is the folder picker from PresentationFramework not exising on mono. The randomizer should fall back to the shitty default folder picker if it fails to load WPF.

The second issue preventing the randomizer from working at all is a result of using backslashes instead of forward slashes in paths. The randomizer tries to access paths like /home/dark/ip\Resources\...\chuck.hip which obviously will not work on a linux box. Fixing this involves changing the backslashes to forward slashes will fix this without breaking it on windows, Future paths should be built with the System.IO.Path class.

tl;dr:

I'll update this issue as stuff is fixed and new issues are found