JohnnyonFlame / FNAPatches

A repository containing Handheld and SBC Focused FNA game patches.
MIT License
17 stars 4 forks source link

TrimUI-"Salt and Sanctuary" initialization fails. #4

Open Windstarry opened 1 month ago

Windstarry commented 1 month ago

My machine is Trim Smart pro, running on Crossmix OS 1.21. When I try to run Salt and Sanctuary, the postmaster prompts a repack failure. Here's the record from repack.log. I'm using Salt and Sanctuary version v0.2.1.

""" $$ 'gfx/1x1.xnb' [3%] -> w: 1, h: 1 'gfx/alchemist.xnb' [3%] -> w: 1024, h: 684 'gfx/angler.xnb' [3%] -> w: 1024, h: 600 ...... 'gfx/zombow.xnb' [57%] -> w: 1024, h: 400 astcenc_config_init(): blk 4x4, quality: 10.000000 """ I have tried many times, but it always fails at 57%. What do I need to modify?

JohnnyonFlame commented 1 month ago

That doesn't seem like a failure. Please delete the port, reinstall and post the entire log file.

Windstarry commented 1 month ago

the repack.log: ''' $$ Mono Ahead of Time compiler - compiling assembly /mnt/SDCARD/Data/ports/saltandsanctuary/gamedata/Salt.exe AOTID 5B092692-FD0B-0939-717C-DCFE39B7664F Compiled: 3219/3219 Executing the native assembler: "as" -o /tmp/mono_aot_c14P1V.o /tmp/mono_aot_c14P1V Executing the native linker: "ld" -shared -o /mnt/SDCARD/Data/ports/saltandsanctuary/gamedata/Salt.exe.so.tmp /tmp/mono_aot_c14P1V.o JIT time: 5490 ms, Generation time: 946 ms, Assembly+Link time: 2570 ms. '''

Windstarry commented 1 month ago

I found the reason。trimUI cannot recognize line 81 of SaltandSanctuary.sh。 “$TASKSET mono --ffast-math -O=all "${gameassembly}" |& tee "$gamedir/log.txt" /dev/tty0” i delete " |& tee "$gamedir/log.txt" /dev/tty0",now can enter successfully。 Thank you very much!