How to port

or
Well when I try to port romhack like SM64 The Green Comet it shows an error.
It shows the log below:
[INFO] Starting Text
[INFO] Text done
[INFO] Starting Misc
[INFO] Misc done
[INFO] Starting Levels
[INFO] Exporting Level 6
[INFO] castle_inside done
[INFO] Exporting Level 4
[INFO] bbh done
[INFO] Exporting Level 5
[INFO] ccm done
[INFO] Exporting Level 7
[INFO] hmc done
[INFO] Exporting Level 8
[INFO] ssl done
[INFO] Exporting Level 9
[INFO] bob done
[INFO] Exporting Level 10
[INFO] sl done
[INFO] Exporting Level 11
[INFO] wdw done
[INFO] Exporting Level 12
[INFO] jrb done
[INFO] Exporting Level 13
[INFO] thi done
[INFO] Exporting Level 14
[INFO] ttc done
[INFO] Exporting Level 15
[INFO] rr done
[INFO] Exporting Level 16
[INFO] castle_grounds done
[INFO] Exporting Level 17
[INFO] bitdw done
[INFO] Exporting Level 18
[INFO] vcutm done
[INFO] Exporting Level 19
[INFO] bitfs done
[INFO] Exporting Level 20
[INFO] sa done
[INFO] Exporting Level 21
IndexOutOfRangeException:
Index was outside the bounds of the array.

at RM2ExCoop.RM2C.Script.B2P(UInt32 B)
at RM2ExCoop.RM2C.LevelCommands.MacroObjects(Rom rom, Command cmd, Script script)
at RM2ExCoop.RM2C.Rom.ExportLevel(Int32 levelId, StreamWriter lvldefs, Options options, List`1 allWaterBoxes, List`1 m64Files, List`1 seqNums)
at RM2ExCoop.RM2C.Main.Run(String romPath, Options options)
at RM2ExCoop.MainWindow.<>c__DisplayClass2_0.<RM2CBtn_Click>b__0()
 
Well what about the text extraction error?
Edit: Also when I put the SM64 The Green Comet into the mods folder, SM64COOPDX itself can't run and shows the error instead
 
Last edited:
Can I run Linux directly on Windows?
Or do I need a Linux VM to use that tool?
Edit: Even when I put SM65 Rainbow Stars into the mods folder, SM64COOPDX doesn't show the errors anymore, instead just starts with me being outside the castle, which isn't like the same as the romhack itself.
 
yeah, could use Ubuntu and run the Linux Shell in the tools path, the github shows you the requirements for it including requirements.txt

ah, I'm not sure how windows can react to it compiling romhacks but it can definitely fail many hacks using it, its why i use Ubuntu
 
Ok so I just ported Despair Mario's Gambit 64 romhack and it was...

Different from the original one:

Edit: Also here's the log:
Opened ROM /mnt/d/N64/Despair Mario's Gambit 64 - v.1.1 FINAL.z64 (DMG64)
ROM is a romhack
ROM uses MIO0 compression.
NOTICE: ROM matches traditional layout.
Microcode detected by n64js: RSP SW Version: 2.0D, 04-01-96(80339d30) -> F3D
Timeout (10.0s) waiting for n64js; killing.
STATUS|sequences|start
Analyzing 2 sequence header candidates...
Candidate 0x0057B720: Rev 1, 38 sequences
Candidate 0x01210000: Rev 3, 53 sequences
Extracting sounds (ctl=0x0057B720, tbl=0x00593560)
Selected best sequence header at 0x01210000 with 53 sequences.
Stored 40 sequences for deferred write.
STATUS|sequences|done
STATUS|text|start
STATUS|level_scripts|start
Loaded 2362 display lists from database
Loaded 428 geo layouts from database
STATUS|text|done
Processing level: bbh
Processing level: ccm
Processing level: castle_inside
Processing level: hmc
Processing level: ssl
Processing level: bob
Processing level: sl
Processing level: wdw
Processing level: jrb
Processing level: thi
Processing level: ttc
Processing level: rr
Processing level: castle_grounds
Processing level: bitdw
Processing level: vcutm
Processing level: bitfs
Processing level: sa
Processing level: bits
Processing level: lll
Processing level: ddd
Processing level: wf
Processing level: ending
Processing level: castle_courtyard
Processing level: pss
Processing level: cotmc
Processing level: totwc
Processing level: bowser_1
Processing level: wmotr
Processing level: bowser_2
Processing level: bowser_3
Processing level: ttm
STATUS|level_scripts|done
SUCCESS: Extracted collection wf_area_1_water_manual_collection for wf_area_1
SUCCESS: Extracted collection cotmc_area_1_water_manual_collection for cotmc_area_1
Writing files to output directory...
Wrote 40 sequences and music.lua.

=== Level Script Parse summary ===
commands parsed: 2278
command errors: 38
command success: 98.33%
scripts parsed: 0
scripts with errors: 0
script success: 100.00%
 
Last edited:
Ok how do I do that?
Also can you help me complete this romhack?
Don't double post! Use that edit button! Post automatically merged:

So...
Sometimes, the rom-decomp-64 skips the sequences extraction because... of the timeout waiting for n64js.
Even though I installed Bun to run it...
Here's the log:
Opened ROM /mnt/d/N64/SM64 The Green Comet - v.1.0.1.z64 (SM64_GREEN_COMET)
ROM is a romhack
ROM was likely built with SM64 Editor.
ROM uses MIO0 compression.
NOTICE: ROM matches traditional layout.
Timeout (10.0s) waiting for n64js; killing.
INFO: Detected microcode 'F3D' via ROM scan -> F3D
STATUS|sequences|start
STATUS|sequences|skipped
STATUS|text|start
STATUS|text|done
STATUS|level_scripts|start
Loaded 2362 display lists from database
Loaded 428 geo layouts from database
Processing level: bbh
Processing level: ccm
Processing level: castle_inside
Processing level: hmc
Processing level: ssl
Processing level: bob
Processing level: sl
Processing level: wdw
Processing level: jrb
Processing level: thi
Processing level: ttc
Processing level: rr
Processing level: castle_grounds
Processing level: bitdw
Processing level: vcutm
Processing level: bitfs
Processing level: sa
Processing level: bits
Processing level: lll
Processing level: ddd
Processing level: wf
Processing level: ending
Processing level: castle_courtyard
Processing level: pss
Processing level: cotmc
Processing level: totwc
Processing level: bowser_1
Processing level: wmotr
Processing level: bowser_2
Processing level: bowser_3
Processing level: ttm
STATUS|level_scripts|done
Writing files to output directory...

=== Level Script Parse summary ===
commands parsed: 3463
command errors: 2
command success: 99.94%
scripts parsed: 0
scripts with errors: 0
script success: 100.00%
 
Last edited:

Users who are viewing this thread