Cov txheej txheem:

Yuav Tsim Li Cas N64 TASBot: 4 Kauj Ruam
Yuav Tsim Li Cas N64 TASBot: 4 Kauj Ruam

Video: Yuav Tsim Li Cas N64 TASBot: 4 Kauj Ruam

Video: Yuav Tsim Li Cas N64 TASBot: 4 Kauj Ruam
Video: Мы сделали игру Mr.Eskaizo. Благодаря Мигель. #Frikiretrogamer #Gameplay 2024, Hlis ntuj nqeg
Anonim
Yuav Ua Li Cas Tsim N64 TASBot
Yuav Ua Li Cas Tsim N64 TASBot

Kuv xav pib tawm nrog muab ob qho kev qw thiab piav qhia rau TASBot. Thawj qhov kev tshaj tawm mus rau Arduino, yog tias lawv tsis tau tsim lawv lub tuam txhab, cov ntawv qhia no yuav tsis nyob ntawm no. Kev hais lus thib ob mus rau SM64Vidz, rau nws qhov vis dis aus zoo uas tau pib qhia no (https://youtube.com/watch?v=w_LuePTbvlw). Txawm li cas los xij, Kuv vam tias tau yooj yim dua rau cov neeg siv Arduino tshiab. Kev tawm suab zaum kawg mus rau rcoms rau kev xa nws nws cov cai rau GitHub, uas ua rau lub zog bot. TASBot yog neeg hlau siv los ua TASes rov qab (saib sonicpacker cov lus piav qhia: https://youtube.com/watch?v=R3-ohYvi_fc&) ntawm qhov tseeb Nintendo lossis game console los txheeb xyuas yog tias qhov tsis zoo siv hauv TAS tsuas yog qhov ua tsis tau zoo, lossis yog tias nws yuav zoo yog tias tib neeg xa cov lus qhia tseeb ntawm tus tswj hwm tiag. Lossis nws tsuas yog ib txoj hauv kev ua rau koj cov phooj ywg xav tias koj tau txais cov ntaub ntawv ntiaj teb. Tab sis txawm li cas los xij, cia li nkag mus rau hauv kev qhia.

Kauj ruam 1: Yuav tsum tau ua

Yog tias koj xav tsim TASBot, tej zaum koj yuav xav tau cov khoom. Yog li ntawm no lawv yog: 1x Arduino Nano, ntawm lub lauj kaub tais diav, nrog xaim rau koj lub khoos phis tawj. Qhov program Arduino tau teeb tsa hauv computer (pub dawb) Internet Browser1x MicroSD Card Module1x MicroSD Card1x MicroSD Card Reader 10x Poj niam - Txiv neej Jumper Wires (lawv tuaj hauv pob loj rau ib puag ncig) 2 daus las, yog li lawv tsis kim npaum li cas) 1x Nintendo 641x Nintendo 64 GameTxhua yam, yog li cia peb pib tsim!

Kauj ruam 2: Khoos phib tawj

Khoos phis tawj
Khoos phis tawj
Khoos phis tawj
Khoos phis tawj
Khoos phis tawj
Khoos phis tawj

Hauv lub khoos phis tawj, mus rau https://github.com/rcombs/n64-tasbot thiab rub nws los ntawm nias "Clone lossis rub tawm", tom qab ntawv nyem "Download ZIP". Tom qab nws ua tiav rub tawm, rho tawm nws, thiab qhib cov ntaub ntawv kom txog thaum koj mus rau phau ntawv teev npe nrog daim nplaub tshev "sd-n64". Pom cov ntawv npe, "crc_table.h"? Luag qhov ntawd rau hauv daim nplaub tshev npe, "sd-n64" (daim duab 1).

Tom qab ntawd, qhib qhov program Arduino. Rov qab mus rau daim nplaub tshev thiab qhib daim nplaub tshev sd-n64. Sab hauv koj yuav tsum pom crc_table.h thiab sd-n64.ino. Luag sd-n64.ino rau hauv Arduino program. Tom ntej no, mus rau https://raw.githubusercontent.com/rcombs/n64-tasb… thiab luam txhua yam hauv los ntawm kev ntaus Ctrl+A thiab Ctrl+C (hais kom ua+A thiab hais kom ua+C rau Mac cov neeg siv). Qhov no yuav theej txhua yam hauv lub vev xaib ntawd. Yog tias koj tseem tsis tau muaj, ntsaws qhov kawg ntawm txoj hlua uas tuaj nrog Arduino Nano rau sab uas haum, thiab lwm sab rau hauv Arduino, thiab tseem, hauv Arduino program, nyem "Cuab Yeej" nyob rau sab saum toj, thiab xaiv kuv qhov chaw (qhia hauv daim duab. 2)

Rov qab mus rau Arduino program thiab tshem tag nrho cov cai. Tom ntej no, ntaus Ctrl+V (hais kom ua+V ntawm Mac). Cov cai uas koj tau theej ua ntej yuav tshwm rau ntawd. Peb yuav tsum hloov ob yam. Nkawd ob leeg nyob saum. Hloov #define SD_SS_PIN 4 rau #define SD_SS_PIN 10, thiab hloov #include "../crc_table.h" rau #include "crc_table.h" (qhia hauv daim duab 3).

Tom ntej no, koj yuav xav tau TAS. Txuas koj daim npav MicroSD rau hauv, thiab nrhiav TAS. Txhua yam koj yuav tsum tau ua los ua qhov no tsuas yog tshawb nrhiav koj lub npe N64 Game, tom qab ntawd TAS. Nrhiav cov vis dis aus hais txog qhov no, thiab feem ntau lawv yuav muaj nws ntawm tasvideos.org. Nyem rau tasvideos.org/ (yuav muaj qee tus lej thiab ntawv ntawm no) txuas, thiab nrhiav qhov txuas uas hais tias "Mupen64 movie (.m64)" (qhia hauv daim duab 4). Yog tias nws yog BizHawk Movie (.bk2), nws yuav tsis ua haujlwm, yog li nrhiav lwm TAS.

Qhib nws, thiab pom cov ntawv uas muaj cov ntawv ".m64" thaum kawg. Xyuas kom tseeb tias koj daim npav MicroSD tau teeb tsa kom raug (yog tias tsis paub tseeb, ua raws cov kauj ruam ntawm no tab sis tsis yog kauj ruam kawg:

qhov no yog rau lub qhov rais, yog li cov neeg siv Mac, muaj kev cia siab qhia online hauv qhov chaw). Name lub.m64 cov ntaub ntawv rau "1key" (qhia hauv daim duab 5). nws yuav tsum zoo li tam sim no "1key.m64". Tam sim no, muab MicroSD tso rau hauv tus qauv. Tsis txhob kaw ib yam dab tsi, thiab cia peb txav mus rau qib tom ntej. Peb tau ua tiav ntawm no tam sim no.

Kauj Ruam 3: Kev thaiv kab hlau

Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv
Thaiv

Yog li, tam sim no mus rau kab. Tsis tas li, yog qhov no ua haujlwm nrog tus nyeem ntawv uas muaj tus lej cim "3.3", qhia rau kuv paub. Yog li, ntawm no yog lub rooj qhia pom tias xaim mus qhov twg. Yog tias koj qhov module tsis sau npe, xa mus rau daim duab. 1

CS - D10SCK - D13MOSI - D11MISO - D12VCC - 5VGND - GND (ib sab ntawm 5V)

Koj qhov teeb tsa tam sim no yuav zoo li daim duab. 2.

Tam sim no muab xaim rau hauv tus lej GND thiab tus lej D8.

Tam sim no, nqa ob lub xov hlau thiab ua raws li qhov tau qhia hauv kab ntawv txuas hauv qab no.

drive.google.com/file/d/1HyUmqy91pWxEzgskY…

Rov ua dua rau ob lub xov hlau. Tam sim no, muab lub ntsiab lus (txiv neej) xaus ntawm cov xov tooj hloov kho tsis ntev los no rau hauv cov xov hlau uas txuas rau D8 thiab GND tus pin. Saib mus rau daim duab. 3 txhawm rau nrhiav qhov twg los ntsaws qhov hloov pauv xaus rau hauv N64. Nco ntsoov, nws yuav siv zog me ntsis los thawb lawv, tab sis tom qab ntawd, nws muaj txoj hauv kev ruaj khov txuas mus rau N64!

Koj tus qauv yuav tsum zoo li daim duab tam sim no. 4

Peb tau ua tiav txoj hlua! Cia peb rov qab mus rau Arduino program!

Kauj Ruam 4: Ua tiav

Qhov no yog kauj ruam kawg. Hauv qhov program Arduino, nyem upload (khawm xub nyob rau saum). Thaum rub tawm, ntaus "Cov Cuab Yeej" nyob rau sab saum toj, thiab xaiv "Serial Monitor". Yog tias koj tau txais qhov yuam kev thaum rub tawm, tej zaum yuav muaj kev txhim kho hauv is taws nem. Thaum koj ua tiav kev rub tawm, cov saib txuas yuav pom:

Pib upSD initialization tiav. Qhib cov ntaub ntawv '1key.m64'… M64 Version: 3 Cov ntaub ntawv qhib tau ua tiav Kev pib ua tiav.

Yog tias qhov no tshwm sim, tig koj lub Nintendo 64, uas yuav tsum txuas nrog koj lub TV. Thaum koj hloov koj li N64 rau, qee qhov thaum lub sijhawm pib, Serial Monitor yuav muaj kab ntxiv rau nws:

Txheeb xyuas tus txheeb xyuas

Thaum qhov no tshwm sim, koj paub tseeb tias koj tau tsim TASBot txoj cai! Ua tsaug rau kev siv cov lus qhia niaj hnub no, thiab yog tias qee yam tsis ua haujlwm, xa kuv lub vijtsam ntawm lub ntsuas saib thiab koj lub vijtsam Nintendo! Muaj ib hnub zoo!

Pom zoo: