Platform: DOS
 
OS: Ubuntu 20.04.4 LTS, Linux kernel 5.13.0-39-generic
libTAS: Version 1.4.3
PCem: TASVideos v17+st-1
Game: Prince of Persia 2: The Shadow and the Flame
 
This movie is based on the premade Early 90s PCem config: https://files.tasvideos.org/common/Wiki/pcem/dos/PCem-Early90s.7z
 
Follow the readme provided with the config to install it. Name the files pop2.cfg, pop2.pb570.nvr, and pop2.img.
 
Make a new folder and put the files for Ford Simulator III in it. The files and their MD5s are:
 
457a1d83eba4a894596d10d8877f63b7  SNDDRVRS/DDISNEY.DRV
b51a3e481e975016d2efe19a071c4ecc  SNDDRVRS/DMVISION.DRV
d345b258c540574d9b752ede0ee26a7e  SNDDRVRS/DPS1.DRV
d4dc2221531b667a28c87aae1182f3a9  SNDDRVRS/DSBLAST.DRV
a651165c22735d0907bd03be220a33ce  SNDDRVRS/DSB_PRO.DRV
6b85bce568f03075351a8bd77c297646  SNDDRVRS/DTANDY.DRV
5a9139ceedbbc58733b7dbff28371dab  SNDDRVRS/MADLIB.DRV
583dcfaec1cfb3e72f1cd3891414c24a  SNDDRVRS/MCMS101.DRV
558751b791c09d823b0b65513aee129c  SNDDRVRS/MMPU401.DRV
cb674373c8bae208dc35740963d165f1  SNDDRVRS/MMVISION.DRV
b6db35cf66c6d69d51acce45be441aff  SNDDRVRS/MPS1.DRV
27f67e23bfa16802d20223dcc9579000  SNDDRVRS/MSBLAST.DRV
fedd8ddb6fc5284b30371d7cc9354461  SNDDRVRS/MSB_PRO.DRV
17f3c54b7ba94c9f8b3fff3f043398d6  SNDDRVRS/MTANDY.DRV
e2d7d86aa85fcaf2024ee9e788d8c329  SNDDRVRS/PRESET32.DEF
86358ab0ab40d52353fa7b07e9d42a5d  SNDDRVRS/PRESET33.DEF
a7bb7ed8811c6bd9377b26df6b2ed94b  SNDDRVRS/PRESET40.DEF
1b5af5b0f244a0a1a7c4e84f6f1a4df6  SNDDRVRS/PRESET41.DEF
f1b96f5882f697647afe84f4f33f8c4a  BIRD.DAT
c9af41ef358d593a00732a6f1d797076  CAVERNS.DAT
3298c38de30a5fec23de99c1f70f25d1  CONFIG.DAT
7795b9ad4c3b20dd93e5e4def93a162f  DESERT.DAT
d4dc2221531b667a28c87aae1182f3a9  DIGI.DRV
6e84b43eb28068f6aeae39a586cc2f88  DIGISND.DAT
3c39cf12c722692a63db19dbc8bed025  FINAL.DAT
e632701500ce6142f1cfd4f48b5be7b1  FLAME.DAT
73777d652277512aab0696eed747e571  FRAGSND.DAT
23cb6b033ff67236cbaaee54165f44af  GUARD.DAT
055d464ee4fe8efc714f314d7c018339  HEAD.DAT
7d7e242cd326064a6e5aba5f151a795e  IBMSND.DAT
7a05436cf5249eec184d092213d01f61  JINNEE.DAT
dac526e59ec18cb1eebb0dda6d78f171  KID.DAT
27f67e23bfa16802d20223dcc9579000  MIDI.DRV
2d3f03861be8da72b2847602cd1ad924  MIDISND.DAT
100466e19b56067fa0fb97ff86b9e9df  NIS.DAT
017897dd13be11ca63e4a590787826fb  NIS3VC.DAT
48ab6c7e846bd40c57e7292f74fa501c  NISDIGI.DAT
b45e005e677af8475d0000232141bb05  NISIBM.DAT
3c18cbe26222da1d071315bb9a2e191c  NISMIDI.DAT
86358ab0ab40d52353fa7b07e9d42a5d  PRESETS.DEF
9264767b75539d55b2e93c93e6691503  PRINCE.DAT
7bcdb72c92dc661eea0297bf0794d3e4  PRINCE.EXE
0d476778f54ef1e8044df43d24dfa727  PRINCE.ICO
13cae8e658e0ca4f75c56b1fc424e150  PRINCE.OPT
a340119c34a591287a19427531ae4f7d  ROOFTOPS.DAT
e448822afd5d374807c1d22c51fb248c  RUINS.DAT
209e68d914626fe58115db6c1cef040f  SEQUENCE.DAT
68c64d0d7343173690994d2a03af22bd  SETUP.CFG
887e1c75b4d091de853894e5d216d035  SETUP.DAT
caaf9244838030bbec1274523f2a39ec  SETUP.EXE
211d8c4c2fe018cc1d1c2c71b085c823  SKELETON.DAT
ec32a75c2cf55ad1bfe3bb60f1229a35  TANDYSND.DAT
7e87b470058b67574d10c670229a3df1  TEMPLE.DAT
b11d855671c2601c642dcadabee06eb5  TRANS.DAT
 
Make an ISO of these files with this terminal command, substituting the path to the folder you just made: mkisofs -o pop2.iso /path/to/folder/
 
In pop2.cfg, set cdrom_drive = 200, cdrom_path = /path/to/pop2.iso, and hdc_fn = /path/to/pop2.img.
 
Use PCem as the executable and set the command-line options to "--config /path/to/pop2.cfg".

If flash.bin is already present in the ~/pcem/roms/pb570 folder, delete it.

In libTAS, uncheck "Runtime -> Prevent writing to disk" option and run the movie.
You will get a checksum error in the boot screen, close the movie. Now the correct flash.bin file is created.

Now you can check "Runtime -> Prevent writing to disk" once again and run the movie.