-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.txt
528 lines (349 loc) · 19.7 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
******************************
* Super Mario Kart Nov'91 *
* Prototype Repair *
* *
* by MrL314 *
******************************
last updated: July 28, 2021
>>>>> Please read through the entire README before starting! <<<<<
If you encounter issues, see if your issue is answered in the FAQ section at the bottom.
Table of Contents:
1. Setup
2. User Manual
3. FAQ
Special Thanks:
Sirgren
Dirtbag
Catador
atomic
SmorBjorn
R4M0N
SMK Workshop community
and YOU!
DISCLAIMERS:
--------------------------------------------------------------------------
This set of scripts and programs is provided free of charge and without warranty.
It is not to be distributed with any additional files, these must be provided by
the user at their own risk.
This project is in no way affiliated with Nintendo. I have no connections to Nintendo,
and I have not been endorsed or sponsored by Nintendo.
====================================================================
Setup
====================================================================
Requirements:
- Python 3 (https://www.python.org/downloads)
- I recommend at least Python 3.6. See "Python Notes" below for more info.
- bsnes-plus
- I have provided a download mirror link below. See "BSNES Notes".
- (Optional) bsnes-plus SFX-DOS
- I have provided a download mirror link below. See "BSNES Notes".
- Please use this version, as it supports the remapping needed to
use DOS functions with Super Mario Kart
IMPORTANT NOTE:
--------------------------------------------------------------------------
To get this repair to work correctly, the .cht file, .xml file, and .srm file MUST have the
same file name as the repaired ROM. By default this is done for you, since the repaired
ROM is named "Nov91.sfc". However, if you rename the ROM, you must also change the names
of the .xml, .cht, and .srm file to the same name. These files MUST always be in the same
folder as the repaired ROM to work correctly.
Example: if you rename the ROM to "SMKnovember.sfc", you will also need to change the other
files to
- "SMKnovember.xml"
- "SMKnovember.srm"
- "SMKnovember.cht"
How to build:
--------------------------------------------------------------------------
Downloads and Installs:
1. Install Python. (See "Python Notes" below)
2. Download bsnes-plus. You may use the mirror link I provided above.
3. Download bsnes-plus SFX-DOS. You may use the mirror link I provided above.
Obtain files:
!!! By obtaining these files, you do so at your own risk. !!!
1. Obtain the NEWS_05 folder from the July 24, 2020 gigaleak.
2. Obtain game.hex from NEWS_05/home/kimura/games.lzh/games/temp, and put in this folder.
3. Obtain drive-data from NEWS_05/home/kimura/kart/mak.lzh/mak, and put in this folder.
4. Obtain a USA unheadered (512kb) ROM of Super Mario Kart, and put in this folder.
5. Rename the USA ROM to "Super Mario Kart (USA).sfc" if it is not already named so.
6. Obtain a dsp1b binary (usually literally called dsp1b.bin), and put in this folder.
At this point you have two options. If you are doing this just to play around with the
Nov'91 prototype, read the instructions in "Build (Base and Fix)". However, if you are building
with the intent of research or documentation without all of my other playability fixes
on top, read the instructions in "Build (Base Only)".
Build (Base and Fix):
1. Run "base_setup.bat". This will create the base repair, without any of the extra fixes.
- See "Python Notes" below if you encounter issues with this step.
2. Run "extra_fixes.bat". This will enable ALL of my extra fixes for the prototype.
- This includes SFX-DOS repairs.
Now read "SFX-DOS or not?" below to continue.
Build (Base Only):
1. Run "base_setup.bat". This will create the base repair, without any of the extra fixes.
- See "Python Notes" below if you encounter issues with this step.
This will not apply any of the extra fixes that I have applied to the code. The only things that
are changed by the base repair are that the asset data is added, and the pointers are adjusted
accordingly so that the data will be read properly.
Now read "SFX-DOS or not?" below to continue.
SFX-DOS or not?:
If you would like to run in bsnes-plus SFX-DOS, you may do so at this time by opening
"Nov91.sfc" in bsnes-plus SFX-DOS. Make sure to open the cheat editor by going to
Tools > Cheat Editor, and enable cheats 7 and 8. Then restart the ROM.
If you instead would like to run in regular bsnes-plus, first open "Nov91.sfc" in bsnes-plus.
Then, go to the cheat editor by going to Tools > Cheat Editor, and enable cheats 2 and 3. Then
restart the ROM. This will disable the SFX-DOS stuff, meaning you will be able to run this on
regular bsnes-plus.
Python Notes:
--------------------------------------------------------------------------
- When installing Python, make sure that you select "Add to PATH" during the set up.
- Make sure that you turn off app execution aliases if using windows. Go to
Settings > Apps > Apps & Features > App execution aliases
and turn off all of the ones that say "python".
- When running the setup script, if you see the message
"'python' is not recognized as an internal or external command, operable program
or batch file."
you likely will need to edit the settings in "settings.bat". Right click the file and
click "Edit". Then edit the python_cmd variable. In most cases, it will work if you change
the variable to one of these options:
- "python"
- "python3"
- "py"
- "py3"
If none of those work, you will need to look up what the PATH variable was set to. Here's a
quick guide on how to set the PATH variable. https://datatofish.com/add-python-to-windows-path/
BSNES Notes:
--------------------------------------------------------------------------
This repair will ONLY work in BSNES. Due to compatibility
issues with other emulators, this prototype cannot run in other
emulators or on physical hardware. I apologize for the inconvenience,
but ensuring compatibility for all emulators would cause more issues
than it would solve.
I have made mirror links to the versions of bsnes-plus and bsnes-plus SFX-DOS that I used
while making this repair. For the most accurate results, please use these versions:
* bsnes-plus:
https://www.mediafire.com/file/twtl3tfa902z9rc/bsnes-plus.zip/file
* bsnes-plus SFX-DOS:
https://www.mediafire.com/file/p1qhc7pal9n0zo5/bsnes-plus-v05.79-sfx-dos.zip/file
For the most accurate results, I recommend using the accuracy versions. You are free to
try with other versions of bsnes, but I cannot guarantee that they will work as intended.
====================================================================
User Manual
====================================================================
More information on controls can also be found here: https://tcrf.net/Proto:Super_Mario_Kart/November_29,_1991_Proto
This is just a compact reference just in case.
General controls:
-----------------
Start - Pause: Works in most screens and modes. If the game seems to have frozen try pressing start to unpause
Y+B+Start+Select - Reset: Works on all modes, use to get back to the main menu from any mode
Up/Down - Navigates the menu
Left/Right - Change menu values
B/Y - Starts with whatever menu values are selected
Main Menu:
----------
MODE
A = Player 1/ Top screen
B = Player 2/ Bottom screen
MAN - Human control racer
MON - Monitoring mode, debug values are displayed
COM - CPU controlled racer
PLAY-1/2 - Driver selection (If MAN or COM is selected)
PLAY-1 = Player 1 driver
PLAY-2 = Player 2 driver
MARIO, LUIGI, KOOPA (Bowser), PEACH (Princess), CONG (D.K. J.r.), NOKO (Koopa Troopa), KINO (Toad), YOSSY (Yoshi)
DISP-1/2 - Screen mode if MON is selected
FR-VIEW - Same perspective as the main screen but with debug values and AI path's denoted with the tracks items
REA-VIEW - Backwards looking view of your racer SD-VIEW - Same view as main screen, without extra sprites layers (Lakitu etc.)
LONG-PER - View of the whole track (Similar to the final version of the game (Racers sprites are smaller than on the final version)
NO-PERS1 - Over head view of of the whole track
NO-PERS2 - Over head view of main racer
NO-PERS3 - Over head view of main racer but with a keystone effect
MAP - Course selection
CIRC = Mario Circuit
OBAKE = Ghost Valley
GRASS = Donut Plains
CASTLE = Bower Castle
ICE = Vanilla Lake
DART = Chocolate Island SAND = Koopa Beach
BATTLE = Battle mode test course
PROG - Mode
RACE = Takes the MODE, PLAY-1, PLAY-2 & MAP Settings and starts a race
BATL = Takes the MODE, PLAY-1, PLAY-2 & MAP Settings and starts a battle
- Note that the battle mode can be changed via ED-3)
- Any course other than BATTLE-1 will result in a VS race style mode without checkpoints
- Anything other than MODE MAN-MAN might result in strange effects
ED-1 = Editor mode for setting AI Zones and Targets
ED-2 = Editor mode for overlay items such as Item boxes and Zippers
ED-3 = Settings
RACE Mode
---------
Just a standard race 5 laps with CPU races, once the race is over it will not progress to another track and you will need to reset back to the main menu.
BATL Mode
---------
2 Players on the track to do battle, there is no scoring but you can make the other player spin when you hit them.
If you select MAN-MAN and any normal race track (not BATTLE-1) it will result in a VS-like race, but without the Checkpoint Zones.
If you select MAN-MON it will result in a VS-like race with a CPU opponent and the MON effect selected
If you select MAN-MAN, BATTLE-1 and BATTLE (mode) 0 there will be Coins/ Balls on the track to avoid
If you select MAN-MAN, BATTLE-1 and BATTLE (mode) 1 there you can press the L Button to fire projectiles
Use ED2 to place item boxes and save to SRAM to make it a bit more interesting. Use ED3 to Enable Machine gun mode
ED1:
--------
EDITING:
D-PAD - Moves the cursor
SELECT - Cycles through the AI Zone Editing modes
R-Trigger - Opens the Save/Load Menu
AI Zone Editing modes:
CODE - Set the AI Zone type
00: Rectangle
02: Triangle top-left
04: Triangle top-right
06: Triangle bottom-right
08: Triangle bottom-left
0A: Diagonal Line top-right to bottom-left
0C: Diagonal Line top-left to bottom-right
B - Increase the zone type. After 0C, this will remove the zone.
Y - Decrease the zone type. After 00, this will remove the zone.
SET - Set the AI Zone size.
Remove zone - Press Y on the tile you placed in CODE
Set zone size - Press B on the tile you placed in CODE (this is your Start_X and Start_Y), then
press B on another part of the map. (this is your Final_X and Final_Y)
Each zone has specific requirements for size placement.
00: Final_X more right than Start_X, Final_Y lower than Start_Y
02: Final_X equal to Start_X, Final_Y lower than Start_Y
04: Final_X equal to Start_X, Final_Y lower than Start_Y
06: Final_X equal to Start_X, Final_Y higher than Start_Y
08: Final_X equal to Start_X, Final_Y higher than Start_Y
0A: Final_X more left than Start_X, Final_Y lower than Start_Y
- Distance between Final_X and Start_X must be less than distance
between Final_Y and Start_Y to work properly
0C: Final_X more right than Start_X, Final_Y lower than Start_Y
- Distance between Final_X and Start_X must be less than distance
between Final_Y and Start_Y to work properly
PONT - Setting the AI Targets & Zone speeds.
Zone that the current target is connected to is indicated by P in the menu on the left
B - Set the Zone Target.
Y - Delete the Zone Target.
X - Cycle through the Zone Speeds (Indicated by S in the menu on the left)
Blue - Speed 1 (Low speed)
Green - Speed 2 (Mid-Low speed)
Yellow - Speed 3 (Mid-High speed)
Red - Speed 4 (High speed)
Save/Load Menu:
R-Trigger - Closes the Save/Load Menu
L-Trigger - Cycles through the save slot numbers (0-5)
D-PAD Up/Down - Cycles through Save/Load options
S-DISK - Save data to the Floppy Disk (virtual) via the SFX-DOS
S-RAM - Save data to SRAM
L-DISK - Load data from the Floppy Disk (virtual) via the SFX-DOS
L-RAM - Load data from SRAM
CLEA - Remove edited data from the course
D-PAD Left/Right - Select between YES/NO for Save and Load options
B - Executes the selected option
Note: When you edit a level, you MUST save to SRAM (by using the S-RAM option) and exit to the main menu (Y+B+START+SELECT). Then when you race/battle on that course, it will use your edited values.
ED-2
--------
EDITING:
D-PAD - Moves the cursor
B - Places the object
Y - Deletes the object
SELECT - Opens the "SELECT YAKUMONO" Menu
R-Trigger - Opens the Save/Load Menu
Save/Load Menu:
R-Trigger - Closes the Save/Load Menu
L-Trigger - Cycles through the save slot numbers (0-5)
D-PAD Up/Down - Cycles through Save/Load options
S-DISK - Save data to the Floppy Disk (virtual) via the SFX-DOS
S-RAM - Save data to SRAM
L-DISK - Load data from the Floppy Disk (virtual) via the SFX-DOS
L-RAM - Load data from SRAM
CLEA - Remove edited data from the course
D-PAD Left/Right - Select between YES/NO for Save and Load options
B - Executes the selected option
SELECT YAKUMONO Menu:
SELECT - Closes the "SELECT YAKUMONO" Menu
D-PAD Up/Down - to select overlay item type
QUES - Item Box
NIKO - Used Item box
AROW - Zipper Arrow
KABE - Multicolored 2x2 Wall
D-PAD Left/Right - to select overlay item orientation
0N (Upward facing)
0E (Right facing)
0S (Downward facing)
0W (Left facing)
Note: When you edit a level, you MUST save to SRAM (by using the S-RAM option) and exit to the main menu (Y+B+START+SELECT). Then when you race/battle on that course, it will use your edited values.
ED-3:
----
Y - Reduce value
B - Increase value
BATTLE OBJ - If 0, the BATTLE mode will be the coins flying around the field.
If 1, the BATTLE mode will be the machine gun mode.
BOUND POWER - Collision bounce power. It’s a signed number, so anything 80h and above you need to subtract 256 from it.
MODE7 CHAR - Tile map for the course selected under MAP on the main menu
COLOR MAP - Palette set for the course selected under MAP on the main menu
MARIO - Sprite view of the 8 racers with the palette set for the course selected - Most likley this was used to make sure the
drivers sprites looked correct for each theme
After you set the values for BATTLE OBJ and BOUND POWER, exit back to the main menu with (Y+B+START+SELECT). This will save your settings.
Fun things to try:
------------------
- With MON mode as FR-VIEW, you can see a unique RAM editor, as well as see the AI target coordinates.
- You can use the level editor ED-1 to create a custom AI pathing for a track, save it to SRAM and then race on that track with that AI setup.
- You can use the level editor ED-2 to set item boxes on the course, save it to SRAM and then battle/ race on that track with items.
- You can toggle item debug mode by pressing L+R+X+A
- You can toggle the mini memory viewer by pressing L+R+Down+SELECT
- You can toggle the CPU usage viewer by pressing L+R+Up+SELECT while in MON mode
Things to be aware of:
----------------------
This is early code, so it is full of bugs, the game can crash easily.
====================================================================
FAQ
====================================================================
Q: The script says "'python' is not recognized as an internal or external command, operable program
or batch file."
A: See "Python Notes" above.
Q: The base patch batch script keeps opening up the Windows Store.
A: See "Python Notes" above.
Q: Why is the screen blue with a weird glitched sprite on the top left?
A: You are running the SFX-DOS enabled version on normal BSNES. Make sure you disable the SFX-DOS via
the cheat editor by enabling cheats 2 and 3, then restarting the ROM.
Q: Why can't this run on snes9x, zsnes, retroarch, etc.?
A: See "BSNES Notes" above.
Q: I loaded in my data using the L-DISK command. Why is it not showing up in the race?
A: The data that gets used comes from SRAM. So, you need to first use L-DISK to load the data,
and then use S-RAM to save it to SRAM. Then it will show up in the race.
Q: The game freezes when I try to use L-DISK.
A: Most likely the save data is missing from the floppy disk. If you never saved to the disk using S-DISK
for that file, this will happen. You can only load from the disk if there is data for that file already
on that disk. You can check if your file was saved by opening the floppy disk created by BSNES-plus SFX_DOS
in a hex editor (my personal preference is HxD) and going to around address 2000. The file should be named
in this format: ABBB-CD, where
A - is the editing mode: R for ED-1, Y for ED-2
BBB-C - is the track name and number
where BBB can be
CIR = CIRCUIT
OBA = OBAKE
GRA = GRASS
CAS = CASTLE
ICE = ICE
DAR = DART
SAN = SAND
BTL = BATTLE
and C can be a value from 1-4 depending on the track name.
D - is the save slot number, (0-5)
For example, the file name "YCAS-32" indicates
A = Y (ED-2 mode)
BBB-C = CAS-3 (CASTLE-3 map)
D = 2 (Save slot 2)
and the file name "RCIR-41" indicates
A = R (ED-1 mode)
BBB-C = CIR-4 (CIRCUIT-4 map)
D = 1 (Save slot 1)
If the file name does not exist, this will crash the game.
Alternatively, if you have the dos.hex tool working, you may copy the floppy disk files, rename them accordingly,
and then run dos.hex in BSNES-plus SFX-DOS. Input the command "chdisk dd9", press enter, and then input the
command "dir". This will show you a list of the files saved on the disks. If your file is not listed, it doesn't
exist, and will crash the game when trying to load it.
TL;DR - L-DISK only works if the file exists, which happens after you save it using S-DISK.
Q: I messed up my SRAM file, and I want to revert my changes to the original version. How do I do that?
A: Run the reset_sram.bat file after closing BSNES. This will revert the SRAM to its default.
Q: The game won't let me go to the main menu with the button combo Y+B+START+SELECT
A: The game has likely hard crashed and will need to be restarted manually.
Q: How do I download this?
A: Here's a quick download link. https://github.com/MrL314/smknov91/archive/refs/heads/main.zip
-MrL314