Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dark_Phantom

#61
The game wasnt designed with 60 tps servers in mind. Both BF1 and 2 exhibit strange behaviors with more than a few people at 60 tps. The server essentially cant keep up with all the clients when it's more than just a couple people. It's not as simple as bumping it up and everything works perfectly.
Anyders years of experience hosting our servers has proven that true.
#62
Couldn't test.  My monitors don't let me go above 1080p and just default back down to 800x600 when I try. (4k would be 3840x2160)
If you could post and let me know if it does work, that'd be great.
#63
Custom Resolution ingame (Addon Only)

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1602

This mod is simply to allow a custom resolution to be set ingame in 1.2, rather than through a custom program. Even though it is in addon, it does not take away from the 50 mission addon cap in 1.2.

The option can be found after you log in and select "Options".  The menu option is at the bottom.

I do not have a 2k/4k monitor, I only tested it with 1080p since those are what I have.  Setting the resolution to an unsupported res forced the game into 800x600.

Once the resolution has been set, as long as you don't go into the video options screen in the shell, it should stay, even if you restart the game or remove the mod.
I may expand on this in the future.  Consider it a proof of concept of sorts for new menus/settings.

This does NOT set the menu resolution, which is locked to 800x600 in 1.2.

Credits:
Dark_Phantom - Creator
BAD_AL - example code to replace screens in BF2
#64
Released Maps and Mods / Naboo Guard Sound Glitch Fix
February 05, 2022, 09:23:36 PM
Naboo Guard Sound Glitch Fix

https://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1601

This file goes in GameData\Data\_LVL_PC\Sound\ and replaces the stock nab.lvl

Basically this "glitch" was caused by an incorrect reference in nab2cw.sfx when the PC version was being worked on.
The console versions of the games have all the sounds contained in the individual sound.lvl files, however, on PC, to preserve sound quality, all effects are stored in common.bnk.
Great right? Well in nab2cw.sfx, the Rebel VO files were given aliases, which normally would NOT be an issue and isn't on console, seeing as everything is in the same place.  On PC this is what was happening:
Searching for GICOM001 (a hurt sound)
GICOM001 is not found, so we pick a place in memory that C++ thinks is fine and dandy and translate it to sound.
AICOM001 is what IS in the common.bnk, so we need to change some references in CW.snd to AICOM001 instead of GICOM001 (which links the odfs and sound effects together), and remove the alias from nab2cw.sfx.

Creator: Dark_Phantom, who got so sick of hearing that ugly noise that he patched it out after 16 years.
#65
Released Maps and Mods / Shell.lvl Builder for SWBF1 PS2
February 05, 2022, 06:58:23 PM
Shell.lvl Builder for SWBF1 PS2

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1600

This is a feature complete munger for PS2 shell.lvl.

I have left the unmunged PS2 shell scripts in for reference if you desire to swap files and use minimunge.  However, I have tirelessly reversed them so there should not be any (noticeable?) discrepancies against the stock ones.
If I were you, I would remap "move shell" to your directory so that you save a copy step :)
Do not move StockBin unless you want to change the bat file - it is configured to properly insert itself into the PS2 shell.

All maps/modes seem to be in a playable state

ifs_start - there seems to be a missing if-loop in here I don't understand but it's buried under an XLive loop so it doesn't need fixed for PS2.  There's a chance it was fixed for XLive in the Xbox build (PS2 was done first)
All other files seem to be complete and working.

MY BIGGEST NOTE: The PS2 shell is pretty fragile. Mine actually munges smaller than stock but if you go bigger than stock you can start to see some memory failures when calling videos in on the IA screen/Tutorials.
It took a long time to get the images as close to PS2 as possible, but there still might be some distortion/oddities in the images (like there's some non-alpha'd lines in the IA screen I noticed later.) I had to munge more of them in 4-bit format than I would've liked. If you're adding/modifying images, please make sure you test the screens that load in videos like the IA screen before release.


Credits:
Dark_Phantom - reconciling differences in byte code to original PS2 values
Psych0fred - different scripts to test on, being a cool guy
tirpider - I would never have been able to do this if I hadn't read a long write-up tirpider did on lua bytecode generation and understanding.  You're the man!
Led - for keeping SWBFgamers going all these years.
#66
General / Re: Merry Christmas
December 21, 2021, 06:11:03 AM
Hope everyone has a great holiday season!
#67
"lub" files are extracted compiled scripts. There's no practical way to get them back into the original file after extracted.  I guess it could be hex edited but that's pretty difficult and probably is not going to work the way you expect.

I can't fully answer your question for you because I generally do BF1, but I do know that the "warm up time" (spawn timer?) is hard coded and requires a custom exe. The rest will require learning lua scripting and recompiling the shell.lvl.

Your best bet is Gametoast for BF2, specifically at the .lua section here: https://gametoast.com/viewtopic.php?f=27&t=13806  - I don't know specifically what they would recommend for your situation, which (like I said) requires a shell recompile.  All the scripts are included in the BF2 mod tools which I assume could be used for that purpose.
#68
Requests / Re: .LVL File Translator
October 15, 2021, 04:08:51 PM
The odds of unmunge getting any more work are very low.
Led's method would be the only way to edit existing files or creating brand new ones using the tools provided.
#69
Requests / Re: .LVL File Translator
October 15, 2021, 08:01:40 AM
the core lvl tool has a "Multi-Language Tool" exe with it.  That's how you edit the localizations, and it's the only way to do it at this time.
#70
Released Maps and Mods / MP Monday 10/11/21
October 11, 2021, 11:13:30 AM
MP Monday 10/11/21

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1599

EXTREME version of MP Monday, probably going to bomb out, but oh well.
Bespin Escape by Jendo7
Geonosis Arena (2 versions) by Napseeker
Ord Mantell NGG by Rippentuck
Theed Xbox Beta conversion by Dark_Phantom
#71
fixed link, should be good.
#72
10-4-2021 Multiplayer Monday Mod Map pack

http://www.swbfgamers.com/index.php?action=downloads;sa=view;down=1598

This week's Multiplayer Monday brings back Mod Maps!

Maps included:
Kashyyyk Wookieeland by Rends
Eddie's Kastel by Eddie
Geonosis Arena by ?
Coruscant: Streets by Rends
Rhen Var: Bridge by newguy99
#73
http://www.swbfgamers.com/index.php?topic=13685.msg122784#msg122784

Program in this thread can extract from MVS.  However, ps2 files are not in bink format, they're in PSS format.  You need a program called PSS demux to split it into sound and video, then you'll need your favorite video editing program to turn it into what format you want.

Seems kinda overkill for the PS2 demo though.
#74
Yeah and the CP is for the Gamorreans.  That's been known by the modding communities for a while.

We just don't have the exposure that Oddheader does.  Love his videos lol.
#75
SWBF2 Modding / Re: binkw.32dll error
September 15, 2021, 12:12:21 PM
The binkw32.dll error is most likely caused by not having the BF2_modtools.exe in the same folder as your regular Battlefront2.exe.
You'll need to move that exe over to the Steamapps/common/BF2/Gamedata, then you use that to test your mod and get better logging.