Clean Dump of FE3H Not Working #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FE3H Recomp version
0.2.8
CPU, GPU and GPU driver version
Intel Core i5 11600k, NVIDIA RTX 3080 Ti, driver version 621.01
Game files
What happened
Before setting up the recomp, I had to go dump a copy of Three Houses from my Switch, since I only had a copy as an XCI file for the base game and NSP file for the update, for use in emulators. I used NXDumpTool and dumped the exefs and romfs for the game, ensuring that the dumps used the 1.2.0 update data. Once I'd transferred the files to my PC and let the recomp do its setup, the recomp displayed the message "! Not a clean 1.2.0 copy: 3697 files in romfs, a clean 1.2.0 copy has 3696," even though I'd just dumped the files from my physical copy of the game.
When selecting Play to try and start the game, the recomp entirely froze up; I could still move the window around and close it, but nothing in the recomp, such as the Play, Settings, or Quit buttons would respond. Even after letting it run for over an hour, it never actually launched the game and just stayed frozen. Changing settings like render resolution, upscaler used, etc. didn't help.
There's a decent chance that I just dumped the game wrong, but I did dump it a second time to try and make sure that wasn't the issue, and the recomp still reported that it has an extra file in romfs. I dumped it from a physical copy of the game and ensured update 1.2.0 was installed. Switch is on version 23.1.0 with the latest Atmosphere. When setting up Savage Wind, the Breath of the Wild recomp, I dumped the files for that game the same way as I did for Three Houses and had no issues there.
Log
[paths] data: C:\Users\ninte\Desktop\Storage\FE3H Recomp
[settings] loaded fe3hrecomp.ini
[dlss] NGX core C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_20f49c6eb5c9b39b_nvngx.dll (00015f4e8-1dd60d918217b00)
[dlss] fe3h-dlss.dll (DLSS SDK 310.9.16)
[vk] gpu 0: NVIDIA GeForce RTX 3080 Ti (api 1.4.357)
[vk] gpu 1: Intel(R) UHD Graphics 750 (api 1.4.323)
[vk] using NVIDIA GeForce RTX 3080 Ti
[vk] driver: NVIDIA 621.01
[vk] depth bias control: yes (exact)
[scf] structured control flow on (every shader)
[vk] subgroups: 32 lanes (32..32), compute at 32
[vk] fp32 denormals: flushed (no DenormPreserve)
[nan] fragment shaders write 0 for NaN / infinity (default: fp32 denormals are flushed here)
[vk] memory (start) heap 0 device-local: 12084 MB, budget 11316 MB, in use 19 MB, ours 0 MB in 0 allocations
[vk] memory (start) heap 1 system: 16288 MB, budget 15520 MB, in use 21 MB, ours 0 MB in 0 allocations
[vk] pipeline cache: loaded 16281 bytes
[shader] fragment positions into half math: snapped wherever half math uses them
[update] checking git.onerag90.de (this is 0.2.8)
[launcher] game files aren't a clean 1.2.0 copy: 3697 files in romfs, a clean 1.2.0 copy has 3696
[update] 0.2.8 is the newest release
[gamelib] extracted/fe3hgame.dll (35549 + 33586 functions)
loaded main at 7000000000 size 21e8000 syms 578
loaded sdk at 7004000000 size c78000 syms 24767
loaded subsdk0 at 7005000000 size 870000 syms 105
relocated main (47 imports bound to host stubs)
relocated sdk (0 imports bound to host stubs)
relocated subsdk0 (0 imports bound to host stubs)
main thread: prio 44, stack 0x180000
init sdk (DT_INIT 7004000030, 105 init_array entries)
init subsdk0 (DT_INIT 7005000030, 4 init_array entries)
[sm] GetService lm
[ipc] close session lm (handle 103)
[sm] GetService apm
[sm] GetService appletOE
[ipc] control 3 on appletOE (handle 105)
[ipc] control 0 on appletOE (handle 105)
[am] ISelfController cmd 91 (unhandled, ok)
[am] IWindowController cmd 10 (unhandled, ok)
[am] ISelfController cmd 13 (unhandled, ok)
[am] ISelfController cmd 16 (unhandled, ok)
[sm] GetService aoc:u
[sm] GetService pctl
[ipc] control 3 on pctl (handle 109)
[ipc] control 0 on pctl (handle 109)
[sm] GetService pctl:s
[ipc] control 3 on pctl:s (handle 10a)
[ipc] control 0 on pctl:s (handle 10a)
[ipc] close session pctl:s (handle 10a)
[sm] GetService pctl:a
[ipc] control 3 on pctl:a (handle 10a)
[ipc] control 0 on pctl:a (handle 10a)
[ipc] close session pctl:a (handle 10a)
[sm] GetService pctl:r
[ipc] control 3 on pctl:r (handle 10a)
[ipc] control 0 on pctl:r (handle 10a)
[ipc] close session pctl:r (handle 10a)
[pctl] IParentalControlService cmd 1 (ok)
init main (DT_INIT 7000000030, 49 init_array entries)
[am] ISelfController cmd 12 (unhandled, ok)
[sm] GetService time:u
[ipc] control 3 on time:u (handle 10b)
[ipc] control 0 on time:u (handle 10b)
[time] shared memory mapped at 71e3a04000
[sm] GetService prepo:u
[ipc] no HLE implementation for service 'prepo:u', using logging stub
[ipc] control 3 on prepo:u (handle 10d)
[ipc] control 0 on prepo:u (handle 10d)
[aoc] no DLC folder (extracted/dlc): no add-on content
[aoc] CountAddOnContent: 0
[sm] GetService fsp-srv
[ipc] control 3 on fsp-srv (handle 10e)
[ipc] control 0 on fsp-srv (handle 10e)
[ipc] control 2 on fsp-srv (handle 10e)
[ipc] control 2 on fsp-srv (handle 10f)
[fs] romfs: 3697 files served from extracted/romfs
[fs] WARNING: the game files aren't a clean 1.2.0 copy (3697 files in romfs, a clean 1.2.0 copy has 3696). Mods or edited files there, or a bad extraction, can crash or hang the game: set up a clean copy (extracted again from your dump) if it does.
[fs] romfs index: 3697 files
[fs] romfs reads: 1 (0 KB)
[fs] romfs reads: 2 (0 KB)
[fs] romfs reads: 4 (9 KB)
[kernel] CreateThread entry=7004321fc0 stack=7203ebafe0 prio=43 -> 111
[vk] NVIDIA GeForce RTX 3080 Ti, swapchain 1280x720
[nvn] device initialized
[nvn] window origin mode 1
[nvn] window with 3 textures, present interval 1
[texpatch] 0 known textures (button glyphs, pictogram sheet, Hero Mode icon, bottle icon / model, tunic, hearts)
[vk] page write tracking: 0.88 us per written page
[vk] transient ring: memory type 5 (device-local host-visible )
[kernel] CreateThread entry=7004321fc0 stack=720c5c8fe0 prio=49 -> 112
[fs] romfs reads: 8 (1198 KB)
[kernel] CreateThread entry=7004321fc0 stack=7231d6afe0 prio=49 -> 112
[kernel] CreateThread entry=7004321fc0 stack=722a4b9fe0 prio=49 -> 113
[kernel] CreateThread entry=7004321fc0 stack=7233559fe0 prio=49 -> 114
[kernel] CreateThread entry=7004321fc0 stack=72259b2fe0 prio=49 -> 115
[kernel] CreateThread entry=7004321fc0 stack=7239dc6fe0 prio=49 -> 116
[kernel] CreateThread entry=7004321fc0 stack=7237192fe0 prio=49 -> 116
[kernel] CreateThread entry=7004321fc0 stack=723c97efe0 prio=49 -> 116
[sm] GetService nifm:u
[ipc] control 3 on nifm:u (handle 116)
[ipc] control 0 on nifm:u (handle 116)
[sm] GetService bsd:u
[ipc] no HLE implementation for service 'bsd:u', using logging stub
[sm] GetService bsd:u
[ipc] no HLE implementation for service 'bsd:u', using logging stub
[ipc] control 3 on bsd:u (handle 119)
[ipc] control 0 on bsd:u (handle 119)
[ipc] control 2 on bsd:u (handle 119)
[ipc] control 2 on bsd:u (handle 11a)
[ipc] control 2 on bsd:u (handle 11b)
[ipc] control 2 on bsd:u (handle 11c)
[ipc] control 2 on bsd:u (handle 11d)
[ipc] control 2 on bsd:u (handle 11e)
[ipc] control 2 on bsd:u (handle 11f)
[ipc] control 2 on bsd:u (handle 120)
[ipc] control 2 on bsd:u (handle 121)
[ipc] control 2 on bsd:u (handle 122)
[ipc] control 2 on bsd:u (handle 123)
[ipc] control 2 on bsd:u (handle 124)
[ipc] control 2 on bsd:u (handle 125)
[ipc] STUB bsd:u cmd 0 (in 64 bytes, x0 a0 b0 c0) -> ok
[ipc] STUB bsd:u cmd 1 (in 8 bytes, x0 a0 b0 c0) -> ok
[kernel] CreateThread entry=7004321fc0 stack=7228f2ffe0 prio=33 -> 117
[sm] GetService audren:u
[audren] GetWorkBufferSize: 240 samples, 82 mix buffers, 80 voices, 14 sub mixes, 14 effects, 55 splitters, rev 36564552 -> 640 KB
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] GetWorkBufferSize: 240 samples, 82 mix buffers, 80 voices, 14 sub mixes, 14 effects, 55 splitters, rev 36564552 -> 640 KB
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] GetWorkBufferSize: 240 samples, 82 mix buffers, 80 voices, 14 sub mixes, 14 effects, 55 splitters, rev 36564552 -> 640 KB
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] GetWorkBufferSize: 240 samples, 82 mix buffers, 80 voices, 14 sub mixes, 14 effects, 55 splitters, rev 36564552 -> 640 KB
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] GetWorkBufferSize: 240 samples, 82 mix buffers, 80 voices, 14 sub mixes, 14 effects, 55 splitters, rev 36564552 -> 640 KB
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] renderer 48000 Hz, 240 samples/frame, 80 voices, 15 mixes, 82 mix buffers, 55 splitters (1440 destinations), 14 effects
[ipc] close session audren:u (handle 127)
[sm] GetService audren:u
[audren] GetAudioDeviceService (cmd 4)
[ipc] close session audren:u (handle 127)
[ipc] close session IAudioDevice (handle 128)
[sm] GetService audren:u
[audren] GetAudioDeviceService (cmd 4)
[ipc] close session audren:u (handle 128)
[ipc] control 3 on IAudioDevice (handle 12d)
[ipc] close session IAudioDevice (handle 12d)
[audren] splitter section: 0 infos, 1440 destinations (capacity 55 / 1440)
[audren] device 48000 Hz, 480 frames/period; queue target 1200 samples; paced 0
[kernel] CreateThread entry=7004321fc0 stack=720807cfe0 prio=32 -> 128
[kernel] CreateThread entry=7004321fc0 stack=7217d17fe0 prio=32 -> 12d
[kernel] CreateThread entry=7004321fc0 stack=7233194fe0 prio=32 -> 12e
[kernel] CreateThread entry=7004321fc0 stack=720234dfe0 prio=32 -> 12f
[kernel] CreateThread entry=7004321fc0 stack=7215caffe0 prio=32 -> 130
[kernel] CreateThread entry=7004321fc0 stack=72225eefe0 prio=30 -> 131
[time] StandardUserSystemClock::GetCurrentTime (host clock)
[kernel] CreateThread entry=7004321fc0 stack=722dc28fe0 prio=44 -> 132
[settings] language: English (US) (en-US), from Auto
[sm] GetService set
[ipc] close session set (handle 133)
[audren] reverb3d: ch 6/6 rate 48000 room -350/-2000 hf ref 5727 decay 3.5 hf ratio 0.5 refl -10000 rev -1600 diff 100 delays 0/0.001 density 100 dry 0
[audren] effect type 5 used: slot 0 mix 1 enabled 1
[audren] reverb3d: ch 6/6 rate 48000 room -350/-2000 hf ref 5727 decay 3.5 hf ratio 0.5 refl -10000 rev -1600 diff 100 delays 0/0.001 density 100 dry 0
[audren] aux: 6 ch, 48000 Hz, ring 5760 samples, send 72d76f5380, return 72d76fae00
[audren] effect type 2 used: slot 2 mix 3 enabled 1
[audren] aux: 6 ch, 48000 Hz, ring 5760 samples, send 72d77008c0, return 72d7706340
[audren] aux: 1 ch, 48000 Hz, ring 960 samples, send 72d770be00, return 72d770cd80
[audren] aux: 1 ch, 48000 Hz, ring 960 samples, send 72d770dd40, return 72d770ecc0
[audren] aux: 6 ch, 48000 Hz, ring 5760 samples, send 72d770fc80, return 72d7715700
[audren] aux: 6 ch, 48000 Hz, ring 5760 samples, send 72d771b1c0, return 72d7720c40
[audren] aux: 6 ch, 48000 Hz, ring 5760 samples, send 72d7726700, return 72d772c180
[fs] romfs reads: 16 (2651 KB)
window closed
Anything else
No response
@Link334 Thanks for the detailed report! The one extra file points to a likely cause: the game's main data file,
romfs\DATA1.bin, is about 6.9 GB, and when NXDumpTool writes a file over 4 GB to a FAT32 microSD card, it stores it as a folder calledDATA1.binwith two parts (00and01) inside. That's one file more than a clean copy, and the game can't read its main archive in that form, so it hangs right at the start.Could you check your dump: is
romfs\DATA1.bina folder rather than a file? If so, you can join the parts in a Command Prompt (in your dump'sromfsfolder, not FE3H Recomp's copy):copy /b "DATA1.bin\00" + "DATA1.bin\01" DATA1.joinedCheck that
DATA1.joinedis 6,936,719,456 bytes, then delete theDATA1.binfolder, renameDATA1.joinedtoDATA1.bin, and set up the game files again from your dump. If DATA1.bin is a normal file, let us know and we'll look further.@onerag90 That was exactly the issue, DATA1.bin was a folder rather than a file. Thanks for the quick response and detailed steps to fix the issue! Sorry for opening an issue and wasting your time for something like this.
@Link334 Thanks for confirming! The next release (0.2.9) joins split files like this automatically when setting up the game files, so dumps made to a FAT32 microSD card will work without the manual step.