This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Re: [QUESTION] Noggit compile instructions?  (Read 10086 times)

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #15 on: January 22, 2012, 11:09:07 pm »
Err, as I said in my other post, I've started to do this (the settings window I mean)... I just need some more time (since I'm abroad right now) but its on the way.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #16 on: January 23, 2012, 12:13:34 am »
Ah nice to hear :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #17 on: January 23, 2012, 02:33:05 am »
Looks like my problem is something to do with the Freetype libs/headers. Not too sure if I'm supposed to grab the latest version of that and point the build files to the src or includes folder of that?

edit: got it to launch properly now. Just doesn't have any settings, so all I get is a window with tabs and no content... but it compiled and executes now :P

Edit: it seems as though it doesn't want to link against StormLib at random. Sometimes it builds without issue, other times it reports an error when linking to StormLibRAD.lib. Not sure what's up with that. It's also not reading from MPQ's, and does not launch when the value is changed in the registry to point to my 3.3.5 install - It seemed that the font file, skurri.ttf was causing the issue, according to the log (hence the inability to open MPQ's).

edit:
Quote
8 - (application.cpp:47): Noggit Studio - 440
11 - (application.cpp:286): Game path: g:wow335
11 - (application.cpp:287): Project path: C:GamesWorld of Warcraft
12 - (file.cpp:31): [Error] Requested file fonts/skurri.ttf which does not exist.
13 - (application.cpp:399): [Error] Unrecoverable error: Requested file does not exist.
hmm...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #18 on: January 23, 2012, 08:38:14 am »
g:wow335

not

g:wow335

Add the  in the registry !
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #19 on: February 15, 2012, 02:18:29 am »
Yeah, it works now :P
Very unstable, but that's to be expected with switching over to a different set of libs for UI elements. Time to learn more about QT4.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #20 on: May 26, 2012, 12:56:42 am »
Just wanted to bump the topic since more commits have been occurring in the repository lately. I'm getting my system ready to compile it again, hopefully a bit more stable than the last time I had attempted the build process. I'll post with results if I end up with a working build or not.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #21 on: May 26, 2012, 09:28:28 am »
The build process is easy and working without problems since more than a year now. I don't see why someone should have problems except for configuration error.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #22 on: May 26, 2012, 11:44:18 am »
Ok. There does seem to be an issue in the registry - when the game directory is defined, noggit seems to re-write the registry entry and add a forward slash to the path (like this: c:wow335/ ). The log states that the mpq's aren't found in the data folder. Trying to debug this  :roll:
Probably my stupidity...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #23 on: May 26, 2012, 12:05:16 pm »
Most likely not your fault but code adding a / independent of platform, while it should be  on windows. That code should use a QFile, not a QString to avoid this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #24 on: May 26, 2012, 12:05:36 pm »
As far as I know the / doesn't matter, but there is issues about settings, I wanted to post about this today. Let me some time to eat and I post afterwards.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »