Large worldspace heightmaps?

Post » Thu Jun 21, 2012 10:39 am

I've been having a bit of a problem. I've been trying to build my own world, in its own worldspace(Actually, several worldspaces, but I'm starting with one for now.), but I can't figure out any way to build all of the land. I can't just paint all the land on manually, its way too big for that (A whole continent. Which I shrunk down 50,000 times just to fit in the game world. And it's still just as big as Skyrim itself.). So I had to try to use heightmaps. The built-in editor crashes every time, so that was an obvious no, so I tried to import. After cutting up the image into files that were the right size, naming them the right names (0_0, -1_-1, etc), converting them to .RAW format, and putting them into the HeightField folder, I clicked on the import button. Instant crash. I tried using TESAnnwyn, but the .esp that generated wouldn't open. So... I really have no idea what to do now. Is there anyone here who has successfully used heightmaps before? And if so, how did you do it?
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Thu Jun 21, 2012 6:53 am

there is a tutorial - from l3dt (Heightmap Editor) to Skyrim and you should look after Hoddminir Blog, there you will find all info you need
User avatar
sunny lovett
 
Posts: 3388
Joined: Thu Dec 07, 2006 4:59 am

Post » Thu Jun 21, 2012 2:07 pm

I've successfully used TESAnnwyn to do exactly what you want. Your ESP may not be working because you may have been using the Obliv settings, correct? I used the FO3 settings, following the instructions in the app's readMe... worked fine.

I did that preCK, using GECK... so maybe that's why mine worked and yours may not (GECK being FO3's CK.. just still with the Garden of Eden attached.. heheh). I know Annwyn is VERY particular about settings, resolutions, and having EVERYTHING in order for it to work. I'd have to dig out all those old files and notes to see the exact settings/etc I used. Let me know if you get it to work, or if you want me to hunt down that info.
User avatar
Michael Korkia
 
Posts: 3498
Joined: Mon Jul 23, 2007 7:58 pm

Post » Wed Jun 20, 2012 9:52 pm

I entered this into TESAnnwyn: TESAnnwyn.exe -i Skyrim -p 1 -b 16 -d 4096x4096 -x -64 -y -64 -h -22192 -w HelionAlphi AlphiGRAY.raw
I took this directly from the page on Hoddminir, with changes for the names of the worldspace and image file, of course. Was there something wrong with this code?
User avatar
Kill Bill
 
Posts: 3355
Joined: Wed Aug 30, 2006 2:22 am

Post » Thu Jun 21, 2012 12:52 am

Well, unless I get some help, I'm going to have to put my mod on hold. That's not very good, considering the fact that I'm getting graded on it (computer class). I know that it can be done, I've seen MERP (Seriously, that thing is amazing).
User avatar
Gaelle Courant
 
Posts: 3465
Joined: Fri Apr 06, 2007 11:06 pm

Post » Thu Jun 21, 2012 1:51 am

Hi,
maybe i could help you with your problem... i did a lot of tests importing heightmaps. What exactly TESAnnwyn said when you generated ESP file? Copy-paste the output please.

And is your RAW file a 16bit one, IBM-PC format, with no header, with a 4096x4096 resolution?
User avatar
Donald Richards
 
Posts: 3378
Joined: Sat Jun 30, 2007 3:59 am

Post » Thu Jun 21, 2012 4:09 am

hello,
try to run the command ... tesannwyn -i ... without '.EXE'
User avatar
CRuzIta LUVz grlz
 
Posts: 3388
Joined: Fri Aug 24, 2007 11:44 am

Post » Thu Jun 21, 2012 8:46 am

Well, I can't get any more information about what it said right now (I'm at a school computer right now), but I will have it in a few hours. But yes, I did make sure to have the 16-bit and all of those other things.
And thanks, Marco, I'll try that as well.
User avatar
Isaiah Burdeau
 
Posts: 3431
Joined: Mon Nov 26, 2007 9:58 am

Post » Wed Jun 20, 2012 11:06 pm

This was the output:


Some gradient overflows/underflows have been caught and blocked:
Total Overflows: 35
Total Underflows: -391

Highest point is 850 THU <6800 Game units> = 96.900000 metres [Cell <-1.-14>]
Lowest point is -2774 THU <-22192 Game Units> = -316.236000 metres [Cell <-63,-64>]

Total number of cells imported: 16384

Finished! The imported ESP is called tesannwyn.esp and is 128 cells by 128 cells.



Could it be the overflows or underflows part?

And I tried Marco's suggestion, that didn't work.
User avatar
Anthony Santillan
 
Posts: 3461
Joined: Sun Jul 01, 2007 6:42 am

Post » Thu Jun 21, 2012 12:17 pm

Overflows and underflows make artefacts on your map when you look it in heighmap editor in CK. It's better when you don't have a lot (35 and -391 aren't a lot for you, seems not too bad), but you still can correct these later (with Height Editor in Render view, or even with Heightmap Editor), that shouldn't crash CK.

What is strange your total cell created, 128x128, that means that for your RAW 4096x4096 (which is normally a size of 64x64) there must be a problem. Try opening your RAW file in Photoshop (RAW, 16bit, no header, size 4096x4096 and 0 for no entrelaced layer), and see if it's OK. Or try using Paint .Net if you don't have Photoshop.

Your gradient seems almost good anyway (OF and UF), but in my opinion your RAW file is the thing to look at. How did you generate it?
User avatar
Rachie Stout
 
Posts: 3480
Joined: Sun Jun 25, 2006 2:19 pm

Post » Thu Jun 21, 2012 4:57 am

I made the file in GIMP, and then just used photoshop for turning it into a .raw. I can open it just fine, though it's a bit dark.
User avatar
Britney Lopez
 
Posts: 3469
Joined: Fri Feb 09, 2007 5:22 pm

Post » Thu Jun 21, 2012 11:22 am

Hmm, difficult to see where is the problem without your file, are you sure it is in gray scale, not RVB? If you share it, i could have a look and test.
User avatar
pinar
 
Posts: 3453
Joined: Thu Apr 19, 2007 1:35 pm

Post » Thu Jun 21, 2012 7:20 am

Alright, I uploaded it to dropbox and sent you a link to it in a PM. Let me know if there are any problems with it.
User avatar
Tikarma Vodicka-McPherson
 
Posts: 3426
Joined: Fri Feb 02, 2007 9:15 am

Post » Thu Jun 21, 2012 11:04 am

Ok, i tried it and your RAW file is in good format, but way too much dark to use the "-h -22192" parameter, i think this is why you have problems, your lowest part become highest ones because it lowers your map by 22192 game units. But for me, it didn't crash with these parameters when i tried, so maybe you have others problems...

To make your ESP file, try this parameter:

TESAnnwyn.exe -i Skyrim -p 1 -b 16 -d 4096x4096 -x -64 -y -64 -h -8192 -w HelionAlphi AlphiGRAY.raw -q Sorry i made an error with copy-paste, argh!

The lowest part of your map will be under sea level (can't updload pictures to show you results...), because it will down your map by -8192 game units.

You could try without height adjustment (remove the "-h -8192" parameter) if you want no part of your heighmap under water.

Oh and i forgot, the "-q" parameter isn't important on result, but you will love it...it's just quiet mode...
And you could use the "-c" parameter to project a picture on your land, this could be useful if you want to use an existing map (you have to put a BMP file named "tesannwyn.bmp", 4096x4096 and 24bits RVB.)

Another detail, try to smooth your RAW in Photoshop a little if you don't want too much bumps on your land.

Hope this will help
User avatar
Solina971
 
Posts: 3421
Joined: Thu Mar 29, 2007 6:40 am

Post » Thu Jun 21, 2012 4:03 am

I'm still having the same problem. Stuck at "Loading Files 96% tesannwyn.esp". Can you load the files fine without this happening?
User avatar
matt white
 
Posts: 3444
Joined: Fri Jul 27, 2007 2:43 pm

Post » Wed Jun 20, 2012 11:18 pm

No, i have no problem to open the file in CK, are you sure you load only tesannwyn.esp?
User avatar
James Hate
 
Posts: 3531
Joined: Sun Jun 24, 2007 5:55 am

Post » Wed Jun 20, 2012 11:04 pm

I only load skyrim.esm and tesannwyn.esp.
User avatar
Rob Smith
 
Posts: 3424
Joined: Wed Oct 03, 2007 5:30 pm

Post » Wed Jun 20, 2012 9:48 pm

Really strange, upload your ESP file so i may try it, but it seems your problem is something else...can load other custom ESP in CK without problems?
User avatar
brandon frier
 
Posts: 3422
Joined: Wed Oct 17, 2007 8:47 pm

Post » Thu Jun 21, 2012 9:46 am

I can load other .esp files just fine (I've made a mod that makes glass be glass, instead of malachite). I can't upload the file right now, since I'm at school again (>.<), but I will when I get home. Hmm...If my files don't work for you, could that maybe mean that yours might load on mine?
User avatar
He got the
 
Posts: 3399
Joined: Sat Nov 17, 2007 12:19 pm

Post » Thu Jun 21, 2012 11:01 am

If it loads for me with no problem, it should for you. I can generate it for you if you wish to try.
User avatar
Céline Rémy
 
Posts: 3443
Joined: Sat Apr 07, 2007 12:45 am

Post » Thu Jun 21, 2012 2:29 am

Sorry I haven't posted back in a while.

The version of TESAnnwyn I was successful with was for Oblivion. I didn't know they updated for Skyrim (as indicated by the "-i skyrim" switch). I use the "-i 5" switch for FO3-style ESPs, which worked for Skyrim. It's possible that by updating Annwyn for Skyrim, they broke something.

Something else to consider may be the scaling of your heightmap. If it's too high, the cells may go missing or be damaged somehow; which may cause CTD or strange issues.
User avatar
Eliza Potter
 
Posts: 3481
Joined: Mon Mar 05, 2007 3:20 am

Post » Thu Jun 21, 2012 12:28 pm

Master Zip Zero, sorry for delay, i tried your ESP and everything is fine, except that you certainly made an error in command line because the name of your world is "8192". Command line parameters must be "-w NameOfWorldSpace -h -8192". I edited my previous post because the copy-paste of command line was bad.

But your ESP is working fine, you must seek for another problem with CK, Steam, Skyrim, etc. Remember too that when you open your ESP file ans Skyrim.ESM file, CK seems to freeze but it still loads your files and could take a while.

You could try to reinstall, there must be something which changed since first install.
User avatar
Joie Perez
 
Posts: 3410
Joined: Fri Sep 15, 2006 3:25 pm

Post » Thu Jun 21, 2012 3:47 am

Remember too that when you open your ESP file ans Skyrim.ESM file, CK seems to freeze but it still loads your files and could take a while.
It did freeze, I left it on all night and it never loaded. I'll try to reinstall the CK, though.
User avatar
Courtney Foren
 
Posts: 3418
Joined: Sun Mar 11, 2007 6:49 am

Post » Thu Jun 21, 2012 1:11 pm

Reinstalled, still freezing at 96% every time. I take it this problem is unique to me, then?
User avatar
Daddy Cool!
 
Posts: 3381
Joined: Tue Aug 21, 2007 5:34 pm

Post » Thu Jun 21, 2012 9:14 am

If you're trying to load the exact same ESP which someone dl'd and successfully tried, I'm led to believe the issue is either your copy of the CK or your system is too stressed. You can 'refresh' the CK by doing that "verify content" thing inside Steam.. I'm fairly certain it scans all files and replaces them if they've been corrupted or altered somehow. If you suspect your system is struggling, I'd guess it was either your RAM max'ing out and/or your swap file filling up... but with modern computers neither seems likely (unless you have an ancient system or use 5,000 apps in the background... and have zero hard-drive space for your swap file).

Have you tried using a smaller heightmap through Annwyn? The resolution controls how big the worldSpace is, so doing a single quad should work no problem. The res you're trying to use will create a worldSPace that's 9quads... larger than Skyrim I believe. It may just be the sheer size of it that CK cannot handle (that is, on your particular system). That successful test I did used a 9quad map and it worked for me; but again, that's the old Annwyn and loading the ESP in GECK.
User avatar
Hazel Sian ogden
 
Posts: 3425
Joined: Tue Jul 04, 2006 7:10 am

Next

Return to V - Skyrim