[Tool] Roster Editor

A hub for everything related to NBA 2K13 modding. Releases, previews, requests, and other modding discussion belongs here.

Re: [Tool] Roster Editor

Postby skoadam on Sat Feb 02, 2013 2:34 am

Image Image Image

URB WHERE SIM HAPPENS [41 Complete Seasons Mods + Bonus Rosters]

Image

2022/2023 2021/2022 2020/2021 2019/2020 2018/2019 2017/2018 2016/2017 2015/2016 2014/2015 2013/2014 2012/2013
2011/2012 2010/2011 2009/2010 2008/2009 2007/2008 2006/2007 2005/2006 2004/2005 2003/2004 2002/2003
2001/2002 2000/2001 1999/2000 1998/1999 1997/1998 1996/1997 1995/1996 1994/1995 1993/1994 1992/1993
1991/1992 1990/1991 1989/1990 1988/1989 1987/1988 1986/1987 1985/1986 1984/1985 1969/1970 1961/1962
User avatar
skoadam
U R Basketball - Where Sim Happens
Contributor
 
Posts: 8360
Joined: Sat Nov 12, 2005 12:52 am
Location: PL

Re: [Tool] Roster Editor

Postby Edek91 on Sat Feb 02, 2013 3:04 am

JaoSming wrote:you edit the teams tab for that,


it's work. Thanx :wink:
Edek91
 
Posts: 3
Joined: Fri Feb 01, 2013 9:02 am

Re: [Tool] Roster Editor

Postby Leftos on Sat Feb 02, 2013 3:12 am

I figured out the actual IsFA property in the roster files, so now (v0.19.4.3) when you have a player in the FA pool he should become a proper Free Agent in the game as well, and when you remove them he should no longer have the FA status.

Make sure to save the Teams tab as well as the Players tab when trying to make a player a Free Agent or assign them to a team.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby skoadam on Sat Feb 02, 2013 3:29 am

so now when i want player in FA all i have to do is put id player into FA team in teams tab and save it?
Image Image Image

URB WHERE SIM HAPPENS [41 Complete Seasons Mods + Bonus Rosters]

Image

2022/2023 2021/2022 2020/2021 2019/2020 2018/2019 2017/2018 2016/2017 2015/2016 2014/2015 2013/2014 2012/2013
2011/2012 2010/2011 2009/2010 2008/2009 2007/2008 2006/2007 2005/2006 2004/2005 2003/2004 2002/2003
2001/2002 2000/2001 1999/2000 1998/1999 1997/1998 1996/1997 1995/1996 1994/1995 1993/1994 1992/1993
1991/1992 1990/1991 1989/1990 1988/1989 1987/1988 1986/1987 1985/1986 1984/1985 1969/1970 1961/1962
User avatar
skoadam
U R Basketball - Where Sim Happens
Contributor
 
Posts: 8360
Joined: Sat Nov 12, 2005 12:52 am
Location: PL

Re: [Tool] Roster Editor

Postby Leftos on Sat Feb 02, 2013 3:43 am

Yeah, but save the Players tab too. The Teams tab will save the player being in the FA pool, but the Players tab needs to save the fact that the player is actually a Free Agent.

There's a lot of redundancies in 2K's roster, as you can see. It makes no sense to have both an FA team roster and an IsFA parameter in players. But it's there.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby skoadam on Sat Feb 02, 2013 3:47 am

great news, because every releasing(even from pos 13-15th) to FA pool via game ruins rotations and player roles, so this is so important for me, thx again Leftos (Y)

btw. did i missed something of your releasing of editor? can we edit all star squads now?
Image Image Image

URB WHERE SIM HAPPENS [41 Complete Seasons Mods + Bonus Rosters]

Image

2022/2023 2021/2022 2020/2021 2019/2020 2018/2019 2017/2018 2016/2017 2015/2016 2014/2015 2013/2014 2012/2013
2011/2012 2010/2011 2009/2010 2008/2009 2007/2008 2006/2007 2005/2006 2004/2005 2003/2004 2002/2003
2001/2002 2000/2001 1999/2000 1998/1999 1997/1998 1996/1997 1995/1996 1994/1995 1993/1994 1992/1993
1991/1992 1990/1991 1989/1990 1988/1989 1987/1988 1986/1987 1985/1986 1984/1985 1969/1970 1961/1962
User avatar
skoadam
U R Basketball - Where Sim Happens
Contributor
 
Posts: 8360
Joined: Sat Nov 12, 2005 12:52 am
Location: PL

Re: [Tool] Roster Editor

Postby Phreezy P on Sat Feb 02, 2013 2:09 pm

Is it possible to unlock a person from a certain shoe brand?
LA | TO | MIN
User avatar
Phreezy P
Varsity
 
Posts: 1061
Joined: Tue May 29, 2007 7:26 am
Location: Toronto

Re: [Tool] Roster Editor

Postby Leftos on Sat Feb 02, 2013 6:53 pm

No. REDitor will have that option though.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 10:30 am

Hey leftos! First I wanted to say how privileged this community is to have someone who works as hard as you do. Thanks alot man.

I skimmed over the thread and could not find anything on my problem.

My mycareer team made a stupid trade so im trying to change it back, I am aware that you can open .cmg(mycareer saves)

When I do however, the team tab displays nothing and when I click anything on it, it crashes with an error.

Any help would be greatly appreciated. Sorry if I missed a post already explaining this problem.



System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at NBA_2K13_Roster_Editor.MainWindow.btnFill_Click(Object sender, RoutedEventArgs e) in e:\Development\Visual Studio 2010\Projects\NBA 2K13 Roster Editor\NBA 2K13 Roster Editor\MainWindow.xaml.cs:line 2167
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

None
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 11:17 am

You missed the very first post of the thread.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 11:32 am

Leftos wrote:You missed the very first post of the thread.


Yeah but in your video your team tab still has stats and what not, its just blank for me.
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 11:44 am

You'll need the roster your MyCareer save was based on. Open it in-game, go to the 76ers rotation, note the starting PG and SG. Find their IDs in Roster Editor after opening that roster in the tool, and follow the video tutorial to find the offsets for the custom profile. Then, with the Custom profile selected, open your save.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 11:51 am

Leftos wrote:You'll need the roster your MyCareer save was based on. Open it in-game, go to the 76ers rotation, note the starting PG and SG. Find their IDs in Roster Editor after opening that roster in the tool, and follow the video tutorial to find the offsets for the custom profile. Then, with the Custom profile selected, open your save.

Thanks man! I'll be trying that out now.
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Teodosic11 on Sun Feb 03, 2013 12:01 pm

which numbers of files to change clothes mascot and audience???
KK Crvena Zvezda Telekom...
User avatar
Teodosic11
 
Posts: 151
Joined: Tue Aug 30, 2011 6:36 pm

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 12:26 pm

Sorry man, I tried what you just wrote and it still seems to be just blank without lines. Thanks for all your help man.
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby JaoSming on Sun Feb 03, 2013 12:54 pm

Teodosic11 wrote:which numbers of files to change clothes mascot and audience???

GID in the teams tab, which isnt editable in this tool so wait for the REDitor
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: [Tool] Roster Editor

Postby Chris-CP3-Paul on Sun Feb 03, 2013 7:10 pm

quick question, I just installed this Roster Editor of yours and am wondering why it's trying to connect to the internet after I ran it for the first time.
Off course my firewall picked it up and I blocked it.....

I assumed it was some sort of auto update feature, but that is highly unlikely....
could you please explain
Image
User avatar
Chris-CP3-Paul
 
Posts: 59
Joined: Fri Oct 01, 2004 3:02 pm

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 8:09 pm

Highly unlikely? It is an update check done on boot.

Actually, Roster Editor is open-source software. Nothing hidden or fishy about it.

Here's the "offending" code: https://bitbucket.org/leftos/nba-2k13-r ... er#cl-3389

Code: Select all
/// <summary>
        /// Checks for software updates asynchronously.
        /// </summary>
        /// <param name="showMessage">if set to <c>true</c>, a message will be shown even if no update is found.</param>
        public static void CheckForUpdates(bool showMessage = false)
        {
            //showUpdateMessage = showMessage;
            try
            {
                var webClient = new WebClient();
                string updateUri = "http://users.tellas.gr/~aslan16/re13version.txt";
                if (!showMessage)
                {
                    webClient.DownloadFileCompleted += CheckForUpdatesCompleted;
                    webClient.DownloadFileAsync(new Uri(updateUri), DocsPath + @"re13version.txt");
                }
                else
                {
                    webClient.DownloadFile(new Uri(updateUri), DocsPath + @"re13version.txt");
                    CheckForUpdatesCompleted(null, null);
                }
            }
            catch
            {
            }
        }

        /// <summary>
        /// Checks the downloaded version file to see if there's a newer version, and displays a message if needed.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="AsyncCompletedEventArgs" /> instance containing the event data.</param>
        private static void CheckForUpdatesCompleted(object sender, AsyncCompletedEventArgs e)
        {
            string[] updateInfo;
            string[] versionParts;
            try
            {
                updateInfo = File.ReadAllLines(DocsPath + @"re13version.txt");
                versionParts = updateInfo[0].Split('.');
            }
            catch
            {
                return;
            }
            string[] curVersionParts = Assembly.GetExecutingAssembly().GetName().Version.ToString().Split('.');
            var iVP = new int[versionParts.Length];
            var iCVP = new int[versionParts.Length];
            for (int i = 0; i < versionParts.Length; i++)
            {
                iVP[i] = Convert.ToInt32(versionParts[i]);
                iCVP[i] = Convert.ToInt32(curVersionParts[i]);
                if (iCVP[i] > iVP[i])
                    break;
                if (iVP[i] > iCVP[i])
                {
                    string changelog = "\n\nVersion " + String.Join(".", versionParts);
                    try
                    {
                        for (int j = 2; j < updateInfo.Length; j++)
                        {
                            changelog += "\n" + updateInfo[j].Replace('\t', ' ');
                        }
                    }
                    catch
                    {
                    }
                    MessageBoxResult mbr = MessageBox.Show("A new version is available! Would you like to download it?" + changelog,
                                                           "NBA 2K13 Roster Editor", MessageBoxButton.YesNo, MessageBoxImage.Information);
                    if (mbr == MessageBoxResult.Yes)
                    {
                        Process.Start(updateInfo[1]);
                        break;
                    }
                    return;
                }
            }
            /*
            if (showUpdateMessage)
                MessageBox.Show("No updates found!");
            */
        }


As you can see, the program contacts http://users.tellas.gr, and specifically tries to grab http://users.tellas.gr/~aslan16/re13version.txt in order to determine whether there's a new version available.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 9:07 pm

Sorry to keep bugging you Leftos, but ive been messing with it all night and no luck. I tried every method I can think of and the method you told me to do and still nothing.

http://i.imgur.com/HydEh29.png
http://i.imgur.com/HydEh29.png
http://i.imgur.com/HydEh29.png
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 9:25 pm

Did you follow the video tutorial along with the Find That Hex tool or the Find Offsets tab in Roster Editor?
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 9:28 pm

Leftos wrote:Did you follow the video tutorial along with the Find That Hex tool or the Find Offsets tab in Roster Editor?


Yeah I did it both with the original roster and the .cmg save with no luck.
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 9:35 pm

What were the offsets you found for the Teams tab?
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 9:43 pm

Original Roster: 862911 +6
Mycareer save: 3056025 +4
Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

Re: [Tool] Roster Editor

Postby Leftos on Sun Feb 03, 2013 9:46 pm

Upload the roster somewhere and give me a link.
Eleftherios "Leftos" Aslanoglou
NBA 2K AI Software Engineer
Visual Concepts Entertainment / 2K Sports

Used to be "That Tools Guy" around here during the good ol' days. Although you probably remember me as your favorite Podcast host.
User avatar
Leftos
I'm The Pipeline, The Pipeline Is Me
NBA 2K Developer
 
Posts: 5223
Joined: Sun Jun 07, 2009 7:44 am
Location: Novato, CA, USA

Re: [Tool] Roster Editor

Postby Huskie on Sun Feb 03, 2013 9:55 pm

Huskie
 
Posts: 9
Joined: Sun Feb 03, 2013 10:08 am

PreviousNext

Return to NBA 2K13 Modding

Who is online

Users browsing this forum: No registered users and 7 guests