The Ctrl + V Game

jeffyTheHomebrewer

Neato Burrito!
Member
Joined
Aug 24, 2018
Messages
1,630
Trophies
1
Location
his house!
Website
catboybeebop.neocities.org
XP
3,524
Country
United States
1669109172348.png

9 plus 10
 
  • Haha
Reactions: SylverReZ

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,604
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,282
Country
Canada
C++:
void CRmtView::ReadRMTConfig()
{
#define NAME(a)    (strcmp(a,name)==0)

    CString s;
    char line[1024];
    char *tmp, *name, *value;
    s.Format("%s%s", g_prgpath, CONFIG_FILENAME);
    ifstream in(s);
    if (!in)
    {
        MessageBox("Could not find: '" + s + "'\n\nRMT will use the default configuration.\n", "RMT", MB_ICONEXCLAMATION);
        ResetRMTConfig();    // In order to save the default configuration file
        return;
    }

    // Parse individual lines until the end of the file is reached
    while (!in.eof())
    {
        in.getline(line, 1023);        // Seek for the next character in memory
        tmp = strchr(line, '=');    // The tmp pointer will be set at the position of '='
        if (!tmp) continue;            // Seek for the character until a match is found
        tmp[-1] = 0;                // Offset by 1 to compensate the Space   
        name = line;                // Name set to the current line, terminated by tmp
        value = tmp + 2;            // Offset by 1 to compensate the Space

        // GENERAL
        if (NAME("SCALEPERCENTAGE")) { g_scaling_percentage = atoi(value); continue; }
        if (NAME("TRACKLINEPRIMARYHIGHLIGHT")) { g_trackLinePrimaryHighlight = atoi(value); continue; }
        if (NAME("TRACKLINESECONDARYHIGHLIGHT")) { g_trackLineSecondaryHighlight = atoi(value); continue; }
        if (NAME("TRACKLINEALTNUMBERING")) { g_tracklinealtnumbering = atoi(value); continue; }
        if (NAME("DISPLAYFLATNOTES")) { g_displayflatnotes = atoi(value); continue; }
        if (NAME("USEGERMANNOTATION")) { g_usegermannotation = atoi(value); continue; }
        if (NAME("NTSC_SYSTEM")) { g_ntsc = atoi(value); continue; }
        if (NAME("SMOOTH_SCROLL")) { g_viewDoSmoothScrolling = atoi(value); continue; }
        if (NAME("NOHWSOUNDBUFFER")) { g_nohwsoundbuffer = atoi(value); continue; }

        // KEYBOARD
        if (NAME("KEYBOARD_LAYOUT")) { g_keyboard_layout = atoi(value); continue; }
        if (NAME("KEYBOARD_UPDOWNCONTINUE")) { g_keyboard_updowncontinue = atoi(value); continue; }
        if (NAME("KEYBOARD_REMEMBEROCTAVESANDVOLUMES")) { g_keyboard_RememberOctavesAndVolumes = atoi(value); continue; }
        if (NAME("KEYBOARD_ESCRESETATARISOUND")) { g_keyboard_escresetatarisound = atoi(value); continue; }
        if (NAME("KEYBOARD_ASKWHENCONTROL_S")) { g_keyboard_askwhencontrol_s = atoi(value); continue; }

        // MIDI
        if (NAME("MIDI_IN")) { g_Midi.SetDevice(value); continue; }
        if (NAME("MIDI_TR")) { g_Midi.m_TouchResponse = atoi(value); continue; }
        if (NAME("MIDI_VOLUMEOFFSET")) { g_Midi.m_VolumeOffset = atoi(value); continue; }
        if (NAME("MIDI_NOTEOFF")) { g_Midi.m_NoteOff = atoi(value); continue; }
    
        // PATHS
        if (NAME("PATH_DEFAULTSONGS")) { g_defaultSongsPath = value; continue; }
        if (NAME("PATH_DEFAULTINSTRUMENTS")) { g_defaultInstrumentsPath = value; continue; }
        if (NAME("PATH_DEFAULTTRACKS")) { g_defaultTracksPath = value; continue; }
        if (NAME("PATH_LASTSONGS")) { g_lastLoadPath_Songs = value; continue; }
        if (NAME("PATH_LASTINSTRUMENTS")) { g_lastLoadPath_Instruments = value; continue; }
        if (NAME("PATH_LASTTRACKS")) { g_lastLoadPath_Tracks = value; continue; }

        // VIEW
        if (NAME("VIEW_MAINTOOLBAR")) { g_viewMainToolbar = atoi(value); continue; }
        if (NAME("VIEW_BLOCKTOOLBAR")) { g_viewBlockToolbar = atoi(value); continue; }
        if (NAME("VIEW_STATUSBAR")) { g_viewStatusBar = atoi(value); continue; }
        if (NAME("VIEW_PLAYTIMECOUNTER")) { g_viewPlayTimeCounter = atoi(value); continue; }
        if (NAME("VIEW_VOLUMEANALYZER")) { g_viewVolumeAnalyzer = atoi(value); continue; }
        if (NAME("VIEW_POKEYCHIPREGISTERS")) { g_viewPokeyRegisters = atoi(value); continue; }
        if (NAME("VIEW_INSTRUMENTACTIVEHELP")) { g_viewInstrumentEditHelp = atoi(value); continue; }
    }
    in.close();
}
 

Maximumbeans

3DS is love, 3DS is life
Member
Joined
Jun 7, 2022
Messages
756
Trophies
0
XP
1,771
Country
United Kingdom
How to improve people management skills

Work stuff, not for me. I wish I was on the kind of money that meant I needed to care about people management.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    did you ever do the setup to backup the nand
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, i don't have a wii
  • AcuteBulbasaurappears @ AcuteBulbasaurappears:
    @salazarcosplay Ah well I backed it up, but I didn't upgrade it. a long time ago
  • BigOnYa @ BigOnYa:
    @Xdqwerty I don't have a ROG ally
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i don't have one either
    +1
  • SylverReZ @ SylverReZ:
    @AcuteBulbasaurappears, A cute bulbasaur appears. :D
    +2
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, The Wii U gamepads are tied to the console's region, so its impossible to find a cheap gamepad that supports your model.
  • SylverReZ @ SylverReZ:
    Unless you modify your system, of course, and remove the region check.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, im now by episode 8 of lain
  • S @ salazarcosplay:
    @Xdqwerty can we discuss chrono trigger
  • S @ salazarcosplay:
    @Xdqwerty I like how the game had the middle ages 1000AD, the dark ages 600AD.It was great seeing the post robot apocalypse 2300 like Terminator and enter the matrix. some of mad max and fallout. 2300ad though it could had used more elements instead of just a generic ai uprising. It was a great idea for their judgement day to be 1999 Y2K.

    -great additions if they would have made an expansion or dlc in my opinion would be finding out humans trapped in a matrix -

    a follower having a cyborg character living tissue over metal endoskelleton like terminator, and the synths from fallout
  • S @ salazarcosplay:
    4After Zeal fell it would have been good to see more ancient eras. Perhaps Sumeria based in one area, then Egypt based in another area, Greek based in another area, then roman based in another area before the middle ages.---------

    ----between 1000ad and 1999 is a big gap they should have had the age of revolution like the american and French Revolution

    then the cowboyy era in one area of map and the Industrial revolution/age of enlightmentthen a ww1 and ww2 and a cold war era
  • S @ salazarcosplay:
    they could have added 75,000 bc like assassins creed. zeal was already establish in 12, 000 bc , soething before the kindom rose
  • S @ salazarcosplay:
    @Xdqwerty they could also add age of dscover, colonialism ect
    +1
  • S @ salazarcosplay:
    renaissance
  • S @ salazarcosplay:
    @Xdqwerty what did you think
  • S @ salazarcosplay:
    @Xdqwerty I think glenn (the frog) after becomming human had an affair with the queen
  • S @ salazarcosplay:
    so he is the great great great great grandfather of marle @Xdqwerty
  • S @ salazarcosplay:
    they made it like Lancelot from king arthur legends
  • BakerMan @ BakerMan:
    just found out i'm now taller than my dad
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, sorry i was busy
  • S @ salazarcosplay:
    @Xdqwerty thats completely fine
    +1
    S @ salazarcosplay: @Xdqwerty thats completely fine +1