One last push

Discussion related to the New Vision mod.

Moderator: DaveW

Salk
UNATCO
Posts: 283
Joined: Mon Jan 07, 2008 6:24 am
Location: Sweden

Re: One last push

Post by Salk »

It supports .zip format instead of .7z but perhaps this plugin could be useful?

http://nsis.sourceforge.net/Nsisunz_plug-in
User avatar
DaveW
New Vision
New Vision
Posts: 2351
Joined: Sat Nov 19, 2005 10:03 am

Re: One last push

Post 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.
User avatar
bjorn98009_91
Silhouette
Posts: 688
Joined: Thu May 08, 2008 8:17 am
Location: Hufvudstaden, Sweden
Contact:

Re: One last push

Post 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.
Producer and Quality Assurance Manager for Deus Ex: Revision.
User avatar
DaveW
New Vision
New Vision
Posts: 2351
Joined: Sat Nov 19, 2005 10:03 am

Re: One last push

Post 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.
User avatar
bjorn98009_91
Silhouette
Posts: 688
Joined: Thu May 08, 2008 8:17 am
Location: Hufvudstaden, Sweden
Contact:

Re: One last push

Post 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.
Producer and Quality Assurance Manager for Deus Ex: Revision.
User avatar
DaveW
New Vision
New Vision
Posts: 2351
Joined: Sat Nov 19, 2005 10:03 am

Re: One last push

Post 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.
Salk
UNATCO
Posts: 283
Joined: Mon Jan 07, 2008 6:24 am
Location: Sweden

Re: One last push

Post 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:
User avatar
DaveW
New Vision
New Vision
Posts: 2351
Joined: Sat Nov 19, 2005 10:03 am

Re: One last push

Post 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!
User avatar
bjorn98009_91
Silhouette
Posts: 688
Joined: Thu May 08, 2008 8:17 am
Location: Hufvudstaden, Sweden
Contact:

Re: One last push

Post by bjorn98009_91 »

Awesome! And it was a fellow swede that beat me to it, good job Salk! :D
Producer and Quality Assurance Manager for Deus Ex: Revision.
Salk
UNATCO
Posts: 283
Joined: Mon Jan 07, 2008 6:24 am
Location: Sweden

Re: One last push

Post 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"
User avatar
DaveW
New Vision
New Vision
Posts: 2351
Joined: Sat Nov 19, 2005 10:03 am

Re: One last push

Post 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)
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: One last push

Post 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.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
User avatar
m3rc1l3ss
Silhouette
Posts: 592
Joined: Thu Jul 10, 2008 6:06 am

Re: One last push

Post 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
Hmm, I really wish I had a signature...
User avatar
Jonas
Off Topic Productions
Off Topic Productions
Posts: 14224
Joined: Sat Apr 24, 2004 9:21 pm
Location: Hafnia

Re: One last push

Post 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.
Jonas Wæver
Chief Poking Manager of TNM

I've made some videogames:
Expeditions: Rome
Expeditions: Viking
Expeditions: Conquistador
Clandestine
nerdenstein
Illuminati
Posts: 1591
Joined: Thu Apr 24, 2008 7:40 pm
Location: Leicester, England, UK.

Re: One last push

Post 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?
The real trouble with reality is that there's no background music.
Post Reply