Page 4 of 5

Re: One last push

Posted: Wed Nov 14, 2012 5:43 am
by Salk
It supports .zip format instead of .7z but perhaps this plugin could be useful?

http://nsis.sourceforge.net/Nsisunz_plug-in

Re: One last push

Posted: Wed Nov 14, 2012 9:50 am
by DaveW
It supports .7z as standard, too. It works - it extracts the zip file, it just doesn't maintain the directory structure. I'll have a look at the plugin, though I doubt I'll be able to use it.

Bjorn - I want the 7z file seperate so a manual install is still possible. So users will download a .ZIP, extract it (It will be just a .EXE and .7z), and run the installer.

Re: One last push

Posted: Wed Nov 14, 2012 12:28 pm
by bjorn98009_91
Can't you have two different downloads, one for manual installation which contains a .rar/.zip file, and one download for automatic installation? Btw, why would one want manual installation anyway? The installer is just a glorified extractor. You start it, point it to the DX directory and it unpacks into a predetermined folder. Then if you would like you can incorporate installation of a new render and make the installer modify DeusEx.ini, but if someone wouldn't want that they can just untick that box, and just have the extraction.

Re: One last push

Posted: Wed Nov 14, 2012 12:52 pm
by DaveW
Well, the way the original installer was written had all the textures uncompressed and the installer moves them across to the Deus Ex directory. The only compressionwas the .zip you downloaded it in, like the original release. But .zip is rubbish and I want to have it archived in a 7z file to reduce the filesize, but I can't distribute it in a 7z because most people don't have 7zip.

I don't really want two downloads either, it would be a bit messy and take ages to upload with my internet connection. I want to keep the option of a manual install for two reasons: future compatability and for Linux/Mac users (all 5 of them).

If I could just get the darn 7z extraction to work it would work beautifully.

Re: One last push

Posted: Wed Nov 14, 2012 1:30 pm
by bjorn98009_91
I see. I'll mess around a bit with NSIS and see if I can get it to work. I think I've actually done a 7zip unpack in code before. Like extract some dll/exes to a temp folder and then run a command line extract program. If I find out how I'll let you know.

Re: One last push

Posted: Thu Nov 15, 2012 11:53 am
by DaveW
Cool. I'll have another crack at the installer tonight. If we can get it working I'd imagine I can finish off the textures over the weekend and release next week. I was hoping to hijack the internet connection at my work to do it, but I'm off most of next week so I may have to stick with my pitiful home speed.

Re: One last push

Posted: Thu Nov 15, 2012 2:03 pm
by Salk
DaveW,

no need to sweat it. I have a very easy working solution which I have already tested.

First you need to download this plugin: Nsis7z_921.zip (http://nsis.sourceforge.net/Nsis7z_plug-in)

Unzip the nsis7z.dll found in the folder _release_ANSI in the plugin directory of NSIS.

Assuming all your textures are 7zipped as "NVTextures.7z", use this for output script:

Code: Select all

# define what to install and place it in the output path
File "NVTextures.7z"
Nsis7z::ExtractWithDetails "NVTextures.7z" "Installing package %s..."
Delete "$OUTDIR\NVTextures.7z"
Done! :smile:

Re: One last push

Posted: Thu Nov 15, 2012 7:01 pm
by DaveW
Ah - fantastic! Then once I've finished scamming casinos through the magic of Quidco (I'm bored - don't ask) I will get right on it!

Re: One last push

Posted: Thu Nov 15, 2012 8:28 pm
by bjorn98009_91
Awesome! And it was a fellow swede that beat me to it, good job Salk! :D

Re: One last push

Posted: Fri Nov 16, 2012 7:42 am
by Salk
It's the least I could do to help and I am really glad that for once I have been useful.

By the way, do you use the installer also to check on the DeusEx directory? I own the GOTY edition on CD so I don't know how it is for people who bought it on Steam, GOG or have different editions but here's how I did for the test:

Code: Select all

# define the directory to install to, in this case the directory where the installer is run from 
installDir $EXEDIR

# try and obtain the Deus Ex directory from registry
InstallDirRegKey HKLM "Software\Unreal Technology\Installed Apps\Deus Ex" "Folder"

# The text to prompt the user to enter a directory
DirText "Select the Deus Ex game folder"

Re: One last push

Posted: Sat Nov 17, 2012 12:29 am
by DaveW
Yes, there's a test for that. Two, in fact, because it looks for the Steam version too.

Also, does anyone have any idea about this?
DaveW wrote:In other news, why the fuck can't Unreal Engine render textures like it's supposed to?

How it looks in the editor:
Image

How it looks ingame:
Image

How it's meant to look:
Image
Also I've converted the re-recorded (orchestral) version of the Deus Ex theme to OGG and would like to play it over the title. Is anyone able to set that up?

(And yes, I realise that I could take the time to learn to do it myself, but really..gah)

Re: One last push

Posted: Sat Nov 17, 2012 1:09 am
by Jonas
Well... you could either try making that sheet way fucking bigger so it just takes up the whole screen, or maybe you'd have luck if you made it translucent so it would fade out to invisible at the edges. Alternatively... did you enable dark corners? I dunno, try messing with all those exotic texture flags that the Unreal Engine puts at your disposal.

I suspect it's essentially a gamma issue.

Re: One last push

Posted: Sat Nov 17, 2012 7:26 am
by m3rc1l3ss
:shock: I don't understand what is happening. I get stuck someplace I cant lurk the forums here for 3 months and suddenly both HDTP and NV are getting released. Is Half Life 3 getting released this week also?


Awesome work as always. Look forward to seeing it in game. ^^

Edit: that reminds me of an issue I was having in game once but I cannot seem to remember what I did to get that to happen. I will say something if I can think of it though

Re: One last push

Posted: Sat Nov 17, 2012 10:57 am
by Jonas
Actually here's an idea. Is that sheet unlit? Try making it unlit. If that doesn't work, try making it special lit and play around with the settings on its light until you get something dark enough.

Re: One last push

Posted: Sat Nov 17, 2012 3:06 pm
by nerdenstein
What happened to Chris the Cynic? I miss the guy. :P

Didn't he do some work with the Hong Kong sky boxes for NV before?