-
Posts
179 -
Joined
-
Last visited
Everything posted by dreadylein
-
the upks are compressed click for the bytecode himself look for uhood or ue explorer or something like this :) btw if you encounter something which doesnt makes sens, check the file for his entropy to see if its packed
-
its not hardcoded within the binary, its fetched from the ermm think i saw it in xcomgame.upk but this wont help atm i guess :/ yes guess it would be a fair bit easier Before you start search something like this in the binary better look out for the editor switch, dunno if they realy stript him or simply killed the args switch ;) and .. i will be honest, yes i know it would be by far nicer to only mod provided lines, but i HATE string manipulation in the scope of a few hundred lines :D oh, nearly forgott it, anyone of you has an idea why the binarie is redownloaded by steam at a little percentage of the people ? Edit: goosh im stupid ;D the ini file is pretty static and .net already provides wildcard handling by regex *blush*
-
the upk format is just slightly changed for their needs as udk use bytecode this can be decompiled quite nicely it wont produce realy usable things, but good enough for have a peak ;)
-
Atm the patcher will override changes yes, and yes it would be a better way to just give the patcher the changes ;) just hadnt the time yet, thought it would be more usefull to have patcher up and running at all :P The pro of the methode atm is that we use the windows api to do a proper injection into the RCdata secetion of the binary, as long as they dont heavly mod their ini settings we should surivive updates without a problem -> so no we dont rely on a specific version of the binary, only way to stop this would be putting the settings onto another place then just the data section In theory we would just need to strip the settings out of the binary modify the values supplyed by the modfile and reapply it seems like more work :D
-
its within the xcomstrategygame.upk in the class XGTechTree
-
Thanks for this idea :) she damn neat tbh :D Guess i will look into it tomorow
-
atm there is no way to do this they are located in the xcomstrategygame.upk you would have to decompress it mod some tools for unpacking it proper mod some tools for repacking it proper build a tool for recompressing didnt checked yet if the binary itself has crc checks at this files
-
i absolutly agree with you, dropbox would be far better, but the counter was crucial at this point as i wanted to chop down the testing to a bare minimum :/ only way to do this was having an overview about the downloads, but if you can suggest a better hoster feel free to do so :)
-
@Beknatok But pssshhh :) if(IsOptionEnabled(14)) { iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.SW_RARE_PSI); iChance /= float(1 + BARRACKS().GetNumPsiSoldiers()); } else { iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.PSI_GIFT_CHANCE); iTraineeRank = arrCandidates.Find(kSoldier); if(iTraineeRank >= 0 && (iTraineeRank < 6)) { iChance += Max(0, 75 - iTraineeRank * 20 - iGiftedSix * 40); } } return Roll(iChance); } So normaly without taking ranks into consideration -> Chance to be giftet = Will / Psi_gift_chance 40 / 4 = 10 static final function bool Roll(int iChance) { return Rand(100) < iChance; } So If Rand(100) < 10 he would have psi If i didnt overlooked something this means 1 is the best you could do now, maybe its a float didnt checked it further, try something like 0.1 should be better, but dont know if they saved it as an int
-
@anbar sorry iam not at home at, but if i dont get any new bug reports i will upload it within the next 24h ours to nexusmods
-
as the new format isnt fully reversed yet there is no way for a complet unpack yet as far as iam aware for unpacking just look around the net on the gildor page there is a programm for decompressing after this most auf the unpacking tools work partialy in theory if someone has a deeper knowledge about the bytecode of the udk engine he would be able to mod nearly anything as long as the engine doesent enforce crc checks recooking is a problem atm, normaly the xcom file should be able to do that, but it would be a shitload of work and this only works if they didnt stript the editor and cooking code completly
-
Aye, good luck :) Btw could you post your modified line ? maybe someone who has played around with the inis a bit more then i can help us here ;)
-
uh there is a little bug :D but has nothing todo with your problem mhhh As far as i can see this should have patcht your binary Try change something obvious and look if it will have effect on the game Mhh it should be able to patch even if its not locatet in the game directory, this is just needed if the patcher cant get the path variables for steam
-
@gamefever could you past the log.txt here ? Are other modifications working ?
-
Does anyone have any experience with UDK?
dreadylein replied to anandus's topic in XCOM's Enemy Unknown
I dont have a clue about the udk engine :/ But what i found out yet is: Xcom uses compressed and cooked upk files They modified the upk format for their needs so a plain udk wont work i guess They did a good job at stripping the editor out of the gamefiles as far as iam aware, guess he is in their still but it would be a though job getting him running again There are checks within it which ensure that console will only open if a variable named Isretailversion is not true Guess someone with a bit more knowledge about the bytecode of the udk engine would be abel to reenable console at least But yeah, i think as long as the developer dont decide to give us a bunch of tools we are a) screwd b) looking of a damn big pile of work -
is any of this versions cracked ? If not, this could be a big thing for us :)
-
Exactly the same directory ? This is reeealy confusing me tbh +g+
-
Thanks and on you brothers pc ? :)
-
could you add the answer to this questions please ? :) Did you bought the game twice ? Which directories are your binaries locatet on this pcs ?
-
This is pretty intresting :) Could you give me some informations ? Did you bought the game twiche ? Which directories are your binaries locatet on this pcs ? Mod just means modification, depending on the thinks you changed i guess you a) patcht a new ini into the binary or b) just modified the rcdata section with an hexeditor or something so basicly it should be the exact same thing as the other mods here and thats the point We had many people reporting about problems, but we couldnt realy figure out why exactly If people startet the modified binarie the seconde time it didnt worked
-
Good luck with your mod :) But i guess you will run into problems, the binaries seems to be linked with steamusers so using you binary will most wont work after the first start, at least this is what happend to another mod yesterday :) Ontop of that distribution of an copyrightet binary is forbidden, we shouldnt encourge the developer to take steps against the modding :), we realy need them if we want to get our hands onto the right tools
-
@versengeteriks Sorry cant realy help you with that, didnt found the time to fiddle with the settings yet :/ try it in the First Steps thread, there should be some clever people to help you :)
-
Yes just RCData injection through Windows Api and added Backup management. Main purpose was that people dont need to share copyrighted binarys
-
I will upload it, but first i have to squash some bugs and add some more error handling :o @Owen Which Version do you use ? Whats the directory of your xcom installation ?
-
XCOM EU I wanted so much to love this game... but I HATED it.
dreadylein replied to rogerpenna's topic in XCOM's Discussion
You encountert a seeded rng where the seed is saved within you savefile, this is done so you cant just reload until you hit :) Working as intended