Divinity Banner
Previous Thread
Next Thread
Print Thread
Page 4 of 6 1 2 3 4 5 6
Re: Now Working - Enhanced Edition 4 Player Mod [Re: arc361] #573844
03/11/15 08:28 AM
03/11/15 08:28 AM
Joined: Nov 2015
Posts: 2
R
R1k0 Offline
stranger
R1k0  Offline
stranger
R

Joined: Nov 2015
Posts: 2
EoCApp.exe is in the folder "Shipping" in the root folder of the D:OS

Re: Enhanced Edition 4 Player Mod [Re: Foodchain] #573854
03/11/15 09:00 AM
03/11/15 09:00 AM
Joined: Nov 2015
Posts: 2
R
Rominiust Offline
stranger
Rominiust  Offline
stranger
R

Joined: Nov 2015
Posts: 2
Hey Foodchain, real big thanks for taking the time to type up how to get to the character creation for 4 players, but I'm having some issues if you don't mind giving me a hand.

I can get to the 4 player character creation screen, but it doesn't go anywhere after player 1 & 2 hit "Accept" when they're done creating their characters, and it looks like this: http://puu.sh/l7GW8/2bdd92f42d.jpg with the top right being player 2, the bottom left being player 1, although the top right was the main client the others joined off of.

I've changed the meta.lsx so it looks like this: http://puu.sh/l7H5C/13dddcb656.png (NumPlayers is now 4, and StartupLevelName has the value "CharacterCreationRedux").

Finally, my Mods\Main folder looks like this: http://puu.sh/l7HcZ/b608a54320.png

So I don't personally see anything wrong, but knowing my luck I've failed somewhere majorly, thanks for any help you can provide!

Last edited by Rominiust; 03/11/15 09:01 AM.
Re: Enhanced Edition 4 Player Mod [Re: Rominiust] #573907
03/11/15 02:57 PM
03/11/15 02:57 PM
Joined: Jul 2014
Posts: 88
F
Foodchain Offline OP
journeyman
Foodchain  Offline OP
journeyman
F

Joined: Jul 2014
Posts: 88
Originally Posted By: Rominiust
Hey Foodchain, real big thanks for taking the time to type up how to get to the character creation for 4 players, but I'm having some issues if you don't mind giving me a hand.

I can get to the 4 player character creation screen, but it doesn't go anywhere after player 1 & 2 hit "Accept" when they're done creating their characters, and it looks like this: http://puu.sh/l7GW8/2bdd92f42d.jpg with the top right being player 2, the bottom left being player 1, although the top right was the main client the others joined off of.

I've changed the meta.lsx so it looks like this: http://puu.sh/l7H5C/13dddcb656.png (NumPlayers is now 4, and StartupLevelName has the value "CharacterCreationRedux").

Finally, my Mods\Main folder looks like this: http://puu.sh/l7HcZ/b608a54320.png

So I don't personally see anything wrong, but knowing my luck I've failed somewhere majorly, thanks for any help you can provide!


You're not doing anything wrong. I encountered this sort of thing if I got 4 clients connected before players 1 and 2 finished their character creation. Even if you do get past this the next thing it's going to load is going to be a character creation screen with a top down cameras and no menu. The 4 player character creation stuff isn't really working in any practical way. It was more just proof that you could run mods from the original game, weird behavior is expected.

The way I was getting 4 source hunters onto the Cyseal beach was starting with the 2nd level that mod usually loads (CharacterCreation). That level has players 3 and 4 spanwed. When you hit accept on that level's character creation, the game runs a script that pushes all the players to the intro movie and then loads Cyseal with 4 source hunters standing on the beach.

The optimal way of achieving 4 player character creation would be done by creating a character creation menu that supports 4 people. Of course, that's difficult at well. Larian only includes the .swf files with the game. These files only play the content and don't lend themselves to any modification. Wtihout the source .fla files it's hard to understand how exactly how the menus work. The mod's author asked a Larian guy about the source .fla files for the menu and got this response. Seems like it's a "no" on ever sharing the source of their menu files. It would be nice if Larian gave some documentation on what scripting a flash file needs to use to interface with rest of the game.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #573943
03/11/15 05:53 PM
03/11/15 05:53 PM
Joined: Nov 2015
Posts: 3
F
FokkusuES Offline
stranger
FokkusuES  Offline
stranger
F

Joined: Nov 2015
Posts: 3
I already look with in the .exe with XVI32 but is diferent or something, I can't find the HEX line, I already did the rest well, In my ui I can see the 4 slots but they dont work without that hex edit.

Images here http://imgur.com/a/irNIm

Last edited by FokkusuES; 03/11/15 05:55 PM. Reason: I can't post URLs as URL
Re: Now Working - Enhanced Edition 4 Player Mod [Re: FokkusuES] #573951
03/11/15 06:31 PM
03/11/15 06:31 PM
Joined: Jul 2014
Posts: 88
F
Foodchain Offline OP
journeyman
Foodchain  Offline OP
journeyman
F

Joined: Jul 2014
Posts: 88
Originally Posted By: FokkusuES
I already look with in the .exe with XVI32 but is diferent or something, I can't find the HEX line, I already did the rest well, In my ui I can see the 4 slots but they dont work without that hex edit.

Images here http://imgur.com/a/irNIm


You're likely running a different version of the game. Are you running an unpatched GOG version by any chance?

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #573966
03/11/15 07:54 PM
03/11/15 07:54 PM
Joined: Nov 2015
Posts: 3
F
FokkusuES Offline
stranger
FokkusuES  Offline
stranger
F

Joined: Nov 2015
Posts: 3
2.0.99.10 steam version, but steam or GOG that shouldn't make any diferent.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #573975
03/11/15 08:05 PM
03/11/15 08:05 PM
Joined: Apr 2013
Posts: 465
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 465
Isn't steam supposed to auto-update that for you? (or have you disabled updates?)

Re: Now Working - Enhanced Edition 4 Player Mod [Re: FokkusuES] #573980
03/11/15 08:16 PM
03/11/15 08:16 PM
Joined: Jul 2014
Posts: 88
F
Foodchain Offline OP
journeyman
Foodchain  Offline OP
journeyman
F

Joined: Jul 2014
Posts: 88
Originally Posted By: FokkusuES
2.0.99.10 steam version, but steam or GOG that shouldn't make any diferent.


Yeah, the memory location of this value will change depending on the version of the game. The latest Steam version is 2.0.99.113. There's really no reason to not update. Just start up steam and launch the game though Steam once, it'll do it automatically. The patch itself is tiny if bandwidth was a concern.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #573982
03/11/15 08:20 PM
03/11/15 08:20 PM
Joined: Oct 2015
Posts: 2
D
DannyMck Offline
stranger
DannyMck  Offline
stranger
D

Joined: Oct 2015
Posts: 2
I believe the Steam version updated, since then it's removed the ability for 4 players. Any chance anyone can tell me the hex numbers to change in the EoCapp since the update?

edit:
Never mind, I'm just an idiot.

Last edited by DannyMck; 03/11/15 08:23 PM.
Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #573990
03/11/15 09:23 PM
03/11/15 09:23 PM
Joined: Nov 2015
Posts: 3
Z
Zackbleus Offline
stranger
Zackbleus  Offline
stranger
Z

Joined: Nov 2015
Posts: 3
[quote=Foodchain]

The optimal way of achieving 4 player character creation would be done by creating a character creation menu that supports 4 people. Of course, that's difficult at well. Larian only includes the .swf files with the game. These files only play the content and don't lend themselves to any modification. Wtihout the source .fla files it's hard to understand how exactly how the menus work. The mod's author asked a Larian guy about the source .fla files for the menu and got [url=http://larian.com/forums/ubbthreads.php?ubb=showflat&Number=536722#Post536722]this[/url] response. Seems like it's a "no" on ever sharing the source of their menu files. It would be nice if Larian gave some documentation on what scripting a flash file needs to use to interface with rest of the game. [/quote]

Have you tried using a Flash decompiler? That should give you the script references.

Last edited by Zackbleus; 03/11/15 09:25 PM.
Re: Now Working - Enhanced Edition 4 Player Mod [Re: Zackbleus] #573996
03/11/15 09:54 PM
03/11/15 09:54 PM
Joined: Jul 2014
Posts: 88
F
Foodchain Offline OP
journeyman
Foodchain  Offline OP
journeyman
F

Joined: Jul 2014
Posts: 88
Originally Posted By: Zackbleus
Originally Posted By: Foodchain


The optimal way of achieving 4 player character creation would be done by creating a character creation menu that supports 4 people. Of course, that's difficult at well. Larian only includes the .swf files with the game. These files only play the content and don't lend themselves to any modification. Wtihout the source .fla files it's hard to understand how exactly how the menus work. The mod's author asked a Larian guy about the source .fla files for the menu and got this response. Seems like it's a "no" on ever sharing the source of their menu files. It would be nice if Larian gave some documentation on what scripting a flash file needs to use to interface with rest of the game.


Have you tried using a Flash decompiler? That should give you the script references.


Yeah I did. Decompilers spit out pretty messy results. Someone who has a lot of Flash experience could probably make sense of it. The last time I used Flash for any development was over 10 years ago. I don't actually have a license for a modern Flash editor either. So I kind of glanced over the decompiled scripts used in the flash file before deciding that I didn't understand what was actually happening to make it at all work.

Typically when I glance at code or script I can get a decent idea of the of what the program is doing even if I'm unfamiliar with the language. That wasn't the case with the decompiled flash file.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574000
03/11/15 10:11 PM
03/11/15 10:11 PM
Joined: Nov 2015
Posts: 3
Z
Zackbleus Offline
stranger
Zackbleus  Offline
stranger
Z

Joined: Nov 2015
Posts: 3
[quote=Foodchain]

Yeah I did. Decompilers spit out pretty messy results. Someone who has a lot of Flash experience could probably make sense of it. The last time I used Flash for any development was over 10 years ago. I don't actually have a license for a modern Flash editor either. So I kind of glanced over the decompiled scripts used in the flash file before deciding that I didn't understand what was actually happening to make it at all work.

Typically when I glance at code or script I can get a decent idea of the of what the program is doing even if I'm unfamiliar with the language. That wasn't the case with the decompiled flash file.[/quote]

I'll take a look and see what I can find. I'll let you know if I get any results.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574016
04/11/15 12:20 AM
04/11/15 12:20 AM
Joined: Oct 2015
Posts: 14
P
Parkan Offline
stranger
Parkan  Offline
stranger
P

Joined: Oct 2015
Posts: 14
Does anyone found a way to have 2 Main characters and plus 3 or 4 more companions(hechmans)?

Playing with files even in Original sin(not in EE)does not made any result.Changing in all possible files with DB_MaxComp and DB_MaxCount don't gave any results.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574038
04/11/15 06:26 AM
04/11/15 06:26 AM
Joined: Nov 2015
Posts: 3
Z
Zackbleus Offline
stranger
Zackbleus  Offline
stranger
Z

Joined: Nov 2015
Posts: 3
Alright, after a few hours of work I manage to get the .fla files for characterCreation.swf and characterCreation_c.swf.

Download link is here for both: http://puu.sh/l8NeS/183024d777.zip

A lot of the code is initialized in the characterCreation_c.fla under characterCreation_c_fla/MainTimeline.cs

p1_mc, p2_mc, placeholder_mc_1, and placeholder_mc_2 are the references to the players.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Norbyte] #574052
04/11/15 08:53 AM
04/11/15 08:53 AM
Joined: Nov 2015
Posts: 3
F
FokkusuES Offline
stranger
FokkusuES  Offline
stranger
F

Joined: Nov 2015
Posts: 3
[quote=Norbyte]Isn't steam supposed to auto-update that for you? (or have you disabled updates?) [/quote]

I have them disabled for all games, I like to update them manually, call me crazy xd, well, I'll update and try again

Last edited by FokkusuES; 04/11/15 09:03 AM.
Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574238
05/11/15 03:20 PM
05/11/15 03:20 PM
Joined: Nov 2015
Posts: 3
D
Davidcw6 Offline
stranger
Davidcw6  Offline
stranger
D

Joined: Nov 2015
Posts: 3
When trying to mod the exe I don't think it's working anymore. I was able to find a unique instance of a substring of the hex but appears to not be working as before.

I now get "error: each player has to control one main character." after the patch. Anyone else having this issue now or am I missing something?

Thanks!

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Davidcw6] #574243
05/11/15 03:31 PM
05/11/15 03:31 PM
Joined: Jul 2014
Posts: 88
F
Foodchain Offline OP
journeyman
Foodchain  Offline OP
journeyman
F

Joined: Jul 2014
Posts: 88
Originally Posted By: Davidcw6
When trying to mod the exe I don't think it's working anymore. I was able to find a unique instance of a substring of the hex but appears to not be working as before.

I now get "error: each player has to control one main character." after the patch. Anyone else having this issue now or am I missing something?

Thanks!


Yes, this is expected. Patches to the game will overwrite the .exe and nullify previous modifications you made to the exe. The memory values are likely to change as well. I'll update this soon with the new values sometime today.

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574244
05/11/15 03:39 PM
05/11/15 03:39 PM
Joined: Nov 2015
Posts: 3
D
Davidcw6 Offline
stranger
Davidcw6  Offline
stranger
D

Joined: Nov 2015
Posts: 3
Yup. Understood and expected here too.

I'll take a stab at finding the location too unless you can get it sometime earlier. :)

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574253
05/11/15 04:44 PM
05/11/15 04:44 PM
Joined: Nov 2015
Posts: 3
D
Davidcw6 Offline
stranger
Davidcw6  Offline
stranger
D

Joined: Nov 2015
Posts: 3
I was wondering...What are you guys using to disassemble?

Re: Now Working - Enhanced Edition 4 Player Mod [Re: Foodchain] #574254
05/11/15 04:53 PM
05/11/15 04:53 PM
Joined: Apr 2013
Posts: 465
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 465
Signature for v2.0.99.676:
48 89 6C 24 28 FF 15 CD F4 50 00 40 0F B6 C7 48 8B 4C 24 60 48 33 CC E8 24 2D 91

Replace "40 0F B6 C7" with "31 C0 F7 D0".

Page 4 of 6 1 2 3 4 5 6

Powered by UBB.threads™ PHP Forum Software 7.6.2