I've been working on compiling this game from source for a while now...and I've got to tell you, the "guide" on git is absolutely atrocious. I've had to jump through several very small hoops to get where I am, and now I'm thoroughly stumped.
The game loads and then crashes, producing the "failed to load '/Main.as'" error. It seems that the code that raises the error "ScriptManager.cpp", is assuming a Linux style file system(as windows directories are denoted with a \, not a /). I tried changing some things to get it to use Windows style notation, but it still didn't work. I've tried several things, but I need someone more knowledgeable about the game to help me. Just ask me for info and I will provide it.
Thanks.
Open Spades compiling from source - Failed to load main.as
-
Frigid
Deuce - Posts: 4
- Joined: Tue Oct 20, 2015 4:16 pm
-
Frigid
Deuce - Posts: 4
- Joined: Tue Oct 20, 2015 4:16 pm
Figured it out, I needed to put the Resources folder in the exe folder, for some reason. Just in case anyone else needs this in the future.
-
LeCom
Oh thanks I have the same problem and don't have to search BnS now. As a side note, the "linux style" notation is part of POSIX (it has to be, doesn't it?), therefore supported/parsed by Windows, so don't change it.
-
bloodfox
Post Demon
- Posts: 2206
- Joined: Mon Oct 21, 2013 4:32 pm
how the fuck did you learn to compile OS o.O
-
Frigid
Deuce - Posts: 4
- Joined: Tue Oct 20, 2015 4:16 pm
-
bloodfox
Post Demon
- Posts: 2206
- Joined: Mon Oct 21, 2013 4:32 pm
Frigid wrote:Trial and Errorya my bud Chameleon codes with C++, too and he's been trying to figure out shit about compiling OS but he doesn't know how.
That and I know C++ so
-
Driskull
Deuced Up - Posts: 30
- Joined: Mon Dec 01, 2014 1:27 pm
Glad I'm not the only one who couldn't do it. This was actually the first time I tried to compile someone else's project so I'm in way over my head here. What folder is named the exe folder? Or are you referring to something else?
-
Frigid
Deuce - Posts: 4
- Joined: Tue Oct 20, 2015 4:16 pm
Basically don't attempt this unless you have programming knowledge, I can't hold everyone's hand. It took me several hours straight of researching and trial and error to get it to work, so expect the same, much more if you don't know C++.
Who is online
Users browsing this forum: No registered users and 14 guests
