Mon Feb 19, 2018 2:55 am
bongo88 wrote:ksmiz wrote:I'll look for the instance in the first picture but the other examples look similar so I think they'll display the full thing
yeah, the first one might be different.
also, ima dig into titlecard2 scene files. I would like to know how they get Utah on top line and Jazz on bottom line. it should be somewhere in the scene files, perhaps.
also, i dragged all the titlecard2.iff files into newscorebug.iff. haveing both NewScorebug.VCUIELEMENT and TitleCard2.VCUIELEMENT did nothing. 2k18.exe searched for newscorebug.vcuielement and loaded the scoreboard proper.
but then i deleted newscorebug.vcuielement and renamed "titlecard2.vcuielement" to "newscorebug.vcuielement"
then, the 2k18.exe read the renamed element and loaded the bottom banner during gameplay.![]()
![]()
[ Image ]
it might be as simple as copying hex from titlecard2.element to newscorebug element and then dragging all the titlecard2.iff files into newscorebug.iff
or, like all hex, it might just screw it all upanyways, havent tested that theory
I gotta cook dinner for the kids. might get back to it later
ciao
Mon Feb 19, 2018 3:42 am
yeltrah123 wrote:that nba on tnt gooeyglobal looks dope!
Mon Feb 19, 2018 4:37 am
Mon Feb 19, 2018 5:37 am
Mon Feb 19, 2018 6:19 am
Mon Feb 19, 2018 9:39 am
John_Hippie wrote:Wild Idea but, is it possible to have all these scoreboards randomly selected before the start of a game?
Mon Feb 19, 2018 5:19 pm
John_Hippie wrote:Wild Idea but, is it possible to have all these scoreboards randomly selected before the start of a game?
@echo off
setlocal enabledelayedexpansion
set source=C:\Steam\steamapps\common\NBA 2K18\scoreboards
set target=C:\Steam\steamapps\common\NBA 2K18\waigua
set count=0
set x=0
:: put all the files into a pseudo-array prefixed with "TXT_"
for /r "%source%" %%a in (*.*) do (
set IFF_!count!=%%~a
set /a count+=1
)
:: Use the 'modulo' function to get a usable value from system variable %random%
set /a x="%random% %% count"
:: Pull the relevant item out of the "TXT_" 'array'
set chosen=!IFF_%x%!
echo:Random Scoreboard Chosen :: %chosen%
copy /y "%chosen%" "%target%\newscorebug.iff" 1>nul
echo Copying Scoreboard Files
echo msgbox "File %chosen% set as Scoreboard. Press OK to Launch NBA 2K18" > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
START steam://rungameid/577800
del "%temp%\popup.vbs"
endlocal
Tue Feb 20, 2018 2:01 pm
bongo88 wrote:John_Hippie wrote:Wild Idea but, is it possible to have all these scoreboards randomly selected before the start of a game?
Here is a bat file that'll pick a random scorebaord file and move/rename it to the mods folder.
set source=path to the folder where the scoreboards are kept
set target=path to your modded folder
- Code:
@echo off
setlocal enabledelayedexpansion
set source=C:\Steam\steamapps\common\NBA 2K18\scoreboards
set target=C:\Steam\steamapps\common\NBA 2K18\waigua
set count=0
set x=0
:: put all the files into a pseudo-array prefixed with "TXT_"
for /r "%source%" %%a in (*.*) do (
set IFF_!count!=%%~a
set /a count+=1
)
:: Use the 'modulo' function to get a usable value from system variable %random%
set /a x="%random% %% count"
:: Pull the relevant item out of the "TXT_" 'array'
set chosen=!IFF_%x%!
echo:Random Scoreboard Chosen :: %chosen%
copy /y "%chosen%" "%target%\newscorebug.iff" 1>nul
echo Copying Scoreboard Files
echo msgbox "File %chosen% set as Scoreboard. Press OK to Launch NBA 2K18" > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
START steam://rungameid/577800
del "%temp%\popup.vbs"
endlocal
[ Image ]
Tue Feb 20, 2018 2:01 pm
bongo88 wrote:John_Hippie wrote:Wild Idea but, is it possible to have all these scoreboards randomly selected before the start of a game?
Here is a bat file that'll pick a random scorebaord file and move/rename it to the mods folder.
set source=path to the folder where the scoreboards are kept
set target=path to your modded folder
- Code:
@echo off
setlocal enabledelayedexpansion
set source=C:\Steam\steamapps\common\NBA 2K18\scoreboards
set target=C:\Steam\steamapps\common\NBA 2K18\waigua
set count=0
set x=0
:: put all the files into a pseudo-array prefixed with "TXT_"
for /r "%source%" %%a in (*.*) do (
set IFF_!count!=%%~a
set /a count+=1
)
:: Use the 'modulo' function to get a usable value from system variable %random%
set /a x="%random% %% count"
:: Pull the relevant item out of the "TXT_" 'array'
set chosen=!IFF_%x%!
echo:Random Scoreboard Chosen :: %chosen%
copy /y "%chosen%" "%target%\newscorebug.iff" 1>nul
echo Copying Scoreboard Files
echo msgbox "File %chosen% set as Scoreboard. Press OK to Launch NBA 2K18" > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
START steam://rungameid/577800
del "%temp%\popup.vbs"
endlocal
[ Image ]
Sat Feb 24, 2018 2:38 pm
@echo off
setlocal enabledelayedexpansion
set source=C:\Steam\steamapps\common\NBA 2K18\scoreboards
set target=C:\Steam\steamapps\common\NBA 2K18\waigua
set count=0
:
:: Read in files
for /r "%source%" %%x in (*.*) do (
set /a count=count+1
set choice[!count!]=%%x
)
:
echo.
echo Select one:
echo.
:
:: Print list of files
for /l %%x in (1,1,!count!) do (
echo %%x] !choice[%%x]!
)
echo.
:
:: Retrieve User input
set /p select= "select file by number:"
echo.
:
:: Print out selected filename
echo You chose !choice[%select%]!
copy /y "!choice[%select%]!" "%target%\newscorebug.iff" 1>nul
echo msgbox "File !choice[%select%]! set as Scoreboard. Press OK to Launch NBA 2K18" > "%temp%\popup.vbs"
wscript.exe "%temp%\popup.vbs"
START steam://rungameid/577800
del "%temp%\popup.vbs"
endlocal
Sat Feb 24, 2018 3:15 pm
Mon Feb 26, 2018 5:13 am
Mon Feb 26, 2018 11:57 am
ksmiz wrote:[ Image ]
Saw this right now. Still wonder if adding the records could be figured out
Probably would have to add it to scoreboard_opt hmm
Mon Feb 26, 2018 12:00 pm
Tue Feb 27, 2018 1:23 pm
Tue Feb 27, 2018 3:33 pm
Tue Feb 27, 2018 5:10 pm
Wed Feb 28, 2018 1:53 am
Wed Feb 28, 2018 4:48 am
ksmiz wrote:[ Image ]
Saw this right now. Still wonder if adding the records could be figured out
Probably would have to add it to scoreboard_opt hmm
ksmiz wrote:exrxixxx wrote:Same technique should be used for the FULL CITY NAME. You just have to find correct ***.iff file that displays city name. Unfortunately "starting lineup."iff shows only team name.
For city name would this work? Any idea what this file is? right before the starting lineup when the players are shooting around warming up
[ Image ]
EDIT:
The file is titlecard2
Unfortunately it does not work as I thought it would. It displays the whole thing
[ Image ]
This is a more accurate way to represent what it is pointing to
[ Image ]
However I did find that this file shows their records too as well as stadium name. Wonder if it would be possible to add records under the teams to a scoreboard
Just took a quick example from google to show what I am talking about
[ Image ]
Here's a preview of the progress with the root sports scorebug. Would like to figure out some animation stuff but it is coming along.
Notification box:
I'm not great with high quality graphics so any help with my notification box would be appreciated
[ Image ]
Shot Clock glow:
[ Image ]
Wed Feb 28, 2018 5:44 am
exrxixxx wrote:just search for other bytes at titlecard2.iff file that displays season W-L record and repeat them at newscorebug's VCUIELEMENT file.
At any position at at this stage - let's say put onto the away team names offset.
Show the screenshot to prove this works, then I will try to share ideas (implemented at NBA2K14 by me) how to get "extra" text attributes to scoreboard, 'cos as I understand now you do not have free space to display W-L records
... NBA2k14 - it looked like this (data taken from titlecard and added to nescorebug iff file):
[ Image ]
Wed Feb 28, 2018 7:55 am
},
"TIMEOUT_AWAY": {
"Mesh": "timeouts_awayShape",
"Count": 42
},
"BONUS_AWAY": {
"Mesh": "bonus_strokeShape1",
"Count": 24
},
"TIMEOUT_HOME": {
"Mesh": "timeouts_homeShape",
"Count": 42
},
"BONUS_HOME": {
"Mesh": "bonus_strokeShape2",
"Count": 24
},
"POSSESSION_AWAY": {
"Mesh": "poss_awayShape",
"Count": 6
},
"POSSESSION_HOME": {
"Mesh": "poss_homeShape"
},
"shotclock": {
"Mesh": "shotclockShape1",
"Count": 138
}
Thu Mar 01, 2018 4:28 am
Fri Mar 02, 2018 3:09 pm
exrxixxx wrote:This is just an IDEA how get EXTRA TEXT, no guarantees it works with 2k18 (It worked for 2k14).
Sorry in advance if your efforts will not be successful, but I hope it is worth to try.
GL GL GL
Sun Mar 04, 2018 4:22 pm
Sun Mar 04, 2018 5:33 pm