Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #316  
Old 03-04-2013, 15:43
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
perfect resolved the code
Reply With Quote
Sponsored Links
  #317  
Old 03-04-2013, 15:54
nicola16's Avatar
nicola16 nicola16 is offline
Registered User
 
Join Date: Nov 2008
Location: Italia
Posts: 74
Thanks: 23
Thanked 15 Times in 12 Posts
nicola16 is on a distinguished road
Sorry error in code format my pc

Last edited by nicola16; 03-04-2013 at 16:06.
Reply With Quote
The Following User Says Thank You to nicola16 For This Useful Post:
pakrat2k2 (03-04-2013)
  #318  
Old 03-04-2013, 16:17
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
don't use the one for #appname.
Yes i know but when hitting browse button the appname stay no matter what drive/folder i choose, why not in your new hack?
I don't want to manually edit the folder name with each project.
Reply With Quote
  #319  
Old 04-04-2013, 02:01
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,627
Thanks: 1,999
Thanked 10,309 Times in 2,196 Posts
Razor12911 is on a distinguished road
use this one
WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + 'Dead Space 3'
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (04-04-2013)
  #320  
Old 04-04-2013, 02:04
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,627
Thanks: 1,999
Thanked 10,309 Times in 2,196 Posts
Razor12911 is on a distinguished road
Inno Freearc Extract v4.0

Creator: Bulat Ziganshin

Easily extracts freearc files on an inno setup script.

-has disk change
-progress doesn't overflow to (300%)
Attached Files
File Type: rar ISFreeArcExtract v.4.0.rar (175.0 KB, 102 views)
Reply With Quote
  #321  
Old 04-04-2013, 04:44
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
use this one
WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + 'Dead Space 3'
How to replace "Dead Space 3" with a dynamic value?
Reply With Quote
  #322  
Old 04-04-2013, 04:53
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,627
Thanks: 1,999
Thanked 10,309 Times in 2,196 Posts
Razor12911 is on a distinguished road
if you used inno setup preprocessor you would define the value like this.
#define AppName "Street Fighter"

then

at this stage you would do this

WizardForm.DirEdit.Text:=AddBackslash(DirTreeView. Directory) + '{#AppName}'

it will automatically write Street Fighter.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (04-04-2013)
  #323  
Old 04-04-2013, 04:56
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
It worked, thanks.
Reply With Quote
  #324  
Old 04-04-2013, 05:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,627
Thanks: 1,999
Thanked 10,309 Times in 2,196 Posts
Razor12911 is on a distinguished road
you can also do this

#define AppName "Street Fighter"
#define AppPublisher "Capcom"

[Setup]
AppName={#AppName}
AppPublisher={#AppPublisher}
AppVerName={#AppName}
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (04-04-2013)
  #325  
Old 04-04-2013, 05:07
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Oh man, this is so much better and a time saver, thank you very much
Reply With Quote
  #326  
Old 04-04-2013, 05:19
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,627
Thanks: 1,999
Thanked 10,309 Times in 2,196 Posts
Razor12911 is on a distinguished road
Project
Converter

Progress
Convertor Design=75%
Compressor=0%

Preview


Credits
Imageshack: Photo Uploads

Download
Attached Files
File Type: 7z Converter_Preview.7z (510.3 KB, 34 views)

Last edited by Razor12911; 04-04-2013 at 06:10.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (04-04-2013)
  #327  
Old 04-04-2013, 05:27
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Looks interesting.
Reply With Quote
The Following User Says Thank You to danswano For This Useful Post:
Razor12911 (04-04-2013)
  #328  
Old 04-04-2013, 08:47
spawniectes's Avatar
spawniectes spawniectes is offline
Senior Member
 
Join Date: Sep 2010
Location: Argentina
Posts: 202
Thanks: 52
Thanked 401 Times in 76 Posts
spawniectes is on a distinguished road
Hi guys, I have a doubt, I making the conversion for gears of war and the registry key that I have is for x64 windows 'cause is what I have installed.
Code:
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty
but will not work in 32bit system, how can I make it work for both operating systems.
__________________
always above all, keep in mind that some day you will die. Bushido.
Reply With Quote
  #329  
Old 04-04-2013, 09:03
JacksMafia's Avatar
JacksMafia JacksMafia is offline
Registered User
 
Join Date: Feb 2010
Location: USA
Posts: 127
Thanks: 53
Thanked 19 Times in 15 Posts
JacksMafia is on a distinguished road
Quote:
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty
it will work like this
Reply With Quote
The Following User Says Thank You to JacksMafia For This Useful Post:
spawniectes (04-04-2013)
  #330  
Old 04-04-2013, 09:41
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,009 Times in 239 Posts
altef_4 is on a distinguished road
Quote:
Originally Posted by spawniectes View Post
Hi guys, I have a doubt, I making the conversion for gears of war and the registry key that I have is for x64 windows 'cause is what I have installed.
Code:
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty
but will not work in 32bit system, how can I make it work for both operating systems.
add this lines:
Code:
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: IsWin64;


Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: SetupPath; ValueData: {app}\binaries\; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: expandsz; ValueName: EXEPath; ValueData: {app}\Binaries\startup.exe; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID; ValueData: 92353-896-4404376-70444; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: binary; ValueName: DigitalProductID; ValueData: 6c 93 48 93 31 c3 4a c3 7f 3b c1 a2 6f 88 03 00; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;
Root: HKLM; SubKey: SOFTWARE\Microsoft\Microsoft Games\Gears of War; ValueType: string; ValueName: PID 2.0 Ex; ValueData: 92353-00140-896-440437-00-11274-7600.0000-0932013; Flags: uninsdeletevalue uninsdeletekeyifempty; Check: not IsWin64;

Last edited by altef_4; 04-04-2013 at 09:46.
Reply With Quote
The Following User Says Thank You to altef_4 For This Useful Post:
spawniectes (04-04-2013)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 14:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com