|
#19
|
|||
|
|||
|
hi rinaldo: newbie question here:
Let's say i have my game packed on 3 arc files: main.arc sound.arc videos.arc where on the script should i put the name of the files? thanks |
|
#20
|
||||
|
||||
|
#21
|
||||
|
||||
|
Quote:
Code:
#define Data1 "main.arc"
#define Data2 "Video.arc"
#define Data3 "Sound.arc"
#define Data4 "LanguageEN.arc"
#define Data5 "LanguageDE.arc"
#define Data6 "LanguageIT.arc"
#define Data7 "LanguageRU.arc"
#define Data8 "LanguageFR.arc"
#define Data9 "LanguageES.arc"
#define Data10 "LanguageCA.arc"
if not ISArcExtract ( 0, 55, ExpandConstant('{src}\{#Data1}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data2}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data3}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data4}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data5}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data6}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data7}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data8}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data9}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data10}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
EXAMPLE2 for 3 packed: Code:
#define Data1 "main.arc"
#define Data2 "Video.arc"
#define Data3 "Sound.arc"
if not ISArcExtract ( 0, 90, ExpandConstant('{src}\{#Data1}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data2}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract ( 0, 5, ExpandConstant('{src}\{#Data3}'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
__________________
if you understand read more Last edited by rinaldo; 27-03-2018 at 10:04. |
| The Following User Says Thank You to rinaldo For This Useful Post: | ||
Simorq (27-03-2018) | ||
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Conversion Designer/Installer Creator | Razor12911 | Conversion Tutorials | 1613 | 03-10-2024 01:24 |
| altef_4's installer | altef_4 | Conversion Tutorials | 244 | 24-05-2024 22:20 |
| WUI lightbox Installer | rinaldo | Conversion Tutorials | 8 | 02-09-2021 22:53 |
| INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
| Tutorial using CI 8.0.0 | yener90 | Conversion Tutorials | 424 | 21-10-2014 09:49 |