This thread will be the official thread for the editor, so people can post feedback, bugs, etc as they are found.
Requires the .NET Framework 3.5. Download here if you don't have it:
http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en
The idea behind it is the same as for TSBTool, easily work with ROM data using plain text, easily ported in from CSV files or Excel or whatever.
Some of you may not like the plain text format, but I've grown to love it after using TSBTool for so long. Give it a shot, let me know what you think...
Version .01
- Added team editor GUI (double click the team line)
- Added ability to change team name, newspaper, cap/bat color, jersey/pants color
- Automatically applies Long Team Name hack
Version .05 (to use, delete old files and re-extract this zip file)
- Added long batting average and long era hacks and ability to toggle them off
- Mostly shored up the team editor GUI, allowing editing of error values as well
- Added some error validation when attempting to generate the rom
- Added ability to save new rom wherever you please instead of just created.nes
- still loads data from a csv file for now when the program loads. Reading from a ROM or CSV of your choice is planned for a future release
Beta Release
- Ability to read from an existing ROM
- Ability to load default NES data for the original game
- Full NES palette support for uniforms as well as full team editing support (newspaper, error, team name, etc)
- Ability to write a new ROM to any location
- Cycle through the players or teams using the GUI
- Pitch speeds are calculated in MPH on the fly along with the game value (e.g., 179 = 81-87 MPH or whatever)
- The main hacks (pitcher batting, long batting average, long era, etc are there (other minor ones will come later)
- Copyright strings are editable
- More error validation in case you entered some crappy data
1.0
- Fixed some colors and some various bugs and minor annoyances
- Now have the ability to automatically write the abbreviation tiles based on a 2-character abbreviation
** This editor can currently only read from the 96K ROM, and outputs the same.
Contact me with questions, comments, feedback, etc. I'll be glad to show you how to use it or listen to your suggestions...
The remaining issues on my to-do list are:
Ability to change skin color
Misc hacks (sound, field color, pinch hitter boost, etc)
Good start tecmoturd, keep the updates coming...
Thanks Gantry, I'm just glad it's no longer at "downloaded 0 times." I just hoped it was due to the holiday weekend :) I've already made more updates, but I'll wait until a bit more stuff is finished before releasing another version.
Are you using VS express? I have copies of 2003 and 2005 if you want me to built it redistributable without needing the .net framework. I'm curious about trying it out but installing that framework will fuck a bunch of stuff I need for my job.
AFAIK, there's no way to run a .NET app without the framework. I've never heard of such a thing...care to elaborate? What kind of stuff do you have on your computer that the .NET framework would screw up? Hell, it comes pre-installed on Vista and Windows 7...
That being said, if you want the source code, I'd be glad to provide it to you or anyone else...as long as you note that this is my first attempt at winforms in C#. My professional development has all been done on the web side of things, so there's a chance I might have done something hard way considering I don't know all the winforms tricks yet :)
Send me an email or hit me on AIM if you wanna chat...
Quote from: tecmoturd on 05/31/09, 12:45:09 PM
AFAIK, there's no way to run a .NET app without the framework. I've never heard of such a thing...care to elaborate? What kind of stuff do you have on your computer that the .NET framework would screw up? Hell, it comes pre-installed on Vista and Windows 7...
There is. Anyway, I forgot that it comes installed on the newer stuff, so no worries.
Beta release download and info in the top thread...I know only a few of you downloaded it...for those that have, any feedback?
i've never heard of "NET Framework" and most guys on this site are not computer experts...so i think we are intimidated by this bizarre technology that is required.
I think it's .NET. As in "dot net". I don't know much about it but I think it's a programming language made by microsoft.
It's known as .NET or dotnet. You're correct, it's written by Microsoft. It's their marquee programming framework...
This line from Wikipedia should tell you how common it's become:
"The .NET Framework is a key Microsoft offering and is intended to be used by most new applications created for the Windows platform."
I promise you it's as not as bizarre as you think. It's usually installed with windows update these days, and Vista comes with it out of the box. A lot of stuff is written in .NET these days, especially websites (although you don't need the framework on your computer for websites, it's only required on the server).
It's a very common framework that you might already have installed, and if not, it doesn't take long to install. Doesn't require anyone to be an expert...I think the download is like 2.7 megs to set it up and it ends up being fairly small after it's installed.
If you're still afraid of it, I understand. No big deal, just give it a download sometime if you ever do get it installed...
tecmoturd is right, though .NET 3.5 sp1 isn't a 2.7 meg download that is just the installer program. It's a big, fkn massive massive download (60 megs or so) though on workstations it should go smoothly. They forced it out as a critical update for no reason on servers a couple months back and I swear the install failed half the time...
Youre right, the installer is 2.7 mb. But I have never had an issue installing 3.5. Perhaps I never downloaded the sp1 release. Even still, nowdays, a 60 meg download shouldn't be that much of an issue. Either way, I'd hate to have people scared to download it simply due to dotnet.
The whole install process is long (not just the download part) and failed half the time for me, but then again I did it mostly on servers. I agree people shouldn't really be scared of it, especially since more and more programs will be requiring it anyway.
its like the dark
Count me in as download #3. Looks pretty cool
Thank ya sir. If I can get the abbreviation icons working, I'll be really happy. Let me know if you run into issues so I can address them. Only thing I've found is that the color button in the team editor aren't exact for a few of them. I pulled them all from nw's editor, but some of his aren't matching up with a C# color. I've been fixing them as I see them, though.
Quote from: tecmoturd on 06/16/09, 02:51:02 PM
I pulled them all from nw's editor, but his are off too. I've been fixing them as I see them, though.
(http://nightwulf.rbicentral.com/rbi/rbieditor.png)
(http://nightwulf.rbicentral.com/rbi/rbitool.png)
Exactly how did you accomplish that? Stare at the sun for an hour then guess at the closest color?
Use this palette ...
nesPalette= new Array ( "#747474", "#24188C", "#0000A8", "#44009C",
"#8C0074", "#A80010", "#A40000", "#7C0800",
"#402C00", "#004400", "#005000", "#003C14",
"#183C5C", "#000000", "#000000", "#000000",
"#BCBCBC", "#0070EC", "#2038EC", "#8000F0",
"#BC00BC", "#E40058", "#D82800", "#C84C0C",
"#887000", "#009400", "#00A800", "#009038",
"#008088", "#000000", "#000000", "#000000",
"#FCFCFC", "#3CBCFC", "#5C94FC", "#4088FC",
"#F478FC", "#FC74B4", "#FC7460", "#FC9838",
"#F0BC3C", "#80D010", "#4CDC48", "#58F898",
"#00E8D8", "#787878", "#000000", "#000000",
"#FCFCFC", "#A8E4FC", "#C4D4FC", "#D4C8FC",
"#FCC4FC", "#FCC4D8", "#FCBCB0", "#FCD8A8",
"#FCE4A0", "#E0FCA0", "#A8F0BC", "#B0FCCC",
"#9CFCF0", "#C4C4C4", "#000000", "#000000"
);
I really haven't had time to try and decipher icon data again. Here's a quick dump of information ...
Icon data is loaded from the ROM starting at 0x10AD0 ...
### Read team icon data from the ROM
print PL "\n# BEGIN team icon data\n";
print PL "\@icondata= ( [ ";
$pdbl="["; $pdbr="]";
$offset= 0x10AD0;
for ($x=0; $x<10; $x++) {
seek(ROM,$offset+$chr_offs+8,0);
$d=0; read(ROM,$d,8); @l= unpack("C8", $d);
print PL &parsedata(@l);
print PL " " x 15;
seek(ROM,$offset+$chr_offs+40,0);
$d=0; read(ROM,$d,8); @l= unpack("C8", $d);
print PL &parsedata(@l);
print PL " " x 13 . "],\n";
if ($x<9) {
print PL " " x 13 . "[ ";
}
if ($x%2) {
$offset+= 48;
} else {
$offset+= 16;
}
}
print PL " " x 11 . ");\n";
So you get something that looks like this ...
# BEGIN team icon data
@icondata= ( [ [31, 57, 112, 112, 112, 57, 31, 0],
[128, 128, 0, 30, 38, 166, 159, 0],
],
[ [127, 113, 113, 127, 113, 113, 127, 0],
[128, 192, 192, 156, 166, 166, 156, 0],
],
[ [127, 113, 113, 113, 113, 113, 127, 0],
[0, 128, 216, 190, 216, 152, 30, 0],
],
[ [96, 113, 123, 127, 110, 100, 96, 0],
[192, 192, 192, 222, 211, 211, 211, 0],
],
[ [113, 113, 113, 127, 113, 113, 113, 0],
[192, 192, 192, 220, 166, 166, 220, 0],
],
[ [115, 115, 123, 107, 111, 103, 103, 0],
[102, 102, 126, 126, 60, 24, 24, 0],
],
[ [63, 113, 112, 63, 3, 99, 63, 0],
[96, 96, 96, 96, 96, 98, 126, 0],
],
[ [63, 113, 112, 63, 3, 99, 63, 0],
[126, 96, 96, 124, 96, 96, 96, 0],
],
[ [31, 59, 113, 113, 127, 113, 113, 0],
[0, 128, 192, 190, 171, 171, 171, 0],
],
[ [113, 121, 125, 119, 115, 113, 113, 0],
[192, 192, 192, 222, 166, 166, 223, 0],
],
);
... which has to be spit back into the ROM in four different places, changed a bit each time ...
### Write team icon data
$offset= 0x10AD0;
for ($x=0; $x<10; $x++) {
for ($y=0; $y<2; $y++) {
@curiconh= @{ $icondata[$x][$y] };
undef @curiconl;
for ($z=0; $z<8; $z++) {
$curiconl[$z]= ($curiconh[$z] ^ 255);
}
seek(ROM,$offset+$chr_offs,0);
print ROM pack("C8", @curiconl);
print ROM pack("C8", @curiconh);
$offset+= 32;
}
if ($x%2) {
$offset-= 16;
} else {
$offset-= 48;
}
}
$offset= 0x11810;
for ($x=0; $x<10; $x++) {
for ($y=0; $y<2; $y++) {
seek(ROM,$offset+$chr_offs,0);
print ROM pack("C8", (0,0,0,0,0,0,0,0) );
print ROM pack("C8", @{ $icondata[$x][$y] });
$offset+= 32;
}
if ($x==7) {
$offset= 0x11820;
}
}
$offset= 0x150B0;
for ($x=0; $x<10; $x++) {
for ($y=0; $y<2; $y++) {
undef @curiconh;
for ($z=0; $z<8; $z++) {
$curiconh[$z]= ($icondata[$x][$y][$z] ^ 255);
}
seek(ROM,$offset+$chr_offs,0);
print ROM pack("C8", (255,255,255,255,255,255,255,255) );
print ROM pack("C8", @curiconh);
$offset+= 32;
}
if ($x%2) {
$offset-= 16;
} else {
$offset-= 48;
}
}
$offset= 0x174D0;
for ($x=0; $x<10; $x++) {
for ($y=0; $y<2; $y++) {
seek(ROM,$offset+$chr_offs,0);
print ROM pack("C8", (0,0,0,0,0,0,0,0) );
print ROM pack("C8", @{ $icondata[$x][$y] });
$offset+= 32;
}
if ($x==5) {
$offset= 0x17750;
} elsif ($x%2) {
$offset-= 16;
} else {
$offset-= 48;
}
}
Sorry Nightwulf, I should have been more clear. The version I released has them wrong, so your screenshot of my editor is NOT the fixed one. I had been pulling them from your color squares on your editor and a few of them were not matching a good color palette. Sorry for that, didn't mean YOUR editor was wrong, just meant that my matching was incorrect. Thanks for the palete info, that should help.
Still gotta chat with you if you're around...
Woah, how did I miss this post? I went the long route and just looked at what the hex was supposed to be at the correct locations for each given letter...4 spots? Hmm...I'll have to test and see if mine works correctly...
Abbreviation tiles are now working. I'm sick of looking at tiles! I think now that I've got it doing a bunch of shit plus some enhancements, I'm gonna take a break from coding the extra stuff and finish rating my 30 team rom set. So far got the mid-level teams rated and the top level teams are mostly rated (just need to adjust to the new format I used for set 2). Then, on to level 3.
I really hope someone finds the editor useful...peace out, and thanks for listening. I shall be back with more updates when I feel like it. Time to start enjoying the fruits of my labor ;)
Thanks Nightwulf for all the info hookups. This project would have taken a lot longer and would have been less cool without your stuff...
Download for 1.0 in the top post...
I gave this thing a try. Really a pain in the ass to download and gave up.
Downloading the framework you mean? I can't believe people have that much aversion/trouble with .NET. This negative press hurts my download count ;)
One billion friggin' people (just a slight approximation :) ) use .NET apps every day. It's the latest in programming, and all Microsoft's shit gets written in .NET. I can't believe people have that much trouble. Oh well, I love it, suits me fine. Anyone who gets use out of it besides me is just a bonus after that...
Okay, downloaded both items.
What am I supposed to do with net framework download? I keep getting error reports when I try and run it and I don't like it.
The RBI tool that I downloaded works fine with my virtual nes, but I only get the original teams(which is cool)...where the fuck are my roms?
Why can't you have a website to do all of this shit like Nighwulf. Very cumbersome deal here and I want answers immediately before I kick in my computer and send you the bill to fix it. >:(
WOW.
Darky 1, tecmoturd (if that is your real name) 0
I've been installing the .net framework for years, never had a problem. Installed it on many computers. I don't know what to tell you.
As for what you do with the framework, you just install it. After that, you can simply run RBITool like you would any other piece of software. Sorry, I'm just used to the guys on the other forums being able to do this kind of thing (mostly, anyways) with little issue.
As for where your ROMS are, this isn't Nightwulf's editor, so your roms aren't here. You load your rom into the editor and then edit it, and then spit it back out. Why don't I do it on a website? To be honest, while the website thing is cool, and has its advantages (mainly because it's centralized, and you can share roms and whatnot), I would say the normal approach to an editor such as this would be a standalone application like I've written. Either way, this is just another alternative. It sounds like you're expecting stuff from mine that isn't there. It doesn't access your Nightwulf account and pull your roms down, it's an offline editor that allows you to load roms that already exist on your hard-drive.
Tell ya what, I'll refrain from posting anymore updates here, as it sounds like this community doesn't really have a need for such an editor. It's cool with me, you're all used to what you know and it doesn't sound like that will change. It's not a loss in my opinion cause I really wrote it for myself, and I'm happy with it.
Thanks for giving it a whirl, anyways.
WOW.
Darky 0, tecmoturd 1
This is getting exciting.
Can you just take Darky's point away like that?
There is no reason to stop posting updates, there are folks interested and it's just one thread.
Darky - if you actually want help, give details of the issues you had with the framework and we'll do what we can.
Gantry: 1
Mike D: 0
This place is very fighty.
Oh, I can take and give points where I see fit young man. As long as you're living under my roof you'll do as I say.
Yeah, I was confused why he took Darky's point away, unless he thought my response was so good that it completely refuted Darky's post and thought mine was worth a one-up
It actually sounded like he got the framework installed, and now he's wondering where his roms from the NW editor are...
P.S. I did notice a few bugs recently with the editor, but nothing was a showstopper. One of these bugs was not that the roms from the nightwulf editor are missing :)
tecmoturd is correct in his assumption.
tecmoturd 2, Darky 0
Quote from: Gantry on 06/30/09, 10:56:33 AM
Darky - if you actually want help, give details of the issues you had with the framework and we'll do what we can.
Help=fixing Nightwulf's site
This is what I keep getting when I try and run/open the net framework...
Also, if I can't get my rom from Nighwulf's site, HTF am I supposed to load it into this innovative editor of yours Turd?
I'm willing to give this a try. Guide me through this. Ask questions and lighten that cunt tone of yours...customer's first.
Also, my cock 9, MikeD 0
WOWOWOW
tecmoturd 2, Darky 1
Ultforskaren indeed
It just keeps coming up...
The old site will be up in a bit, you really don't have a single copy of the ROM on your computer anywhere? You should definitely keep one there for backup purposes no matter what.
Quote from: Gantry on 06/30/09, 11:14:08 AM
The old site will be up in a bit, you really don't have a single copy of the ROM on your computer anywhere? You should definitely keep one there for backup purposes no matter what.
You can't play games with ROMs located on nightwulf's site... he'd have to have them locally somewhere unless he deletes them after the games every week.
I see, now others want to join in the fun.
tecmoturd 2, Darky 1
Beefmaster 1, Gantry 0
Quote from: Gantry on 06/30/09, 11:14:08 AM
The old site will be up in a bit, you really don't have a single copy of the ROM on your computer anywhere? You should definitely keep one there for backup purposes no matter what.
I have all kinds of ROMS. I loaded my ROM into Turds editor on the virtual nes, but that does not fix the lineup issue...meaning I can't switch the lineup for Game 1....getting Morris vs Gooden in game one.
Again, I placed a ROM on the desktop, dragged it into Turd's RBI tool on my virtual nes, worked fine, but I have no idea as to how and re-arrange the line-ups.
I have no TONE! Anyways, I have an idea...
For starters, did you unzip the file to a location on your hard drive? You can't run it from within the zip.
One you've done that, in the folder where you unzip it to, do you have the other files that came in the zip in the same folder as rbitool.exe? If not, it won't work. By the screenshots you've sent, you're not having an issue with the framework, you're having an issue with the editor (I probably should trap for the error you're seeing and spit out a friendly message that tells you what you'e doing wrong).
Also, heh, I just noticed something...you have custom drawn icons (for chocolate). That means that my editor won't be able to reproduce those, so you'll have to uncheck the "draw abbreviation tiles" checkbox so that it doesn't try to do so.
You don't do anything with VirtuaNES until you've created the rom from my editor. DOn't do any dragging from your computer to the editor, or the editor to VirtuaNES.
To change lineups, do this:
Click load from ROM, choose your rom. It'll hopefully put the text from the rom into the white editor box. You can then re-arrange the the players in that textbox. Then, hit "create rom" and choose the rom to apply this to. (Be sure to backup your existing rom in case something goes wrong).
Now you have an edited ROM. Load it up in VirtuaNES as usual and you should be good to go.
Quote from: BeefMaster on 06/30/09, 11:15:07 AM
Quote from: Gantry on 06/30/09, 11:14:08 AM
The old site will be up in a bit, you really don't have a single copy of the ROM on your computer anywhere? You should definitely keep one there for backup purposes no matter what.
You can't play games with ROMs located on nightwulf's site... he'd have to have them locally somewhere unless he deletes them after the games every week.
Yeah I know that, please read my post again. Then insist that MikeD give that point to me instead of you.
Thanks for the help Turd...
Here is what is going to happen. I am going to baseball practice, then run some sprints followed up by a jog.
When I get back, I fully expect Gantry/Nightwulf to have the site fixed so I can just go in and change the SP's with no fuss...no muss.
Worst case scenario...Nightwulf's site is still down, I spend a good hour following your instructions, and maybe shit will work out or maybe I'll need to ask my questions. The Fantasy RBI Playoffs really needs to continue. This is not good for my league.
Find me on IM this evening otherwise and I'll help you out otherwise.
Putting everything in one folder helped. I zipped through it and made the necessary changes. Looks like the turd editor will be the official editor for the FRBI V LCS and WS.
You should have made clear instructions in your OP to put all the files in one folder meat...live and learn. Would have saved me a lot of time and less anger.
I'm sure that's his primary concern.
Quote from: Attezz on 06/30/09, 01:44:13 PM
I'm sure that's his primary concern.
While this quote is amusing, I will say that I agree I need to include instructions. It's simething I've been meaning to do. I guess I just assumed someone would unzipped the whole thing out to a folder. Glad it worked for you. Let me k ow if you find bugs or whatever.
Quote from: Attezz on 06/30/09, 01:44:13 PM
I'm sure that's his primary concern.
I'm sure you're a social disaster...
Quote from: tecmoturd on 06/30/09, 02:27:13 PM
I will say that I agree I need to include instructions. It's simething I've been meaning to do. I guess I just assumed someone would unzipped the whole thing out to a folder. Glad it worked for you. Let me k ow if you find bugs or whatever.
Yes! As smart as you think we are, some of us are right brained impaired and forget the details.
I'll play around with the ROM after the FRBI V playoffs...nothing personal, but I'm going back to Nightwulf's editor. It's seems a bit more practical and easier to use. In your editor, there is no switch button to change the SP order or the batting order. No big deal really, but it does take more time and it's harder to read...especially the player's ratings.
Nevertheless, thumbs up for your Editor.
No problem. It's more meant fir editing in excel and then dropping the csv right in and applying. I should cod some sort of lineup reorderer thing though, good call.
Quote from: Dårky on 06/30/09, 02:56:33 PM
Quote from: Attezz on 06/30/09, 01:44:13 PM
I'm sure that's his primary concern.
I'm sure you're a social disaster
Quote from: Dårky on 06/30/09, 02:56:33 PM
...some of us are right brained impaired and forget the details.
Yep, definitely me.
can the editor put the pitcher's spot in different places in the line-up? sort of a "tony larussa" idea there. bat the pitcher 8th and a position player 9th instead.
also, maybe another idea would be a hack for DH.
since you got the 30 team rom put together, perhaps next could be a stadium editor?
great work all the way around. i hope to someday be able to figure out your editor when it's complete and i have more time to understand what you were doing.
I didn't make the 30 team ROM, just helped with locations and how the ROM is laid out.
My editor (save for a few bugs) is complete for the 10 team rom version. If there's something you need, I'd be glad to help.
It's not terribly confusing once you understand what's going on. It's basically just a text file with each line representing a player. If you double click one of those lines, you get a GUI for that player (or team, if you click on a team line). When you're all done, just apply your changes to any ROM you like and it'll create the game for you.
I realize it's probably not noobish user-friendly, but it's pretty powerful once you get the hang of it. I'm just used to the community over at Knobbe knowing how to use TSB Tool, which is basically the same exact thing, only for Tecmo. I'll be glad to help anyone use it, just hit me on AIM.
As for the hacks you requested, I am still learning assembly, so I'm not much good to you in terms of the hacking department just yet. I'm a C# programmer, which allows me to read and write to the ROM, just not change it to do my bidding. Tough to explain, but for now, the hacks we have are what we have. Someday I hope to get good enough at assembly to write some cool shit, but for now I'll specialize in more modern programming.
Is any form of stat tracking possible? (team)
I doubt it Bonny, something like that would have to be written from scratch into the game - a HUGE undertaking.
Best we got is to manually extract at the end of the game. I could probably write a utility to do this and have it save your season for you...so when you play your games, you, set a save state and it'll read in your stats for that game for you, and you could view your stats through there...that way at least you'd have your own stats...and your opponents...