Can't extract the "SWGEmu Settings Overrider 1.5exe"

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
I have downloaded the SWGEmu Settings Overrider 1.5 (a Z7 file). When I use the 7-Zip to "open archive", it shows me a folder (known as "SWGEmu Settings Overrider 1.5"), and inside that folder contains two things: "MSCOMCTL.OCX" and "SWGEmu Settings Overrider 1.5.exe".

With the 7-Zip, I intent to extract this Z7 file, but every time when I do so, the result I only get is that get the folder with just the "MSCOMCTL.OCX", which means the .exe does not. Even though the 7-Zip does shows me that the .exe is indeed there, it doesn't come out for some reason. :huh:

I tried to extract this .exe by others means such as copying or moving to a location, but I get different error messages, such as "Can not open output file : Access is denied" or "Not implemented (twice the time)". I also (still using the 7-Zip) tried to simply open it, but I get another error message that doesn't even makes sense what it says. :s

I got these quotes back from SWGEmu forums, from this thread (page 11)

Kayliaah;293570 said:
I don't know if the old links still work so I uploaded it to my MF account, at least it'll stay here.
Repacked the exe with MSCOMCTL.OCX because some people seem to get an error message saying that they don't have it.

http://www.mediafire.com/?815mk9w2jl38qhp

-BoneZ-;293607 said:
Make sure you're using 7zip. If you're still having problems, try downloading it again. The file from her link works fine.
Despite these posts, I'm still having problems no matter how many times I download and use it with 7-Zip.

I suggest for you to take at look at this thread as well, just in case.


So anyway, I'm not sure what else I could think of to solve this. I do know what to do with this mod after reading the instruction (at least I think so). The problem is I cannot simply use this mod without getting this .exe to make it work. Perhaps I am doing something wrong?

I will greatly appreciate to does who can help me on this. One of my characters is a Master Ranger, so this is something I will surely love to have this mod work when going into the wilderness.
 

n00854180t

New Member
Joined
Dec 2, 2016
Messages
26
Your anti-virus is probably deleting it - I had the same issue. So you extract, it works, then the AV immediately deletes the .exe file.

Edit: This one might actually be a virus - it comes up as Trojan: Runsas!plock, which seems not so good. That said, it might be a false positive. If you wait a bit I will be trying to make a new (clean) trainer for this soon.
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Unsure if that's the original file, but the original was made by Uli (Staff here and at the time staff at SWGEmu). It's super old and showed as a false positive back then too, but yeah, overall it should work.

That said, you can use SIE and my templates (I think I released these specific ones in public) and edit "swgemu_machineoptions.iff" yourself manually, just need to find the right things that you want to modify. The 2.0 version of his overrider basically did just that.

P.S. I've said this throughout the year, but hope to finally, soon, after SIE, be able to release my ModTheGalaxy Toolbox, which will cover the things that were in Uli's Overrider and much more.
 

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
Now that n00854180t mentioned about the anti-virus, he or she may very well be right.

I just recently used another of my computer to see whether problem still persist. It does, but a bit different than the other. I'm going to use the terms #1 and #2 to refer specifically which computer I'm talking about.

I've already mentioned about my computer #1, but now I'm reporting that, when I extract this .exe, it doesn't get the error message this time, but knowing the location where I trying to place, the .exe doesn't appear at all. Perhaps my anti-virus stops this before it can even finish executing.

As for my computer #2, at first it does successfully extract the .exe and stayed there for a moment. I even successfully open the .exe without any problem. I copied this .exe to my USB so I can pass this to my #1, but when I open my USB from there, is suddenly gone. Went back to my #2 to try again (while is still there), but this time I get the message that the .exe "cannot be found", and then it vanish. Went to extract again the .exe the way I did, but now every time when doing so, the .exe appears, and suddenly... vanished :s ! This now repeats every time when I extract the .exe.

I also discovered that I can still open this .exe while it's still inside of this Z7 file when using 7-Zip, but that's only on my #2. On my #1, as explained in my first post (third paragraph), it does not and I get this senseless error message.



As for Timbab: Forgive my ignorance, but I don't know what is this SIE you speak of :s , though I have seen the "swgemu_machineoptions.iff" in my directory file and noticed that it has to do with it. Can you please tell me or show me the link(s) of what you're referring the SIE and your templates?

As for the 2.0 version, I once tried to download it, but the MediaFire website is not only warning me about the danger of this file (even though I read the posts saying that it was just a false alarm) but also not letting me to download at all. Part of the message says this: "For your protection, MediaFire does not enable distribution of dangerous files". Even if I wanted to accept the risk, I don't see any way to simply bypass this to begin downloading. That's one of the reasons why I went for the 1.5 version.
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
SIE is this: http://www.modthegalaxy.com/forums/thread-sie-3-6

Idea is to be a complete modding suite for SWG by Sytner and myself. It'll get a big update soon but would work for this easily now.

You can grab the template here, it's the one called 'Templates - MachineOptions IFF', you'll need to put the .txt files into the 'templates' folder inside of SIE.

It's basically an option file that lets you set the view distance for numerous things and what not.

Example screenshot of the file:

 

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
Timbab said:
Idea is to be a complete modding suite for SWG by Sytner and myself. It'll get a big update soon but would work for this easily now.
Interesting to hear about this ^^. It sure sounds like worth it to check it out when the time comes.

As we speak, I did successfully download this SIE (as well as requirements), and followed the instruction.


Timbab said:
You can grab the template here, it's the one called 'Templates - MachineOptions IFF', you'll need to put the .txt files into the 'templates' folder inside of SIE.
Um, I'm a little confuse in this part. When I click this link you posted, the file said 'Combined Template'. Nevertheless, I download it, but when I open your template using 7-Zip, I see that it contains folders containing .txt files that looks quite the same as it already comes in the templates folder inside of SIE, and I don't see this 'Templates - MachineOptions IFF' you mentioned. Perhaps I'm suppose to extract the .txt files from your downloaded templates as a replacement to the other .txt files already in the templates folder in SIE?



Speaking of 'swgemu_machineoptions.iff', I open that file from my main SWGEmu directory...if that is that I'm suppose to do after installing SIE. When I did, it shows me exactly like your screenshoot.

However, suddenly something went wrong. When I open this very same file for about the fourth time or so, I'm now getting the error message saying 'Access to path 'C:\Program Files (x86)\SWGEmu\SWGEmu\swgemu_machineoptions.iff.iff' is denied.' (that's how I located my main directory from my #1 computer). I don't know if this second extra '.iff' is the cause, as I still see this file called exactly as 'swgemu_machineoptions.iff' in my main directory. I have not make any change at all as I carefully explore inside this file with the SIE I recently installed, and never save anything just before I close this program. Although, when I open this same file after I locate elsewhere, such as my desktop, I can once again open this file in the way like your screenshoot, but still cannot do so from my main directory folder for some reason. :s
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Sorry linked the wrong link for templates. This one should be it.

Also forgot that most of the templates were included in the latest SIE release, but by the look, you still need to grab the one I just linked.

Huh, hm, that sounds weird with the double .iff. I'd have said it was a Windows permission issue, but you said you opened it successfully before. But, oh, yeah, might be a permission issue afterall, since you can open them from the Desktop just fine.

But yeah, hope that does the trick with the template(s) I just linked and at least editing it from the desktop if you don't fix your Windows permissions to that folder or run SIE as Admin, just make sure you move the file back obviously after saving, if working off the Desktop or elsewhere. :p

P.S. Glad to hear that you didn't have any issues getting SIE setup, some people have had some issues as of late.
 

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
Timbab said:
Sorry linked the wrong link for templates. This one should be it.

Also forgot that most of the templates were included in the latest SIE release, but by the look, you still need to grab the one I just linked.
Ah! That explained. Now I have successfully downloaded the 'Templates - MachineOptions IFF'. :)

When I opened this file with 7-Zip, I found four .txt files:

OPTN_0002_BOOL.txt
OPTN_0002_FLT.txt
OPTN_0002_INT.txt
OPTN_0002_STDS.txt

I have extracted these four files directly to the 'Templates' folder inside of SIE as instructed -- that is if I understood correctly.


Timbab said:
Huh, hm, that sounds weird with the double .iff. I'd have said it was a Windows permission issue, but you said you opened it successfully before. But, oh, yeah, might be a permission issue afterall, since you can open them from the Desktop just fine.

But yeah, hope that does the trick with the template(s) I just linked and at least editing it from the desktop if you don't fix your Windows permissions to that folder or run SIE as Admin, just make sure you move the file back obviously after saving, if working off the Desktop or elsewhere.
Yes. I believe so as well. It may very well indeed be a permission issue, and this isn't the first time it happened to me when I have to replace an original file with the same, yet edited file in order to bypass this. As an example for one mod called 'Sytner's Satellite Maps 2.0', I have to move 'swgemu_live' to somewhere where I can edit it as instructed, save this file, and them move back to the main directory folder as a replacement  -- that's how I manage to get this mod to work for me.



Now that I have the SIE ready to operate, the next simple question is this: Now what?

Though I'm aware of this guide, but it looks pretty too complex to understand :s . It has details or examples that probably is in general in terms of how to use it. Perhaps you can guide me or give me examples on how to use it? As you know, I'm interested in setting the viewing distance much farther, to see many trees and buildings from a very large distance, much like these screenshots.
 

n00854180t

New Member
Joined
Dec 2, 2016
Messages
26
BTW guys, re why I said that it might indeed be a virus in the linked SWG Settings Overrider. That particular link is showing up as Rundas!plock, which is an actual trojan, for me.

False positives usually show up as something like HackTool.CheatEngine or HackTool.MemEditor or something like that - I have a copy of the Settings Overrider which doesn't actually set off the AV at all, but it doesn't work, probably because the offsets have likely changed (maybe due to the multiple instance support).

====

Regarding making a client-file mod to do the same thing, I'll try and see if I can make it work with your tips :) I tried doing it myself by editing ui_options.inc but it didn't do the trick.
 

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
n00854180t said:
BTW guys, re why I said that it might indeed be a virus in the linked SWG Settings Overrider. That particular link is showing up as Rundas!plock, which is an actual trojan, for me.

False positives usually show up as something like HackTool.CheatEngine or HackTool.MemEditor or something like that - I have a copy of the Settings Overrider which doesn't actually set off the AV at all, but it doesn't work, probably because the offsets have likely changed (maybe due to the multiple instance support).

====

Regarding making a client-file mod to do the same thing, I'll try and see if I can make it work with your tips :) I tried doing it myself by editing ui_options.inc but it didn't do the trick.
Wow! I just made a research about this "Rundas!plock" you mentioned. What I found about this Trojan is that it is "new", and also annoying and dangerous! For some reason, as I mentioned in my second post, MediaFire was not letting me to download version 2.0 because it was deemed dangerous despite reports that it may very well be false alarm, yet it wasn't stopping me to download the 1.5 version every time.

I also would like to update my report about my computers, #1 and #2. Both of them are now clearly behaving exactly the same as each other, now seeing exactly what you were describing in your first post. Indeed, you are getting extremely close, if not close enough, to pinpoint the exact cause of this problem.

Could this means that, even though the files was uploaded by someone that can be trusted, can be infected somehow? Maybe when time pass by? If so, I guess many people like me cannot or should not download this file from a point when it all started, until it can be resolved. Is there, perhaps, other places where you can safely download the Overrider version 1.5 without risking getting a Trojan or other threats?

I'm still open to go for SIE, if that's the best and safest alternative way. But, as I said in my last post, I don't really know where or how to get started.
 

n00854180t

New Member
Joined
Dec 2, 2016
Messages
26
So I pushed up the values and it works, but for things like the terrain high detail distance and flora distances, changing them with the sliders resets the max value, and also messes things up in general.

This file seems to hold the current setting rather than the range, is there somewhere that does? Also I think it might be problematic to make a mod based on the machineoptions file since it has stuff like current settings, player name etc.
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
Magneton said:
Ah! That explained. Now I have successfully downloaded the 'Templates - MachineOptions IFF'. :)

When I opened this file with 7-Zip, I found four .txt files:

OPTN_0002_BOOL.txt
OPTN_0002_FLT.txt
OPTN_0002_INT.txt
OPTN_0002_STDS.txt

I have extracted these four files directly to the 'Templates' folder inside of SIE as instructed -- that is if I understood correctly.
Yep, should be good.

Magneton said:
Now that I have the SIE ready to operate, the next simple question is this: Now what?

Though I'm aware of this guide, but it looks pretty too complex to understand :s . It has details or examples that probably is in general in terms of how to use it. Perhaps you can guide me or give me examples on how to use it? As you know, I'm interested in setting the viewing distance much farther, to see many trees and buildings from a very large distance, much like these screenshots.
Just open it in the IFF Editor (New Editor > New Iff Editor) and go through the chunks on the left side, by looking at the value window on the right side, if something sounds like something you want to override.

Might be obvious, but, it's similar to the .cfg, just that it's in IFF format, really, handled a bit different internally. Guess the aim was to lock this stuff for developers only, so people couldn't override some of this stuff easily in a plain .cfg file.

As for general SIE guide stuff, that's planned to be released with the next big update, along with a potential wikia, etc.


n00854180t said:
BTW guys, re why I said that it might indeed be a virus in the linked SWG Settings Overrider. That particular link is showing up as Rundas!plock, which is an actual trojan, for me.

False positives usually show up as something like HackTool.CheatEngine or HackTool.MemEditor or something like that - I have a copy of the Settings Overrider which doesn't actually set off the AV at all, but it doesn't work, probably because the offsets have likely changed (maybe due to the multiple instance support).
Yeah that link very well may be, I have no idea. But, it's super old and was written in VB6, which is why it might show up as a different sort of false flag than what you see these days, but no idea. Also unsure if/what libs were included.


n00854180t said:
Regarding making a client-file mod to do the same thing, I'll try and see if I can make it work with your tips :) I tried doing it myself by editing ui_options.inc but it didn't do the trick.
Yeah, any .inc/.ui file is merely visual or placeholder. The actual values and logic is all internal in the client, which is why, for example, you can't simply clone the toolbar .inc file, set it up right in the .ui and other .inc files to show up and expect it to work, because the client just sees it as dead interface, more or less, no events are registered to the clicks, etc.

Magneton said:
Could this means that, even though the files was uploaded by someone that can be trusted, can be infected somehow? Maybe when time pass by? If so, I guess many people like me cannot or should not download this file from a point when it all started, until it can be resolved. Is there, perhaps, other places where you can safely download the Overrider version 1.5 without risking getting a Trojan or other threats?

I'm still open to go for SIE, if that's the best and safest alternative way. But, as I said in my last post, I don't really know where or how to get started.
Yeah as I said above, I have no idea, Uli doesn't have the original anymore, so who knows what the state of the links are in at the moment. I can look at my archive later and see if I have any versions that don't show up with 'odd' false positives.


n00854180t said:
So I pushed up the values and it works, but for things like the terrain high detail distance and flora distances, changing them with the sliders resets the max value, and also messes things up in general.

This file seems to hold the current setting rather than the range, is there somewhere that does? Also I think it might be problematic to make a mod based on the machineoptions file since it has stuff like current settings, player name etc.
Machineoptions holds the current value yet, if you go out of bounds of the sliders, it'll automatically default to its highest value, which is hardcoded in the client itself.

But yeah, not intended to be pushed as a mod or anything, simply that, you can change it there.

I have an MTG Toolbox planned that's semi done, which has features like overriding on the fly, patching the slider range, editing the machine options and a bunch of other stuff. Just a matter of if whenever I get around to getting it release ready, work is basically done already beyond that.
 

n00854180t

New Member
Joined
Dec 2, 2016
Messages
26
@Timbab, ah, if it's a VB6 program, that's likely why the old version comes up as Rundas!plock.

I've got a basic view distance trainer going, loops until it finds the game and until the pointer to the address of the view dist is valid (loaded into zone) and then changes it to 4096, which I've found is the max before it stops doing anything.

Because of the loop there's no need to open it in any certain order, as long as you let it run until you've loaded into a zone, you can hit Esc on the console window to exit it and the view distance change should stick.

I'll be adding options like window name, value for the distance, as well as support for the other options that are trickier to overwrite like terrain distance etc, but for now it works and with view dist it should persist as long as you don't mess with the slider. I wrote it to keep overwriting the value because that's going to be necessary (likely) for the other values like global terrain detail, which seem to reset on zone.


https://www.virustotal.com/en/file/bd97e603c84bcbc4a8299377d2e1c03d37744b04290dd4cd4fdd01cbff4b415d/analysis/1482949802/

Not sure why Invincea thinks it's a trojan, but it doesn't actually load any network libraries or do anything network wise, so it can't be the worm they claim (plus all the others are clean).

https://www.mediafire.com/?4cw8ns5195tzmn2

Code (full code on Github soon):

PHP:
#include "stdafx.h"

#include "DebugLogging.h"
#include "ExternalMemoryValue.h"

#include <windows.h> 
#include <conio.h>
#include <stdlib.h>


using namespace std;


void main()
{	
	DEBUG_LOG("Waiting for SWGEmu.exe...." << endl);

	// Pointer to view distance - 0x01907F30 -> 0xDEADBEEF + 0xFC = 512-2048, extends to 4096.
	// 0x01907F30 points to dynamic address 0xDEADBEEF, offset from that by 0xFC is our view distance value.
	ExternalMemoryValue extViewDistance(0x01907F30, 0xFC, 1, true);
	
	// Static address to global terrain detail level. 1.0 - 6.0
	ExternalMemoryValue extGlobalTerrainDetail(0x1924C14, 0x0, 1, false);

	// Static address to high detail terrain distance. 1.0 - 20.0
	ExternalMemoryValue extHighDetailTerrainDistance(0x1924C18, 0x0, 1, false);
	

	HWND hWnd = FindWindow(0, L"SwgClient");
	HANDLE hProcess = NULL;
	DWORD proc_id = 0;
	
	bool setOnce = false;
	bool exit = false;

	while (!exit)
	{
		system("cls");

		DEBUG_LOG("Finding SWG Window....");

		// Try to find SWG window.
		if (hWnd == NULL)
			hWnd = FindWindow(0, L"SwgClient");

		if (hWnd == NULL)
			continue;

		DEBUG_LOG("SWG Found.");
		DEBUG_LOG("Waiting for valid pointer....");

		// Get the process ID.
		if (proc_id == 0)
			GetWindowThreadProcessId(hWnd, &proc_id);

		// Get the process handle from ID.
		if (hProcess == NULL)
			hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_id);

		if (hProcess == NULL)				
			continue;

		// This only becomes a valid address once we're loaded in the game.
		// Loop until it's valid, then immediately set the value.
		bool dynamicAddressFound = extViewDistance.ReadPointer(hProcess);
		if (dynamicAddressFound)
		{
			DEBUG_LOG("Found valid pointer...." << endl);

			// Read the current value for sanity check.
			FLOAT viewDistance = 0.0f;
			extViewDistance.GetValue(hProcess, &viewDistance);
			
		
			DEBUG_LOG("Current distance: " << viewDistance << endl);

			// If the value is less than or equal to the default, write the new value.
			if (viewDistance <= 2048.f)
				extViewDistance.SetValue(hProcess, 4096.f);		

			DEBUG_LOG("Wrote extended range...." << endl);

			viewDistance = 0;
			extViewDistance.GetValue(hProcess, &viewDistance);

			DEBUG_LOG("Current view distance:" << viewDistance);
		}

		// Pressed escape? Quit.
		if (GetAsyncKeyState(VK_ESCAPE))
			exit = true;
	}

	// Cleanup our handle.
	CloseHandle(hProcess);
}
 

Magneton

New Member
Joined
Dec 19, 2016
Messages
12
Good news! I'm very happy to report that I was finally able to make it work by adjusting the terrain level of details and the flora's draw distance, and it looks amazing! :)

At first I was dealing with setting the numbers of the drawing distance of both the 'Non-Collidable Flora' (staticNonCollidableFloraDistance) and the 'Near Radial Flora' (class: dynamicNearFloraDistance), and it works. Though it took me a while to figure out which are the right chunks that also lets me adjust the 'Global Terrain Detail' and the 'Terrain High Detail Range', until I finally realize that the options name are both the 'threshold' and 'forgeHighThreshold', respectively.

I have also been adjusting numbers of other chunks, but when I realize that they're not the one I need to adjust, I set them back the way it was.

For now for my #1 computer, I simply set the 'threshold' to 12 and the 'forceHighThreshold' to 100, while, in-game, I simply uncheck (switch off) the 'Non-Collidable Flora', 'Nearby Radial Flora' and 'Distant Radial Flora' in order to maintain the overall performance smoothly, that is not to lag too much. For my #2 computer, however, it could not handle well. In fact, it has it's own problem since something went wrong with the video card (or something else) that diminish the overall performance when playing even under normal condition, just before it was once well. It's been like this for months since I haven't gotten to the bottom of this yet.

I guess this means that I need a better video card, for not only to fix my #2 computer's, but also for uses to both of my computers to be able to perform well with the overall performance (without many lags) when setting higher numbers of these chunks that I mentioned.

EDIT: As a matter of fact, it looks like I need a better video card more than ever. I said this because I downloaded a 4-hours free trial of Star Wars Battlefront (Dice) from EA's Origin account, and boy when I started playing, that game's overall performance is really bad and slow, much like what it does to SWGEmu when I improve further the terrain level of details and the flora's draw distance at much higher numbers. I thought many modern computers comes with at least a video card good enough to handle many modern video games. Guess I was wrong.


Oh yes! I would like to thank so very much to @Timbab. Your help was a great guidance that leads me to where I wanted to be, and it could not been done without it. Indeed it was successful. :D

I also would like to give many thanks to @n00854180t for getting to the bottom of this old mod that I was trying to download, and to give valuable information as well.
 

n00854180t

New Member
Joined
Dec 2, 2016
Messages
26
http://www.modthegalaxy.com/forums/thread-swg-extension-loader-settings-overrider-add-new-slash-commands

BTW guys, I finished up the first version of my slash command extension tool, which adds slash commands for overriding the maximum values of the various graphics options.
 

roman6

New Member
Joined
Jan 7, 2017
Messages
10
I used Override for a long time with SWGemu. Worked perfectly fine.

Maybe someone mentioned this before?
I recently switched over to SWG Legends and it doesn't work with that updated client..

Hope that the new version you are working on will support the NGE client:D
 

Timbab

Administrator
Staff member
Administrator
Moderator
Joined
Oct 6, 2010
Messages
1,057
Location
Magna Germania
roman6 said:
I used Override for a long time with SWGemu. Worked perfectly fine.

Maybe someone mentioned this before?
I recently switched over to SWG Legends and it doesn't work with that updated client..

Hope that the new version you are working on will support the NGE client:D
Illegal NGE projects aren't supported or permitted here.
 

roman6

New Member
Joined
Jan 7, 2017
Messages
10
RE: Can't extract the "SWGEmu Settings Overrider 1.5exe"

Excuss me for my noobness.
SWG Legends is illegal? :O
 

roman6

New Member
Joined
Jan 7, 2017
Messages
10
RE: Can't extract the "SWGEmu Settings Overrider 1.5exe"

So there wont ever be override support for SWGLegends? Strange. Ill dig deep and find those settings myself. Thanks
 
Top Bottom