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!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mjollna

Pages: 1 ... 4 5 [6] 7 8 ... 16
76
Quote
The auto detection is fine (except for being fucked up on windows again and again due to people not knowing about the virtual registry and adding wrong paths for loading. More than doing that is just impossible. It is fine, just let it be.
Ok.

Quote
There is no reason to edit stuff in registry and telling people they would need to is just plain wrong. Storing stuff there is perfectly fine and will not be changed.
I agree storing in registry is ok.

Quote
Of course there is no handling for stuff changing right now. The small settings dialog is just opened on the wrong place.
I agree, that's why I said I wanted to change this.

Quote
Also, replace all QStrings with QFiles when handling directories to prevent /  fuckups, like they exist right now.
Ok I'll do that.

77
Hi there !
 
I have a few questions about settings, so I thought I'd explain them here.

The idea



Two days ago a few friends asked me to compile for them the latest rev from the repo (qt-no-old-ui branch, rev 456 to be exact), since they wanted to test/see/play a little, even knowing that the UI is not finished.
That was also a good means to let me see if the path settings I had committed some months ago would work, and how users who don't know anything about the new system would react.
 

Problems encountered



Auto-detection of the Wow version installed almost always fails



The reasons are as many as there are potential users, which means a lot of hassle for everyone (imho).
 
Lots of people, especially those interested into modding, have multiple Wow installs, of different versions, sometimes with different locales. So there's no way to detect the right install at first try, it's just pure luck :
 
    - Me : more than 40 full Wow clients archived, 8 installed on my main HD (alpha, 4x 335a, live, ptr, mop beta).
    - One of my friends : Cataclysm install with 2 different locales, several 335a with only one locale, Mop.
    - Another friend : Cataclysm, 335a at least.

Locale problem



Friend 1 had Cataclysm detected automatically with enGB locale. I told him to manually enter in regedit (which really is bad means to do and should never happen >.<) the path to his 335a. After that Noggit seemed lost and couldn't find most of his files... until we found out he only had frFR locale on his 335a.
 

Changing folders



Imagine someone defines a proper Wow install. Everything works fine for a while.
Then the person moves his Wow install for whatever reason. There is one install defined so Noggit will try to load the files, but the install has disappeared, so there's a big chance it won't load at all, and thus the user can never reach the settings button to change the path.
On the contrary, it would probably not be really comfortable to have the settings popup at every launch.
 

Conclusion (my opinion on all this)



Definitely, when there's no install defined, i.e no previously defined config, the settings should pop at first launch before anything else (yes Schlumpf you're right, I remember you told me about this). That would also mean remove any auto-detection attempt.

It would probably be better to ask which locale people want to use in case they have several ones, and allow them to change it manually later... ?

I'd also like to add the fact that if install is not valid (files don't load/are not found for whatever reason, even though there are settings defined), the settings windows pops again.

Finally, I'd also like to reload the maps lists/tabs when paths are changed, to avoid problems (attempt to load files from an invalid/previous location). And if there's a map window loaded, maybe it's possible to disable paths changing until it's closed ? Idk.
 
What do you think ?
 
If you're ok I can change the settings behaviour to take this into account... no promise on delay though, some things are harder than others in what I've listed above. But I feel better now when looking at the code, so I think I'll be faster than 5 months :)

78
Software Development / Re: [QUESTION] Noggit compile instructions?
« 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.

80
The goal is also to get rid of a lot of beginner questions related to mpq packing.
No mpq, no problem, no questions, less technical stuff to understand, more place for art.

81
To be completely honest, I have only one 335a test install to run run both Noggit and the client.

So now this exe change is saving me a lot of copying / packing steps : when I want to see my files ingame, I just close Noggit, (very often copy my files in another place to keep intermediate saving steps), and open client, as simple as that.

That also saves a lot of path potential errors, since both programs work on the same files.

The only thing I really have to remember is to not open both programs at the same time.

82
Tutorials / [TUTORIAL] [RELEASE] Forget MPQ : don't pack anymore
« on: May 21, 2012, 12:00:53 am »
Hi everyone !

Those who follow the chatbox have probably seen a few weeks ago some exe tweaking Schlumpf made, allowing (again) the Wow client to read files that are not packed into a MPQ, like Noggit does.

That really makes adt testing a lot easier/faster, so I strongly encourage everyone worldbuilding to go for it.

I'm detailing here how to reproduce it, so that there's no need to use MPQ anymore.
Again, say thanks to Schlumpf for finding it and sharing :)

How it works


In your (Windows) Wow.exe, look for the following pattern:
Code: [Select]
E8 ? ? ? ? 6A 00 E8 ? ? ? ? 6A 02You can use 010 editor, edit > search, tick "use wildcards", set to "hex bytes" and paste pattern. You should have only one entry.

You can also use this tool by Schlumpf to replace the pattern instead of 010 editor : viewtopic.php?f=59&t=1829&p=11827#p11827

Replace the beginning of the pattern with:
Code: [Select]
90 90 90 90 90 6A FFWhich gives for Windows Wow 3.3.5a 12340:
Code: [Select]
90 90 90 90 90 6A FF E8 2A EC 01 00 6A 02

The explanation for the curious ones


Quote from: "schlumpf"
Search for string "World of Warcraft\Client". Will be referenced on four places. Once with "SendErrorLogs" right behind. That's a call to SRegLoadValue and SRegSaveValue. From there, go up. You will see two calls to StormSetOption, one with first argument being 10, the other one being 11.
Right in between, there will either be a call to two functions or an inlined function containing an if. On windows, it will most likely not be inlined.
If there is no branch, dive into the second function called. That one should contain a branch.
That branch is for checking the command line for a different data folder given. You're interested in the functions above. Those are SFile::DisableSFileCheckDisk(); and SFile::EnableDirectAccess(0);.
You want to remove the call to DisableSFileCheckDisk and change the argument for EnableDirectAccess to something having bits 1 and 2 set.

Some notes


Refreshing the map


Ok, there's probably a better method for that, but that's the quickest I've come up with.
If you want to quickly refresh your adts without quitting the client on your favorite private server, you can :

  • Paste your newly edited files in your wow folder.
  • Click this macro twice:
    Code: [Select]
    .go -17000 -17000 0 0
    .go [your coords on your map]
That first teleports you in an empty continent area (ie : fast to load), and then re-teleports you on your map.
The map change makes the client reload the adts from file.

Other advice


If you have two installs (one for Noggit and one for Wow) you can have both programs opened at the same time and do some copy/pasting/refresh to see your changes ingame quickly.

Be sure to always make a copy of your adts in another safe place from time to time. You never know, some quick file overwriting can happen quickly.

TL;DR


  • Download this wow.exe (Windows 3.3.5a 12340)
  • Save you original Wow.exe, paste the one you've downloaded in your Wow folder.

83
"Retro-Porting" / Re: Mop adts in wotlk?
« on: May 20, 2012, 05:30:09 am »
If I'm not wrong you have two steps to go :

- Add m2 and wmo number for the chunk in mcnk header (should be 0x10 and 0x38).
- mcrf is mcrd followed by mcrw. So I'd try just pasting content of mcrd and then mcrw.

To go from 3.x to 4.x I've split the mcrf part into two without altering content, so the contrary should work I guess.

84
Miscellaneous / Re: Zone Fog
« on: May 19, 2012, 05:11:26 am »
This thread may help you too :
viewtopic.php?f=10&t=1734

85
Lore Team / Re: [Faction] The XYZ Elves.
« on: May 15, 2012, 01:39:30 pm »
"EdEdited" :D .... So pretty much no name yet :)

86
"Retro-Porting" / Re: Mop adts in wotlk?
« on: May 14, 2012, 11:24:56 pm »
You can use gp as a base if you want, just fork :
https://bitbucket.org/Mjollna/gillijimproject/

It's not perfect, it's not finished, but it has a rudimentary parsing for adts of all versions, and some conversion stuff already.

As it is, it can convert mop terrain to lk adts.
I was too lazy to add textures and objects until now, but it shouldn't be that long.
Of course, you'll lose any improvement of the format from Cata/Mop.

87
Lore Team / Re: [Faction] The XYZ Elves.
« on: May 14, 2012, 06:08:12 pm »
I have no idea at all xD
My first idea for this map was just to make a kind of show off video with a very basic scenario allowing to show every interesting angle of the island... I didn't really expect it to end up on a server.

I can think about it, but since the island is very very small and probably won't contain a lot of houses, I imagine a kind of sanctuary / remote place where inhabitants like to be a little isolated. The general feeling i want to keep is a very peaceful place (yes i know, that makes it hard to have a scenario if everything is alright and everyone happy).

And i'm not really sure about having elves there... I've used wow elves buildings, but it's not wow, so... I was thinking about humans. But if you prefer elves, it can be elves.

Have to go now, i think about all this :)

88
Noggit / Re: How does one add ground effects?
« on: May 13, 2012, 11:07:37 pm »
Hi !

You can try to combine (rev41 + tutorial thread) :
viewforum.php?f=72

And then :
viewtopic.php?f=59&t=1671

Be sure to save a copy of your adts in a safe place before you try.

89
Level Design / Re: [QUESTION] Is it possible?
« on: May 13, 2012, 12:00:13 pm »
It's on the picture :



"pack" means "make a mpq containing your modified dbc", nothing fancy here <!-- s:) -->:)<!-- s:) -->

And it's not necessary to change server dbc here.

90
Level Design / Re: [QUESTION] Is it possible?
« on: May 13, 2012, 03:30:52 am »
Ok.
Let's do a tl;dr version :)

- Open your lightfloatband.dbc
- Look for value 4315 in col #0.
- On that line, change col #18 (counting from 0) value 900.0 to 45000.0
- Close dbc, pack.

---------------------

The key is to understand that 720 in light.dbc points to 3 locations at the same time :
- 720 in lightparams
- (720 * 18 - 17) (iirc) in lightintband
- (720 * 6 - 5) in lightfloatband

Pages: 1 ... 4 5 [6] 7 8 ... 16