Ferrous Moon
http://www.ferrousmoon.com:80/forums/

.UNI files topic again and how to modify data.dat?
http://www.ferrousmoon.com:80/forums/viewtopic.php?f=52&t=1373
Page 1 of 1

Author:  MikeG [Sun May 25, 2008 5:52 am ]
Post subject:  .UNI files topic again and how to modify data.dat?

I know, there exists allready a thread addressing the topic. But my questions are a little bit different:

The uni-Format seems to me proprietary, I can not load it into Modplug Tracker, an open source sequencing tool. Also loading the file into a hex editor does not give a glue. .MOD-files and friends seems not to work with actual release (0.1.2).

Miah: Is the music playlist hardcoded to the blob? Because I replaced all unis in data.dat with other .MOD's and they will not be found nor played.

The next question on topic is: How the data.dat should exactly be structured? I extract the whole contents to a temporary folder and modified some files. Finally I create an archive (tried 7zip->.zip, WinZip->.zip and Winrar->.rar) containing the new content and rename it to data.dat. After starting onlink an error pops up and the debug.log contains the following lines:
Code:
============================= = = = O N L I N K = = = = Version 0.1.2 = = - R E L E A S E - = = = ============================= Version 0.1.2 (RELEASE) Compiled on Nov 25 2007 at 12:11:12 (code-C)(code-M)(code-T) =============================================== NEW GAME 12:7, 25/5/2008 =============================================== Version : 0.1.2 RELEASE Win32 Build Version 0.1.2 (RELEASE) Compiled on Nov 25 2007 at 12:11:12 (code-C)(code-M)(code-T) Built with CrissCross v0.6.6 r576. ====================== = CPU IDENTIFICATION = ====================== CPU[0] Manufacturer: AuthenticAMD CPU[0] Name: AMD Athlon(tm) XP 2000+ CPU[0] Family: 6, Model: 6, Stepping: 2 CPU[0] Caches: 1st-level code cache: 64KB, 2-way set associative, 64 byte line size 1st-level data cache: 64KB, 2-way set associative, 64 byte line size 2nd-level cache: 256KB, 8-way set associative, 64 byte line size Code TLB: 2MB or 4MB pages, fully associative, 8 entries Code TLB: 4KB pages, fully associative, 16 entries Data TLB: 2MB or 4MB pages, 4-way set associative, 8 entries Data TLB: 4KB pages, fully associative, 32 entries L2 Code TLB: 4KB pages, 4-way set associative, 256 entries L2 Data TLB: 4KB pages, 4-way set associative, 256 entries CPU[0] Features: PAE FPU 3DNOWEXT 3DNOW APIC CX8 CMOV DE MCE FXSR MCA MSR MMX MMXEXT MTRR PSE PGE PAT PSE36 SSE SEP TSC VME Loading uplink options from D:\Spiele\Uplink\users/options.olo...success Successfully loaded data archive data.dat REDSHIRT : Failed to load file : D:\Spiele\Uplink\fonts/dungeon.ttf Onlink has been forced to Abort =============================== Message : Unable to open font : fonts/dungeon.ttf Location : .\uplink.cpp, line 761 ============== B E G I N C O R E D U M P ================= retAddress = 00402600 retAddress = 005E5755 retAddress = 0066D575 retAddress = 006EEE3E retAddress = 0012FEB0 ============== E N D C O R E D U M P =====================
What went wrong here?

Regards

Maik

Author:  MikeG [Sun May 25, 2008 12:50 pm ]
Post subject:  Re: .UNI files topic again and how to modify data.dat?

And another point:

Could you please remove the music file "plugnfuk.uni" from data.dat, because it has an endless loop, which is almost bothersome.

Thanks

Author:  eddieringle [Fri May 30, 2008 9:49 pm ]
Post subject:  Re: .UNI files topic again and how to modify data.dat?

1. I thought that you could open the data.dat file by renaming it to a .rar extension and then extracting the files.
2. In your debug log, you seem to be missing the dungeon font file. Try uninstalling and reinstalling the game fresh to see if the file gets installed.

Author:  mc2m [Sat May 31, 2008 1:43 am ]
Post subject:  Re: .UNI files topic again and how to modify data.dat?

Quote:
1. I thought that you could open the data.dat file by renaming it to a .rar extension and then extracting the files.
The file can be extracted even without changing the extension (with 7-zip at least :wink:).
Quote:
Could you please remove the music file "plugnfuk.uni" from data.dat, because it has an endless loop, which is almost bothersome.
Have you thought about the audio options to disable specific music?

Author:  blueskirt [Sat May 31, 2008 11:31 am ]
Post subject:  Re: .UNI files topic again and how to modify data.dat?

Quote:
What went wrong here?
I think you got this crash because you tried to rezip the modified data. You don't have to zip the modified data, all you need to do is put the modified data in the right folder in your Uplink/Onlink directory. It's the same when you install new gateways, you put them in the right folder, you don't have to extract data.dat and graphics.dat and rezip the files with the new gateways.

Page 1 of 1 All times are UTC-05:00
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/